diff --git a/rsocket-rpc-js/.esdoc.json b/rsocket-rpc-js/.esdoc.json new file mode 100644 index 0000000..c5c3bac --- /dev/null +++ b/rsocket-rpc-js/.esdoc.json @@ -0,0 +1,12 @@ +{ + "source": "./packages", + "includes": [".js$"], + "excludes": ["pb.js$", + "/dist/.*js$"], + "destination": "./docs", + "plugins": [ + {"name": "esdoc-standard-plugin"}, + {"name": "esdoc-flow-plugin"}, + {"name": "esdoc-ecmascript-proposal-plugin", "option": {"all": true}} + ] +} diff --git a/rsocket-rpc-js/docs/ast/source/.external-ecmascript.js.json b/rsocket-rpc-js/docs/ast/source/.external-ecmascript.js.json new file mode 100644 index 0000000..0a7d27a --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/.external-ecmascript.js.json @@ -0,0 +1,2802 @@ +{ + "type": "File", + "start": 0, + "end": 6057, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 6057, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + }, + "sourceType": "module", + "body": [], + "directives": [], + "leadingComments": null, + "innerComments": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + } + ] + }, + "comments": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6057, + "end": 6057, + "loc": { + "start": { + "line": 192, + "column": 3 + }, + "end": { + "line": 192, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/core/src/QueuingFlowableProcessor.js.json b/rsocket-rpc-js/docs/ast/source/core/src/QueuingFlowableProcessor.js.json new file mode 100644 index 0000000..89cf6d0 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/core/src/QueuingFlowableProcessor.js.json @@ -0,0 +1,30270 @@ +{ + "type": "File", + "start": 0, + "end": 9527, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 312, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 9527, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 312, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 381, + "end": 414, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 33 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 387, + "end": 413, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 32 + } + }, + "id": { + "type": "Identifier", + "start": 387, + "end": 400, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 19 + }, + "identifierName": "MAX_REQUEST_N" + }, + "name": "MAX_REQUEST_N", + "leadingComments": null + }, + "init": { + "type": "NumericLiteral", + "start": 403, + "end": 413, + "loc": { + "start": { + "line": 13, + "column": 22 + }, + "end": { + "line": 13, + "column": 32 + } + }, + "extra": { + "rawValue": 2147483647, + "raw": "0x7fffffff" + }, + "value": 2147483647 + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * MAX_REQUEST_N (from QueuingFlowableProcessor.js). If no {@link capacity} is\n * passed to the {@link QueuingFlowableProcessor#constructor}, this value will\n * be used as the capacity (the maximum number of items in the backlog queue).\n * This effectively signals that you want an unlimited number of items from the\n * source Flowable.\n *\n * @constant\n * @type {number}\n ", + "start": 2, + "end": 380, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " uint31", + "start": 415, + "end": 424, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A {@link QueuingFlowableProcessor} is an intermediary between a Flowable\n * producer and a subscriber. To the producer, it behaves as a greedy subscriber\n * (that is, one that {@link request}s a large number of emissions immediately).\n * To the subscriber, it behaves as a {@link Flowable}.\n *\n * This allows the producer to generate and emit items at its own fast pace, while\n * the end subscriber requests them at its own slow pace. In between, the\n * {@link QueuingFlowableProcessor} queues up the backlog of items.\n ", + "start": 426, + "end": 955, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name QueuingFlowableProcessor.js\n * @fileoverview Defines the {@link QueuingFlowableProcessor} class.\n *\n * @requires NPM:rsocket-types\n * @exports QueuingFlowableProcessor\n ", + "start": 956, + "end": 1140, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An asynchronous, pull-based stream of values. Call the\n * {@link IPublisher#subscribe} method to generate a call to the subscriber's\n * {@link onSubscribe} method with a {@link Subscription} object that has two\n * methods: {@link Subscription#cancel} and {@link Subscription#request}.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPublisher\n ", + "start": 1142, + "end": 1573, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A version of the {@link ISubscriber} interface in which the methods are\n * optional, so that you may elect to only implement a subset of them.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPartialSubscriber\n ", + "start": 1574, + "end": 1871, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A handler for values provided by a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface ISubscriber\n ", + "start": 1872, + "end": 2062, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An underlying source of values for a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @external {ISubscription} https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n ", + "start": 2063, + "end": 2358, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 2359, + "end": 9527, + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 312, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 2374, + "end": 9527, + "loc": { + "start": { + "line": 59, + "column": 15 + }, + "end": { + "line": 312, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2380, + "end": 2404, + "loc": { + "start": { + "line": 59, + "column": 21 + }, + "end": { + "line": 59, + "column": 45 + }, + "identifierName": "QueuingFlowableProcessor" + }, + "name": "QueuingFlowableProcessor", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 2405, + "end": 9527, + "loc": { + "start": { + "line": 59, + "column": 46 + }, + "end": { + "line": 312, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 2733, + "end": 3150, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2733, + "end": 2744, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2745, + "end": 2753, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 22 + }, + "identifierName": "capacity" + }, + "name": "capacity" + } + ], + "body": { + "type": "BlockStatement", + "start": 2755, + "end": 3150, + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2761, + "end": 2780, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2761, + "end": 2779, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2761, + "end": 2771, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2761, + "end": 2765, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2766, + "end": 2771, + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 14 + }, + "identifierName": "_once" + }, + "name": "_once" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 2774, + "end": 2779, + "loc": { + "start": { + "line": 69, + "column": 17 + }, + "end": { + "line": 69, + "column": 22 + } + }, + "value": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 2785, + "end": 2805, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2785, + "end": 2804, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2785, + "end": 2800, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2785, + "end": 2789, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2790, + "end": 2800, + "loc": { + "start": { + "line": 70, + "column": 9 + }, + "end": { + "line": 70, + "column": 19 + }, + "identifierName": "_requested" + }, + "name": "_requested" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 2803, + "end": 2804, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 23 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Subscriber} ", + "start": 2810, + "end": 2838, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2843, + "end": 2863, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2843, + "end": 2862, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2843, + "end": 2855, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2843, + "end": 2847, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2848, + "end": 2855, + "loc": { + "start": { + "line": 72, + "column": 9 + }, + "end": { + "line": 72, + "column": 16 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 2858, + "end": 2862, + "loc": { + "start": { + "line": 72, + "column": 19 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Subscriber} ", + "start": 2810, + "end": 2838, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?Error} ", + "start": 2868, + "end": 2889, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2894, + "end": 2913, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2894, + "end": 2912, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2894, + "end": 2905, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2894, + "end": 2898, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2899, + "end": 2905, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 15 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 2908, + "end": 2912, + "loc": { + "start": { + "line": 74, + "column": 18 + }, + "end": { + "line": 74, + "column": 22 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?Error} ", + "start": 2868, + "end": 2889, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2918, + "end": 2937, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2918, + "end": 2936, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2918, + "end": 2928, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2918, + "end": 2922, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2923, + "end": 2928, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 14 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 2931, + "end": 2936, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 22 + } + }, + "value": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 2942, + "end": 2956, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 18 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2942, + "end": 2955, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 17 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2942, + "end": 2951, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 2942, + "end": 2946, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2947, + "end": 2951, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 13 + }, + "identifierName": "_wip" + }, + "name": "_wip" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 2954, + "end": 2955, + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, + "column": 17 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 2961, + "end": 2985, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2961, + "end": 2984, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2961, + "end": 2976, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2961, + "end": 2965, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2966, + "end": 2976, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 19 + }, + "identifierName": "_cancelled" + }, + "name": "_cancelled" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 2979, + "end": 2984, + "loc": { + "start": { + "line": 77, + "column": 22 + }, + "end": { + "line": 77, + "column": 27 + } + }, + "value": false + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2990, + "end": 3011, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3016, + "end": 3042, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3016, + "end": 3041, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3016, + "end": 3030, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 3016, + "end": 3020, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3021, + "end": 3030, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 18 + }, + "identifierName": "_capacity" + }, + "name": "_capacity" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 3033, + "end": 3041, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 29 + }, + "identifierName": "capacity" + }, + "name": "capacity" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2990, + "end": 3011, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {T[]} ", + "start": 3047, + "end": 3065, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 22 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3070, + "end": 3087, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3070, + "end": 3086, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3070, + "end": 3081, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 3070, + "end": 3074, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3075, + "end": 3081, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 15 + }, + "identifierName": "_queue" + }, + "name": "_queue" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrayExpression", + "start": 3084, + "end": 3086, + "loc": { + "start": { + "line": 81, + "column": 18 + }, + "end": { + "line": 81, + "column": 20 + } + }, + "elements": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {T[]} ", + "start": 3047, + "end": 3065, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 22 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {function[]} ", + "start": 3092, + "end": 3117, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 29 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3122, + "end": 3146, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3122, + "end": 3145, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3122, + "end": 3140, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 3122, + "end": 3126, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3127, + "end": 3140, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 22 + }, + "identifierName": "_transformers" + }, + "name": "_transformers" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrayExpression", + "start": 3143, + "end": 3145, + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "end": { + "line": 83, + "column": 27 + } + }, + "elements": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {function[]} ", + "start": 3092, + "end": 3117, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 29 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?number} [capacity] - the maximum size of the backlog queue of\n * items this {@link QueuingFlowableProcessor} will maintain (default =\n * {@link MAX_REQUEST_N}). If this queue size is exceeded, the\n * {@link QueuingFlowableProcessor} will begin to drop incoming items from the\n * producer.\n ", + "start": 2410, + "end": 2730, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} subscribes by calling\n * this method.\n *\n * @param {Subscriber} s - an object that implements the Subscriber methods\n * this {@link QueuingFlowableProcessor} will call to pass along messages\n * from the Flowable producer.\n * @throws {Error} if a Subscriber is already subscribed to this\n * {@link QueuingFlowableProcessor}\n ", + "start": 3154, + "end": 3570, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3573, + "end": 3763, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 104, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3573, + "end": 3582, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 11 + }, + "identifierName": "subscribe" + }, + "name": "subscribe", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3583, + "end": 3584, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 13 + }, + "identifierName": "s" + }, + "name": "s" + } + ], + "body": { + "type": "BlockStatement", + "start": 3586, + "end": 3763, + "loc": { + "start": { + "line": 96, + "column": 15 + }, + "end": { + "line": 104, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3592, + "end": 3759, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 103, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 3596, + "end": 3607, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 19 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 3597, + "end": 3607, + "loc": { + "start": { + "line": 97, + "column": 9 + }, + "end": { + "line": 97, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 3597, + "end": 3601, + "loc": { + "start": { + "line": 97, + "column": 9 + }, + "end": { + "line": 97, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 3602, + "end": 3607, + "loc": { + "start": { + "line": 97, + "column": 14 + }, + "end": { + "line": 97, + "column": 19 + }, + "identifierName": "_once" + }, + "name": "_once" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3609, + "end": 3692, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 101, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3617, + "end": 3635, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3617, + "end": 3634, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3617, + "end": 3627, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 3617, + "end": 3621, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3622, + "end": 3627, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 16 + }, + "identifierName": "_once" + }, + "name": "_once" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 3630, + "end": 3634, + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 23 + } + }, + "value": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 3642, + "end": 3659, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3642, + "end": 3658, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3642, + "end": 3654, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 3642, + "end": 3646, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3647, + "end": 3654, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 18 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 3657, + "end": 3658, + "loc": { + "start": { + "line": 99, + "column": 21 + }, + "end": { + "line": 99, + "column": 22 + }, + "identifierName": "s" + }, + "name": "s" + } + } + }, + { + "type": "ExpressionStatement", + "start": 3666, + "end": 3686, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 3666, + "end": 3685, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3666, + "end": 3679, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 3666, + "end": 3667, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 7 + }, + "identifierName": "s" + }, + "name": "s" + }, + "property": { + "type": "Identifier", + "start": 3668, + "end": 3679, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 19 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 3680, + "end": 3684, + "loc": { + "start": { + "line": 100, + "column": 20 + }, + "end": { + "line": 100, + "column": 24 + } + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 3698, + "end": 3759, + "loc": { + "start": { + "line": 101, + "column": 11 + }, + "end": { + "line": 103, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 3706, + "end": 3753, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 53 + } + }, + "argument": { + "type": "NewExpression", + "start": 3712, + "end": 3752, + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 52 + } + }, + "callee": { + "type": "Identifier", + "start": 3716, + "end": 3721, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3722, + "end": 3751, + "loc": { + "start": { + "line": 102, + "column": 22 + }, + "end": { + "line": 102, + "column": 51 + } + }, + "extra": { + "rawValue": "Only one Subscriber allowed", + "raw": "'Only one Subscriber allowed'" + }, + "value": "Only one Subscriber allowed" + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} subscribes by calling\n * this method.\n *\n * @param {Subscriber} s - an object that implements the Subscriber methods\n * this {@link QueuingFlowableProcessor} will call to pass along messages\n * from the Flowable producer.\n * @throws {Error} if a Subscriber is already subscribed to this\n * {@link QueuingFlowableProcessor}\n ", + "start": 3154, + "end": 3570, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * When the {@link QueuingFlowableProcessor} gets an {@link onSubscribe} call\n * from the {@link Flowable} producer, it requests that the {@link Flowable}\n * begin sending it items: either {@link capacity} items, if the capacity was\n * set during the call to {@link QueuingFlowableProcessor#constructor}, or\n * {@link MAX_REQUEST_N} items (effectively unlimited).\n *\n * @param {ISubscription} s - the subscription from the source {@link Flowable}\n ", + "start": 3767, + "end": 4237, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 114, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4240, + "end": 4369, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 121, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4240, + "end": 4251, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 13 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4252, + "end": 4253, + "loc": { + "start": { + "line": 115, + "column": 14 + }, + "end": { + "line": 115, + "column": 15 + }, + "identifierName": "s" + }, + "name": "s" + } + ], + "body": { + "type": "BlockStatement", + "start": 4255, + "end": 4369, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 121, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 4261, + "end": 4365, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 120, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 4265, + "end": 4275, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 4265, + "end": 4269, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 4270, + "end": 4275, + "loc": { + "start": { + "line": 116, + "column": 13 + }, + "end": { + "line": 116, + "column": 18 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 4277, + "end": 4302, + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 118, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4285, + "end": 4296, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 4285, + "end": 4295, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4285, + "end": 4293, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 4285, + "end": 4286, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 7 + }, + "identifierName": "s" + }, + "name": "s" + }, + "property": { + "type": "Identifier", + "start": 4287, + "end": 4293, + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 14 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 4308, + "end": 4365, + "loc": { + "start": { + "line": 118, + "column": 11 + }, + "end": { + "line": 120, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4316, + "end": 4359, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 49 + } + }, + "expression": { + "type": "CallExpression", + "start": 4316, + "end": 4358, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4316, + "end": 4325, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 4316, + "end": 4317, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 7 + }, + "identifierName": "s" + }, + "name": "s" + }, + "property": { + "type": "Identifier", + "start": 4318, + "end": 4325, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 15 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "LogicalExpression", + "start": 4326, + "end": 4357, + "loc": { + "start": { + "line": 119, + "column": 16 + }, + "end": { + "line": 119, + "column": 47 + } + }, + "left": { + "type": "MemberExpression", + "start": 4326, + "end": 4340, + "loc": { + "start": { + "line": 119, + "column": 16 + }, + "end": { + "line": 119, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 4326, + "end": 4330, + "loc": { + "start": { + "line": 119, + "column": 16 + }, + "end": { + "line": 119, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 4331, + "end": 4340, + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 119, + "column": 30 + }, + "identifierName": "_capacity" + }, + "name": "_capacity" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "Identifier", + "start": 4344, + "end": 4357, + "loc": { + "start": { + "line": 119, + "column": 34 + }, + "end": { + "line": 119, + "column": 47 + }, + "identifierName": "MAX_REQUEST_N" + }, + "name": "MAX_REQUEST_N" + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * When the {@link QueuingFlowableProcessor} gets an {@link onSubscribe} call\n * from the {@link Flowable} producer, it requests that the {@link Flowable}\n * begin sending it items: either {@link capacity} items, if the capacity was\n * set during the call to {@link QueuingFlowableProcessor#constructor}, or\n * {@link MAX_REQUEST_N} items (effectively unlimited).\n *\n * @param {ISubscription} s - the subscription from the source {@link Flowable}\n ", + "start": 3767, + "end": 4237, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 114, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to add an item to the queue\n * of this {@link QueuingFlowableProcessor} for later emission to its\n * subscriber.\n *\n * @param {T} t - the item to add\n * @throws {Error} if {@link t} is null. Flowables are not permitted to emit\n * null values.\n ", + "start": 4373, + "end": 4692, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 131, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4695, + "end": 4891, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 140, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4695, + "end": 4701, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 132, + "column": 8 + }, + "identifierName": "onNext" + }, + "name": "onNext", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4702, + "end": 4703, + "loc": { + "start": { + "line": 132, + "column": 9 + }, + "end": { + "line": 132, + "column": 10 + }, + "identifierName": "t" + }, + "name": "t" + } + ], + "body": { + "type": "BlockStatement", + "start": 4705, + "end": 4891, + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 140, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 4711, + "end": 4770, + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 135, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4715, + "end": 4725, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 18 + } + }, + "left": { + "type": "Identifier", + "start": 4715, + "end": 4716, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 9 + }, + "identifierName": "t" + }, + "name": "t" + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 4721, + "end": 4725, + "loc": { + "start": { + "line": 133, + "column": 14 + }, + "end": { + "line": 133, + "column": 18 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4727, + "end": 4770, + "loc": { + "start": { + "line": 133, + "column": 20 + }, + "end": { + "line": 135, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 4735, + "end": 4764, + "loc": { + "start": { + "line": 134, + "column": 6 + }, + "end": { + "line": 134, + "column": 35 + } + }, + "argument": { + "type": "NewExpression", + "start": 4741, + "end": 4763, + "loc": { + "start": { + "line": 134, + "column": 12 + }, + "end": { + "line": 134, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 4745, + "end": 4750, + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4751, + "end": 4762, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 33 + } + }, + "extra": { + "rawValue": "t is null", + "raw": "'t is null'" + }, + "value": "t is null" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 4775, + "end": 4869, + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 138, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 4779, + "end": 4833, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 62 + } + }, + "left": { + "type": "UnaryExpression", + "start": 4779, + "end": 4794, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 23 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 4780, + "end": 4794, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 4780, + "end": 4784, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 4785, + "end": 4794, + "loc": { + "start": { + "line": 136, + "column": 14 + }, + "end": { + "line": 136, + "column": 23 + }, + "identifierName": "_capacity" + }, + "name": "_capacity" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 4798, + "end": 4833, + "loc": { + "start": { + "line": 136, + "column": 27 + }, + "end": { + "line": 136, + "column": 62 + } + }, + "left": { + "type": "MemberExpression", + "start": 4798, + "end": 4816, + "loc": { + "start": { + "line": 136, + "column": 27 + }, + "end": { + "line": 136, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 4798, + "end": 4809, + "loc": { + "start": { + "line": 136, + "column": 27 + }, + "end": { + "line": 136, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 4798, + "end": 4802, + "loc": { + "start": { + "line": 136, + "column": 27 + }, + "end": { + "line": 136, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "start": 4803, + "end": 4809, + "loc": { + "start": { + "line": 136, + "column": 32 + }, + "end": { + "line": 136, + "column": 38 + }, + "identifierName": "_queue" + }, + "name": "_queue" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4810, + "end": 4816, + "loc": { + "start": { + "line": 136, + "column": 39 + }, + "end": { + "line": 136, + "column": 45 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 4819, + "end": 4833, + "loc": { + "start": { + "line": 136, + "column": 48 + }, + "end": { + "line": 136, + "column": 62 + } + }, + "object": { + "type": "ThisExpression", + "start": 4819, + "end": 4823, + "loc": { + "start": { + "line": 136, + "column": 48 + }, + "end": { + "line": 136, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "start": 4824, + "end": 4833, + "loc": { + "start": { + "line": 136, + "column": 53 + }, + "end": { + "line": 136, + "column": 62 + }, + "identifierName": "_capacity" + }, + "name": "_capacity" + }, + "computed": false + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4835, + "end": 4869, + "loc": { + "start": { + "line": 136, + "column": 64 + }, + "end": { + "line": 138, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4843, + "end": 4863, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 4843, + "end": 4862, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4843, + "end": 4859, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 4843, + "end": 4854, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4843, + "end": 4847, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 4848, + "end": 4854, + "loc": { + "start": { + "line": 137, + "column": 11 + }, + "end": { + "line": 137, + "column": 17 + }, + "identifierName": "_queue" + }, + "name": "_queue" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4855, + "end": 4859, + "loc": { + "start": { + "line": 137, + "column": 18 + }, + "end": { + "line": 137, + "column": 22 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4860, + "end": 4861, + "loc": { + "start": { + "line": 137, + "column": 23 + }, + "end": { + "line": 137, + "column": 24 + }, + "identifierName": "t" + }, + "name": "t" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 4874, + "end": 4887, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 4874, + "end": 4886, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4874, + "end": 4884, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 4874, + "end": 4878, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4879, + "end": 4884, + "loc": { + "start": { + "line": 139, + "column": 9 + }, + "end": { + "line": 139, + "column": 14 + }, + "identifierName": "drain" + }, + "name": "drain" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to add an item to the queue\n * of this {@link QueuingFlowableProcessor} for later emission to its\n * subscriber.\n *\n * @param {T} t - the item to add\n * @throws {Error} if {@link t} is null. Flowables are not permitted to emit\n * null values.\n ", + "start": 4373, + "end": 4692, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 131, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has encountered an error.\n * The {@link QueuingFlowableProcessor} will pass this error on to its\n * subscriber after it has finished sending the remaining items in its queue.\n *\n * @param {Error} t - the specific error\n ", + "start": 4895, + "end": 5258, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 149, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5261, + "end": 5403, + "loc": { + "start": { + "line": 150, + "column": 2 + }, + "end": { + "line": 157, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5261, + "end": 5268, + "loc": { + "start": { + "line": 150, + "column": 2 + }, + "end": { + "line": 150, + "column": 9 + }, + "identifierName": "onError" + }, + "name": "onError", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5269, + "end": 5270, + "loc": { + "start": { + "line": 150, + "column": 10 + }, + "end": { + "line": 150, + "column": 11 + }, + "identifierName": "t" + }, + "name": "t" + } + ], + "body": { + "type": "BlockStatement", + "start": 5272, + "end": 5403, + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 157, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 5278, + "end": 5337, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 153, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 5282, + "end": 5292, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 18 + } + }, + "left": { + "type": "Identifier", + "start": 5282, + "end": 5283, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 9 + }, + "identifierName": "t" + }, + "name": "t" + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 5288, + "end": 5292, + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 18 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 5294, + "end": 5337, + "loc": { + "start": { + "line": 151, + "column": 20 + }, + "end": { + "line": 153, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 5302, + "end": 5331, + "loc": { + "start": { + "line": 152, + "column": 6 + }, + "end": { + "line": 152, + "column": 35 + } + }, + "argument": { + "type": "NewExpression", + "start": 5308, + "end": 5330, + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 5312, + "end": 5317, + "loc": { + "start": { + "line": 152, + "column": 16 + }, + "end": { + "line": 152, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5318, + "end": 5329, + "loc": { + "start": { + "line": 152, + "column": 22 + }, + "end": { + "line": 152, + "column": 33 + } + }, + "extra": { + "rawValue": "t is null", + "raw": "'t is null'" + }, + "value": "t is null" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 5342, + "end": 5358, + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 154, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5342, + "end": 5357, + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 154, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5342, + "end": 5353, + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 154, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 5342, + "end": 5346, + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 154, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5347, + "end": 5353, + "loc": { + "start": { + "line": 154, + "column": 9 + }, + "end": { + "line": 154, + "column": 15 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 5356, + "end": 5357, + "loc": { + "start": { + "line": 154, + "column": 18 + }, + "end": { + "line": 154, + "column": 19 + }, + "identifierName": "t" + }, + "name": "t" + } + } + }, + { + "type": "ExpressionStatement", + "start": 5363, + "end": 5381, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5363, + "end": 5380, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5363, + "end": 5373, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 5363, + "end": 5367, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5368, + "end": 5373, + "loc": { + "start": { + "line": 155, + "column": 9 + }, + "end": { + "line": 155, + "column": 14 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 5376, + "end": 5380, + "loc": { + "start": { + "line": 155, + "column": 17 + }, + "end": { + "line": 155, + "column": 21 + } + }, + "value": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 5386, + "end": 5399, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 5386, + "end": 5398, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5386, + "end": 5396, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 5386, + "end": 5390, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5391, + "end": 5396, + "loc": { + "start": { + "line": 156, + "column": 9 + }, + "end": { + "line": 156, + "column": 14 + }, + "identifierName": "drain" + }, + "name": "drain" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has encountered an error.\n * The {@link QueuingFlowableProcessor} will pass this error on to its\n * subscriber after it has finished sending the remaining items in its queue.\n *\n * @param {Error} t - the specific error\n ", + "start": 4895, + "end": 5258, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 149, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has finished emitting\n * items. The {@link QueuingFlowableProcessor} will pass this message on to its\n * subscriber after it has finished sending the remaining items in its queue.\n ", + "start": 5407, + "end": 5727, + "loc": { + "start": { + "line": 159, + "column": 2 + }, + "end": { + "line": 164, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5730, + "end": 5789, + "loc": { + "start": { + "line": 165, + "column": 2 + }, + "end": { + "line": 168, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5730, + "end": 5740, + "loc": { + "start": { + "line": 165, + "column": 2 + }, + "end": { + "line": 165, + "column": 12 + }, + "identifierName": "onComplete" + }, + "name": "onComplete", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5743, + "end": 5789, + "loc": { + "start": { + "line": 165, + "column": 15 + }, + "end": { + "line": 168, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5749, + "end": 5767, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5749, + "end": 5766, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5749, + "end": 5759, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 5749, + "end": 5753, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5754, + "end": 5759, + "loc": { + "start": { + "line": 166, + "column": 9 + }, + "end": { + "line": 166, + "column": 14 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 5762, + "end": 5766, + "loc": { + "start": { + "line": 166, + "column": 17 + }, + "end": { + "line": 166, + "column": 21 + } + }, + "value": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 5772, + "end": 5785, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 5772, + "end": 5784, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5772, + "end": 5782, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 5772, + "end": 5776, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5777, + "end": 5782, + "loc": { + "start": { + "line": 167, + "column": 9 + }, + "end": { + "line": 167, + "column": 14 + }, + "identifierName": "drain" + }, + "name": "drain" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has finished emitting\n * items. The {@link QueuingFlowableProcessor} will pass this message on to its\n * subscriber after it has finished sending the remaining items in its queue.\n ", + "start": 5407, + "end": 5727, + "loc": { + "start": { + "line": 159, + "column": 2 + }, + "end": { + "line": 164, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * request a certain number of additional items.\n *\n * @example Note that requests are additive:\n * // this is equivalent to request(5):\n * myQFP.request(2);\n * myQFP.request(3);\n *\n * @param {number} n - the number of items to request\n * @throws {Error} if {@link n} is zero or negative\n ", + "start": 5793, + "end": 6209, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 181, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 6212, + "end": 6379, + "loc": { + "start": { + "line": 182, + "column": 2 + }, + "end": { + "line": 189, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6212, + "end": 6219, + "loc": { + "start": { + "line": 182, + "column": 2 + }, + "end": { + "line": 182, + "column": 9 + }, + "identifierName": "request" + }, + "name": "request", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6220, + "end": 6221, + "loc": { + "start": { + "line": 182, + "column": 10 + }, + "end": { + "line": 182, + "column": 11 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 6223, + "end": 6379, + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 189, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 6229, + "end": 6375, + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 188, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 6233, + "end": 6238, + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 13 + } + }, + "left": { + "type": "Identifier", + "start": 6233, + "end": 6234, + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 9 + }, + "identifierName": "n" + }, + "name": "n" + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 6237, + "end": 6238, + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 13 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 6240, + "end": 6295, + "loc": { + "start": { + "line": 183, + "column": 15 + }, + "end": { + "line": 186, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6248, + "end": 6269, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 184, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6248, + "end": 6268, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 184, + "column": 26 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 6248, + "end": 6263, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 184, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 6248, + "end": 6252, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 184, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 6253, + "end": 6263, + "loc": { + "start": { + "line": 184, + "column": 11 + }, + "end": { + "line": 184, + "column": 21 + }, + "identifierName": "_requested" + }, + "name": "_requested" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 6267, + "end": 6268, + "loc": { + "start": { + "line": 184, + "column": 25 + }, + "end": { + "line": 184, + "column": 26 + }, + "identifierName": "n" + }, + "name": "n" + } + } + }, + { + "type": "ExpressionStatement", + "start": 6276, + "end": 6289, + "loc": { + "start": { + "line": 185, + "column": 6 + }, + "end": { + "line": 185, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 6276, + "end": 6288, + "loc": { + "start": { + "line": 185, + "column": 6 + }, + "end": { + "line": 185, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6276, + "end": 6286, + "loc": { + "start": { + "line": 185, + "column": 6 + }, + "end": { + "line": 185, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 6276, + "end": 6280, + "loc": { + "start": { + "line": 185, + "column": 6 + }, + "end": { + "line": 185, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 6281, + "end": 6286, + "loc": { + "start": { + "line": 185, + "column": 11 + }, + "end": { + "line": 185, + "column": 16 + }, + "identifierName": "drain" + }, + "name": "drain" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 6301, + "end": 6375, + "loc": { + "start": { + "line": 186, + "column": 11 + }, + "end": { + "line": 188, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 6309, + "end": 6369, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 66 + } + }, + "argument": { + "type": "NewExpression", + "start": 6315, + "end": 6368, + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 65 + } + }, + "callee": { + "type": "Identifier", + "start": 6319, + "end": 6324, + "loc": { + "start": { + "line": 187, + "column": 16 + }, + "end": { + "line": 187, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 6325, + "end": 6367, + "loc": { + "start": { + "line": 187, + "column": 22 + }, + "end": { + "line": 187, + "column": 64 + } + }, + "left": { + "type": "StringLiteral", + "start": 6325, + "end": 6363, + "loc": { + "start": { + "line": 187, + "column": 22 + }, + "end": { + "line": 187, + "column": 60 + } + }, + "extra": { + "rawValue": "Invalid N for request, must be > 0: ", + "raw": "'Invalid N for request, must be > 0: '" + }, + "value": "Invalid N for request, must be > 0: " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 6366, + "end": 6367, + "loc": { + "start": { + "line": 187, + "column": 63 + }, + "end": { + "line": 187, + "column": 64 + }, + "identifierName": "n" + }, + "name": "n" + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * request a certain number of additional items.\n *\n * @example Note that requests are additive:\n * // this is equivalent to request(5):\n * myQFP.request(2);\n * myQFP.request(3);\n *\n * @param {number} n - the number of items to request\n * @throws {Error} if {@link n} is zero or negative\n ", + "start": 5793, + "end": 6209, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 181, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * indicate that it wants no more items and that the\n * {@link QueuingFlowableProcessor} can stop work and empty its queue.\n ", + "start": 6383, + "end": 6602, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 195, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 6605, + "end": 6733, + "loc": { + "start": { + "line": 196, + "column": 2 + }, + "end": { + "line": 202, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6605, + "end": 6611, + "loc": { + "start": { + "line": 196, + "column": 2 + }, + "end": { + "line": 196, + "column": 8 + }, + "identifierName": "cancel" + }, + "name": "cancel", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 6614, + "end": 6733, + "loc": { + "start": { + "line": 196, + "column": 11 + }, + "end": { + "line": 202, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6620, + "end": 6643, + "loc": { + "start": { + "line": 197, + "column": 4 + }, + "end": { + "line": 197, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6620, + "end": 6642, + "loc": { + "start": { + "line": 197, + "column": 4 + }, + "end": { + "line": 197, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6620, + "end": 6635, + "loc": { + "start": { + "line": 197, + "column": 4 + }, + "end": { + "line": 197, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 6620, + "end": 6624, + "loc": { + "start": { + "line": 197, + "column": 4 + }, + "end": { + "line": 197, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 6625, + "end": 6635, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 19 + }, + "identifierName": "_cancelled" + }, + "name": "_cancelled" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 6638, + "end": 6642, + "loc": { + "start": { + "line": 197, + "column": 22 + }, + "end": { + "line": 197, + "column": 26 + } + }, + "value": true + } + } + }, + { + "type": "IfStatement", + "start": 6648, + "end": 6729, + "loc": { + "start": { + "line": 198, + "column": 4 + }, + "end": { + "line": 201, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 6652, + "end": 6669, + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 25 + } + }, + "left": { + "type": "UpdateExpression", + "start": 6652, + "end": 6663, + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 19 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 6652, + "end": 6661, + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 6652, + "end": 6656, + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 6657, + "end": 6661, + "loc": { + "start": { + "line": 198, + "column": 13 + }, + "end": { + "line": 198, + "column": 17 + }, + "identifierName": "_wip" + }, + "name": "_wip" + }, + "computed": false + } + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 6668, + "end": 6669, + "loc": { + "start": { + "line": 198, + "column": 24 + }, + "end": { + "line": 198, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 6671, + "end": 6729, + "loc": { + "start": { + "line": 198, + "column": 27 + }, + "end": { + "line": 201, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6679, + "end": 6699, + "loc": { + "start": { + "line": 199, + "column": 6 + }, + "end": { + "line": 199, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6679, + "end": 6698, + "loc": { + "start": { + "line": 199, + "column": 6 + }, + "end": { + "line": 199, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6679, + "end": 6691, + "loc": { + "start": { + "line": 199, + "column": 6 + }, + "end": { + "line": 199, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 6679, + "end": 6683, + "loc": { + "start": { + "line": 199, + "column": 6 + }, + "end": { + "line": 199, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 6684, + "end": 6691, + "loc": { + "start": { + "line": 199, + "column": 11 + }, + "end": { + "line": 199, + "column": 18 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 6694, + "end": 6698, + "loc": { + "start": { + "line": 199, + "column": 21 + }, + "end": { + "line": 199, + "column": 25 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 6706, + "end": 6723, + "loc": { + "start": { + "line": 200, + "column": 6 + }, + "end": { + "line": 200, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6706, + "end": 6722, + "loc": { + "start": { + "line": 200, + "column": 6 + }, + "end": { + "line": 200, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6706, + "end": 6717, + "loc": { + "start": { + "line": 200, + "column": 6 + }, + "end": { + "line": 200, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 6706, + "end": 6710, + "loc": { + "start": { + "line": 200, + "column": 6 + }, + "end": { + "line": 200, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 6711, + "end": 6717, + "loc": { + "start": { + "line": 200, + "column": 11 + }, + "end": { + "line": 200, + "column": 17 + }, + "identifierName": "_queue" + }, + "name": "_queue" + }, + "computed": false + }, + "right": { + "type": "ArrayExpression", + "start": 6720, + "end": 6722, + "loc": { + "start": { + "line": 200, + "column": 20 + }, + "end": { + "line": 200, + "column": 22 + } + }, + "elements": [] + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * indicate that it wants no more items and that the\n * {@link QueuingFlowableProcessor} can stop work and empty its queue.\n ", + "start": 6383, + "end": 6602, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 195, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Add a mapping function that modifies each emission from the {@link Flowable}\n * producer before emitting it from the {@link QueuingFlowableProcessor}. Note\n * that you can call this multiple times to add multiple mapping functions,\n * each of which will operate on the outputs of its predecessor.\n *\n * @param {function} transformer - a transformation function that accepts an\n * item emitted by the {@link Flowable} producer and returns an item\n * expected by the subscriber or by the next transformer\n * @return {QueuingFlowableProcessor} this same processor, modified with the\n * transformation function\n ", + "start": 6737, + "end": 7382, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 215, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 7385, + "end": 7466, + "loc": { + "start": { + "line": 216, + "column": 2 + }, + "end": { + "line": 219, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7385, + "end": 7388, + "loc": { + "start": { + "line": 216, + "column": 2 + }, + "end": { + "line": 216, + "column": 5 + }, + "identifierName": "map" + }, + "name": "map", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7389, + "end": 7400, + "loc": { + "start": { + "line": 216, + "column": 6 + }, + "end": { + "line": 216, + "column": 17 + }, + "identifierName": "transformer" + }, + "name": "transformer" + } + ], + "body": { + "type": "BlockStatement", + "start": 7402, + "end": 7466, + "loc": { + "start": { + "line": 216, + "column": 19 + }, + "end": { + "line": 219, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7408, + "end": 7445, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 7408, + "end": 7444, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7408, + "end": 7431, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 7408, + "end": 7426, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 7408, + "end": 7412, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 7413, + "end": 7426, + "loc": { + "start": { + "line": 217, + "column": 9 + }, + "end": { + "line": 217, + "column": 22 + }, + "identifierName": "_transformers" + }, + "name": "_transformers" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7427, + "end": 7431, + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 27 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 7432, + "end": 7443, + "loc": { + "start": { + "line": 217, + "column": 28 + }, + "end": { + "line": 217, + "column": 39 + }, + "identifierName": "transformer" + }, + "name": "transformer" + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 7450, + "end": 7462, + "loc": { + "start": { + "line": 218, + "column": 4 + }, + "end": { + "line": 218, + "column": 16 + } + }, + "argument": { + "type": "ThisExpression", + "start": 7457, + "end": 7461, + "loc": { + "start": { + "line": 218, + "column": 11 + }, + "end": { + "line": 218, + "column": 15 + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Add a mapping function that modifies each emission from the {@link Flowable}\n * producer before emitting it from the {@link QueuingFlowableProcessor}. Note\n * that you can call this multiple times to add multiple mapping functions,\n * each of which will operate on the outputs of its predecessor.\n *\n * @param {function} transformer - a transformation function that accepts an\n * item emitted by the {@link Flowable} producer and returns an item\n * expected by the subscriber or by the next transformer\n * @return {QueuingFlowableProcessor} this same processor, modified with the\n * transformation function\n ", + "start": 6737, + "end": 7382, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 215, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Drain the existing queue of items that are ready for emission by the\n * {@link QueuingFlowableProcessor} by emitting them to its subscriber. This\n * is typically called implicitly by other methods of the\n * {@link QueuingFlowableProcessor}, not explicitly by the producer or\n * subscriber.\n ", + "start": 7470, + "end": 7782, + "loc": { + "start": { + "line": 221, + "column": 2 + }, + "end": { + "line": 227, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 7785, + "end": 9525, + "loc": { + "start": { + "line": 228, + "column": 2 + }, + "end": { + "line": 311, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7785, + "end": 7790, + "loc": { + "start": { + "line": 228, + "column": 2 + }, + "end": { + "line": 228, + "column": 7 + }, + "identifierName": "drain" + }, + "name": "drain", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 7793, + "end": 9525, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 311, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 7799, + "end": 7846, + "loc": { + "start": { + "line": 229, + "column": 4 + }, + "end": { + "line": 231, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7803, + "end": 7823, + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 28 + } + }, + "left": { + "type": "MemberExpression", + "start": 7803, + "end": 7815, + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 7803, + "end": 7807, + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 7808, + "end": 7815, + "loc": { + "start": { + "line": 229, + "column": 13 + }, + "end": { + "line": 229, + "column": 20 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 7819, + "end": 7823, + "loc": { + "start": { + "line": 229, + "column": 24 + }, + "end": { + "line": 229, + "column": 28 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 7825, + "end": 7846, + "loc": { + "start": { + "line": 229, + "column": 30 + }, + "end": { + "line": 231, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 7833, + "end": 7840, + "loc": { + "start": { + "line": 230, + "column": 6 + }, + "end": { + "line": 230, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 7851, + "end": 7895, + "loc": { + "start": { + "line": 232, + "column": 4 + }, + "end": { + "line": 234, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7855, + "end": 7872, + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 232, + "column": 25 + } + }, + "left": { + "type": "UpdateExpression", + "start": 7855, + "end": 7866, + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 232, + "column": 19 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 7855, + "end": 7864, + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 232, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 7855, + "end": 7859, + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 232, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 7860, + "end": 7864, + "loc": { + "start": { + "line": 232, + "column": 13 + }, + "end": { + "line": 232, + "column": 17 + }, + "identifierName": "_wip" + }, + "name": "_wip" + }, + "computed": false + } + }, + "operator": "!==", + "right": { + "type": "NumericLiteral", + "start": 7871, + "end": 7872, + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 7874, + "end": 7895, + "loc": { + "start": { + "line": 232, + "column": 27 + }, + "end": { + "line": 234, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 7882, + "end": 7889, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 7901, + "end": 7918, + "loc": { + "start": { + "line": 236, + "column": 4 + }, + "end": { + "line": 236, + "column": 21 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7907, + "end": 7917, + "loc": { + "start": { + "line": 236, + "column": 10 + }, + "end": { + "line": 236, + "column": 20 + } + }, + "id": { + "type": "Identifier", + "start": 7907, + "end": 7913, + "loc": { + "start": { + "line": 236, + "column": 10 + }, + "end": { + "line": 236, + "column": 16 + }, + "identifierName": "missed" + }, + "name": "missed" + }, + "init": { + "type": "NumericLiteral", + "start": 7916, + "end": 7917, + "loc": { + "start": { + "line": 236, + "column": 19 + }, + "end": { + "line": 236, + "column": 20 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ], + "kind": "const" + }, + { + "type": "ForStatement", + "start": 7924, + "end": 9521, + "loc": { + "start": { + "line": 238, + "column": 4 + }, + "end": { + "line": 310, + "column": 5 + } + }, + "init": null, + "test": null, + "update": null, + "body": { + "type": "BlockStatement", + "start": 7933, + "end": 9521, + "loc": { + "start": { + "line": 238, + "column": 13 + }, + "end": { + "line": 310, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 7941, + "end": 7967, + "loc": { + "start": { + "line": 239, + "column": 6 + }, + "end": { + "line": 239, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7947, + "end": 7966, + "loc": { + "start": { + "line": 239, + "column": 12 + }, + "end": { + "line": 239, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 7947, + "end": 7948, + "loc": { + "start": { + "line": 239, + "column": 12 + }, + "end": { + "line": 239, + "column": 13 + }, + "identifierName": "r" + }, + "name": "r" + }, + "init": { + "type": "MemberExpression", + "start": 7951, + "end": 7966, + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 7951, + "end": 7955, + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 7956, + "end": 7966, + "loc": { + "start": { + "line": 239, + "column": 21 + }, + "end": { + "line": 239, + "column": 31 + }, + "identifierName": "_requested" + }, + "name": "_requested" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 7974, + "end": 7984, + "loc": { + "start": { + "line": 240, + "column": 6 + }, + "end": { + "line": 240, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7978, + "end": 7983, + "loc": { + "start": { + "line": 240, + "column": 10 + }, + "end": { + "line": 240, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 7978, + "end": 7979, + "loc": { + "start": { + "line": 240, + "column": 10 + }, + "end": { + "line": 240, + "column": 11 + }, + "identifierName": "e" + }, + "name": "e" + }, + "init": { + "type": "NumericLiteral", + "start": 7982, + "end": 7983, + "loc": { + "start": { + "line": 240, + "column": 14 + }, + "end": { + "line": 240, + "column": 15 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "WhileStatement", + "start": 7992, + "end": 8810, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 276, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7999, + "end": 8006, + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 20 + } + }, + "left": { + "type": "Identifier", + "start": 7999, + "end": 8000, + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 14 + }, + "identifierName": "e" + }, + "name": "e" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 8005, + "end": 8006, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 20 + }, + "identifierName": "r" + }, + "name": "r" + } + }, + "body": { + "type": "BlockStatement", + "start": 8008, + "end": 8810, + "loc": { + "start": { + "line": 242, + "column": 22 + }, + "end": { + "line": 276, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 8018, + "end": 8127, + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 247, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 8022, + "end": 8037, + "loc": { + "start": { + "line": 243, + "column": 12 + }, + "end": { + "line": 243, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 8022, + "end": 8026, + "loc": { + "start": { + "line": 243, + "column": 12 + }, + "end": { + "line": 243, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 8027, + "end": 8037, + "loc": { + "start": { + "line": 243, + "column": 17 + }, + "end": { + "line": 243, + "column": 27 + }, + "identifierName": "_cancelled" + }, + "name": "_cancelled" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 8039, + "end": 8127, + "loc": { + "start": { + "line": 243, + "column": 29 + }, + "end": { + "line": 247, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8051, + "end": 8071, + "loc": { + "start": { + "line": 244, + "column": 10 + }, + "end": { + "line": 244, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8051, + "end": 8070, + "loc": { + "start": { + "line": 244, + "column": 10 + }, + "end": { + "line": 244, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8051, + "end": 8063, + "loc": { + "start": { + "line": 244, + "column": 10 + }, + "end": { + "line": 244, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 8051, + "end": 8055, + "loc": { + "start": { + "line": 244, + "column": 10 + }, + "end": { + "line": 244, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 8056, + "end": 8063, + "loc": { + "start": { + "line": 244, + "column": 15 + }, + "end": { + "line": 244, + "column": 22 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 8066, + "end": 8070, + "loc": { + "start": { + "line": 244, + "column": 25 + }, + "end": { + "line": 244, + "column": 29 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 8082, + "end": 8099, + "loc": { + "start": { + "line": 245, + "column": 10 + }, + "end": { + "line": 245, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8082, + "end": 8098, + "loc": { + "start": { + "line": 245, + "column": 10 + }, + "end": { + "line": 245, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8082, + "end": 8093, + "loc": { + "start": { + "line": 245, + "column": 10 + }, + "end": { + "line": 245, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 8082, + "end": 8086, + "loc": { + "start": { + "line": 245, + "column": 10 + }, + "end": { + "line": 245, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 8087, + "end": 8093, + "loc": { + "start": { + "line": 245, + "column": 15 + }, + "end": { + "line": 245, + "column": 21 + }, + "identifierName": "_queue" + }, + "name": "_queue" + }, + "computed": false + }, + "right": { + "type": "ArrayExpression", + "start": 8096, + "end": 8098, + "loc": { + "start": { + "line": 245, + "column": 24 + }, + "end": { + "line": 245, + "column": 26 + } + }, + "elements": [] + } + } + }, + { + "type": "ReturnStatement", + "start": 8110, + "end": 8117, + "loc": { + "start": { + "line": 246, + "column": 10 + }, + "end": { + "line": 246, + "column": 17 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 8137, + "end": 8158, + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 29 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8143, + "end": 8157, + "loc": { + "start": { + "line": 249, + "column": 14 + }, + "end": { + "line": 249, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 8143, + "end": 8144, + "loc": { + "start": { + "line": 249, + "column": 14 + }, + "end": { + "line": 249, + "column": 15 + }, + "identifierName": "d" + }, + "name": "d" + }, + "init": { + "type": "MemberExpression", + "start": 8147, + "end": 8157, + "loc": { + "start": { + "line": 249, + "column": 18 + }, + "end": { + "line": 249, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 8147, + "end": 8151, + "loc": { + "start": { + "line": 249, + "column": 18 + }, + "end": { + "line": 249, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 8152, + "end": 8157, + "loc": { + "start": { + "line": 249, + "column": 23 + }, + "end": { + "line": 249, + "column": 28 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8167, + "end": 8197, + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 250, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8173, + "end": 8196, + "loc": { + "start": { + "line": 250, + "column": 14 + }, + "end": { + "line": 250, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 8173, + "end": 8174, + "loc": { + "start": { + "line": 250, + "column": 14 + }, + "end": { + "line": 250, + "column": 15 + }, + "identifierName": "v" + }, + "name": "v" + }, + "init": { + "type": "CallExpression", + "start": 8177, + "end": 8196, + "loc": { + "start": { + "line": 250, + "column": 18 + }, + "end": { + "line": 250, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8177, + "end": 8194, + "loc": { + "start": { + "line": 250, + "column": 18 + }, + "end": { + "line": 250, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 8177, + "end": 8188, + "loc": { + "start": { + "line": 250, + "column": 18 + }, + "end": { + "line": 250, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 8177, + "end": 8181, + "loc": { + "start": { + "line": 250, + "column": 18 + }, + "end": { + "line": 250, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 8182, + "end": 8188, + "loc": { + "start": { + "line": 250, + "column": 23 + }, + "end": { + "line": 250, + "column": 29 + }, + "identifierName": "_queue" + }, + "name": "_queue" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8189, + "end": 8194, + "loc": { + "start": { + "line": 250, + "column": 30 + }, + "end": { + "line": 250, + "column": 35 + }, + "identifierName": "shift" + }, + "name": "shift" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8206, + "end": 8230, + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 251, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8212, + "end": 8229, + "loc": { + "start": { + "line": 251, + "column": 14 + }, + "end": { + "line": 251, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 8212, + "end": 8217, + "loc": { + "start": { + "line": 251, + "column": 14 + }, + "end": { + "line": 251, + "column": 19 + }, + "identifierName": "empty" + }, + "name": "empty" + }, + "init": { + "type": "BinaryExpression", + "start": 8220, + "end": 8229, + "loc": { + "start": { + "line": 251, + "column": 22 + }, + "end": { + "line": 251, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 8220, + "end": 8221, + "loc": { + "start": { + "line": 251, + "column": 22 + }, + "end": { + "line": 251, + "column": 23 + }, + "identifierName": "v" + }, + "name": "v" + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 8225, + "end": 8229, + "loc": { + "start": { + "line": 251, + "column": 27 + }, + "end": { + "line": 251, + "column": 31 + } + } + } + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 8240, + "end": 8550, + "loc": { + "start": { + "line": 253, + "column": 8 + }, + "end": { + "line": 264, + "column": 9 + } + }, + "test": { + "type": "LogicalExpression", + "start": 8244, + "end": 8254, + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 22 + } + }, + "left": { + "type": "Identifier", + "start": 8244, + "end": 8245, + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 13 + }, + "identifierName": "d" + }, + "name": "d" + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 8249, + "end": 8254, + "loc": { + "start": { + "line": 253, + "column": 17 + }, + "end": { + "line": 253, + "column": 22 + }, + "identifierName": "empty" + }, + "name": "empty" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8256, + "end": 8550, + "loc": { + "start": { + "line": 253, + "column": 24 + }, + "end": { + "line": 264, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 8268, + "end": 8522, + "loc": { + "start": { + "line": 254, + "column": 10 + }, + "end": { + "line": 262, + "column": 11 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8272, + "end": 8292, + "loc": { + "start": { + "line": 254, + "column": 14 + }, + "end": { + "line": 254, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 8272, + "end": 8284, + "loc": { + "start": { + "line": 254, + "column": 14 + }, + "end": { + "line": 254, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 8272, + "end": 8276, + "loc": { + "start": { + "line": 254, + "column": 14 + }, + "end": { + "line": 254, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 8277, + "end": 8284, + "loc": { + "start": { + "line": 254, + "column": 19 + }, + "end": { + "line": 254, + "column": 26 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "operator": "!=", + "right": { + "type": "NullLiteral", + "start": 8288, + "end": 8292, + "loc": { + "start": { + "line": 254, + "column": 30 + }, + "end": { + "line": 254, + "column": 34 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8294, + "end": 8522, + "loc": { + "start": { + "line": 254, + "column": 36 + }, + "end": { + "line": 262, + "column": 11 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8308, + "end": 8331, + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8314, + "end": 8330, + "loc": { + "start": { + "line": 255, + "column": 18 + }, + "end": { + "line": 255, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 8314, + "end": 8316, + "loc": { + "start": { + "line": 255, + "column": 18 + }, + "end": { + "line": 255, + "column": 20 + }, + "identifierName": "ex" + }, + "name": "ex" + }, + "init": { + "type": "MemberExpression", + "start": 8319, + "end": 8330, + "loc": { + "start": { + "line": 255, + "column": 23 + }, + "end": { + "line": 255, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 8319, + "end": 8323, + "loc": { + "start": { + "line": 255, + "column": 23 + }, + "end": { + "line": 255, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 8324, + "end": 8330, + "loc": { + "start": { + "line": 255, + "column": 28 + }, + "end": { + "line": 255, + "column": 34 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 8344, + "end": 8477, + "loc": { + "start": { + "line": 256, + "column": 12 + }, + "end": { + "line": 260, + "column": 13 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8348, + "end": 8358, + "loc": { + "start": { + "line": 256, + "column": 16 + }, + "end": { + "line": 256, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 8348, + "end": 8350, + "loc": { + "start": { + "line": 256, + "column": 16 + }, + "end": { + "line": 256, + "column": 18 + }, + "identifierName": "ex" + }, + "name": "ex" + }, + "operator": "!=", + "right": { + "type": "NullLiteral", + "start": 8354, + "end": 8358, + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 26 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8360, + "end": 8415, + "loc": { + "start": { + "line": 256, + "column": 28 + }, + "end": { + "line": 258, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8376, + "end": 8401, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 8376, + "end": 8400, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8376, + "end": 8396, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 8376, + "end": 8388, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 8376, + "end": 8380, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 8381, + "end": 8388, + "loc": { + "start": { + "line": 257, + "column": 19 + }, + "end": { + "line": 257, + "column": 26 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8389, + "end": 8396, + "loc": { + "start": { + "line": 257, + "column": 27 + }, + "end": { + "line": 257, + "column": 34 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8397, + "end": 8399, + "loc": { + "start": { + "line": 257, + "column": 35 + }, + "end": { + "line": 257, + "column": 37 + }, + "identifierName": "ex" + }, + "name": "ex" + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 8421, + "end": 8477, + "loc": { + "start": { + "line": 258, + "column": 19 + }, + "end": { + "line": 260, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8437, + "end": 8463, + "loc": { + "start": { + "line": 259, + "column": 14 + }, + "end": { + "line": 259, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 8437, + "end": 8462, + "loc": { + "start": { + "line": 259, + "column": 14 + }, + "end": { + "line": 259, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8437, + "end": 8460, + "loc": { + "start": { + "line": 259, + "column": 14 + }, + "end": { + "line": 259, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 8437, + "end": 8449, + "loc": { + "start": { + "line": 259, + "column": 14 + }, + "end": { + "line": 259, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 8437, + "end": 8441, + "loc": { + "start": { + "line": 259, + "column": 14 + }, + "end": { + "line": 259, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 8442, + "end": 8449, + "loc": { + "start": { + "line": 259, + "column": 19 + }, + "end": { + "line": 259, + "column": 26 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8450, + "end": 8460, + "loc": { + "start": { + "line": 259, + "column": 27 + }, + "end": { + "line": 259, + "column": 37 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 8490, + "end": 8510, + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8490, + "end": 8509, + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8490, + "end": 8502, + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 8490, + "end": 8494, + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 8495, + "end": 8502, + "loc": { + "start": { + "line": 261, + "column": 17 + }, + "end": { + "line": 261, + "column": 24 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 8505, + "end": 8509, + "loc": { + "start": { + "line": 261, + "column": 27 + }, + "end": { + "line": 261, + "column": 31 + } + } + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 8533, + "end": 8540, + "loc": { + "start": { + "line": 263, + "column": 10 + }, + "end": { + "line": 263, + "column": 17 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 8560, + "end": 8599, + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 268, + "column": 9 + } + }, + "test": { + "type": "Identifier", + "start": 8564, + "end": 8569, + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 17 + }, + "identifierName": "empty" + }, + "name": "empty" + }, + "consequent": { + "type": "BlockStatement", + "start": 8571, + "end": 8599, + "loc": { + "start": { + "line": 266, + "column": 19 + }, + "end": { + "line": 268, + "column": 9 + } + }, + "body": [ + { + "type": "BreakStatement", + "start": 8583, + "end": 8589, + "loc": { + "start": { + "line": 267, + "column": 10 + }, + "end": { + "line": 267, + "column": 16 + } + }, + "label": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 8609, + "end": 8788, + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 273, + "column": 9 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8613, + "end": 8633, + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 32 + } + }, + "left": { + "type": "MemberExpression", + "start": 8613, + "end": 8625, + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 8613, + "end": 8617, + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 8618, + "end": 8625, + "loc": { + "start": { + "line": 270, + "column": 17 + }, + "end": { + "line": 270, + "column": 24 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "operator": "!=", + "right": { + "type": "NullLiteral", + "start": 8629, + "end": 8633, + "loc": { + "start": { + "line": 270, + "column": 28 + }, + "end": { + "line": 270, + "column": 32 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8635, + "end": 8788, + "loc": { + "start": { + "line": 270, + "column": 34 + }, + "end": { + "line": 273, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8647, + "end": 8733, + "loc": { + "start": { + "line": 271, + "column": 10 + }, + "end": { + "line": 271, + "column": 96 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8653, + "end": 8732, + "loc": { + "start": { + "line": 271, + "column": 16 + }, + "end": { + "line": 271, + "column": 95 + } + }, + "id": { + "type": "Identifier", + "start": 8653, + "end": 8665, + "loc": { + "start": { + "line": 271, + "column": 16 + }, + "end": { + "line": 271, + "column": 28 + }, + "identifierName": "transformedV" + }, + "name": "transformedV" + }, + "init": { + "type": "CallExpression", + "start": 8668, + "end": 8732, + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 95 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8668, + "end": 8693, + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 8668, + "end": 8686, + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 8668, + "end": 8672, + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "start": 8673, + "end": 8686, + "loc": { + "start": { + "line": 271, + "column": 36 + }, + "end": { + "line": 271, + "column": 49 + }, + "identifierName": "_transformers" + }, + "name": "_transformers" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8687, + "end": 8693, + "loc": { + "start": { + "line": 271, + "column": 50 + }, + "end": { + "line": 271, + "column": 56 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8694, + "end": 8728, + "loc": { + "start": { + "line": 271, + "column": 57 + }, + "end": { + "line": 271, + "column": 91 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8695, + "end": 8702, + "loc": { + "start": { + "line": 271, + "column": 58 + }, + "end": { + "line": 271, + "column": 65 + }, + "identifierName": "interim" + }, + "name": "interim" + }, + { + "type": "Identifier", + "start": 8704, + "end": 8709, + "loc": { + "start": { + "line": 271, + "column": 67 + }, + "end": { + "line": 271, + "column": 72 + }, + "identifierName": "xform" + }, + "name": "xform" + } + ], + "body": { + "type": "CallExpression", + "start": 8714, + "end": 8728, + "loc": { + "start": { + "line": 271, + "column": 77 + }, + "end": { + "line": 271, + "column": 91 + } + }, + "callee": { + "type": "Identifier", + "start": 8714, + "end": 8719, + "loc": { + "start": { + "line": 271, + "column": 77 + }, + "end": { + "line": 271, + "column": 82 + }, + "identifierName": "xform" + }, + "name": "xform" + }, + "arguments": [ + { + "type": "Identifier", + "start": 8720, + "end": 8727, + "loc": { + "start": { + "line": 271, + "column": 83 + }, + "end": { + "line": 271, + "column": 90 + }, + "identifierName": "interim" + }, + "name": "interim" + } + ] + } + }, + { + "type": "Identifier", + "start": 8730, + "end": 8731, + "loc": { + "start": { + "line": 271, + "column": 93 + }, + "end": { + "line": 271, + "column": 94 + }, + "identifierName": "v" + }, + "name": "v" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 8744, + "end": 8778, + "loc": { + "start": { + "line": 272, + "column": 10 + }, + "end": { + "line": 272, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 8744, + "end": 8777, + "loc": { + "start": { + "line": 272, + "column": 10 + }, + "end": { + "line": 272, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8744, + "end": 8763, + "loc": { + "start": { + "line": 272, + "column": 10 + }, + "end": { + "line": 272, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 8744, + "end": 8756, + "loc": { + "start": { + "line": 272, + "column": 10 + }, + "end": { + "line": 272, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 8744, + "end": 8748, + "loc": { + "start": { + "line": 272, + "column": 10 + }, + "end": { + "line": 272, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 8749, + "end": 8756, + "loc": { + "start": { + "line": 272, + "column": 15 + }, + "end": { + "line": 272, + "column": 22 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8757, + "end": 8763, + "loc": { + "start": { + "line": 272, + "column": 23 + }, + "end": { + "line": 272, + "column": 29 + }, + "identifierName": "onNext" + }, + "name": "onNext" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8764, + "end": 8776, + "loc": { + "start": { + "line": 272, + "column": 30 + }, + "end": { + "line": 272, + "column": 42 + }, + "identifierName": "transformedV" + }, + "name": "transformedV" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 8798, + "end": 8802, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 12 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 8798, + "end": 8801, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 11 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 8798, + "end": 8799, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 9 + }, + "identifierName": "e" + }, + "name": "e" + } + } + } + ], + "directives": [] + } + }, + { + "type": "IfStatement", + "start": 8818, + "end": 9355, + "loc": { + "start": { + "line": 278, + "column": 6 + }, + "end": { + "line": 299, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8822, + "end": 8828, + "loc": { + "start": { + "line": 278, + "column": 10 + }, + "end": { + "line": 278, + "column": 16 + } + }, + "left": { + "type": "Identifier", + "start": 8822, + "end": 8823, + "loc": { + "start": { + "line": 278, + "column": 10 + }, + "end": { + "line": 278, + "column": 11 + }, + "identifierName": "e" + }, + "name": "e" + }, + "operator": "==", + "right": { + "type": "Identifier", + "start": 8827, + "end": 8828, + "loc": { + "start": { + "line": 278, + "column": 15 + }, + "end": { + "line": 278, + "column": 16 + }, + "identifierName": "r" + }, + "name": "r" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8830, + "end": 9355, + "loc": { + "start": { + "line": 278, + "column": 18 + }, + "end": { + "line": 299, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 8840, + "end": 8949, + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 283, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 8844, + "end": 8859, + "loc": { + "start": { + "line": 279, + "column": 12 + }, + "end": { + "line": 279, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 8844, + "end": 8848, + "loc": { + "start": { + "line": 279, + "column": 12 + }, + "end": { + "line": 279, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 8849, + "end": 8859, + "loc": { + "start": { + "line": 279, + "column": 17 + }, + "end": { + "line": 279, + "column": 27 + }, + "identifierName": "_cancelled" + }, + "name": "_cancelled" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 8861, + "end": 8949, + "loc": { + "start": { + "line": 279, + "column": 29 + }, + "end": { + "line": 283, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8873, + "end": 8893, + "loc": { + "start": { + "line": 280, + "column": 10 + }, + "end": { + "line": 280, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8873, + "end": 8892, + "loc": { + "start": { + "line": 280, + "column": 10 + }, + "end": { + "line": 280, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8873, + "end": 8885, + "loc": { + "start": { + "line": 280, + "column": 10 + }, + "end": { + "line": 280, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 8873, + "end": 8877, + "loc": { + "start": { + "line": 280, + "column": 10 + }, + "end": { + "line": 280, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 8878, + "end": 8885, + "loc": { + "start": { + "line": 280, + "column": 15 + }, + "end": { + "line": 280, + "column": 22 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 8888, + "end": 8892, + "loc": { + "start": { + "line": 280, + "column": 25 + }, + "end": { + "line": 280, + "column": 29 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 8904, + "end": 8921, + "loc": { + "start": { + "line": 281, + "column": 10 + }, + "end": { + "line": 281, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8904, + "end": 8920, + "loc": { + "start": { + "line": 281, + "column": 10 + }, + "end": { + "line": 281, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8904, + "end": 8915, + "loc": { + "start": { + "line": 281, + "column": 10 + }, + "end": { + "line": 281, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 8904, + "end": 8908, + "loc": { + "start": { + "line": 281, + "column": 10 + }, + "end": { + "line": 281, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 8909, + "end": 8915, + "loc": { + "start": { + "line": 281, + "column": 15 + }, + "end": { + "line": 281, + "column": 21 + }, + "identifierName": "_queue" + }, + "name": "_queue" + }, + "computed": false + }, + "right": { + "type": "ArrayExpression", + "start": 8918, + "end": 8920, + "loc": { + "start": { + "line": 281, + "column": 24 + }, + "end": { + "line": 281, + "column": 26 + } + }, + "elements": [] + } + } + }, + { + "type": "ReturnStatement", + "start": 8932, + "end": 8939, + "loc": { + "start": { + "line": 282, + "column": 10 + }, + "end": { + "line": 282, + "column": 17 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 8958, + "end": 8979, + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 29 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8964, + "end": 8978, + "loc": { + "start": { + "line": 284, + "column": 14 + }, + "end": { + "line": 284, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 8964, + "end": 8965, + "loc": { + "start": { + "line": 284, + "column": 14 + }, + "end": { + "line": 284, + "column": 15 + }, + "identifierName": "d" + }, + "name": "d" + }, + "init": { + "type": "MemberExpression", + "start": 8968, + "end": 8978, + "loc": { + "start": { + "line": 284, + "column": 18 + }, + "end": { + "line": 284, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 8968, + "end": 8972, + "loc": { + "start": { + "line": 284, + "column": 18 + }, + "end": { + "line": 284, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 8973, + "end": 8978, + "loc": { + "start": { + "line": 284, + "column": 23 + }, + "end": { + "line": 284, + "column": 28 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8988, + "end": 9027, + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8994, + "end": 9026, + "loc": { + "start": { + "line": 285, + "column": 14 + }, + "end": { + "line": 285, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 8994, + "end": 8999, + "loc": { + "start": { + "line": 285, + "column": 14 + }, + "end": { + "line": 285, + "column": 19 + }, + "identifierName": "empty" + }, + "name": "empty" + }, + "init": { + "type": "BinaryExpression", + "start": 9002, + "end": 9026, + "loc": { + "start": { + "line": 285, + "column": 22 + }, + "end": { + "line": 285, + "column": 46 + } + }, + "left": { + "type": "MemberExpression", + "start": 9002, + "end": 9020, + "loc": { + "start": { + "line": 285, + "column": 22 + }, + "end": { + "line": 285, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 9002, + "end": 9013, + "loc": { + "start": { + "line": 285, + "column": 22 + }, + "end": { + "line": 285, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 9002, + "end": 9006, + "loc": { + "start": { + "line": 285, + "column": 22 + }, + "end": { + "line": 285, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 9007, + "end": 9013, + "loc": { + "start": { + "line": 285, + "column": 27 + }, + "end": { + "line": 285, + "column": 33 + }, + "identifierName": "_queue" + }, + "name": "_queue" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9014, + "end": 9020, + "loc": { + "start": { + "line": 285, + "column": 34 + }, + "end": { + "line": 285, + "column": 40 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 9025, + "end": 9026, + "loc": { + "start": { + "line": 285, + "column": 45 + }, + "end": { + "line": 285, + "column": 46 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 9037, + "end": 9347, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 298, + "column": 9 + } + }, + "test": { + "type": "LogicalExpression", + "start": 9041, + "end": 9051, + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 22 + } + }, + "left": { + "type": "Identifier", + "start": 9041, + "end": 9042, + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 13 + }, + "identifierName": "d" + }, + "name": "d" + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 9046, + "end": 9051, + "loc": { + "start": { + "line": 287, + "column": 17 + }, + "end": { + "line": 287, + "column": 22 + }, + "identifierName": "empty" + }, + "name": "empty" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9053, + "end": 9347, + "loc": { + "start": { + "line": 287, + "column": 24 + }, + "end": { + "line": 298, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 9065, + "end": 9319, + "loc": { + "start": { + "line": 288, + "column": 10 + }, + "end": { + "line": 296, + "column": 11 + } + }, + "test": { + "type": "BinaryExpression", + "start": 9069, + "end": 9089, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 288, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 9069, + "end": 9081, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 288, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 9069, + "end": 9073, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 288, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 9074, + "end": 9081, + "loc": { + "start": { + "line": 288, + "column": 19 + }, + "end": { + "line": 288, + "column": 26 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "operator": "!=", + "right": { + "type": "NullLiteral", + "start": 9085, + "end": 9089, + "loc": { + "start": { + "line": 288, + "column": 30 + }, + "end": { + "line": 288, + "column": 34 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9091, + "end": 9319, + "loc": { + "start": { + "line": 288, + "column": 36 + }, + "end": { + "line": 296, + "column": 11 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 9105, + "end": 9128, + "loc": { + "start": { + "line": 289, + "column": 12 + }, + "end": { + "line": 289, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9111, + "end": 9127, + "loc": { + "start": { + "line": 289, + "column": 18 + }, + "end": { + "line": 289, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 9111, + "end": 9113, + "loc": { + "start": { + "line": 289, + "column": 18 + }, + "end": { + "line": 289, + "column": 20 + }, + "identifierName": "ex" + }, + "name": "ex" + }, + "init": { + "type": "MemberExpression", + "start": 9116, + "end": 9127, + "loc": { + "start": { + "line": 289, + "column": 23 + }, + "end": { + "line": 289, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 9116, + "end": 9120, + "loc": { + "start": { + "line": 289, + "column": 23 + }, + "end": { + "line": 289, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 9121, + "end": 9127, + "loc": { + "start": { + "line": 289, + "column": 28 + }, + "end": { + "line": 289, + "column": 34 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 9141, + "end": 9274, + "loc": { + "start": { + "line": 290, + "column": 12 + }, + "end": { + "line": 294, + "column": 13 + } + }, + "test": { + "type": "BinaryExpression", + "start": 9145, + "end": 9155, + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 9145, + "end": 9147, + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 18 + }, + "identifierName": "ex" + }, + "name": "ex" + }, + "operator": "!=", + "right": { + "type": "NullLiteral", + "start": 9151, + "end": 9155, + "loc": { + "start": { + "line": 290, + "column": 22 + }, + "end": { + "line": 290, + "column": 26 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9157, + "end": 9212, + "loc": { + "start": { + "line": 290, + "column": 28 + }, + "end": { + "line": 292, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9173, + "end": 9198, + "loc": { + "start": { + "line": 291, + "column": 14 + }, + "end": { + "line": 291, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 9173, + "end": 9197, + "loc": { + "start": { + "line": 291, + "column": 14 + }, + "end": { + "line": 291, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9173, + "end": 9193, + "loc": { + "start": { + "line": 291, + "column": 14 + }, + "end": { + "line": 291, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 9173, + "end": 9185, + "loc": { + "start": { + "line": 291, + "column": 14 + }, + "end": { + "line": 291, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 9173, + "end": 9177, + "loc": { + "start": { + "line": 291, + "column": 14 + }, + "end": { + "line": 291, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 9178, + "end": 9185, + "loc": { + "start": { + "line": 291, + "column": 19 + }, + "end": { + "line": 291, + "column": 26 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9186, + "end": 9193, + "loc": { + "start": { + "line": 291, + "column": 27 + }, + "end": { + "line": 291, + "column": 34 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9194, + "end": 9196, + "loc": { + "start": { + "line": 291, + "column": 35 + }, + "end": { + "line": 291, + "column": 37 + }, + "identifierName": "ex" + }, + "name": "ex" + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 9218, + "end": 9274, + "loc": { + "start": { + "line": 292, + "column": 19 + }, + "end": { + "line": 294, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9234, + "end": 9260, + "loc": { + "start": { + "line": 293, + "column": 14 + }, + "end": { + "line": 293, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 9234, + "end": 9259, + "loc": { + "start": { + "line": 293, + "column": 14 + }, + "end": { + "line": 293, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9234, + "end": 9257, + "loc": { + "start": { + "line": 293, + "column": 14 + }, + "end": { + "line": 293, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 9234, + "end": 9246, + "loc": { + "start": { + "line": 293, + "column": 14 + }, + "end": { + "line": 293, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 9234, + "end": 9238, + "loc": { + "start": { + "line": 293, + "column": 14 + }, + "end": { + "line": 293, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 9239, + "end": 9246, + "loc": { + "start": { + "line": 293, + "column": 19 + }, + "end": { + "line": 293, + "column": 26 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9247, + "end": 9257, + "loc": { + "start": { + "line": 293, + "column": 27 + }, + "end": { + "line": 293, + "column": 37 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 9287, + "end": 9307, + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 295, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9287, + "end": 9306, + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 295, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9287, + "end": 9299, + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 295, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 9287, + "end": 9291, + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 295, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 9292, + "end": 9299, + "loc": { + "start": { + "line": 295, + "column": 17 + }, + "end": { + "line": 295, + "column": 24 + }, + "identifierName": "_actual" + }, + "name": "_actual" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 9302, + "end": 9306, + "loc": { + "start": { + "line": 295, + "column": 27 + }, + "end": { + "line": 295, + "column": 31 + } + } + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 9330, + "end": 9337, + "loc": { + "start": { + "line": 297, + "column": 10 + }, + "end": { + "line": 297, + "column": 17 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 9363, + "end": 9414, + "loc": { + "start": { + "line": 301, + "column": 6 + }, + "end": { + "line": 303, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 9367, + "end": 9373, + "loc": { + "start": { + "line": 301, + "column": 10 + }, + "end": { + "line": 301, + "column": 16 + } + }, + "left": { + "type": "Identifier", + "start": 9367, + "end": 9368, + "loc": { + "start": { + "line": 301, + "column": 10 + }, + "end": { + "line": 301, + "column": 11 + }, + "identifierName": "e" + }, + "name": "e" + }, + "operator": "!=", + "right": { + "type": "NumericLiteral", + "start": 9372, + "end": 9373, + "loc": { + "start": { + "line": 301, + "column": 15 + }, + "end": { + "line": 301, + "column": 16 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9375, + "end": 9414, + "loc": { + "start": { + "line": 301, + "column": 18 + }, + "end": { + "line": 303, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9385, + "end": 9406, + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9385, + "end": 9405, + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 28 + } + }, + "operator": "-=", + "left": { + "type": "MemberExpression", + "start": 9385, + "end": 9400, + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 9385, + "end": 9389, + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 9390, + "end": 9400, + "loc": { + "start": { + "line": 302, + "column": 13 + }, + "end": { + "line": 302, + "column": 23 + }, + "identifierName": "_requested" + }, + "name": "_requested" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 9404, + "end": 9405, + "loc": { + "start": { + "line": 302, + "column": 27 + }, + "end": { + "line": 302, + "column": 28 + }, + "identifierName": "e" + }, + "name": "e" + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 9422, + "end": 9451, + "loc": { + "start": { + "line": 305, + "column": 6 + }, + "end": { + "line": 305, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9428, + "end": 9450, + "loc": { + "start": { + "line": 305, + "column": 12 + }, + "end": { + "line": 305, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 9428, + "end": 9429, + "loc": { + "start": { + "line": 305, + "column": 12 + }, + "end": { + "line": 305, + "column": 13 + }, + "identifierName": "m" + }, + "name": "m" + }, + "init": { + "type": "BinaryExpression", + "start": 9432, + "end": 9450, + "loc": { + "start": { + "line": 305, + "column": 16 + }, + "end": { + "line": 305, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 9432, + "end": 9441, + "loc": { + "start": { + "line": 305, + "column": 16 + }, + "end": { + "line": 305, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 9432, + "end": 9436, + "loc": { + "start": { + "line": 305, + "column": 16 + }, + "end": { + "line": 305, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 9437, + "end": 9441, + "loc": { + "start": { + "line": 305, + "column": 21 + }, + "end": { + "line": 305, + "column": 25 + }, + "identifierName": "_wip" + }, + "name": "_wip" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 9444, + "end": 9450, + "loc": { + "start": { + "line": 305, + "column": 28 + }, + "end": { + "line": 305, + "column": 34 + }, + "identifierName": "missed" + }, + "name": "missed" + } + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 9458, + "end": 9472, + "loc": { + "start": { + "line": 306, + "column": 6 + }, + "end": { + "line": 306, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9458, + "end": 9471, + "loc": { + "start": { + "line": 306, + "column": 6 + }, + "end": { + "line": 306, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9458, + "end": 9467, + "loc": { + "start": { + "line": 306, + "column": 6 + }, + "end": { + "line": 306, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 9458, + "end": 9462, + "loc": { + "start": { + "line": 306, + "column": 6 + }, + "end": { + "line": 306, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9463, + "end": 9467, + "loc": { + "start": { + "line": 306, + "column": 11 + }, + "end": { + "line": 306, + "column": 15 + }, + "identifierName": "_wip" + }, + "name": "_wip" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 9470, + "end": 9471, + "loc": { + "start": { + "line": 306, + "column": 18 + }, + "end": { + "line": 306, + "column": 19 + }, + "identifierName": "m" + }, + "name": "m" + } + } + }, + { + "type": "IfStatement", + "start": 9479, + "end": 9515, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 309, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 9483, + "end": 9489, + "loc": { + "start": { + "line": 307, + "column": 10 + }, + "end": { + "line": 307, + "column": 16 + } + }, + "left": { + "type": "Identifier", + "start": 9483, + "end": 9484, + "loc": { + "start": { + "line": 307, + "column": 10 + }, + "end": { + "line": 307, + "column": 11 + }, + "identifierName": "m" + }, + "name": "m" + }, + "operator": "==", + "right": { + "type": "NumericLiteral", + "start": 9488, + "end": 9489, + "loc": { + "start": { + "line": 307, + "column": 15 + }, + "end": { + "line": 307, + "column": 16 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9491, + "end": 9515, + "loc": { + "start": { + "line": 307, + "column": 18 + }, + "end": { + "line": 309, + "column": 7 + } + }, + "body": [ + { + "type": "BreakStatement", + "start": 9501, + "end": 9507, + "loc": { + "start": { + "line": 308, + "column": 8 + }, + "end": { + "line": 308, + "column": 14 + } + }, + "label": null + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Drain the existing queue of items that are ready for emission by the\n * {@link QueuingFlowableProcessor} by emitting them to its subscriber. This\n * is typically called implicitly by other methods of the\n * {@link QueuingFlowableProcessor}, not explicitly by the producer or\n * subscriber.\n ", + "start": 7470, + "end": 7782, + "loc": { + "start": { + "line": 221, + "column": 2 + }, + "end": { + "line": 227, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " uint31", + "start": 415, + "end": 424, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A {@link QueuingFlowableProcessor} is an intermediary between a Flowable\n * producer and a subscriber. To the producer, it behaves as a greedy subscriber\n * (that is, one that {@link request}s a large number of emissions immediately).\n * To the subscriber, it behaves as a {@link Flowable}.\n *\n * This allows the producer to generate and emit items at its own fast pace, while\n * the end subscriber requests them at its own slow pace. In between, the\n * {@link QueuingFlowableProcessor} queues up the backlog of items.\n ", + "start": 426, + "end": 955, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name QueuingFlowableProcessor.js\n * @fileoverview Defines the {@link QueuingFlowableProcessor} class.\n *\n * @requires NPM:rsocket-types\n * @exports QueuingFlowableProcessor\n ", + "start": 956, + "end": 1140, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An asynchronous, pull-based stream of values. Call the\n * {@link IPublisher#subscribe} method to generate a call to the subscriber's\n * {@link onSubscribe} method with a {@link Subscription} object that has two\n * methods: {@link Subscription#cancel} and {@link Subscription#request}.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPublisher\n ", + "start": 1142, + "end": 1573, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A version of the {@link ISubscriber} interface in which the methods are\n * optional, so that you may elect to only implement a subset of them.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPartialSubscriber\n ", + "start": 1574, + "end": 1871, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A handler for values provided by a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface ISubscriber\n ", + "start": 1872, + "end": 2062, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An underlying source of values for a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @external {ISubscription} https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n ", + "start": 2063, + "end": 2358, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " uint31", + "start": 415, + "end": 424, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A {@link QueuingFlowableProcessor} is an intermediary between a Flowable\n * producer and a subscriber. To the producer, it behaves as a greedy subscriber\n * (that is, one that {@link request}s a large number of emissions immediately).\n * To the subscriber, it behaves as a {@link Flowable}.\n *\n * This allows the producer to generate and emit items at its own fast pace, while\n * the end subscriber requests them at its own slow pace. In between, the\n * {@link QueuingFlowableProcessor} queues up the backlog of items.\n ", + "start": 426, + "end": 955, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name QueuingFlowableProcessor.js\n * @fileoverview Defines the {@link QueuingFlowableProcessor} class.\n *\n * @requires NPM:rsocket-types\n * @exports QueuingFlowableProcessor\n ", + "start": 956, + "end": 1140, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An asynchronous, pull-based stream of values. Call the\n * {@link IPublisher#subscribe} method to generate a call to the subscriber's\n * {@link onSubscribe} method with a {@link Subscription} object that has two\n * methods: {@link Subscription#cancel} and {@link Subscription#request}.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPublisher\n ", + "start": 1142, + "end": 1573, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A version of the {@link ISubscriber} interface in which the methods are\n * optional, so that you may elect to only implement a subset of them.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPartialSubscriber\n ", + "start": 1574, + "end": 1871, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A handler for values provided by a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface ISubscriber\n ", + "start": 1872, + "end": 2062, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An underlying source of values for a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @external {ISubscription} https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n ", + "start": 2063, + "end": 2358, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * MAX_REQUEST_N (from QueuingFlowableProcessor.js). If no {@link capacity} is\n * passed to the {@link QueuingFlowableProcessor#constructor}, this value will\n * be used as the capacity (the maximum number of items in the backlog queue).\n * This effectively signals that you want an unlimited number of items from the\n * source Flowable.\n *\n * @constant\n * @type {number}\n ", + "start": 2, + "end": 380, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " uint31", + "start": 415, + "end": 424, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A {@link QueuingFlowableProcessor} is an intermediary between a Flowable\n * producer and a subscriber. To the producer, it behaves as a greedy subscriber\n * (that is, one that {@link request}s a large number of emissions immediately).\n * To the subscriber, it behaves as a {@link Flowable}.\n *\n * This allows the producer to generate and emit items at its own fast pace, while\n * the end subscriber requests them at its own slow pace. In between, the\n * {@link QueuingFlowableProcessor} queues up the backlog of items.\n ", + "start": 426, + "end": 955, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name QueuingFlowableProcessor.js\n * @fileoverview Defines the {@link QueuingFlowableProcessor} class.\n *\n * @requires NPM:rsocket-types\n * @exports QueuingFlowableProcessor\n ", + "start": 956, + "end": 1140, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An asynchronous, pull-based stream of values. Call the\n * {@link IPublisher#subscribe} method to generate a call to the subscriber's\n * {@link onSubscribe} method with a {@link Subscription} object that has two\n * methods: {@link Subscription#cancel} and {@link Subscription#request}.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPublisher\n ", + "start": 1142, + "end": 1573, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A version of the {@link ISubscriber} interface in which the methods are\n * optional, so that you may elect to only implement a subset of them.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPartialSubscriber\n ", + "start": 1574, + "end": 1871, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A handler for values provided by a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface ISubscriber\n ", + "start": 1872, + "end": 2062, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An underlying source of values for a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @external {ISubscription} https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n ", + "start": 2063, + "end": 2358, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?number} [capacity] - the maximum size of the backlog queue of\n * items this {@link QueuingFlowableProcessor} will maintain (default =\n * {@link MAX_REQUEST_N}). If this queue size is exceeded, the\n * {@link QueuingFlowableProcessor} will begin to drop incoming items from the\n * producer.\n ", + "start": 2410, + "end": 2730, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Subscriber} ", + "start": 2810, + "end": 2838, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?Error} ", + "start": 2868, + "end": 2889, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2990, + "end": 3011, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {T[]} ", + "start": 3047, + "end": 3065, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {function[]} ", + "start": 3092, + "end": 3117, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 29 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} subscribes by calling\n * this method.\n *\n * @param {Subscriber} s - an object that implements the Subscriber methods\n * this {@link QueuingFlowableProcessor} will call to pass along messages\n * from the Flowable producer.\n * @throws {Error} if a Subscriber is already subscribed to this\n * {@link QueuingFlowableProcessor}\n ", + "start": 3154, + "end": 3570, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * When the {@link QueuingFlowableProcessor} gets an {@link onSubscribe} call\n * from the {@link Flowable} producer, it requests that the {@link Flowable}\n * begin sending it items: either {@link capacity} items, if the capacity was\n * set during the call to {@link QueuingFlowableProcessor#constructor}, or\n * {@link MAX_REQUEST_N} items (effectively unlimited).\n *\n * @param {ISubscription} s - the subscription from the source {@link Flowable}\n ", + "start": 3767, + "end": 4237, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to add an item to the queue\n * of this {@link QueuingFlowableProcessor} for later emission to its\n * subscriber.\n *\n * @param {T} t - the item to add\n * @throws {Error} if {@link t} is null. Flowables are not permitted to emit\n * null values.\n ", + "start": 4373, + "end": 4692, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 131, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has encountered an error.\n * The {@link QueuingFlowableProcessor} will pass this error on to its\n * subscriber after it has finished sending the remaining items in its queue.\n *\n * @param {Error} t - the specific error\n ", + "start": 4895, + "end": 5258, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 149, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has finished emitting\n * items. The {@link QueuingFlowableProcessor} will pass this message on to its\n * subscriber after it has finished sending the remaining items in its queue.\n ", + "start": 5407, + "end": 5727, + "loc": { + "start": { + "line": 159, + "column": 2 + }, + "end": { + "line": 164, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * request a certain number of additional items.\n *\n * @example Note that requests are additive:\n * // this is equivalent to request(5):\n * myQFP.request(2);\n * myQFP.request(3);\n *\n * @param {number} n - the number of items to request\n * @throws {Error} if {@link n} is zero or negative\n ", + "start": 5793, + "end": 6209, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 181, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * indicate that it wants no more items and that the\n * {@link QueuingFlowableProcessor} can stop work and empty its queue.\n ", + "start": 6383, + "end": 6602, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 195, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Add a mapping function that modifies each emission from the {@link Flowable}\n * producer before emitting it from the {@link QueuingFlowableProcessor}. Note\n * that you can call this multiple times to add multiple mapping functions,\n * each of which will operate on the outputs of its predecessor.\n *\n * @param {function} transformer - a transformation function that accepts an\n * item emitted by the {@link Flowable} producer and returns an item\n * expected by the subscriber or by the next transformer\n * @return {QueuingFlowableProcessor} this same processor, modified with the\n * transformation function\n ", + "start": 6737, + "end": 7382, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 215, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Drain the existing queue of items that are ready for emission by the\n * {@link QueuingFlowableProcessor} by emitting them to its subscriber. This\n * is typically called implicitly by other methods of the\n * {@link QueuingFlowableProcessor}, not explicitly by the producer or\n * subscriber.\n ", + "start": 7470, + "end": 7782, + "loc": { + "start": { + "line": 221, + "column": 2 + }, + "end": { + "line": 227, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * MAX_REQUEST_N (from QueuingFlowableProcessor.js). If no {@link capacity} is\n * passed to the {@link QueuingFlowableProcessor#constructor}, this value will\n * be used as the capacity (the maximum number of items in the backlog queue).\n * This effectively signals that you want an unlimited number of items from the\n * source Flowable.\n *\n * @constant\n * @type {number}\n ", + "start": 2, + "end": 380, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 381, + "end": 386, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_REQUEST_N", + "start": 387, + "end": 400, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 401, + "end": 402, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2147483647, + "start": 403, + "end": 413, + "loc": { + "start": { + "line": 13, + "column": 22 + }, + "end": { + "line": 13, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 13, + "column": 32 + }, + "end": { + "line": 13, + "column": 33 + } + } + }, + { + "type": "CommentLine", + "value": " uint31", + "start": 415, + "end": 424, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A {@link QueuingFlowableProcessor} is an intermediary between a Flowable\n * producer and a subscriber. To the producer, it behaves as a greedy subscriber\n * (that is, one that {@link request}s a large number of emissions immediately).\n * To the subscriber, it behaves as a {@link Flowable}.\n *\n * This allows the producer to generate and emit items at its own fast pace, while\n * the end subscriber requests them at its own slow pace. In between, the\n * {@link QueuingFlowableProcessor} queues up the backlog of items.\n ", + "start": 426, + "end": 955, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name QueuingFlowableProcessor.js\n * @fileoverview Defines the {@link QueuingFlowableProcessor} class.\n *\n * @requires NPM:rsocket-types\n * @exports QueuingFlowableProcessor\n ", + "start": 956, + "end": 1140, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An asynchronous, pull-based stream of values. Call the\n * {@link IPublisher#subscribe} method to generate a call to the subscriber's\n * {@link onSubscribe} method with a {@link Subscription} object that has two\n * methods: {@link Subscription#cancel} and {@link Subscription#request}.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPublisher\n ", + "start": 1142, + "end": 1573, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A version of the {@link ISubscriber} interface in which the methods are\n * optional, so that you may elect to only implement a subset of them.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPartialSubscriber\n ", + "start": 1574, + "end": 1871, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A handler for values provided by a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface ISubscriber\n ", + "start": 1872, + "end": 2062, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An underlying source of values for a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @external {ISubscription} https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n ", + "start": 2063, + "end": 2358, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 2359, + "end": 2365, + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 59, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 2366, + "end": 2373, + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 2374, + "end": 2379, + "loc": { + "start": { + "line": 59, + "column": 15 + }, + "end": { + "line": 59, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "QueuingFlowableProcessor", + "start": 2380, + "end": 2404, + "loc": { + "start": { + "line": 59, + "column": 21 + }, + "end": { + "line": 59, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2405, + "end": 2406, + "loc": { + "start": { + "line": 59, + "column": 46 + }, + "end": { + "line": 59, + "column": 47 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?number} [capacity] - the maximum size of the backlog queue of\n * items this {@link QueuingFlowableProcessor} will maintain (default =\n * {@link MAX_REQUEST_N}). If this queue size is exceeded, the\n * {@link QueuingFlowableProcessor} will begin to drop incoming items from the\n * producer.\n ", + "start": 2410, + "end": 2730, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 2733, + "end": 2744, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2744, + "end": 2745, + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 68, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "capacity", + "start": 2745, + "end": 2753, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2753, + "end": 2754, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2755, + "end": 2756, + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 68, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2761, + "end": 2765, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2765, + "end": 2766, + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_once", + "start": 2766, + "end": 2771, + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2772, + "end": 2773, + "loc": { + "start": { + "line": 69, + "column": 15 + }, + "end": { + "line": 69, + "column": 16 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 2774, + "end": 2779, + "loc": { + "start": { + "line": 69, + "column": 17 + }, + "end": { + "line": 69, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2779, + "end": 2780, + "loc": { + "start": { + "line": 69, + "column": 22 + }, + "end": { + "line": 69, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2785, + "end": 2789, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2789, + "end": 2790, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_requested", + "start": 2790, + "end": 2800, + "loc": { + "start": { + "line": 70, + "column": 9 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2801, + "end": 2802, + "loc": { + "start": { + "line": 70, + "column": 20 + }, + "end": { + "line": 70, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2803, + "end": 2804, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2804, + "end": 2805, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Subscriber} ", + "start": 2810, + "end": 2838, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 32 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2843, + "end": 2847, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2847, + "end": 2848, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 2848, + "end": 2855, + "loc": { + "start": { + "line": 72, + "column": 9 + }, + "end": { + "line": 72, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2856, + "end": 2857, + "loc": { + "start": { + "line": 72, + "column": 17 + }, + "end": { + "line": 72, + "column": 18 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 2858, + "end": 2862, + "loc": { + "start": { + "line": 72, + "column": 19 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2862, + "end": 2863, + "loc": { + "start": { + "line": 72, + "column": 23 + }, + "end": { + "line": 72, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?Error} ", + "start": 2868, + "end": 2889, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2894, + "end": 2898, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2898, + "end": 2899, + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 2899, + "end": 2905, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2906, + "end": 2907, + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 74, + "column": 17 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 2908, + "end": 2912, + "loc": { + "start": { + "line": 74, + "column": 18 + }, + "end": { + "line": 74, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2912, + "end": 2913, + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 74, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2918, + "end": 2922, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2922, + "end": 2923, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 2923, + "end": 2928, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2929, + "end": 2930, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 16 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 2931, + "end": 2936, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2936, + "end": 2937, + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2942, + "end": 2946, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2946, + "end": 2947, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_wip", + "start": 2947, + "end": 2951, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2952, + "end": 2953, + "loc": { + "start": { + "line": 76, + "column": 14 + }, + "end": { + "line": 76, + "column": 15 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2954, + "end": 2955, + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2955, + "end": 2956, + "loc": { + "start": { + "line": 76, + "column": 17 + }, + "end": { + "line": 76, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2961, + "end": 2965, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2965, + "end": 2966, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancelled", + "start": 2966, + "end": 2976, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2977, + "end": 2978, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 21 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 2979, + "end": 2984, + "loc": { + "start": { + "line": 77, + "column": 22 + }, + "end": { + "line": 77, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2984, + "end": 2985, + "loc": { + "start": { + "line": 77, + "column": 27 + }, + "end": { + "line": 77, + "column": 28 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2990, + "end": 3011, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3016, + "end": 3020, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3020, + "end": 3021, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_capacity", + "start": 3021, + "end": 3030, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3031, + "end": 3032, + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "capacity", + "start": 3033, + "end": 3041, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3041, + "end": 3042, + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {T[]} ", + "start": 3047, + "end": 3065, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3070, + "end": 3074, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3074, + "end": 3075, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_queue", + "start": 3075, + "end": 3081, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3082, + "end": 3083, + "loc": { + "start": { + "line": 81, + "column": 16 + }, + "end": { + "line": 81, + "column": 17 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3084, + "end": 3085, + "loc": { + "start": { + "line": 81, + "column": 18 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3085, + "end": 3086, + "loc": { + "start": { + "line": 81, + "column": 19 + }, + "end": { + "line": 81, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3086, + "end": 3087, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 21 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {function[]} ", + "start": 3092, + "end": 3117, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3122, + "end": 3126, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3126, + "end": 3127, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_transformers", + "start": 3127, + "end": 3140, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3141, + "end": 3142, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 24 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3143, + "end": 3144, + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "end": { + "line": 83, + "column": 26 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3144, + "end": 3145, + "loc": { + "start": { + "line": 83, + "column": 26 + }, + "end": { + "line": 83, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3145, + "end": 3146, + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3149, + "end": 3150, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} subscribes by calling\n * this method.\n *\n * @param {Subscriber} s - an object that implements the Subscriber methods\n * this {@link QueuingFlowableProcessor} will call to pass along messages\n * from the Flowable producer.\n * @throws {Error} if a Subscriber is already subscribed to this\n * {@link QueuingFlowableProcessor}\n ", + "start": 3154, + "end": 3570, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 3573, + "end": 3582, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3582, + "end": 3583, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 3583, + "end": 3584, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3584, + "end": 3585, + "loc": { + "start": { + "line": 96, + "column": 13 + }, + "end": { + "line": 96, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3586, + "end": 3587, + "loc": { + "start": { + "line": 96, + "column": 15 + }, + "end": { + "line": 96, + "column": 16 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3592, + "end": 3594, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3595, + "end": 3596, + "loc": { + "start": { + "line": 97, + "column": 7 + }, + "end": { + "line": 97, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 3596, + "end": 3597, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3597, + "end": 3601, + "loc": { + "start": { + "line": 97, + "column": 9 + }, + "end": { + "line": 97, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3601, + "end": 3602, + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_once", + "start": 3602, + "end": 3607, + "loc": { + "start": { + "line": 97, + "column": 14 + }, + "end": { + "line": 97, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3607, + "end": 3608, + "loc": { + "start": { + "line": 97, + "column": 19 + }, + "end": { + "line": 97, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3609, + "end": 3610, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 97, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3617, + "end": 3621, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3621, + "end": 3622, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_once", + "start": 3622, + "end": 3627, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3628, + "end": 3629, + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 18 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 3630, + "end": 3634, + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3634, + "end": 3635, + "loc": { + "start": { + "line": 98, + "column": 23 + }, + "end": { + "line": 98, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3642, + "end": 3646, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3646, + "end": 3647, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 3647, + "end": 3654, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3655, + "end": 3656, + "loc": { + "start": { + "line": 99, + "column": 19 + }, + "end": { + "line": 99, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 3657, + "end": 3658, + "loc": { + "start": { + "line": 99, + "column": 21 + }, + "end": { + "line": 99, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3658, + "end": 3659, + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 3666, + "end": 3667, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3667, + "end": 3668, + "loc": { + "start": { + "line": 100, + "column": 7 + }, + "end": { + "line": 100, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 3668, + "end": 3679, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3679, + "end": 3680, + "loc": { + "start": { + "line": 100, + "column": 19 + }, + "end": { + "line": 100, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3680, + "end": 3684, + "loc": { + "start": { + "line": 100, + "column": 20 + }, + "end": { + "line": 100, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3684, + "end": 3685, + "loc": { + "start": { + "line": 100, + "column": 24 + }, + "end": { + "line": 100, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3685, + "end": 3686, + "loc": { + "start": { + "line": 100, + "column": 25 + }, + "end": { + "line": 100, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3691, + "end": 3692, + "loc": { + "start": { + "line": 101, + "column": 4 + }, + "end": { + "line": 101, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3693, + "end": 3697, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3698, + "end": 3699, + "loc": { + "start": { + "line": 101, + "column": 11 + }, + "end": { + "line": 101, + "column": 12 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 3706, + "end": 3711, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3712, + "end": 3715, + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 3716, + "end": 3721, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3721, + "end": 3722, + "loc": { + "start": { + "line": 102, + "column": 21 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Only one Subscriber allowed", + "start": 3722, + "end": 3751, + "loc": { + "start": { + "line": 102, + "column": 22 + }, + "end": { + "line": 102, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3751, + "end": 3752, + "loc": { + "start": { + "line": 102, + "column": 51 + }, + "end": { + "line": 102, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3752, + "end": 3753, + "loc": { + "start": { + "line": 102, + "column": 52 + }, + "end": { + "line": 102, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3758, + "end": 3759, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3762, + "end": 3763, + "loc": { + "start": { + "line": 104, + "column": 2 + }, + "end": { + "line": 104, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * When the {@link QueuingFlowableProcessor} gets an {@link onSubscribe} call\n * from the {@link Flowable} producer, it requests that the {@link Flowable}\n * begin sending it items: either {@link capacity} items, if the capacity was\n * set during the call to {@link QueuingFlowableProcessor#constructor}, or\n * {@link MAX_REQUEST_N} items (effectively unlimited).\n *\n * @param {ISubscription} s - the subscription from the source {@link Flowable}\n ", + "start": 3767, + "end": 4237, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 4240, + "end": 4251, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4251, + "end": 4252, + "loc": { + "start": { + "line": 115, + "column": 13 + }, + "end": { + "line": 115, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 4252, + "end": 4253, + "loc": { + "start": { + "line": 115, + "column": 14 + }, + "end": { + "line": 115, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4253, + "end": 4254, + "loc": { + "start": { + "line": 115, + "column": 15 + }, + "end": { + "line": 115, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4255, + "end": 4256, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 115, + "column": 18 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4261, + "end": 4263, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4264, + "end": 4265, + "loc": { + "start": { + "line": 116, + "column": 7 + }, + "end": { + "line": 116, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4265, + "end": 4269, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4269, + "end": 4270, + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 4270, + "end": 4275, + "loc": { + "start": { + "line": 116, + "column": 13 + }, + "end": { + "line": 116, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4275, + "end": 4276, + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4277, + "end": 4278, + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 4285, + "end": 4286, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4286, + "end": 4287, + "loc": { + "start": { + "line": 117, + "column": 7 + }, + "end": { + "line": 117, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 4287, + "end": 4293, + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4293, + "end": 4294, + "loc": { + "start": { + "line": 117, + "column": 14 + }, + "end": { + "line": 117, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4294, + "end": 4295, + "loc": { + "start": { + "line": 117, + "column": 15 + }, + "end": { + "line": 117, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4295, + "end": 4296, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4301, + "end": 4302, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 4303, + "end": 4307, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4308, + "end": 4309, + "loc": { + "start": { + "line": 118, + "column": 11 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 4316, + "end": 4317, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4317, + "end": 4318, + "loc": { + "start": { + "line": 119, + "column": 7 + }, + "end": { + "line": 119, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 4318, + "end": 4325, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4325, + "end": 4326, + "loc": { + "start": { + "line": 119, + "column": 15 + }, + "end": { + "line": 119, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4326, + "end": 4330, + "loc": { + "start": { + "line": 119, + "column": 16 + }, + "end": { + "line": 119, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4330, + "end": 4331, + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 119, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_capacity", + "start": 4331, + "end": 4340, + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 119, + "column": 30 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 4341, + "end": 4343, + "loc": { + "start": { + "line": 119, + "column": 31 + }, + "end": { + "line": 119, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_REQUEST_N", + "start": 4344, + "end": 4357, + "loc": { + "start": { + "line": 119, + "column": 34 + }, + "end": { + "line": 119, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4357, + "end": 4358, + "loc": { + "start": { + "line": 119, + "column": 47 + }, + "end": { + "line": 119, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4358, + "end": 4359, + "loc": { + "start": { + "line": 119, + "column": 48 + }, + "end": { + "line": 119, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4364, + "end": 4365, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4368, + "end": 4369, + "loc": { + "start": { + "line": 121, + "column": 2 + }, + "end": { + "line": 121, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to add an item to the queue\n * of this {@link QueuingFlowableProcessor} for later emission to its\n * subscriber.\n *\n * @param {T} t - the item to add\n * @throws {Error} if {@link t} is null. Flowables are not permitted to emit\n * null values.\n ", + "start": 4373, + "end": 4692, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 131, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 4695, + "end": 4701, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 132, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4701, + "end": 4702, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 4702, + "end": 4703, + "loc": { + "start": { + "line": 132, + "column": 9 + }, + "end": { + "line": 132, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4703, + "end": 4704, + "loc": { + "start": { + "line": 132, + "column": 10 + }, + "end": { + "line": 132, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4705, + "end": 4706, + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 13 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4711, + "end": 4713, + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4714, + "end": 4715, + "loc": { + "start": { + "line": 133, + "column": 7 + }, + "end": { + "line": 133, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 4715, + "end": 4716, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 9 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 4717, + "end": 4720, + "loc": { + "start": { + "line": 133, + "column": 10 + }, + "end": { + "line": 133, + "column": 13 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 4721, + "end": 4725, + "loc": { + "start": { + "line": 133, + "column": 14 + }, + "end": { + "line": 133, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4725, + "end": 4726, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4727, + "end": 4728, + "loc": { + "start": { + "line": 133, + "column": 20 + }, + "end": { + "line": 133, + "column": 21 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 4735, + "end": 4740, + "loc": { + "start": { + "line": 134, + "column": 6 + }, + "end": { + "line": 134, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4741, + "end": 4744, + "loc": { + "start": { + "line": 134, + "column": 12 + }, + "end": { + "line": 134, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 4745, + "end": 4750, + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4750, + "end": 4751, + "loc": { + "start": { + "line": 134, + "column": 21 + }, + "end": { + "line": 134, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "t is null", + "start": 4751, + "end": 4762, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4762, + "end": 4763, + "loc": { + "start": { + "line": 134, + "column": 33 + }, + "end": { + "line": 134, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4763, + "end": 4764, + "loc": { + "start": { + "line": 134, + "column": 34 + }, + "end": { + "line": 134, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4769, + "end": 4770, + "loc": { + "start": { + "line": 135, + "column": 4 + }, + "end": { + "line": 135, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4775, + "end": 4777, + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 136, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4778, + "end": 4779, + "loc": { + "start": { + "line": 136, + "column": 7 + }, + "end": { + "line": 136, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 4779, + "end": 4780, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4780, + "end": 4784, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4784, + "end": 4785, + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_capacity", + "start": 4785, + "end": 4794, + "loc": { + "start": { + "line": 136, + "column": 14 + }, + "end": { + "line": 136, + "column": 23 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 4795, + "end": 4797, + "loc": { + "start": { + "line": 136, + "column": 24 + }, + "end": { + "line": 136, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4798, + "end": 4802, + "loc": { + "start": { + "line": 136, + "column": 27 + }, + "end": { + "line": 136, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4802, + "end": 4803, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_queue", + "start": 4803, + "end": 4809, + "loc": { + "start": { + "line": 136, + "column": 32 + }, + "end": { + "line": 136, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4809, + "end": 4810, + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 4810, + "end": 4816, + "loc": { + "start": { + "line": 136, + "column": 39 + }, + "end": { + "line": 136, + "column": 45 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 4817, + "end": 4818, + "loc": { + "start": { + "line": 136, + "column": 46 + }, + "end": { + "line": 136, + "column": 47 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4819, + "end": 4823, + "loc": { + "start": { + "line": 136, + "column": 48 + }, + "end": { + "line": 136, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4823, + "end": 4824, + "loc": { + "start": { + "line": 136, + "column": 52 + }, + "end": { + "line": 136, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_capacity", + "start": 4824, + "end": 4833, + "loc": { + "start": { + "line": 136, + "column": 53 + }, + "end": { + "line": 136, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4833, + "end": 4834, + "loc": { + "start": { + "line": 136, + "column": 62 + }, + "end": { + "line": 136, + "column": 63 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4835, + "end": 4836, + "loc": { + "start": { + "line": 136, + "column": 64 + }, + "end": { + "line": 136, + "column": 65 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4843, + "end": 4847, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4847, + "end": 4848, + "loc": { + "start": { + "line": 137, + "column": 10 + }, + "end": { + "line": 137, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_queue", + "start": 4848, + "end": 4854, + "loc": { + "start": { + "line": 137, + "column": 11 + }, + "end": { + "line": 137, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4854, + "end": 4855, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 4855, + "end": 4859, + "loc": { + "start": { + "line": 137, + "column": 18 + }, + "end": { + "line": 137, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4859, + "end": 4860, + "loc": { + "start": { + "line": 137, + "column": 22 + }, + "end": { + "line": 137, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 4860, + "end": 4861, + "loc": { + "start": { + "line": 137, + "column": 23 + }, + "end": { + "line": 137, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4861, + "end": 4862, + "loc": { + "start": { + "line": 137, + "column": 24 + }, + "end": { + "line": 137, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4862, + "end": 4863, + "loc": { + "start": { + "line": 137, + "column": 25 + }, + "end": { + "line": 137, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4868, + "end": 4869, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4874, + "end": 4878, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4878, + "end": 4879, + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "drain", + "start": 4879, + "end": 4884, + "loc": { + "start": { + "line": 139, + "column": 9 + }, + "end": { + "line": 139, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4884, + "end": 4885, + "loc": { + "start": { + "line": 139, + "column": 14 + }, + "end": { + "line": 139, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4885, + "end": 4886, + "loc": { + "start": { + "line": 139, + "column": 15 + }, + "end": { + "line": 139, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4886, + "end": 4887, + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 139, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4890, + "end": 4891, + "loc": { + "start": { + "line": 140, + "column": 2 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has encountered an error.\n * The {@link QueuingFlowableProcessor} will pass this error on to its\n * subscriber after it has finished sending the remaining items in its queue.\n *\n * @param {Error} t - the specific error\n ", + "start": 4895, + "end": 5258, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 149, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 5261, + "end": 5268, + "loc": { + "start": { + "line": 150, + "column": 2 + }, + "end": { + "line": 150, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5268, + "end": 5269, + "loc": { + "start": { + "line": 150, + "column": 9 + }, + "end": { + "line": 150, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 5269, + "end": 5270, + "loc": { + "start": { + "line": 150, + "column": 10 + }, + "end": { + "line": 150, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5270, + "end": 5271, + "loc": { + "start": { + "line": 150, + "column": 11 + }, + "end": { + "line": 150, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5272, + "end": 5273, + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 150, + "column": 14 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 5278, + "end": 5280, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5281, + "end": 5282, + "loc": { + "start": { + "line": 151, + "column": 7 + }, + "end": { + "line": 151, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 5282, + "end": 5283, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 9 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 5284, + "end": 5287, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 13 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 5288, + "end": 5292, + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5292, + "end": 5293, + "loc": { + "start": { + "line": 151, + "column": 18 + }, + "end": { + "line": 151, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5294, + "end": 5295, + "loc": { + "start": { + "line": 151, + "column": 20 + }, + "end": { + "line": 151, + "column": 21 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 5302, + "end": 5307, + "loc": { + "start": { + "line": 152, + "column": 6 + }, + "end": { + "line": 152, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5308, + "end": 5311, + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 5312, + "end": 5317, + "loc": { + "start": { + "line": 152, + "column": 16 + }, + "end": { + "line": 152, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5317, + "end": 5318, + "loc": { + "start": { + "line": 152, + "column": 21 + }, + "end": { + "line": 152, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "t is null", + "start": 5318, + "end": 5329, + "loc": { + "start": { + "line": 152, + "column": 22 + }, + "end": { + "line": 152, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5329, + "end": 5330, + "loc": { + "start": { + "line": 152, + "column": 33 + }, + "end": { + "line": 152, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5330, + "end": 5331, + "loc": { + "start": { + "line": 152, + "column": 34 + }, + "end": { + "line": 152, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5336, + "end": 5337, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5342, + "end": 5346, + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 154, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5346, + "end": 5347, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 5347, + "end": 5353, + "loc": { + "start": { + "line": 154, + "column": 9 + }, + "end": { + "line": 154, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5354, + "end": 5355, + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 5356, + "end": 5357, + "loc": { + "start": { + "line": 154, + "column": 18 + }, + "end": { + "line": 154, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5357, + "end": 5358, + "loc": { + "start": { + "line": 154, + "column": 19 + }, + "end": { + "line": 154, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5363, + "end": 5367, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5367, + "end": 5368, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 5368, + "end": 5373, + "loc": { + "start": { + "line": 155, + "column": 9 + }, + "end": { + "line": 155, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5374, + "end": 5375, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 16 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 5376, + "end": 5380, + "loc": { + "start": { + "line": 155, + "column": 17 + }, + "end": { + "line": 155, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5380, + "end": 5381, + "loc": { + "start": { + "line": 155, + "column": 21 + }, + "end": { + "line": 155, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5386, + "end": 5390, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5390, + "end": 5391, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "drain", + "start": 5391, + "end": 5396, + "loc": { + "start": { + "line": 156, + "column": 9 + }, + "end": { + "line": 156, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5396, + "end": 5397, + "loc": { + "start": { + "line": 156, + "column": 14 + }, + "end": { + "line": 156, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5397, + "end": 5398, + "loc": { + "start": { + "line": 156, + "column": 15 + }, + "end": { + "line": 156, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5398, + "end": 5399, + "loc": { + "start": { + "line": 156, + "column": 16 + }, + "end": { + "line": 156, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5402, + "end": 5403, + "loc": { + "start": { + "line": 157, + "column": 2 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has finished emitting\n * items. The {@link QueuingFlowableProcessor} will pass this message on to its\n * subscriber after it has finished sending the remaining items in its queue.\n ", + "start": 5407, + "end": 5727, + "loc": { + "start": { + "line": 159, + "column": 2 + }, + "end": { + "line": 164, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 5730, + "end": 5740, + "loc": { + "start": { + "line": 165, + "column": 2 + }, + "end": { + "line": 165, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5740, + "end": 5741, + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 165, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5741, + "end": 5742, + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5743, + "end": 5744, + "loc": { + "start": { + "line": 165, + "column": 15 + }, + "end": { + "line": 165, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5749, + "end": 5753, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5753, + "end": 5754, + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 5754, + "end": 5759, + "loc": { + "start": { + "line": 166, + "column": 9 + }, + "end": { + "line": 166, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5760, + "end": 5761, + "loc": { + "start": { + "line": 166, + "column": 15 + }, + "end": { + "line": 166, + "column": 16 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 5762, + "end": 5766, + "loc": { + "start": { + "line": 166, + "column": 17 + }, + "end": { + "line": 166, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5766, + "end": 5767, + "loc": { + "start": { + "line": 166, + "column": 21 + }, + "end": { + "line": 166, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5772, + "end": 5776, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5776, + "end": 5777, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "drain", + "start": 5777, + "end": 5782, + "loc": { + "start": { + "line": 167, + "column": 9 + }, + "end": { + "line": 167, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5782, + "end": 5783, + "loc": { + "start": { + "line": 167, + "column": 14 + }, + "end": { + "line": 167, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5783, + "end": 5784, + "loc": { + "start": { + "line": 167, + "column": 15 + }, + "end": { + "line": 167, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5784, + "end": 5785, + "loc": { + "start": { + "line": 167, + "column": 16 + }, + "end": { + "line": 167, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5788, + "end": 5789, + "loc": { + "start": { + "line": 168, + "column": 2 + }, + "end": { + "line": 168, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * request a certain number of additional items.\n *\n * @example Note that requests are additive:\n * // this is equivalent to request(5):\n * myQFP.request(2);\n * myQFP.request(3);\n *\n * @param {number} n - the number of items to request\n * @throws {Error} if {@link n} is zero or negative\n ", + "start": 5793, + "end": 6209, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 181, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 6212, + "end": 6219, + "loc": { + "start": { + "line": 182, + "column": 2 + }, + "end": { + "line": 182, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6219, + "end": 6220, + "loc": { + "start": { + "line": 182, + "column": 9 + }, + "end": { + "line": 182, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 6220, + "end": 6221, + "loc": { + "start": { + "line": 182, + "column": 10 + }, + "end": { + "line": 182, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6221, + "end": 6222, + "loc": { + "start": { + "line": 182, + "column": 11 + }, + "end": { + "line": 182, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6223, + "end": 6224, + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 182, + "column": 14 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 6229, + "end": 6231, + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 183, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6232, + "end": 6233, + "loc": { + "start": { + "line": 183, + "column": 7 + }, + "end": { + "line": 183, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 6233, + "end": 6234, + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 9 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 6235, + "end": 6236, + "loc": { + "start": { + "line": 183, + "column": 10 + }, + "end": { + "line": 183, + "column": 11 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 6237, + "end": 6238, + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6238, + "end": 6239, + "loc": { + "start": { + "line": 183, + "column": 13 + }, + "end": { + "line": 183, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6240, + "end": 6241, + "loc": { + "start": { + "line": 183, + "column": 15 + }, + "end": { + "line": 183, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 6248, + "end": 6252, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 184, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6252, + "end": 6253, + "loc": { + "start": { + "line": 184, + "column": 10 + }, + "end": { + "line": 184, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_requested", + "start": 6253, + "end": 6263, + "loc": { + "start": { + "line": 184, + "column": 11 + }, + "end": { + "line": 184, + "column": 21 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 6264, + "end": 6266, + "loc": { + "start": { + "line": 184, + "column": 22 + }, + "end": { + "line": 184, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 6267, + "end": 6268, + "loc": { + "start": { + "line": 184, + "column": 25 + }, + "end": { + "line": 184, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6268, + "end": 6269, + "loc": { + "start": { + "line": 184, + "column": 26 + }, + "end": { + "line": 184, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 6276, + "end": 6280, + "loc": { + "start": { + "line": 185, + "column": 6 + }, + "end": { + "line": 185, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6280, + "end": 6281, + "loc": { + "start": { + "line": 185, + "column": 10 + }, + "end": { + "line": 185, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "drain", + "start": 6281, + "end": 6286, + "loc": { + "start": { + "line": 185, + "column": 11 + }, + "end": { + "line": 185, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6286, + "end": 6287, + "loc": { + "start": { + "line": 185, + "column": 16 + }, + "end": { + "line": 185, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6287, + "end": 6288, + "loc": { + "start": { + "line": 185, + "column": 17 + }, + "end": { + "line": 185, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6288, + "end": 6289, + "loc": { + "start": { + "line": 185, + "column": 18 + }, + "end": { + "line": 185, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6294, + "end": 6295, + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 186, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 6296, + "end": 6300, + "loc": { + "start": { + "line": 186, + "column": 6 + }, + "end": { + "line": 186, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6301, + "end": 6302, + "loc": { + "start": { + "line": 186, + "column": 11 + }, + "end": { + "line": 186, + "column": 12 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 6309, + "end": 6314, + "loc": { + "start": { + "line": 187, + "column": 6 + }, + "end": { + "line": 187, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 6315, + "end": 6318, + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 6319, + "end": 6324, + "loc": { + "start": { + "line": 187, + "column": 16 + }, + "end": { + "line": 187, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6324, + "end": 6325, + "loc": { + "start": { + "line": 187, + "column": 21 + }, + "end": { + "line": 187, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Invalid N for request, must be > 0: ", + "start": 6325, + "end": 6363, + "loc": { + "start": { + "line": 187, + "column": 22 + }, + "end": { + "line": 187, + "column": 60 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 6364, + "end": 6365, + "loc": { + "start": { + "line": 187, + "column": 61 + }, + "end": { + "line": 187, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 6366, + "end": 6367, + "loc": { + "start": { + "line": 187, + "column": 63 + }, + "end": { + "line": 187, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6367, + "end": 6368, + "loc": { + "start": { + "line": 187, + "column": 64 + }, + "end": { + "line": 187, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6368, + "end": 6369, + "loc": { + "start": { + "line": 187, + "column": 65 + }, + "end": { + "line": 187, + "column": 66 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6374, + "end": 6375, + "loc": { + "start": { + "line": 188, + "column": 4 + }, + "end": { + "line": 188, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6378, + "end": 6379, + "loc": { + "start": { + "line": 189, + "column": 2 + }, + "end": { + "line": 189, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * indicate that it wants no more items and that the\n * {@link QueuingFlowableProcessor} can stop work and empty its queue.\n ", + "start": 6383, + "end": 6602, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 195, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 6605, + "end": 6611, + "loc": { + "start": { + "line": 196, + "column": 2 + }, + "end": { + "line": 196, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6611, + "end": 6612, + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6612, + "end": 6613, + "loc": { + "start": { + "line": 196, + "column": 9 + }, + "end": { + "line": 196, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6614, + "end": 6615, + "loc": { + "start": { + "line": 196, + "column": 11 + }, + "end": { + "line": 196, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 6620, + "end": 6624, + "loc": { + "start": { + "line": 197, + "column": 4 + }, + "end": { + "line": 197, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6624, + "end": 6625, + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancelled", + "start": 6625, + "end": 6635, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6636, + "end": 6637, + "loc": { + "start": { + "line": 197, + "column": 20 + }, + "end": { + "line": 197, + "column": 21 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 6638, + "end": 6642, + "loc": { + "start": { + "line": 197, + "column": 22 + }, + "end": { + "line": 197, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6642, + "end": 6643, + "loc": { + "start": { + "line": 197, + "column": 26 + }, + "end": { + "line": 197, + "column": 27 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 6648, + "end": 6650, + "loc": { + "start": { + "line": 198, + "column": 4 + }, + "end": { + "line": 198, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6651, + "end": 6652, + "loc": { + "start": { + "line": 198, + "column": 7 + }, + "end": { + "line": 198, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 6652, + "end": 6656, + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6656, + "end": 6657, + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_wip", + "start": 6657, + "end": 6661, + "loc": { + "start": { + "line": 198, + "column": 13 + }, + "end": { + "line": 198, + "column": 17 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 6661, + "end": 6663, + "loc": { + "start": { + "line": 198, + "column": 17 + }, + "end": { + "line": 198, + "column": 19 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 6664, + "end": 6667, + "loc": { + "start": { + "line": 198, + "column": 20 + }, + "end": { + "line": 198, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 6668, + "end": 6669, + "loc": { + "start": { + "line": 198, + "column": 24 + }, + "end": { + "line": 198, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6669, + "end": 6670, + "loc": { + "start": { + "line": 198, + "column": 25 + }, + "end": { + "line": 198, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6671, + "end": 6672, + "loc": { + "start": { + "line": 198, + "column": 27 + }, + "end": { + "line": 198, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 6679, + "end": 6683, + "loc": { + "start": { + "line": 199, + "column": 6 + }, + "end": { + "line": 199, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6683, + "end": 6684, + "loc": { + "start": { + "line": 199, + "column": 10 + }, + "end": { + "line": 199, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 6684, + "end": 6691, + "loc": { + "start": { + "line": 199, + "column": 11 + }, + "end": { + "line": 199, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6692, + "end": 6693, + "loc": { + "start": { + "line": 199, + "column": 19 + }, + "end": { + "line": 199, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 6694, + "end": 6698, + "loc": { + "start": { + "line": 199, + "column": 21 + }, + "end": { + "line": 199, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6698, + "end": 6699, + "loc": { + "start": { + "line": 199, + "column": 25 + }, + "end": { + "line": 199, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 6706, + "end": 6710, + "loc": { + "start": { + "line": 200, + "column": 6 + }, + "end": { + "line": 200, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6710, + "end": 6711, + "loc": { + "start": { + "line": 200, + "column": 10 + }, + "end": { + "line": 200, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_queue", + "start": 6711, + "end": 6717, + "loc": { + "start": { + "line": 200, + "column": 11 + }, + "end": { + "line": 200, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6718, + "end": 6719, + "loc": { + "start": { + "line": 200, + "column": 18 + }, + "end": { + "line": 200, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6720, + "end": 6721, + "loc": { + "start": { + "line": 200, + "column": 20 + }, + "end": { + "line": 200, + "column": 21 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6721, + "end": 6722, + "loc": { + "start": { + "line": 200, + "column": 21 + }, + "end": { + "line": 200, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6722, + "end": 6723, + "loc": { + "start": { + "line": 200, + "column": 22 + }, + "end": { + "line": 200, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6728, + "end": 6729, + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 201, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6732, + "end": 6733, + "loc": { + "start": { + "line": 202, + "column": 2 + }, + "end": { + "line": 202, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Add a mapping function that modifies each emission from the {@link Flowable}\n * producer before emitting it from the {@link QueuingFlowableProcessor}. Note\n * that you can call this multiple times to add multiple mapping functions,\n * each of which will operate on the outputs of its predecessor.\n *\n * @param {function} transformer - a transformation function that accepts an\n * item emitted by the {@link Flowable} producer and returns an item\n * expected by the subscriber or by the next transformer\n * @return {QueuingFlowableProcessor} this same processor, modified with the\n * transformation function\n ", + "start": 6737, + "end": 7382, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 215, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 7385, + "end": 7388, + "loc": { + "start": { + "line": 216, + "column": 2 + }, + "end": { + "line": 216, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7388, + "end": 7389, + "loc": { + "start": { + "line": 216, + "column": 5 + }, + "end": { + "line": 216, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transformer", + "start": 7389, + "end": 7400, + "loc": { + "start": { + "line": 216, + "column": 6 + }, + "end": { + "line": 216, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7400, + "end": 7401, + "loc": { + "start": { + "line": 216, + "column": 17 + }, + "end": { + "line": 216, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7402, + "end": 7403, + "loc": { + "start": { + "line": 216, + "column": 19 + }, + "end": { + "line": 216, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7408, + "end": 7412, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7412, + "end": 7413, + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_transformers", + "start": 7413, + "end": 7426, + "loc": { + "start": { + "line": 217, + "column": 9 + }, + "end": { + "line": 217, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7426, + "end": 7427, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 7427, + "end": 7431, + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7431, + "end": 7432, + "loc": { + "start": { + "line": 217, + "column": 27 + }, + "end": { + "line": 217, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transformer", + "start": 7432, + "end": 7443, + "loc": { + "start": { + "line": 217, + "column": 28 + }, + "end": { + "line": 217, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7443, + "end": 7444, + "loc": { + "start": { + "line": 217, + "column": 39 + }, + "end": { + "line": 217, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7444, + "end": 7445, + "loc": { + "start": { + "line": 217, + "column": 40 + }, + "end": { + "line": 217, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7450, + "end": 7456, + "loc": { + "start": { + "line": 218, + "column": 4 + }, + "end": { + "line": 218, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7457, + "end": 7461, + "loc": { + "start": { + "line": 218, + "column": 11 + }, + "end": { + "line": 218, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7461, + "end": 7462, + "loc": { + "start": { + "line": 218, + "column": 15 + }, + "end": { + "line": 218, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7465, + "end": 7466, + "loc": { + "start": { + "line": 219, + "column": 2 + }, + "end": { + "line": 219, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Drain the existing queue of items that are ready for emission by the\n * {@link QueuingFlowableProcessor} by emitting them to its subscriber. This\n * is typically called implicitly by other methods of the\n * {@link QueuingFlowableProcessor}, not explicitly by the producer or\n * subscriber.\n ", + "start": 7470, + "end": 7782, + "loc": { + "start": { + "line": 221, + "column": 2 + }, + "end": { + "line": 227, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "drain", + "start": 7785, + "end": 7790, + "loc": { + "start": { + "line": 228, + "column": 2 + }, + "end": { + "line": 228, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7790, + "end": 7791, + "loc": { + "start": { + "line": 228, + "column": 7 + }, + "end": { + "line": 228, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7791, + "end": 7792, + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 228, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7793, + "end": 7794, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 11 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 7799, + "end": 7801, + "loc": { + "start": { + "line": 229, + "column": 4 + }, + "end": { + "line": 229, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7802, + "end": 7803, + "loc": { + "start": { + "line": 229, + "column": 7 + }, + "end": { + "line": 229, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7803, + "end": 7807, + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7807, + "end": 7808, + "loc": { + "start": { + "line": 229, + "column": 12 + }, + "end": { + "line": 229, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 7808, + "end": 7815, + "loc": { + "start": { + "line": 229, + "column": 13 + }, + "end": { + "line": 229, + "column": 20 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 7816, + "end": 7818, + "loc": { + "start": { + "line": 229, + "column": 21 + }, + "end": { + "line": 229, + "column": 23 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 7819, + "end": 7823, + "loc": { + "start": { + "line": 229, + "column": 24 + }, + "end": { + "line": 229, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7823, + "end": 7824, + "loc": { + "start": { + "line": 229, + "column": 28 + }, + "end": { + "line": 229, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7825, + "end": 7826, + "loc": { + "start": { + "line": 229, + "column": 30 + }, + "end": { + "line": 229, + "column": 31 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7833, + "end": 7839, + "loc": { + "start": { + "line": 230, + "column": 6 + }, + "end": { + "line": 230, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7839, + "end": 7840, + "loc": { + "start": { + "line": 230, + "column": 12 + }, + "end": { + "line": 230, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7845, + "end": 7846, + "loc": { + "start": { + "line": 231, + "column": 4 + }, + "end": { + "line": 231, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 7851, + "end": 7853, + "loc": { + "start": { + "line": 232, + "column": 4 + }, + "end": { + "line": 232, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7854, + "end": 7855, + "loc": { + "start": { + "line": 232, + "column": 7 + }, + "end": { + "line": 232, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7855, + "end": 7859, + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 232, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7859, + "end": 7860, + "loc": { + "start": { + "line": 232, + "column": 12 + }, + "end": { + "line": 232, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_wip", + "start": 7860, + "end": 7864, + "loc": { + "start": { + "line": 232, + "column": 13 + }, + "end": { + "line": 232, + "column": 17 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 7864, + "end": 7866, + "loc": { + "start": { + "line": 232, + "column": 17 + }, + "end": { + "line": 232, + "column": 19 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 7867, + "end": 7870, + "loc": { + "start": { + "line": 232, + "column": 20 + }, + "end": { + "line": 232, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 7871, + "end": 7872, + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7872, + "end": 7873, + "loc": { + "start": { + "line": 232, + "column": 25 + }, + "end": { + "line": 232, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7874, + "end": 7875, + "loc": { + "start": { + "line": 232, + "column": 27 + }, + "end": { + "line": 232, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7882, + "end": 7888, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7888, + "end": 7889, + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7894, + "end": 7895, + "loc": { + "start": { + "line": 234, + "column": 4 + }, + "end": { + "line": 234, + "column": 5 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 7901, + "end": 7906, + "loc": { + "start": { + "line": 236, + "column": 4 + }, + "end": { + "line": 236, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "missed", + "start": 7907, + "end": 7913, + "loc": { + "start": { + "line": 236, + "column": 10 + }, + "end": { + "line": 236, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7914, + "end": 7915, + "loc": { + "start": { + "line": 236, + "column": 17 + }, + "end": { + "line": 236, + "column": 18 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 7916, + "end": 7917, + "loc": { + "start": { + "line": 236, + "column": 19 + }, + "end": { + "line": 236, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7917, + "end": 7918, + "loc": { + "start": { + "line": 236, + "column": 20 + }, + "end": { + "line": 236, + "column": 21 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 7924, + "end": 7927, + "loc": { + "start": { + "line": 238, + "column": 4 + }, + "end": { + "line": 238, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7928, + "end": 7929, + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 9 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7929, + "end": 7930, + "loc": { + "start": { + "line": 238, + "column": 9 + }, + "end": { + "line": 238, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7930, + "end": 7931, + "loc": { + "start": { + "line": 238, + "column": 10 + }, + "end": { + "line": 238, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7931, + "end": 7932, + "loc": { + "start": { + "line": 238, + "column": 11 + }, + "end": { + "line": 238, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7933, + "end": 7934, + "loc": { + "start": { + "line": 238, + "column": 13 + }, + "end": { + "line": 238, + "column": 14 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 7941, + "end": 7946, + "loc": { + "start": { + "line": 239, + "column": 6 + }, + "end": { + "line": 239, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 7947, + "end": 7948, + "loc": { + "start": { + "line": 239, + "column": 12 + }, + "end": { + "line": 239, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7949, + "end": 7950, + "loc": { + "start": { + "line": 239, + "column": 14 + }, + "end": { + "line": 239, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7951, + "end": 7955, + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7955, + "end": 7956, + "loc": { + "start": { + "line": 239, + "column": 20 + }, + "end": { + "line": 239, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_requested", + "start": 7956, + "end": 7966, + "loc": { + "start": { + "line": 239, + "column": 21 + }, + "end": { + "line": 239, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7966, + "end": 7967, + "loc": { + "start": { + "line": 239, + "column": 31 + }, + "end": { + "line": 239, + "column": 32 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 7974, + "end": 7977, + "loc": { + "start": { + "line": 240, + "column": 6 + }, + "end": { + "line": 240, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 7978, + "end": 7979, + "loc": { + "start": { + "line": 240, + "column": 10 + }, + "end": { + "line": 240, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7980, + "end": 7981, + "loc": { + "start": { + "line": 240, + "column": 12 + }, + "end": { + "line": 240, + "column": 13 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 7982, + "end": 7983, + "loc": { + "start": { + "line": 240, + "column": 14 + }, + "end": { + "line": 240, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7983, + "end": 7984, + "loc": { + "start": { + "line": 240, + "column": 15 + }, + "end": { + "line": 240, + "column": 16 + } + } + }, + { + "type": { + "label": "while", + "keyword": "while", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "while", + "start": 7992, + "end": 7997, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7998, + "end": 7999, + "loc": { + "start": { + "line": 242, + "column": 12 + }, + "end": { + "line": 242, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 7999, + "end": 8000, + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 14 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 8001, + "end": 8004, + "loc": { + "start": { + "line": 242, + "column": 15 + }, + "end": { + "line": 242, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 8005, + "end": 8006, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8006, + "end": 8007, + "loc": { + "start": { + "line": 242, + "column": 20 + }, + "end": { + "line": 242, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8008, + "end": 8009, + "loc": { + "start": { + "line": 242, + "column": 22 + }, + "end": { + "line": 242, + "column": 23 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8018, + "end": 8020, + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8021, + "end": 8022, + "loc": { + "start": { + "line": 243, + "column": 11 + }, + "end": { + "line": 243, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8022, + "end": 8026, + "loc": { + "start": { + "line": 243, + "column": 12 + }, + "end": { + "line": 243, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8026, + "end": 8027, + "loc": { + "start": { + "line": 243, + "column": 16 + }, + "end": { + "line": 243, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancelled", + "start": 8027, + "end": 8037, + "loc": { + "start": { + "line": 243, + "column": 17 + }, + "end": { + "line": 243, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8037, + "end": 8038, + "loc": { + "start": { + "line": 243, + "column": 27 + }, + "end": { + "line": 243, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8039, + "end": 8040, + "loc": { + "start": { + "line": 243, + "column": 29 + }, + "end": { + "line": 243, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8051, + "end": 8055, + "loc": { + "start": { + "line": 244, + "column": 10 + }, + "end": { + "line": 244, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8055, + "end": 8056, + "loc": { + "start": { + "line": 244, + "column": 14 + }, + "end": { + "line": 244, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 8056, + "end": 8063, + "loc": { + "start": { + "line": 244, + "column": 15 + }, + "end": { + "line": 244, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8064, + "end": 8065, + "loc": { + "start": { + "line": 244, + "column": 23 + }, + "end": { + "line": 244, + "column": 24 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 8066, + "end": 8070, + "loc": { + "start": { + "line": 244, + "column": 25 + }, + "end": { + "line": 244, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8070, + "end": 8071, + "loc": { + "start": { + "line": 244, + "column": 29 + }, + "end": { + "line": 244, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8082, + "end": 8086, + "loc": { + "start": { + "line": 245, + "column": 10 + }, + "end": { + "line": 245, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8086, + "end": 8087, + "loc": { + "start": { + "line": 245, + "column": 14 + }, + "end": { + "line": 245, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_queue", + "start": 8087, + "end": 8093, + "loc": { + "start": { + "line": 245, + "column": 15 + }, + "end": { + "line": 245, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8094, + "end": 8095, + "loc": { + "start": { + "line": 245, + "column": 22 + }, + "end": { + "line": 245, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8096, + "end": 8097, + "loc": { + "start": { + "line": 245, + "column": 24 + }, + "end": { + "line": 245, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8097, + "end": 8098, + "loc": { + "start": { + "line": 245, + "column": 25 + }, + "end": { + "line": 245, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8098, + "end": 8099, + "loc": { + "start": { + "line": 245, + "column": 26 + }, + "end": { + "line": 245, + "column": 27 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 8110, + "end": 8116, + "loc": { + "start": { + "line": 246, + "column": 10 + }, + "end": { + "line": 246, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8116, + "end": 8117, + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8126, + "end": 8127, + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 9 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8137, + "end": 8142, + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 8143, + "end": 8144, + "loc": { + "start": { + "line": 249, + "column": 14 + }, + "end": { + "line": 249, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8145, + "end": 8146, + "loc": { + "start": { + "line": 249, + "column": 16 + }, + "end": { + "line": 249, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8147, + "end": 8151, + "loc": { + "start": { + "line": 249, + "column": 18 + }, + "end": { + "line": 249, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8151, + "end": 8152, + "loc": { + "start": { + "line": 249, + "column": 22 + }, + "end": { + "line": 249, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 8152, + "end": 8157, + "loc": { + "start": { + "line": 249, + "column": 23 + }, + "end": { + "line": 249, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8157, + "end": 8158, + "loc": { + "start": { + "line": 249, + "column": 28 + }, + "end": { + "line": 249, + "column": 29 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8167, + "end": 8172, + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 250, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "v", + "start": 8173, + "end": 8174, + "loc": { + "start": { + "line": 250, + "column": 14 + }, + "end": { + "line": 250, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8175, + "end": 8176, + "loc": { + "start": { + "line": 250, + "column": 16 + }, + "end": { + "line": 250, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8177, + "end": 8181, + "loc": { + "start": { + "line": 250, + "column": 18 + }, + "end": { + "line": 250, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8181, + "end": 8182, + "loc": { + "start": { + "line": 250, + "column": 22 + }, + "end": { + "line": 250, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_queue", + "start": 8182, + "end": 8188, + "loc": { + "start": { + "line": 250, + "column": 23 + }, + "end": { + "line": 250, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8188, + "end": 8189, + "loc": { + "start": { + "line": 250, + "column": 29 + }, + "end": { + "line": 250, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "shift", + "start": 8189, + "end": 8194, + "loc": { + "start": { + "line": 250, + "column": 30 + }, + "end": { + "line": 250, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8194, + "end": 8195, + "loc": { + "start": { + "line": 250, + "column": 35 + }, + "end": { + "line": 250, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8195, + "end": 8196, + "loc": { + "start": { + "line": 250, + "column": 36 + }, + "end": { + "line": 250, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8196, + "end": 8197, + "loc": { + "start": { + "line": 250, + "column": 37 + }, + "end": { + "line": 250, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8206, + "end": 8211, + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 251, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "empty", + "start": 8212, + "end": 8217, + "loc": { + "start": { + "line": 251, + "column": 14 + }, + "end": { + "line": 251, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8218, + "end": 8219, + "loc": { + "start": { + "line": 251, + "column": 20 + }, + "end": { + "line": 251, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "v", + "start": 8220, + "end": 8221, + "loc": { + "start": { + "line": 251, + "column": 22 + }, + "end": { + "line": 251, + "column": 23 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 8222, + "end": 8224, + "loc": { + "start": { + "line": 251, + "column": 24 + }, + "end": { + "line": 251, + "column": 26 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 8225, + "end": 8229, + "loc": { + "start": { + "line": 251, + "column": 27 + }, + "end": { + "line": 251, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8229, + "end": 8230, + "loc": { + "start": { + "line": 251, + "column": 31 + }, + "end": { + "line": 251, + "column": 32 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8240, + "end": 8242, + "loc": { + "start": { + "line": 253, + "column": 8 + }, + "end": { + "line": 253, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8243, + "end": 8244, + "loc": { + "start": { + "line": 253, + "column": 11 + }, + "end": { + "line": 253, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 8244, + "end": 8245, + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 13 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 8246, + "end": 8248, + "loc": { + "start": { + "line": 253, + "column": 14 + }, + "end": { + "line": 253, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "empty", + "start": 8249, + "end": 8254, + "loc": { + "start": { + "line": 253, + "column": 17 + }, + "end": { + "line": 253, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8254, + "end": 8255, + "loc": { + "start": { + "line": 253, + "column": 22 + }, + "end": { + "line": 253, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8256, + "end": 8257, + "loc": { + "start": { + "line": 253, + "column": 24 + }, + "end": { + "line": 253, + "column": 25 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8268, + "end": 8270, + "loc": { + "start": { + "line": 254, + "column": 10 + }, + "end": { + "line": 254, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8271, + "end": 8272, + "loc": { + "start": { + "line": 254, + "column": 13 + }, + "end": { + "line": 254, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8272, + "end": 8276, + "loc": { + "start": { + "line": 254, + "column": 14 + }, + "end": { + "line": 254, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8276, + "end": 8277, + "loc": { + "start": { + "line": 254, + "column": 18 + }, + "end": { + "line": 254, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 8277, + "end": 8284, + "loc": { + "start": { + "line": 254, + "column": 19 + }, + "end": { + "line": 254, + "column": 26 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!=", + "start": 8285, + "end": 8287, + "loc": { + "start": { + "line": 254, + "column": 27 + }, + "end": { + "line": 254, + "column": 29 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 8288, + "end": 8292, + "loc": { + "start": { + "line": 254, + "column": 30 + }, + "end": { + "line": 254, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8292, + "end": 8293, + "loc": { + "start": { + "line": 254, + "column": 34 + }, + "end": { + "line": 254, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8294, + "end": 8295, + "loc": { + "start": { + "line": 254, + "column": 36 + }, + "end": { + "line": 254, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8308, + "end": 8313, + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ex", + "start": 8314, + "end": 8316, + "loc": { + "start": { + "line": 255, + "column": 18 + }, + "end": { + "line": 255, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8317, + "end": 8318, + "loc": { + "start": { + "line": 255, + "column": 21 + }, + "end": { + "line": 255, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8319, + "end": 8323, + "loc": { + "start": { + "line": 255, + "column": 23 + }, + "end": { + "line": 255, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8323, + "end": 8324, + "loc": { + "start": { + "line": 255, + "column": 27 + }, + "end": { + "line": 255, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 8324, + "end": 8330, + "loc": { + "start": { + "line": 255, + "column": 28 + }, + "end": { + "line": 255, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8330, + "end": 8331, + "loc": { + "start": { + "line": 255, + "column": 34 + }, + "end": { + "line": 255, + "column": 35 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8344, + "end": 8346, + "loc": { + "start": { + "line": 256, + "column": 12 + }, + "end": { + "line": 256, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8347, + "end": 8348, + "loc": { + "start": { + "line": 256, + "column": 15 + }, + "end": { + "line": 256, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ex", + "start": 8348, + "end": 8350, + "loc": { + "start": { + "line": 256, + "column": 16 + }, + "end": { + "line": 256, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!=", + "start": 8351, + "end": 8353, + "loc": { + "start": { + "line": 256, + "column": 19 + }, + "end": { + "line": 256, + "column": 21 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 8354, + "end": 8358, + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8358, + "end": 8359, + "loc": { + "start": { + "line": 256, + "column": 26 + }, + "end": { + "line": 256, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8360, + "end": 8361, + "loc": { + "start": { + "line": 256, + "column": 28 + }, + "end": { + "line": 256, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8376, + "end": 8380, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8380, + "end": 8381, + "loc": { + "start": { + "line": 257, + "column": 18 + }, + "end": { + "line": 257, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 8381, + "end": 8388, + "loc": { + "start": { + "line": 257, + "column": 19 + }, + "end": { + "line": 257, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8388, + "end": 8389, + "loc": { + "start": { + "line": 257, + "column": 26 + }, + "end": { + "line": 257, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 8389, + "end": 8396, + "loc": { + "start": { + "line": 257, + "column": 27 + }, + "end": { + "line": 257, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8396, + "end": 8397, + "loc": { + "start": { + "line": 257, + "column": 34 + }, + "end": { + "line": 257, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ex", + "start": 8397, + "end": 8399, + "loc": { + "start": { + "line": 257, + "column": 35 + }, + "end": { + "line": 257, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8399, + "end": 8400, + "loc": { + "start": { + "line": 257, + "column": 37 + }, + "end": { + "line": 257, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8400, + "end": 8401, + "loc": { + "start": { + "line": 257, + "column": 38 + }, + "end": { + "line": 257, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8414, + "end": 8415, + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 13 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 8416, + "end": 8420, + "loc": { + "start": { + "line": 258, + "column": 14 + }, + "end": { + "line": 258, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8421, + "end": 8422, + "loc": { + "start": { + "line": 258, + "column": 19 + }, + "end": { + "line": 258, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8437, + "end": 8441, + "loc": { + "start": { + "line": 259, + "column": 14 + }, + "end": { + "line": 259, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8441, + "end": 8442, + "loc": { + "start": { + "line": 259, + "column": 18 + }, + "end": { + "line": 259, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 8442, + "end": 8449, + "loc": { + "start": { + "line": 259, + "column": 19 + }, + "end": { + "line": 259, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8449, + "end": 8450, + "loc": { + "start": { + "line": 259, + "column": 26 + }, + "end": { + "line": 259, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 8450, + "end": 8460, + "loc": { + "start": { + "line": 259, + "column": 27 + }, + "end": { + "line": 259, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8460, + "end": 8461, + "loc": { + "start": { + "line": 259, + "column": 37 + }, + "end": { + "line": 259, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8461, + "end": 8462, + "loc": { + "start": { + "line": 259, + "column": 38 + }, + "end": { + "line": 259, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8462, + "end": 8463, + "loc": { + "start": { + "line": 259, + "column": 39 + }, + "end": { + "line": 259, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8476, + "end": 8477, + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8490, + "end": 8494, + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8494, + "end": 8495, + "loc": { + "start": { + "line": 261, + "column": 16 + }, + "end": { + "line": 261, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 8495, + "end": 8502, + "loc": { + "start": { + "line": 261, + "column": 17 + }, + "end": { + "line": 261, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8503, + "end": 8504, + "loc": { + "start": { + "line": 261, + "column": 25 + }, + "end": { + "line": 261, + "column": 26 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 8505, + "end": 8509, + "loc": { + "start": { + "line": 261, + "column": 27 + }, + "end": { + "line": 261, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8509, + "end": 8510, + "loc": { + "start": { + "line": 261, + "column": 31 + }, + "end": { + "line": 261, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8521, + "end": 8522, + "loc": { + "start": { + "line": 262, + "column": 10 + }, + "end": { + "line": 262, + "column": 11 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 8533, + "end": 8539, + "loc": { + "start": { + "line": 263, + "column": 10 + }, + "end": { + "line": 263, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8539, + "end": 8540, + "loc": { + "start": { + "line": 263, + "column": 16 + }, + "end": { + "line": 263, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8549, + "end": 8550, + "loc": { + "start": { + "line": 264, + "column": 8 + }, + "end": { + "line": 264, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8560, + "end": 8562, + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8563, + "end": 8564, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "empty", + "start": 8564, + "end": 8569, + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8569, + "end": 8570, + "loc": { + "start": { + "line": 266, + "column": 17 + }, + "end": { + "line": 266, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8571, + "end": 8572, + "loc": { + "start": { + "line": 266, + "column": 19 + }, + "end": { + "line": 266, + "column": 20 + } + } + }, + { + "type": { + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "break", + "start": 8583, + "end": 8588, + "loc": { + "start": { + "line": 267, + "column": 10 + }, + "end": { + "line": 267, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8588, + "end": 8589, + "loc": { + "start": { + "line": 267, + "column": 15 + }, + "end": { + "line": 267, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8598, + "end": 8599, + "loc": { + "start": { + "line": 268, + "column": 8 + }, + "end": { + "line": 268, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8609, + "end": 8611, + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 270, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8612, + "end": 8613, + "loc": { + "start": { + "line": 270, + "column": 11 + }, + "end": { + "line": 270, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8613, + "end": 8617, + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8617, + "end": 8618, + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 8618, + "end": 8625, + "loc": { + "start": { + "line": 270, + "column": 17 + }, + "end": { + "line": 270, + "column": 24 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!=", + "start": 8626, + "end": 8628, + "loc": { + "start": { + "line": 270, + "column": 25 + }, + "end": { + "line": 270, + "column": 27 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 8629, + "end": 8633, + "loc": { + "start": { + "line": 270, + "column": 28 + }, + "end": { + "line": 270, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8633, + "end": 8634, + "loc": { + "start": { + "line": 270, + "column": 32 + }, + "end": { + "line": 270, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8635, + "end": 8636, + "loc": { + "start": { + "line": 270, + "column": 34 + }, + "end": { + "line": 270, + "column": 35 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8647, + "end": 8652, + "loc": { + "start": { + "line": 271, + "column": 10 + }, + "end": { + "line": 271, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transformedV", + "start": 8653, + "end": 8665, + "loc": { + "start": { + "line": 271, + "column": 16 + }, + "end": { + "line": 271, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8666, + "end": 8667, + "loc": { + "start": { + "line": 271, + "column": 29 + }, + "end": { + "line": 271, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8668, + "end": 8672, + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8672, + "end": 8673, + "loc": { + "start": { + "line": 271, + "column": 35 + }, + "end": { + "line": 271, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_transformers", + "start": 8673, + "end": 8686, + "loc": { + "start": { + "line": 271, + "column": 36 + }, + "end": { + "line": 271, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8686, + "end": 8687, + "loc": { + "start": { + "line": 271, + "column": 49 + }, + "end": { + "line": 271, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reduce", + "start": 8687, + "end": 8693, + "loc": { + "start": { + "line": 271, + "column": 50 + }, + "end": { + "line": 271, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8693, + "end": 8694, + "loc": { + "start": { + "line": 271, + "column": 56 + }, + "end": { + "line": 271, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8694, + "end": 8695, + "loc": { + "start": { + "line": 271, + "column": 57 + }, + "end": { + "line": 271, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interim", + "start": 8695, + "end": 8702, + "loc": { + "start": { + "line": 271, + "column": 58 + }, + "end": { + "line": 271, + "column": 65 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8702, + "end": 8703, + "loc": { + "start": { + "line": 271, + "column": 65 + }, + "end": { + "line": 271, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xform", + "start": 8704, + "end": 8709, + "loc": { + "start": { + "line": 271, + "column": 67 + }, + "end": { + "line": 271, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8709, + "end": 8710, + "loc": { + "start": { + "line": 271, + "column": 72 + }, + "end": { + "line": 271, + "column": 73 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8711, + "end": 8713, + "loc": { + "start": { + "line": 271, + "column": 74 + }, + "end": { + "line": 271, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xform", + "start": 8714, + "end": 8719, + "loc": { + "start": { + "line": 271, + "column": 77 + }, + "end": { + "line": 271, + "column": 82 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8719, + "end": 8720, + "loc": { + "start": { + "line": 271, + "column": 82 + }, + "end": { + "line": 271, + "column": 83 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interim", + "start": 8720, + "end": 8727, + "loc": { + "start": { + "line": 271, + "column": 83 + }, + "end": { + "line": 271, + "column": 90 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8727, + "end": 8728, + "loc": { + "start": { + "line": 271, + "column": 90 + }, + "end": { + "line": 271, + "column": 91 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8728, + "end": 8729, + "loc": { + "start": { + "line": 271, + "column": 91 + }, + "end": { + "line": 271, + "column": 92 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "v", + "start": 8730, + "end": 8731, + "loc": { + "start": { + "line": 271, + "column": 93 + }, + "end": { + "line": 271, + "column": 94 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8731, + "end": 8732, + "loc": { + "start": { + "line": 271, + "column": 94 + }, + "end": { + "line": 271, + "column": 95 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8732, + "end": 8733, + "loc": { + "start": { + "line": 271, + "column": 95 + }, + "end": { + "line": 271, + "column": 96 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8744, + "end": 8748, + "loc": { + "start": { + "line": 272, + "column": 10 + }, + "end": { + "line": 272, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8748, + "end": 8749, + "loc": { + "start": { + "line": 272, + "column": 14 + }, + "end": { + "line": 272, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 8749, + "end": 8756, + "loc": { + "start": { + "line": 272, + "column": 15 + }, + "end": { + "line": 272, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8756, + "end": 8757, + "loc": { + "start": { + "line": 272, + "column": 22 + }, + "end": { + "line": 272, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 8757, + "end": 8763, + "loc": { + "start": { + "line": 272, + "column": 23 + }, + "end": { + "line": 272, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8763, + "end": 8764, + "loc": { + "start": { + "line": 272, + "column": 29 + }, + "end": { + "line": 272, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transformedV", + "start": 8764, + "end": 8776, + "loc": { + "start": { + "line": 272, + "column": 30 + }, + "end": { + "line": 272, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8776, + "end": 8777, + "loc": { + "start": { + "line": 272, + "column": 42 + }, + "end": { + "line": 272, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8777, + "end": 8778, + "loc": { + "start": { + "line": 272, + "column": 43 + }, + "end": { + "line": 272, + "column": 44 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8787, + "end": 8788, + "loc": { + "start": { + "line": 273, + "column": 8 + }, + "end": { + "line": 273, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 8798, + "end": 8799, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 9 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 8799, + "end": 8801, + "loc": { + "start": { + "line": 275, + "column": 9 + }, + "end": { + "line": 275, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8801, + "end": 8802, + "loc": { + "start": { + "line": 275, + "column": 11 + }, + "end": { + "line": 275, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8809, + "end": 8810, + "loc": { + "start": { + "line": 276, + "column": 6 + }, + "end": { + "line": 276, + "column": 7 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8818, + "end": 8820, + "loc": { + "start": { + "line": 278, + "column": 6 + }, + "end": { + "line": 278, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8821, + "end": 8822, + "loc": { + "start": { + "line": 278, + "column": 9 + }, + "end": { + "line": 278, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 8822, + "end": 8823, + "loc": { + "start": { + "line": 278, + "column": 10 + }, + "end": { + "line": 278, + "column": 11 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 8824, + "end": 8826, + "loc": { + "start": { + "line": 278, + "column": 12 + }, + "end": { + "line": 278, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "r", + "start": 8827, + "end": 8828, + "loc": { + "start": { + "line": 278, + "column": 15 + }, + "end": { + "line": 278, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8828, + "end": 8829, + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8830, + "end": 8831, + "loc": { + "start": { + "line": 278, + "column": 18 + }, + "end": { + "line": 278, + "column": 19 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8840, + "end": 8842, + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8843, + "end": 8844, + "loc": { + "start": { + "line": 279, + "column": 11 + }, + "end": { + "line": 279, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8844, + "end": 8848, + "loc": { + "start": { + "line": 279, + "column": 12 + }, + "end": { + "line": 279, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8848, + "end": 8849, + "loc": { + "start": { + "line": 279, + "column": 16 + }, + "end": { + "line": 279, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancelled", + "start": 8849, + "end": 8859, + "loc": { + "start": { + "line": 279, + "column": 17 + }, + "end": { + "line": 279, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8859, + "end": 8860, + "loc": { + "start": { + "line": 279, + "column": 27 + }, + "end": { + "line": 279, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8861, + "end": 8862, + "loc": { + "start": { + "line": 279, + "column": 29 + }, + "end": { + "line": 279, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8873, + "end": 8877, + "loc": { + "start": { + "line": 280, + "column": 10 + }, + "end": { + "line": 280, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8877, + "end": 8878, + "loc": { + "start": { + "line": 280, + "column": 14 + }, + "end": { + "line": 280, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 8878, + "end": 8885, + "loc": { + "start": { + "line": 280, + "column": 15 + }, + "end": { + "line": 280, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8886, + "end": 8887, + "loc": { + "start": { + "line": 280, + "column": 23 + }, + "end": { + "line": 280, + "column": 24 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 8888, + "end": 8892, + "loc": { + "start": { + "line": 280, + "column": 25 + }, + "end": { + "line": 280, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8892, + "end": 8893, + "loc": { + "start": { + "line": 280, + "column": 29 + }, + "end": { + "line": 280, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8904, + "end": 8908, + "loc": { + "start": { + "line": 281, + "column": 10 + }, + "end": { + "line": 281, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8908, + "end": 8909, + "loc": { + "start": { + "line": 281, + "column": 14 + }, + "end": { + "line": 281, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_queue", + "start": 8909, + "end": 8915, + "loc": { + "start": { + "line": 281, + "column": 15 + }, + "end": { + "line": 281, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8916, + "end": 8917, + "loc": { + "start": { + "line": 281, + "column": 22 + }, + "end": { + "line": 281, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8918, + "end": 8919, + "loc": { + "start": { + "line": 281, + "column": 24 + }, + "end": { + "line": 281, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8919, + "end": 8920, + "loc": { + "start": { + "line": 281, + "column": 25 + }, + "end": { + "line": 281, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8920, + "end": 8921, + "loc": { + "start": { + "line": 281, + "column": 26 + }, + "end": { + "line": 281, + "column": 27 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 8932, + "end": 8938, + "loc": { + "start": { + "line": 282, + "column": 10 + }, + "end": { + "line": 282, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8938, + "end": 8939, + "loc": { + "start": { + "line": 282, + "column": 16 + }, + "end": { + "line": 282, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8948, + "end": 8949, + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 9 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8958, + "end": 8963, + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 8964, + "end": 8965, + "loc": { + "start": { + "line": 284, + "column": 14 + }, + "end": { + "line": 284, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8966, + "end": 8967, + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8968, + "end": 8972, + "loc": { + "start": { + "line": 284, + "column": 18 + }, + "end": { + "line": 284, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8972, + "end": 8973, + "loc": { + "start": { + "line": 284, + "column": 22 + }, + "end": { + "line": 284, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 8973, + "end": 8978, + "loc": { + "start": { + "line": 284, + "column": 23 + }, + "end": { + "line": 284, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8978, + "end": 8979, + "loc": { + "start": { + "line": 284, + "column": 28 + }, + "end": { + "line": 284, + "column": 29 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8988, + "end": 8993, + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "empty", + "start": 8994, + "end": 8999, + "loc": { + "start": { + "line": 285, + "column": 14 + }, + "end": { + "line": 285, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9000, + "end": 9001, + "loc": { + "start": { + "line": 285, + "column": 20 + }, + "end": { + "line": 285, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9002, + "end": 9006, + "loc": { + "start": { + "line": 285, + "column": 22 + }, + "end": { + "line": 285, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9006, + "end": 9007, + "loc": { + "start": { + "line": 285, + "column": 26 + }, + "end": { + "line": 285, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_queue", + "start": 9007, + "end": 9013, + "loc": { + "start": { + "line": 285, + "column": 27 + }, + "end": { + "line": 285, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9013, + "end": 9014, + "loc": { + "start": { + "line": 285, + "column": 33 + }, + "end": { + "line": 285, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 9014, + "end": 9020, + "loc": { + "start": { + "line": 285, + "column": 34 + }, + "end": { + "line": 285, + "column": 40 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 9021, + "end": 9024, + "loc": { + "start": { + "line": 285, + "column": 41 + }, + "end": { + "line": 285, + "column": 44 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 9025, + "end": 9026, + "loc": { + "start": { + "line": 285, + "column": 45 + }, + "end": { + "line": 285, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9026, + "end": 9027, + "loc": { + "start": { + "line": 285, + "column": 46 + }, + "end": { + "line": 285, + "column": 47 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9037, + "end": 9039, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9040, + "end": 9041, + "loc": { + "start": { + "line": 287, + "column": 11 + }, + "end": { + "line": 287, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "d", + "start": 9041, + "end": 9042, + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 13 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 9043, + "end": 9045, + "loc": { + "start": { + "line": 287, + "column": 14 + }, + "end": { + "line": 287, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "empty", + "start": 9046, + "end": 9051, + "loc": { + "start": { + "line": 287, + "column": 17 + }, + "end": { + "line": 287, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9051, + "end": 9052, + "loc": { + "start": { + "line": 287, + "column": 22 + }, + "end": { + "line": 287, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9053, + "end": 9054, + "loc": { + "start": { + "line": 287, + "column": 24 + }, + "end": { + "line": 287, + "column": 25 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9065, + "end": 9067, + "loc": { + "start": { + "line": 288, + "column": 10 + }, + "end": { + "line": 288, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9068, + "end": 9069, + "loc": { + "start": { + "line": 288, + "column": 13 + }, + "end": { + "line": 288, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9069, + "end": 9073, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 288, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9073, + "end": 9074, + "loc": { + "start": { + "line": 288, + "column": 18 + }, + "end": { + "line": 288, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 9074, + "end": 9081, + "loc": { + "start": { + "line": 288, + "column": 19 + }, + "end": { + "line": 288, + "column": 26 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!=", + "start": 9082, + "end": 9084, + "loc": { + "start": { + "line": 288, + "column": 27 + }, + "end": { + "line": 288, + "column": 29 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 9085, + "end": 9089, + "loc": { + "start": { + "line": 288, + "column": 30 + }, + "end": { + "line": 288, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9089, + "end": 9090, + "loc": { + "start": { + "line": 288, + "column": 34 + }, + "end": { + "line": 288, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9091, + "end": 9092, + "loc": { + "start": { + "line": 288, + "column": 36 + }, + "end": { + "line": 288, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9105, + "end": 9110, + "loc": { + "start": { + "line": 289, + "column": 12 + }, + "end": { + "line": 289, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ex", + "start": 9111, + "end": 9113, + "loc": { + "start": { + "line": 289, + "column": 18 + }, + "end": { + "line": 289, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9114, + "end": 9115, + "loc": { + "start": { + "line": 289, + "column": 21 + }, + "end": { + "line": 289, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9116, + "end": 9120, + "loc": { + "start": { + "line": 289, + "column": 23 + }, + "end": { + "line": 289, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9120, + "end": 9121, + "loc": { + "start": { + "line": 289, + "column": 27 + }, + "end": { + "line": 289, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 9121, + "end": 9127, + "loc": { + "start": { + "line": 289, + "column": 28 + }, + "end": { + "line": 289, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9127, + "end": 9128, + "loc": { + "start": { + "line": 289, + "column": 34 + }, + "end": { + "line": 289, + "column": 35 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9141, + "end": 9143, + "loc": { + "start": { + "line": 290, + "column": 12 + }, + "end": { + "line": 290, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9144, + "end": 9145, + "loc": { + "start": { + "line": 290, + "column": 15 + }, + "end": { + "line": 290, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ex", + "start": 9145, + "end": 9147, + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!=", + "start": 9148, + "end": 9150, + "loc": { + "start": { + "line": 290, + "column": 19 + }, + "end": { + "line": 290, + "column": 21 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 9151, + "end": 9155, + "loc": { + "start": { + "line": 290, + "column": 22 + }, + "end": { + "line": 290, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9155, + "end": 9156, + "loc": { + "start": { + "line": 290, + "column": 26 + }, + "end": { + "line": 290, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9157, + "end": 9158, + "loc": { + "start": { + "line": 290, + "column": 28 + }, + "end": { + "line": 290, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9173, + "end": 9177, + "loc": { + "start": { + "line": 291, + "column": 14 + }, + "end": { + "line": 291, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9177, + "end": 9178, + "loc": { + "start": { + "line": 291, + "column": 18 + }, + "end": { + "line": 291, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 9178, + "end": 9185, + "loc": { + "start": { + "line": 291, + "column": 19 + }, + "end": { + "line": 291, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9185, + "end": 9186, + "loc": { + "start": { + "line": 291, + "column": 26 + }, + "end": { + "line": 291, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 9186, + "end": 9193, + "loc": { + "start": { + "line": 291, + "column": 27 + }, + "end": { + "line": 291, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9193, + "end": 9194, + "loc": { + "start": { + "line": 291, + "column": 34 + }, + "end": { + "line": 291, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ex", + "start": 9194, + "end": 9196, + "loc": { + "start": { + "line": 291, + "column": 35 + }, + "end": { + "line": 291, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9196, + "end": 9197, + "loc": { + "start": { + "line": 291, + "column": 37 + }, + "end": { + "line": 291, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9197, + "end": 9198, + "loc": { + "start": { + "line": 291, + "column": 38 + }, + "end": { + "line": 291, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9211, + "end": 9212, + "loc": { + "start": { + "line": 292, + "column": 12 + }, + "end": { + "line": 292, + "column": 13 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 9213, + "end": 9217, + "loc": { + "start": { + "line": 292, + "column": 14 + }, + "end": { + "line": 292, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9218, + "end": 9219, + "loc": { + "start": { + "line": 292, + "column": 19 + }, + "end": { + "line": 292, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9234, + "end": 9238, + "loc": { + "start": { + "line": 293, + "column": 14 + }, + "end": { + "line": 293, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9238, + "end": 9239, + "loc": { + "start": { + "line": 293, + "column": 18 + }, + "end": { + "line": 293, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 9239, + "end": 9246, + "loc": { + "start": { + "line": 293, + "column": 19 + }, + "end": { + "line": 293, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9246, + "end": 9247, + "loc": { + "start": { + "line": 293, + "column": 26 + }, + "end": { + "line": 293, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 9247, + "end": 9257, + "loc": { + "start": { + "line": 293, + "column": 27 + }, + "end": { + "line": 293, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9257, + "end": 9258, + "loc": { + "start": { + "line": 293, + "column": 37 + }, + "end": { + "line": 293, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9258, + "end": 9259, + "loc": { + "start": { + "line": 293, + "column": 38 + }, + "end": { + "line": 293, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9259, + "end": 9260, + "loc": { + "start": { + "line": 293, + "column": 39 + }, + "end": { + "line": 293, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9273, + "end": 9274, + "loc": { + "start": { + "line": 294, + "column": 12 + }, + "end": { + "line": 294, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9287, + "end": 9291, + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 295, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9291, + "end": 9292, + "loc": { + "start": { + "line": 295, + "column": 16 + }, + "end": { + "line": 295, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_actual", + "start": 9292, + "end": 9299, + "loc": { + "start": { + "line": 295, + "column": 17 + }, + "end": { + "line": 295, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9300, + "end": 9301, + "loc": { + "start": { + "line": 295, + "column": 25 + }, + "end": { + "line": 295, + "column": 26 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 9302, + "end": 9306, + "loc": { + "start": { + "line": 295, + "column": 27 + }, + "end": { + "line": 295, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9306, + "end": 9307, + "loc": { + "start": { + "line": 295, + "column": 31 + }, + "end": { + "line": 295, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9318, + "end": 9319, + "loc": { + "start": { + "line": 296, + "column": 10 + }, + "end": { + "line": 296, + "column": 11 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 9330, + "end": 9336, + "loc": { + "start": { + "line": 297, + "column": 10 + }, + "end": { + "line": 297, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9336, + "end": 9337, + "loc": { + "start": { + "line": 297, + "column": 16 + }, + "end": { + "line": 297, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9346, + "end": 9347, + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9354, + "end": 9355, + "loc": { + "start": { + "line": 299, + "column": 6 + }, + "end": { + "line": 299, + "column": 7 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9363, + "end": 9365, + "loc": { + "start": { + "line": 301, + "column": 6 + }, + "end": { + "line": 301, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9366, + "end": 9367, + "loc": { + "start": { + "line": 301, + "column": 9 + }, + "end": { + "line": 301, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 9367, + "end": 9368, + "loc": { + "start": { + "line": 301, + "column": 10 + }, + "end": { + "line": 301, + "column": 11 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!=", + "start": 9369, + "end": 9371, + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 9372, + "end": 9373, + "loc": { + "start": { + "line": 301, + "column": 15 + }, + "end": { + "line": 301, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9373, + "end": 9374, + "loc": { + "start": { + "line": 301, + "column": 16 + }, + "end": { + "line": 301, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9375, + "end": 9376, + "loc": { + "start": { + "line": 301, + "column": 18 + }, + "end": { + "line": 301, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9385, + "end": 9389, + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9389, + "end": 9390, + "loc": { + "start": { + "line": 302, + "column": 12 + }, + "end": { + "line": 302, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_requested", + "start": 9390, + "end": 9400, + "loc": { + "start": { + "line": 302, + "column": 13 + }, + "end": { + "line": 302, + "column": 23 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-=", + "start": 9401, + "end": 9403, + "loc": { + "start": { + "line": 302, + "column": 24 + }, + "end": { + "line": 302, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 9404, + "end": 9405, + "loc": { + "start": { + "line": 302, + "column": 27 + }, + "end": { + "line": 302, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9405, + "end": 9406, + "loc": { + "start": { + "line": 302, + "column": 28 + }, + "end": { + "line": 302, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9413, + "end": 9414, + "loc": { + "start": { + "line": 303, + "column": 6 + }, + "end": { + "line": 303, + "column": 7 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9422, + "end": 9427, + "loc": { + "start": { + "line": 305, + "column": 6 + }, + "end": { + "line": 305, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m", + "start": 9428, + "end": 9429, + "loc": { + "start": { + "line": 305, + "column": 12 + }, + "end": { + "line": 305, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9430, + "end": 9431, + "loc": { + "start": { + "line": 305, + "column": 14 + }, + "end": { + "line": 305, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9432, + "end": 9436, + "loc": { + "start": { + "line": 305, + "column": 16 + }, + "end": { + "line": 305, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9436, + "end": 9437, + "loc": { + "start": { + "line": 305, + "column": 20 + }, + "end": { + "line": 305, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_wip", + "start": 9437, + "end": 9441, + "loc": { + "start": { + "line": 305, + "column": 21 + }, + "end": { + "line": 305, + "column": 25 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 9442, + "end": 9443, + "loc": { + "start": { + "line": 305, + "column": 26 + }, + "end": { + "line": 305, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "missed", + "start": 9444, + "end": 9450, + "loc": { + "start": { + "line": 305, + "column": 28 + }, + "end": { + "line": 305, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9450, + "end": 9451, + "loc": { + "start": { + "line": 305, + "column": 34 + }, + "end": { + "line": 305, + "column": 35 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9458, + "end": 9462, + "loc": { + "start": { + "line": 306, + "column": 6 + }, + "end": { + "line": 306, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9462, + "end": 9463, + "loc": { + "start": { + "line": 306, + "column": 10 + }, + "end": { + "line": 306, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_wip", + "start": 9463, + "end": 9467, + "loc": { + "start": { + "line": 306, + "column": 11 + }, + "end": { + "line": 306, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9468, + "end": 9469, + "loc": { + "start": { + "line": 306, + "column": 16 + }, + "end": { + "line": 306, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m", + "start": 9470, + "end": 9471, + "loc": { + "start": { + "line": 306, + "column": 18 + }, + "end": { + "line": 306, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9471, + "end": 9472, + "loc": { + "start": { + "line": 306, + "column": 19 + }, + "end": { + "line": 306, + "column": 20 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9479, + "end": 9481, + "loc": { + "start": { + "line": 307, + "column": 6 + }, + "end": { + "line": 307, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9482, + "end": 9483, + "loc": { + "start": { + "line": 307, + "column": 9 + }, + "end": { + "line": 307, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m", + "start": 9483, + "end": 9484, + "loc": { + "start": { + "line": 307, + "column": 10 + }, + "end": { + "line": 307, + "column": 11 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 9485, + "end": 9487, + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 9488, + "end": 9489, + "loc": { + "start": { + "line": 307, + "column": 15 + }, + "end": { + "line": 307, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9489, + "end": 9490, + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9491, + "end": 9492, + "loc": { + "start": { + "line": 307, + "column": 18 + }, + "end": { + "line": 307, + "column": 19 + } + } + }, + { + "type": { + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "break", + "start": 9501, + "end": 9506, + "loc": { + "start": { + "line": 308, + "column": 8 + }, + "end": { + "line": 308, + "column": 13 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9506, + "end": 9507, + "loc": { + "start": { + "line": 308, + "column": 13 + }, + "end": { + "line": 308, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9514, + "end": 9515, + "loc": { + "start": { + "line": 309, + "column": 6 + }, + "end": { + "line": 309, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9520, + "end": 9521, + "loc": { + "start": { + "line": 310, + "column": 4 + }, + "end": { + "line": 310, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9524, + "end": 9525, + "loc": { + "start": { + "line": 311, + "column": 2 + }, + "end": { + "line": 311, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9526, + "end": 9527, + "loc": { + "start": { + "line": 312, + "column": 0 + }, + "end": { + "line": 312, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9527, + "end": 9527, + "loc": { + "start": { + "line": 312, + "column": 1 + }, + "end": { + "line": 312, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/core/src/RequestHandlingRSocket.js.json b/rsocket-rpc-js/docs/ast/source/core/src/RequestHandlingRSocket.js.json new file mode 100644 index 0000000..2dc172a --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/core/src/RequestHandlingRSocket.js.json @@ -0,0 +1,18602 @@ +{ + "type": "File", + "start": 0, + "end": 6389, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 157, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 6389, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 157, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 2, + "end": 54, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 52 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 11, + "end": 19, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 11, + "end": 19, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "local": { + "type": "Identifier", + "start": 11, + "end": 19, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + } + }, + { + "type": "ImportSpecifier", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 25 + } + }, + "imported": { + "type": "Identifier", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 25 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "local": { + "type": "Identifier", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 25 + }, + "identifierName": "Single" + }, + "name": "Single" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 35, + "end": 53, + "loc": { + "start": { + "line": 3, + "column": 33 + }, + "end": { + "line": 3, + "column": 51 + } + }, + "extra": { + "rawValue": "rsocket-flowable", + "raw": "'rsocket-flowable'" + }, + "value": "rsocket-flowable" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name RequestHandlingRSocket.js\n * @fileoverview Defines the {@link RequestHandlingRSocket} class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-rps-frames\n * @requires SwitchTransformOperator\n * @exports RequestHandlingRSocket\n ", + "start": 55, + "end": 2309, + "loc": { + "start": { + "line": 3, + "column": 53 + }, + "end": { + "line": 28, + "column": 56 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 2311, + "end": 2359, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 48 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 2320, + "end": 2330, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 19 + } + }, + "imported": { + "type": "Identifier", + "start": 2320, + "end": 2330, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 19 + }, + "identifierName": "getService" + }, + "name": "getService", + "leadingComments": null + }, + "local": { + "type": "Identifier", + "start": 2320, + "end": 2330, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 19 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "leadingComments": null + } + ], + "source": { + "type": "StringLiteral", + "start": 2338, + "end": 2358, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 47 + } + }, + "extra": { + "rawValue": "rsocket-rpc-frames", + "raw": "'rsocket-rpc-frames'" + }, + "value": "rsocket-rpc-frames" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name RequestHandlingRSocket.js\n * @fileoverview Defines the {@link RequestHandlingRSocket} class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-rps-frames\n * @requires SwitchTransformOperator\n * @exports RequestHandlingRSocket\n ", + "start": 55, + "end": 2309, + "loc": { + "start": { + "line": 3, + "column": 53 + }, + "end": { + "line": 28, + "column": 56 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 2360, + "end": 2424, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 64 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 2367, + "end": 2390, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 30 + } + }, + "local": { + "type": "Identifier", + "start": 2367, + "end": 2390, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 30 + }, + "identifierName": "SwitchTransformOperator" + }, + "name": "SwitchTransformOperator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 2396, + "end": 2423, + "loc": { + "start": { + "line": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 63 + } + }, + "extra": { + "rawValue": "./SwitchTransformOperator", + "raw": "'./SwitchTransformOperator'" + }, + "value": "./SwitchTransformOperator" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2426, + "end": 2433, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 2434, + "end": 6389, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 157, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 2449, + "end": 6389, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 157, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2455, + "end": 2477, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 43 + }, + "identifierName": "RequestHandlingRSocket" + }, + "name": "RequestHandlingRSocket", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 2478, + "end": 6389, + "loc": { + "start": { + "line": 35, + "column": 44 + }, + "end": { + "line": 157, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 2483, + "end": 2544, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2483, + "end": 2494, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2497, + "end": 2544, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 39, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2503, + "end": 2540, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2503, + "end": 2539, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 40 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2503, + "end": 2527, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 2503, + "end": 2507, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2508, + "end": 2527, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 28 + }, + "identifierName": "_registeredServices" + }, + "name": "_registeredServices" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 2530, + "end": 2539, + "loc": { + "start": { + "line": 38, + "column": 31 + }, + "end": { + "line": 38, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 2534, + "end": 2537, + "loc": { + "start": { + "line": 38, + "column": 35 + }, + "end": { + "line": 38, + "column": 38 + }, + "identifierName": "Map" + }, + "name": "Map" + }, + "arguments": [] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {string} service -\n * @param {Responder} handler -\n ", + "start": 2548, + "end": 2642, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2645, + "end": 2731, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 48, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2645, + "end": 2655, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 12 + }, + "identifierName": "addService" + }, + "name": "addService", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2656, + "end": 2663, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 20 + }, + "identifierName": "service" + }, + "name": "service" + }, + { + "type": "Identifier", + "start": 2665, + "end": 2672, + "loc": { + "start": { + "line": 46, + "column": 22 + }, + "end": { + "line": 46, + "column": 29 + }, + "identifierName": "handler" + }, + "name": "handler" + } + ], + "body": { + "type": "BlockStatement", + "start": 2674, + "end": 2731, + "loc": { + "start": { + "line": 46, + "column": 31 + }, + "end": { + "line": 48, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2680, + "end": 2727, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 51 + } + }, + "expression": { + "type": "CallExpression", + "start": 2680, + "end": 2726, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2680, + "end": 2708, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 2680, + "end": 2704, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 2680, + "end": 2684, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2685, + "end": 2704, + "loc": { + "start": { + "line": 47, + "column": 9 + }, + "end": { + "line": 47, + "column": 28 + }, + "identifierName": "_registeredServices" + }, + "name": "_registeredServices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2705, + "end": 2708, + "loc": { + "start": { + "line": 47, + "column": 29 + }, + "end": { + "line": 47, + "column": 32 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2709, + "end": 2716, + "loc": { + "start": { + "line": 47, + "column": 33 + }, + "end": { + "line": 47, + "column": 40 + }, + "identifierName": "service" + }, + "name": "service" + }, + { + "type": "Identifier", + "start": 2718, + "end": 2725, + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 47, + "column": 49 + }, + "identifierName": "handler" + }, + "name": "handler" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {string} service -\n * @param {Responder} handler -\n ", + "start": 2548, + "end": 2642, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload the - request payload\n * @throws {Error} if there is no registered service associated with the service type reflected in the request payload metadata\n * @throws {Error} if the request payload metadata is null\n ", + "start": 2735, + "end": 3008, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 55, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3011, + "end": 3364, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3011, + "end": 3024, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 15 + }, + "identifierName": "fireAndForget" + }, + "name": "fireAndForget", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3025, + "end": 3032, + "loc": { + "start": { + "line": 56, + "column": 16 + }, + "end": { + "line": 56, + "column": 23 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ], + "body": { + "type": "BlockStatement", + "start": 3034, + "end": 3364, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3040, + "end": 3121, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 59, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3044, + "end": 3068, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 32 + } + }, + "left": { + "type": "MemberExpression", + "start": 3044, + "end": 3060, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 3044, + "end": 3051, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 15 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 3052, + "end": 3060, + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 24 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 3064, + "end": 3068, + "loc": { + "start": { + "line": 57, + "column": 28 + }, + "end": { + "line": 57, + "column": 32 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3070, + "end": 3121, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 59, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 3078, + "end": 3115, + "loc": { + "start": { + "line": 58, + "column": 6 + }, + "end": { + "line": 58, + "column": 43 + } + }, + "argument": { + "type": "NewExpression", + "start": 3084, + "end": 3114, + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 42 + } + }, + "callee": { + "type": "Identifier", + "start": 3088, + "end": 3093, + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3094, + "end": 3113, + "loc": { + "start": { + "line": 58, + "column": 22 + }, + "end": { + "line": 58, + "column": 41 + } + }, + "extra": { + "rawValue": "metadata is empty", + "raw": "'metadata is empty'" + }, + "value": "metadata is empty" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 3127, + "end": 3172, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3133, + "end": 3171, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 48 + } + }, + "id": { + "type": "Identifier", + "start": 3133, + "end": 3140, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 17 + }, + "identifierName": "service" + }, + "name": "service" + }, + "init": { + "type": "CallExpression", + "start": 3143, + "end": 3171, + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 3143, + "end": 3153, + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 30 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3154, + "end": 3170, + "loc": { + "start": { + "line": 61, + "column": 31 + }, + "end": { + "line": 61, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 3154, + "end": 3161, + "loc": { + "start": { + "line": 61, + "column": 31 + }, + "end": { + "line": 61, + "column": 38 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 3162, + "end": 3170, + "loc": { + "start": { + "line": 61, + "column": 39 + }, + "end": { + "line": 61, + "column": 47 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3177, + "end": 3231, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 58 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3183, + "end": 3230, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 57 + } + }, + "id": { + "type": "Identifier", + "start": 3183, + "end": 3190, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 17 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "init": { + "type": "CallExpression", + "start": 3193, + "end": 3230, + "loc": { + "start": { + "line": 62, + "column": 20 + }, + "end": { + "line": 62, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3193, + "end": 3221, + "loc": { + "start": { + "line": 62, + "column": 20 + }, + "end": { + "line": 62, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 3193, + "end": 3217, + "loc": { + "start": { + "line": 62, + "column": 20 + }, + "end": { + "line": 62, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 3193, + "end": 3197, + "loc": { + "start": { + "line": 62, + "column": 20 + }, + "end": { + "line": 62, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 3198, + "end": 3217, + "loc": { + "start": { + "line": 62, + "column": 25 + }, + "end": { + "line": 62, + "column": 44 + }, + "identifierName": "_registeredServices" + }, + "name": "_registeredServices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3218, + "end": 3221, + "loc": { + "start": { + "line": 62, + "column": 45 + }, + "end": { + "line": 62, + "column": 48 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3222, + "end": 3229, + "loc": { + "start": { + "line": 62, + "column": 49 + }, + "end": { + "line": 62, + "column": 56 + }, + "identifierName": "service" + }, + "name": "service" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 3237, + "end": 3323, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 66, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3241, + "end": 3256, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 23 + } + }, + "left": { + "type": "Identifier", + "start": 3241, + "end": 3248, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 15 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 3252, + "end": 3256, + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 23 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3258, + "end": 3323, + "loc": { + "start": { + "line": 64, + "column": 25 + }, + "end": { + "line": 66, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 3266, + "end": 3317, + "loc": { + "start": { + "line": 65, + "column": 6 + }, + "end": { + "line": 65, + "column": 57 + } + }, + "argument": { + "type": "NewExpression", + "start": 3272, + "end": 3316, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 56 + } + }, + "callee": { + "type": "Identifier", + "start": 3276, + "end": 3281, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 3282, + "end": 3315, + "loc": { + "start": { + "line": 65, + "column": 22 + }, + "end": { + "line": 65, + "column": 55 + } + }, + "left": { + "type": "StringLiteral", + "start": 3282, + "end": 3305, + "loc": { + "start": { + "line": 65, + "column": 22 + }, + "end": { + "line": 65, + "column": 45 + } + }, + "extra": { + "rawValue": "can not find service ", + "raw": "'can not find service '" + }, + "value": "can not find service " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 3308, + "end": 3315, + "loc": { + "start": { + "line": 65, + "column": 48 + }, + "end": { + "line": 65, + "column": 55 + }, + "identifierName": "service" + }, + "name": "service" + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 3329, + "end": 3360, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 3329, + "end": 3359, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3329, + "end": 3350, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 3329, + "end": 3336, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 11 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "property": { + "type": "Identifier", + "start": 3337, + "end": 3350, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 25 + }, + "identifierName": "fireAndForget" + }, + "name": "fireAndForget" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3351, + "end": 3358, + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 33 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload the - request payload\n * @throws {Error} if there is no registered service associated with the service type reflected in the request payload metadata\n * @throws {Error} if the request payload metadata is null\n ", + "start": 2735, + "end": 3008, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 55, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload - the request payload\n * @returns {Single>} a {@link Single} that emits the\n * response payload, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 3368, + "end": 3744, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 78, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3747, + "end": 4231, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 96, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3747, + "end": 3762, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 17 + }, + "identifierName": "requestResponse" + }, + "name": "requestResponse", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3763, + "end": 3770, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 25 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ], + "body": { + "type": "BlockStatement", + "start": 3772, + "end": 4231, + "loc": { + "start": { + "line": 79, + "column": 27 + }, + "end": { + "line": 96, + "column": 3 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 3778, + "end": 4227, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 95, + "column": 5 + } + }, + "block": { + "type": "BlockStatement", + "start": 3782, + "end": 4171, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 93, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3790, + "end": 3890, + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 83, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3794, + "end": 3818, + "loc": { + "start": { + "line": 81, + "column": 10 + }, + "end": { + "line": 81, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 3794, + "end": 3810, + "loc": { + "start": { + "line": 81, + "column": 10 + }, + "end": { + "line": 81, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 3794, + "end": 3801, + "loc": { + "start": { + "line": 81, + "column": 10 + }, + "end": { + "line": 81, + "column": 17 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 3802, + "end": 3810, + "loc": { + "start": { + "line": 81, + "column": 18 + }, + "end": { + "line": 81, + "column": 26 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 3814, + "end": 3818, + "loc": { + "start": { + "line": 81, + "column": 30 + }, + "end": { + "line": 81, + "column": 34 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3820, + "end": 3890, + "loc": { + "start": { + "line": 81, + "column": 36 + }, + "end": { + "line": 83, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3830, + "end": 3882, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 60 + } + }, + "argument": { + "type": "CallExpression", + "start": 3837, + "end": 3881, + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 82, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3837, + "end": 3849, + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 82, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 3837, + "end": 3843, + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 82, + "column": 21 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "property": { + "type": "Identifier", + "start": 3844, + "end": 3849, + "loc": { + "start": { + "line": 82, + "column": 22 + }, + "end": { + "line": 82, + "column": 27 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 3850, + "end": 3880, + "loc": { + "start": { + "line": 82, + "column": 28 + }, + "end": { + "line": 82, + "column": 58 + } + }, + "callee": { + "type": "Identifier", + "start": 3854, + "end": 3859, + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 37 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3860, + "end": 3879, + "loc": { + "start": { + "line": 82, + "column": 38 + }, + "end": { + "line": 82, + "column": 57 + } + }, + "extra": { + "rawValue": "metadata is empty", + "raw": "'metadata is empty'" + }, + "value": "metadata is empty" + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 3898, + "end": 3943, + "loc": { + "start": { + "line": 85, + "column": 6 + }, + "end": { + "line": 85, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3904, + "end": 3942, + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 3904, + "end": 3911, + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 19 + }, + "identifierName": "service" + }, + "name": "service" + }, + "init": { + "type": "CallExpression", + "start": 3914, + "end": 3942, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 3914, + "end": 3924, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 32 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3925, + "end": 3941, + "loc": { + "start": { + "line": 85, + "column": 33 + }, + "end": { + "line": 85, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 3925, + "end": 3932, + "loc": { + "start": { + "line": 85, + "column": 33 + }, + "end": { + "line": 85, + "column": 40 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 3933, + "end": 3941, + "loc": { + "start": { + "line": 85, + "column": 41 + }, + "end": { + "line": 85, + "column": 49 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3950, + "end": 4004, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3956, + "end": 4003, + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 59 + } + }, + "id": { + "type": "Identifier", + "start": 3956, + "end": 3963, + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 19 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "init": { + "type": "CallExpression", + "start": 3966, + "end": 4003, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3966, + "end": 3994, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 3966, + "end": 3990, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 3966, + "end": 3970, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 3971, + "end": 3990, + "loc": { + "start": { + "line": 86, + "column": 27 + }, + "end": { + "line": 86, + "column": 46 + }, + "identifierName": "_registeredServices" + }, + "name": "_registeredServices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3991, + "end": 3994, + "loc": { + "start": { + "line": 86, + "column": 47 + }, + "end": { + "line": 86, + "column": 50 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3995, + "end": 4002, + "loc": { + "start": { + "line": 86, + "column": 51 + }, + "end": { + "line": 86, + "column": 58 + }, + "identifierName": "service" + }, + "name": "service" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 4012, + "end": 4117, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 90, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4016, + "end": 4031, + "loc": { + "start": { + "line": 88, + "column": 10 + }, + "end": { + "line": 88, + "column": 25 + } + }, + "left": { + "type": "Identifier", + "start": 4016, + "end": 4023, + "loc": { + "start": { + "line": 88, + "column": 10 + }, + "end": { + "line": 88, + "column": 17 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 4027, + "end": 4031, + "loc": { + "start": { + "line": 88, + "column": 21 + }, + "end": { + "line": 88, + "column": 25 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4033, + "end": 4117, + "loc": { + "start": { + "line": 88, + "column": 27 + }, + "end": { + "line": 90, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4043, + "end": 4109, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 4050, + "end": 4108, + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 89, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4050, + "end": 4062, + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 89, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 4050, + "end": 4056, + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 89, + "column": 21 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "property": { + "type": "Identifier", + "start": 4057, + "end": 4062, + "loc": { + "start": { + "line": 89, + "column": 22 + }, + "end": { + "line": 89, + "column": 27 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 4063, + "end": 4107, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 72 + } + }, + "callee": { + "type": "Identifier", + "start": 4067, + "end": 4072, + "loc": { + "start": { + "line": 89, + "column": 32 + }, + "end": { + "line": 89, + "column": 37 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 4073, + "end": 4106, + "loc": { + "start": { + "line": 89, + "column": 38 + }, + "end": { + "line": 89, + "column": 71 + } + }, + "left": { + "type": "StringLiteral", + "start": 4073, + "end": 4096, + "loc": { + "start": { + "line": 89, + "column": 38 + }, + "end": { + "line": 89, + "column": 61 + } + }, + "extra": { + "rawValue": "can not find service ", + "raw": "'can not find service '" + }, + "value": "can not find service " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4099, + "end": 4106, + "loc": { + "start": { + "line": 89, + "column": 64 + }, + "end": { + "line": 89, + "column": 71 + }, + "identifierName": "service" + }, + "name": "service" + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 4125, + "end": 4165, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 46 + } + }, + "argument": { + "type": "CallExpression", + "start": 4132, + "end": 4164, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4132, + "end": 4155, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 4132, + "end": 4139, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 20 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "property": { + "type": "Identifier", + "start": 4140, + "end": 4155, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 36 + }, + "identifierName": "requestResponse" + }, + "name": "requestResponse" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4156, + "end": 4163, + "loc": { + "start": { + "line": 92, + "column": 37 + }, + "end": { + "line": 92, + "column": 44 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ] + } + } + ], + "directives": [] + }, + "handler": { + "type": "CatchClause", + "start": 4172, + "end": 4227, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 95, + "column": 5 + } + }, + "param": { + "type": "Identifier", + "start": 4179, + "end": 4184, + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 18 + }, + "identifierName": "error" + }, + "name": "error" + }, + "body": { + "type": "BlockStatement", + "start": 4186, + "end": 4227, + "loc": { + "start": { + "line": 93, + "column": 20 + }, + "end": { + "line": 95, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4194, + "end": 4221, + "loc": { + "start": { + "line": 94, + "column": 6 + }, + "end": { + "line": 94, + "column": 33 + } + }, + "argument": { + "type": "CallExpression", + "start": 4201, + "end": 4220, + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4201, + "end": 4213, + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 4201, + "end": 4207, + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 19 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "property": { + "type": "Identifier", + "start": 4208, + "end": 4213, + "loc": { + "start": { + "line": 94, + "column": 20 + }, + "end": { + "line": 94, + "column": 25 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4214, + "end": 4219, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 94, + "column": 31 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ], + "directives": [] + } + }, + "guardedHandlers": [], + "finalizer": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload - the request payload\n * @returns {Single>} a {@link Single} that emits the\n * response payload, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 3368, + "end": 3744, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 78, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload the request payload\n * @returns {Flowable} a Flowable that emits the response\n * payloads, or that signals an error if there is no registered service\n * associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 4235, + "end": 4597, + "loc": { + "start": { + "line": 98, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4600, + "end": 5086, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 123, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4600, + "end": 4613, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 15 + }, + "identifierName": "requestStream" + }, + "name": "requestStream", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4614, + "end": 4621, + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 23 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ], + "body": { + "type": "BlockStatement", + "start": 4623, + "end": 5086, + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 123, + "column": 3 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 4629, + "end": 5082, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 122, + "column": 5 + } + }, + "block": { + "type": "BlockStatement", + "start": 4633, + "end": 5024, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 120, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 4641, + "end": 4743, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 110, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4645, + "end": 4669, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 4645, + "end": 4661, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 4645, + "end": 4652, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 17 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 4653, + "end": 4661, + "loc": { + "start": { + "line": 108, + "column": 18 + }, + "end": { + "line": 108, + "column": 26 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 4665, + "end": 4669, + "loc": { + "start": { + "line": 108, + "column": 30 + }, + "end": { + "line": 108, + "column": 34 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4671, + "end": 4743, + "loc": { + "start": { + "line": 108, + "column": 36 + }, + "end": { + "line": 110, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4681, + "end": 4735, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 62 + } + }, + "argument": { + "type": "CallExpression", + "start": 4688, + "end": 4734, + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4688, + "end": 4702, + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 4688, + "end": 4696, + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 23 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "property": { + "type": "Identifier", + "start": 4697, + "end": 4702, + "loc": { + "start": { + "line": 109, + "column": 24 + }, + "end": { + "line": 109, + "column": 29 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 4703, + "end": 4733, + "loc": { + "start": { + "line": 109, + "column": 30 + }, + "end": { + "line": 109, + "column": 60 + } + }, + "callee": { + "type": "Identifier", + "start": 4707, + "end": 4712, + "loc": { + "start": { + "line": 109, + "column": 34 + }, + "end": { + "line": 109, + "column": 39 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4713, + "end": 4732, + "loc": { + "start": { + "line": 109, + "column": 40 + }, + "end": { + "line": 109, + "column": 59 + } + }, + "extra": { + "rawValue": "metadata is empty", + "raw": "'metadata is empty'" + }, + "value": "metadata is empty" + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 4751, + "end": 4796, + "loc": { + "start": { + "line": 112, + "column": 6 + }, + "end": { + "line": 112, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4757, + "end": 4795, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 4757, + "end": 4764, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 19 + }, + "identifierName": "service" + }, + "name": "service" + }, + "init": { + "type": "CallExpression", + "start": 4767, + "end": 4795, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 4767, + "end": 4777, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 32 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 4778, + "end": 4794, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 4778, + "end": 4785, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 40 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 4786, + "end": 4794, + "loc": { + "start": { + "line": 112, + "column": 41 + }, + "end": { + "line": 112, + "column": 49 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4803, + "end": 4857, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4809, + "end": 4856, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 59 + } + }, + "id": { + "type": "Identifier", + "start": 4809, + "end": 4816, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 19 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "init": { + "type": "CallExpression", + "start": 4819, + "end": 4856, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4819, + "end": 4847, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 4819, + "end": 4843, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 4819, + "end": 4823, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 4824, + "end": 4843, + "loc": { + "start": { + "line": 113, + "column": 27 + }, + "end": { + "line": 113, + "column": 46 + }, + "identifierName": "_registeredServices" + }, + "name": "_registeredServices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4844, + "end": 4847, + "loc": { + "start": { + "line": 113, + "column": 47 + }, + "end": { + "line": 113, + "column": 50 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4848, + "end": 4855, + "loc": { + "start": { + "line": 113, + "column": 51 + }, + "end": { + "line": 113, + "column": 58 + }, + "identifierName": "service" + }, + "name": "service" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 4865, + "end": 4972, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 117, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4869, + "end": 4884, + "loc": { + "start": { + "line": 115, + "column": 10 + }, + "end": { + "line": 115, + "column": 25 + } + }, + "left": { + "type": "Identifier", + "start": 4869, + "end": 4876, + "loc": { + "start": { + "line": 115, + "column": 10 + }, + "end": { + "line": 115, + "column": 17 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 4880, + "end": 4884, + "loc": { + "start": { + "line": 115, + "column": 21 + }, + "end": { + "line": 115, + "column": 25 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4886, + "end": 4972, + "loc": { + "start": { + "line": 115, + "column": 27 + }, + "end": { + "line": 117, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4896, + "end": 4964, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 76 + } + }, + "argument": { + "type": "CallExpression", + "start": 4903, + "end": 4963, + "loc": { + "start": { + "line": 116, + "column": 15 + }, + "end": { + "line": 116, + "column": 75 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4903, + "end": 4917, + "loc": { + "start": { + "line": 116, + "column": 15 + }, + "end": { + "line": 116, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 4903, + "end": 4911, + "loc": { + "start": { + "line": 116, + "column": 15 + }, + "end": { + "line": 116, + "column": 23 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "property": { + "type": "Identifier", + "start": 4912, + "end": 4917, + "loc": { + "start": { + "line": 116, + "column": 24 + }, + "end": { + "line": 116, + "column": 29 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 4918, + "end": 4962, + "loc": { + "start": { + "line": 116, + "column": 30 + }, + "end": { + "line": 116, + "column": 74 + } + }, + "callee": { + "type": "Identifier", + "start": 4922, + "end": 4927, + "loc": { + "start": { + "line": 116, + "column": 34 + }, + "end": { + "line": 116, + "column": 39 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 4928, + "end": 4961, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 73 + } + }, + "left": { + "type": "StringLiteral", + "start": 4928, + "end": 4951, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 63 + } + }, + "extra": { + "rawValue": "can not find service ", + "raw": "'can not find service '" + }, + "value": "can not find service " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4954, + "end": 4961, + "loc": { + "start": { + "line": 116, + "column": 66 + }, + "end": { + "line": 116, + "column": 73 + }, + "identifierName": "service" + }, + "name": "service" + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 4980, + "end": 5018, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 44 + } + }, + "argument": { + "type": "CallExpression", + "start": 4987, + "end": 5017, + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4987, + "end": 5008, + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 4987, + "end": 4994, + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 20 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "property": { + "type": "Identifier", + "start": 4995, + "end": 5008, + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 119, + "column": 34 + }, + "identifierName": "requestStream" + }, + "name": "requestStream" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5009, + "end": 5016, + "loc": { + "start": { + "line": 119, + "column": 35 + }, + "end": { + "line": 119, + "column": 42 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ] + } + } + ], + "directives": [] + }, + "handler": { + "type": "CatchClause", + "start": 5025, + "end": 5082, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 122, + "column": 5 + } + }, + "param": { + "type": "Identifier", + "start": 5032, + "end": 5037, + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 18 + }, + "identifierName": "error" + }, + "name": "error" + }, + "body": { + "type": "BlockStatement", + "start": 5039, + "end": 5082, + "loc": { + "start": { + "line": 120, + "column": 20 + }, + "end": { + "line": 122, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5047, + "end": 5076, + "loc": { + "start": { + "line": 121, + "column": 6 + }, + "end": { + "line": 121, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 5054, + "end": 5075, + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5054, + "end": 5068, + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 5054, + "end": 5062, + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 21 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "property": { + "type": "Identifier", + "start": 5063, + "end": 5068, + "loc": { + "start": { + "line": 121, + "column": 22 + }, + "end": { + "line": 121, + "column": 27 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5069, + "end": 5074, + "loc": { + "start": { + "line": 121, + "column": 28 + }, + "end": { + "line": 121, + "column": 33 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ], + "directives": [] + } + }, + "guardedHandlers": [], + "finalizer": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload the request payload\n * @returns {Flowable} a Flowable that emits the response\n * payloads, or that signals an error if there is no registered service\n * associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 4235, + "end": 4597, + "loc": { + "start": { + "line": 98, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Flowable>} payloads - the request payloads\n * @returns {Flowable>} a {@link Flowable} that emits\n * the response payloads, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 5090, + "end": 5483, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 132, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5486, + "end": 6133, + "loc": { + "start": { + "line": 133, + "column": 2 + }, + "end": { + "line": 147, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5486, + "end": 5500, + "loc": { + "start": { + "line": 133, + "column": 2 + }, + "end": { + "line": 133, + "column": 16 + }, + "identifierName": "requestChannel" + }, + "name": "requestChannel", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5501, + "end": 5509, + "loc": { + "start": { + "line": 133, + "column": 17 + }, + "end": { + "line": 133, + "column": 25 + }, + "identifierName": "payloads" + }, + "name": "payloads" + } + ], + "body": { + "type": "BlockStatement", + "start": 5511, + "end": 6133, + "loc": { + "start": { + "line": 133, + "column": 27 + }, + "end": { + "line": 147, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5517, + "end": 6129, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 146, + "column": 8 + } + }, + "argument": { + "type": "CallExpression", + "start": 5524, + "end": 6128, + "loc": { + "start": { + "line": 134, + "column": 11 + }, + "end": { + "line": 146, + "column": 7 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5524, + "end": 5569, + "loc": { + "start": { + "line": 134, + "column": 11 + }, + "end": { + "line": 134, + "column": 56 + } + }, + "object": { + "type": "NewExpression", + "start": 5524, + "end": 5564, + "loc": { + "start": { + "line": 134, + "column": 11 + }, + "end": { + "line": 134, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 5528, + "end": 5536, + "loc": { + "start": { + "line": 134, + "column": 15 + }, + "end": { + "line": 134, + "column": 23 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 5537, + "end": 5563, + "loc": { + "start": { + "line": 134, + "column": 24 + }, + "end": { + "line": 134, + "column": 50 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5537, + "end": 5538, + "loc": { + "start": { + "line": 134, + "column": 24 + }, + "end": { + "line": 134, + "column": 25 + }, + "identifierName": "s" + }, + "name": "s" + } + ], + "body": { + "type": "CallExpression", + "start": 5542, + "end": 5563, + "loc": { + "start": { + "line": 134, + "column": 29 + }, + "end": { + "line": 134, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5542, + "end": 5560, + "loc": { + "start": { + "line": 134, + "column": 29 + }, + "end": { + "line": 134, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 5542, + "end": 5550, + "loc": { + "start": { + "line": 134, + "column": 29 + }, + "end": { + "line": 134, + "column": 37 + }, + "identifierName": "payloads" + }, + "name": "payloads" + }, + "property": { + "type": "Identifier", + "start": 5551, + "end": 5560, + "loc": { + "start": { + "line": 134, + "column": 38 + }, + "end": { + "line": 134, + "column": 47 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5561, + "end": 5562, + "loc": { + "start": { + "line": 134, + "column": 48 + }, + "end": { + "line": 134, + "column": 49 + }, + "identifierName": "s" + }, + "name": "s" + } + ] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 5565, + "end": 5569, + "loc": { + "start": { + "line": 134, + "column": 52 + }, + "end": { + "line": 134, + "column": 56 + }, + "identifierName": "lift" + }, + "name": "lift" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 5570, + "end": 6127, + "loc": { + "start": { + "line": 134, + "column": 57 + }, + "end": { + "line": 146, + "column": 6 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5570, + "end": 5571, + "loc": { + "start": { + "line": 134, + "column": 57 + }, + "end": { + "line": 134, + "column": 58 + }, + "identifierName": "s" + }, + "name": "s" + } + ], + "body": { + "type": "NewExpression", + "start": 5575, + "end": 6127, + "loc": { + "start": { + "line": 134, + "column": 62 + }, + "end": { + "line": 146, + "column": 6 + } + }, + "callee": { + "type": "Identifier", + "start": 5579, + "end": 5602, + "loc": { + "start": { + "line": 134, + "column": 66 + }, + "end": { + "line": 134, + "column": 89 + }, + "identifierName": "SwitchTransformOperator" + }, + "name": "SwitchTransformOperator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 5603, + "end": 5604, + "loc": { + "start": { + "line": 134, + "column": 90 + }, + "end": { + "line": 134, + "column": 91 + }, + "identifierName": "s" + }, + "name": "s" + }, + { + "type": "ArrowFunctionExpression", + "start": 5606, + "end": 6126, + "loc": { + "start": { + "line": 134, + "column": 93 + }, + "end": { + "line": 146, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5607, + "end": 5614, + "loc": { + "start": { + "line": 134, + "column": 94 + }, + "end": { + "line": 134, + "column": 101 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + { + "type": "Identifier", + "start": 5616, + "end": 5624, + "loc": { + "start": { + "line": 134, + "column": 103 + }, + "end": { + "line": 134, + "column": 111 + }, + "identifierName": "flowable" + }, + "name": "flowable" + } + ], + "body": { + "type": "BlockStatement", + "start": 5629, + "end": 6126, + "loc": { + "start": { + "line": 134, + "column": 116 + }, + "end": { + "line": 146, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 5637, + "end": 6120, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 145, + "column": 7 + } + }, + "test": { + "type": "LogicalExpression", + "start": 5641, + "end": 5700, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 135, + "column": 69 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5641, + "end": 5671, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 135, + "column": 40 + } + }, + "left": { + "type": "MemberExpression", + "start": 5641, + "end": 5657, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 135, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 5641, + "end": 5648, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 135, + "column": 17 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 5649, + "end": 5657, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 26 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 5662, + "end": 5671, + "loc": { + "start": { + "line": 135, + "column": 31 + }, + "end": { + "line": 135, + "column": 40 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 5675, + "end": 5700, + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 135, + "column": 69 + } + }, + "left": { + "type": "MemberExpression", + "start": 5675, + "end": 5691, + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 135, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 5675, + "end": 5682, + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 135, + "column": 51 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 5683, + "end": 5691, + "loc": { + "start": { + "line": 135, + "column": 52 + }, + "end": { + "line": 135, + "column": 60 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 5696, + "end": 5700, + "loc": { + "start": { + "line": 135, + "column": 65 + }, + "end": { + "line": 135, + "column": 69 + } + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 5702, + "end": 5774, + "loc": { + "start": { + "line": 135, + "column": 71 + }, + "end": { + "line": 137, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5712, + "end": 5766, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 62 + } + }, + "argument": { + "type": "CallExpression", + "start": 5719, + "end": 5765, + "loc": { + "start": { + "line": 136, + "column": 15 + }, + "end": { + "line": 136, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5719, + "end": 5733, + "loc": { + "start": { + "line": 136, + "column": 15 + }, + "end": { + "line": 136, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 5719, + "end": 5727, + "loc": { + "start": { + "line": 136, + "column": 15 + }, + "end": { + "line": 136, + "column": 23 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "property": { + "type": "Identifier", + "start": 5728, + "end": 5733, + "loc": { + "start": { + "line": 136, + "column": 24 + }, + "end": { + "line": 136, + "column": 29 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 5734, + "end": 5764, + "loc": { + "start": { + "line": 136, + "column": 30 + }, + "end": { + "line": 136, + "column": 60 + } + }, + "callee": { + "type": "Identifier", + "start": 5738, + "end": 5743, + "loc": { + "start": { + "line": 136, + "column": 34 + }, + "end": { + "line": 136, + "column": 39 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5744, + "end": 5763, + "loc": { + "start": { + "line": 136, + "column": 40 + }, + "end": { + "line": 136, + "column": 59 + } + }, + "extra": { + "rawValue": "metadata is empty", + "raw": "'metadata is empty'" + }, + "value": "metadata is empty" + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 5780, + "end": 6120, + "loc": { + "start": { + "line": 137, + "column": 13 + }, + "end": { + "line": 145, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 5790, + "end": 5835, + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5796, + "end": 5834, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 138, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 5796, + "end": 5803, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 138, + "column": 21 + }, + "identifierName": "service" + }, + "name": "service" + }, + "init": { + "type": "CallExpression", + "start": 5806, + "end": 5834, + "loc": { + "start": { + "line": 138, + "column": 24 + }, + "end": { + "line": 138, + "column": 52 + } + }, + "callee": { + "type": "Identifier", + "start": 5806, + "end": 5816, + "loc": { + "start": { + "line": 138, + "column": 24 + }, + "end": { + "line": 138, + "column": 34 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 5817, + "end": 5833, + "loc": { + "start": { + "line": 138, + "column": 35 + }, + "end": { + "line": 138, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 5817, + "end": 5824, + "loc": { + "start": { + "line": 138, + "column": 35 + }, + "end": { + "line": 138, + "column": 42 + }, + "identifierName": "payload" + }, + "name": "payload" + }, + "property": { + "type": "Identifier", + "start": 5825, + "end": 5833, + "loc": { + "start": { + "line": 138, + "column": 43 + }, + "end": { + "line": 138, + "column": 51 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 5844, + "end": 5898, + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 62 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5850, + "end": 5897, + "loc": { + "start": { + "line": 139, + "column": 14 + }, + "end": { + "line": 139, + "column": 61 + } + }, + "id": { + "type": "Identifier", + "start": 5850, + "end": 5857, + "loc": { + "start": { + "line": 139, + "column": 14 + }, + "end": { + "line": 139, + "column": 21 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "init": { + "type": "CallExpression", + "start": 5860, + "end": 5897, + "loc": { + "start": { + "line": 139, + "column": 24 + }, + "end": { + "line": 139, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5860, + "end": 5888, + "loc": { + "start": { + "line": 139, + "column": 24 + }, + "end": { + "line": 139, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 5860, + "end": 5884, + "loc": { + "start": { + "line": 139, + "column": 24 + }, + "end": { + "line": 139, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 5860, + "end": 5864, + "loc": { + "start": { + "line": 139, + "column": 24 + }, + "end": { + "line": 139, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 5865, + "end": 5884, + "loc": { + "start": { + "line": 139, + "column": 29 + }, + "end": { + "line": 139, + "column": 48 + }, + "identifierName": "_registeredServices" + }, + "name": "_registeredServices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5885, + "end": 5888, + "loc": { + "start": { + "line": 139, + "column": 49 + }, + "end": { + "line": 139, + "column": 52 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5889, + "end": 5896, + "loc": { + "start": { + "line": 139, + "column": 53 + }, + "end": { + "line": 139, + "column": 60 + }, + "identifierName": "service" + }, + "name": "service" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 5907, + "end": 6112, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 144, + "column": 9 + } + }, + "test": { + "type": "LogicalExpression", + "start": 5911, + "end": 5952, + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 53 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5911, + "end": 5932, + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 33 + } + }, + "left": { + "type": "Identifier", + "start": 5911, + "end": 5918, + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 19 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 5923, + "end": 5932, + "loc": { + "start": { + "line": 140, + "column": 24 + }, + "end": { + "line": 140, + "column": 33 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 5936, + "end": 5952, + "loc": { + "start": { + "line": 140, + "column": 37 + }, + "end": { + "line": 140, + "column": 53 + } + }, + "left": { + "type": "Identifier", + "start": 5936, + "end": 5943, + "loc": { + "start": { + "line": 140, + "column": 37 + }, + "end": { + "line": 140, + "column": 44 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 5948, + "end": 5952, + "loc": { + "start": { + "line": 140, + "column": 49 + }, + "end": { + "line": 140, + "column": 53 + } + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 5954, + "end": 6044, + "loc": { + "start": { + "line": 140, + "column": 55 + }, + "end": { + "line": 142, + "column": 9 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5966, + "end": 6034, + "loc": { + "start": { + "line": 141, + "column": 10 + }, + "end": { + "line": 141, + "column": 78 + } + }, + "argument": { + "type": "CallExpression", + "start": 5973, + "end": 6033, + "loc": { + "start": { + "line": 141, + "column": 17 + }, + "end": { + "line": 141, + "column": 77 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5973, + "end": 5987, + "loc": { + "start": { + "line": 141, + "column": 17 + }, + "end": { + "line": 141, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 5973, + "end": 5981, + "loc": { + "start": { + "line": 141, + "column": 17 + }, + "end": { + "line": 141, + "column": 25 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "property": { + "type": "Identifier", + "start": 5982, + "end": 5987, + "loc": { + "start": { + "line": 141, + "column": 26 + }, + "end": { + "line": 141, + "column": 31 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 5988, + "end": 6032, + "loc": { + "start": { + "line": 141, + "column": 32 + }, + "end": { + "line": 141, + "column": 76 + } + }, + "callee": { + "type": "Identifier", + "start": 5992, + "end": 5997, + "loc": { + "start": { + "line": 141, + "column": 36 + }, + "end": { + "line": 141, + "column": 41 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 5998, + "end": 6031, + "loc": { + "start": { + "line": 141, + "column": 42 + }, + "end": { + "line": 141, + "column": 75 + } + }, + "left": { + "type": "StringLiteral", + "start": 5998, + "end": 6021, + "loc": { + "start": { + "line": 141, + "column": 42 + }, + "end": { + "line": 141, + "column": 65 + } + }, + "extra": { + "rawValue": "can not find service ", + "raw": "'can not find service '" + }, + "value": "can not find service " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 6024, + "end": 6031, + "loc": { + "start": { + "line": 141, + "column": 68 + }, + "end": { + "line": 141, + "column": 75 + }, + "identifierName": "service" + }, + "name": "service" + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 6050, + "end": 6112, + "loc": { + "start": { + "line": 142, + "column": 15 + }, + "end": { + "line": 144, + "column": 9 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6062, + "end": 6102, + "loc": { + "start": { + "line": 143, + "column": 10 + }, + "end": { + "line": 143, + "column": 50 + } + }, + "argument": { + "type": "CallExpression", + "start": 6069, + "end": 6101, + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6069, + "end": 6091, + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 6069, + "end": 6076, + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 24 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "property": { + "type": "Identifier", + "start": 6077, + "end": 6091, + "loc": { + "start": { + "line": 143, + "column": 25 + }, + "end": { + "line": 143, + "column": 39 + }, + "identifierName": "requestChannel" + }, + "name": "requestChannel" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 6092, + "end": 6100, + "loc": { + "start": { + "line": 143, + "column": 40 + }, + "end": { + "line": 143, + "column": 48 + }, + "identifierName": "flowable" + }, + "name": "flowable" + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Flowable>} payloads - the request payloads\n * @returns {Flowable>} a {@link Flowable} that emits\n * the response payloads, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 5090, + "end": 5483, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 132, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @abstract\n * @param {Payload} payload -\n * @returns {Single} a Single that signals an error and terminates\n ", + "start": 6137, + "end": 6284, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 153, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 6287, + "end": 6387, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 156, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6287, + "end": 6299, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 154, + "column": 14 + }, + "identifierName": "metadataPush" + }, + "name": "metadataPush", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6300, + "end": 6307, + "loc": { + "start": { + "line": 154, + "column": 15 + }, + "end": { + "line": 154, + "column": 22 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ], + "body": { + "type": "BlockStatement", + "start": 6309, + "end": 6387, + "loc": { + "start": { + "line": 154, + "column": 24 + }, + "end": { + "line": 156, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6315, + "end": 6383, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 72 + } + }, + "argument": { + "type": "CallExpression", + "start": 6322, + "end": 6382, + "loc": { + "start": { + "line": 155, + "column": 11 + }, + "end": { + "line": 155, + "column": 71 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6322, + "end": 6334, + "loc": { + "start": { + "line": 155, + "column": 11 + }, + "end": { + "line": 155, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 6322, + "end": 6328, + "loc": { + "start": { + "line": 155, + "column": 11 + }, + "end": { + "line": 155, + "column": 17 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "property": { + "type": "Identifier", + "start": 6329, + "end": 6334, + "loc": { + "start": { + "line": 155, + "column": 18 + }, + "end": { + "line": 155, + "column": 23 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 6335, + "end": 6381, + "loc": { + "start": { + "line": 155, + "column": 24 + }, + "end": { + "line": 155, + "column": 70 + } + }, + "callee": { + "type": "Identifier", + "start": 6339, + "end": 6344, + "loc": { + "start": { + "line": 155, + "column": 28 + }, + "end": { + "line": 155, + "column": 33 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 6345, + "end": 6380, + "loc": { + "start": { + "line": 155, + "column": 34 + }, + "end": { + "line": 155, + "column": 69 + } + }, + "extra": { + "rawValue": "metadataPush() is not implemented", + "raw": "'metadataPush() is not implemented'" + }, + "value": "metadataPush() is not implemented" + } + ] + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @abstract\n * @param {Payload} payload -\n * @returns {Single} a Single that signals an error and terminates\n ", + "start": 6137, + "end": 6284, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 153, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2426, + "end": 2433, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2426, + "end": 2433, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name RequestHandlingRSocket.js\n * @fileoverview Defines the {@link RequestHandlingRSocket} class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-rps-frames\n * @requires SwitchTransformOperator\n * @exports RequestHandlingRSocket\n ", + "start": 55, + "end": 2309, + "loc": { + "start": { + "line": 3, + "column": 53 + }, + "end": { + "line": 28, + "column": 56 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2426, + "end": 2433, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {string} service -\n * @param {Responder} handler -\n ", + "start": 2548, + "end": 2642, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload the - request payload\n * @throws {Error} if there is no registered service associated with the service type reflected in the request payload metadata\n * @throws {Error} if the request payload metadata is null\n ", + "start": 2735, + "end": 3008, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload - the request payload\n * @returns {Single>} a {@link Single} that emits the\n * response payload, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 3368, + "end": 3744, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 78, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload the request payload\n * @returns {Flowable} a Flowable that emits the response\n * payloads, or that signals an error if there is no registered service\n * associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 4235, + "end": 4597, + "loc": { + "start": { + "line": 98, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Flowable>} payloads - the request payloads\n * @returns {Flowable>} a {@link Flowable} that emits\n * the response payloads, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 5090, + "end": 5483, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 132, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @abstract\n * @param {Payload} payload -\n * @returns {Single} a Single that signals an error and terminates\n ", + "start": 6137, + "end": 6284, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 153, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 2, + "end": 8, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9, + "end": 10, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 11, + "end": 19, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19, + "end": 20, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 28, + "end": 29, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 30, + "end": 34, + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-flowable", + "start": 35, + "end": 53, + "loc": { + "start": { + "line": 3, + "column": 33 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 53, + "end": 54, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 52 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name RequestHandlingRSocket.js\n * @fileoverview Defines the {@link RequestHandlingRSocket} class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-rps-frames\n * @requires SwitchTransformOperator\n * @exports RequestHandlingRSocket\n ", + "start": 55, + "end": 2309, + "loc": { + "start": { + "line": 3, + "column": 53 + }, + "end": { + "line": 28, + "column": 56 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 2311, + "end": 2317, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2318, + "end": 2319, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 2320, + "end": 2330, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2331, + "end": 2332, + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 2333, + "end": 2337, + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-rpc-frames", + "start": 2338, + "end": 2358, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2358, + "end": 2359, + "loc": { + "start": { + "line": 30, + "column": 47 + }, + "end": { + "line": 30, + "column": 48 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 2360, + "end": 2366, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SwitchTransformOperator", + "start": 2367, + "end": 2390, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 2391, + "end": 2395, + "loc": { + "start": { + "line": 31, + "column": 31 + }, + "end": { + "line": 31, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./SwitchTransformOperator", + "start": 2396, + "end": 2423, + "loc": { + "start": { + "line": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2423, + "end": 2424, + "loc": { + "start": { + "line": 31, + "column": 63 + }, + "end": { + "line": 31, + "column": 64 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2426, + "end": 2433, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 2434, + "end": 2440, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 2441, + "end": 2448, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 2449, + "end": 2454, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RequestHandlingRSocket", + "start": 2455, + "end": 2477, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2478, + "end": 2479, + "loc": { + "start": { + "line": 35, + "column": 44 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 2483, + "end": 2494, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2494, + "end": 2495, + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2495, + "end": 2496, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2497, + "end": 2498, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2503, + "end": 2507, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2507, + "end": 2508, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_registeredServices", + "start": 2508, + "end": 2527, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2528, + "end": 2529, + "loc": { + "start": { + "line": 38, + "column": 29 + }, + "end": { + "line": 38, + "column": 30 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2530, + "end": 2533, + "loc": { + "start": { + "line": 38, + "column": 31 + }, + "end": { + "line": 38, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Map", + "start": 2534, + "end": 2537, + "loc": { + "start": { + "line": 38, + "column": 35 + }, + "end": { + "line": 38, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2537, + "end": 2538, + "loc": { + "start": { + "line": 38, + "column": 38 + }, + "end": { + "line": 38, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2538, + "end": 2539, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2539, + "end": 2540, + "loc": { + "start": { + "line": 38, + "column": 40 + }, + "end": { + "line": 38, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2543, + "end": 2544, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {string} service -\n * @param {Responder} handler -\n ", + "start": 2548, + "end": 2642, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addService", + "start": 2645, + "end": 2655, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2655, + "end": 2656, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 2656, + "end": 2663, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2663, + "end": 2664, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 2665, + "end": 2672, + "loc": { + "start": { + "line": 46, + "column": 22 + }, + "end": { + "line": 46, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2672, + "end": 2673, + "loc": { + "start": { + "line": 46, + "column": 29 + }, + "end": { + "line": 46, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2674, + "end": 2675, + "loc": { + "start": { + "line": 46, + "column": 31 + }, + "end": { + "line": 46, + "column": 32 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2680, + "end": 2684, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2684, + "end": 2685, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_registeredServices", + "start": 2685, + "end": 2704, + "loc": { + "start": { + "line": 47, + "column": 9 + }, + "end": { + "line": 47, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2704, + "end": 2705, + "loc": { + "start": { + "line": 47, + "column": 28 + }, + "end": { + "line": 47, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 2705, + "end": 2708, + "loc": { + "start": { + "line": 47, + "column": 29 + }, + "end": { + "line": 47, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2708, + "end": 2709, + "loc": { + "start": { + "line": 47, + "column": 32 + }, + "end": { + "line": 47, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 2709, + "end": 2716, + "loc": { + "start": { + "line": 47, + "column": 33 + }, + "end": { + "line": 47, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2716, + "end": 2717, + "loc": { + "start": { + "line": 47, + "column": 40 + }, + "end": { + "line": 47, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 2718, + "end": 2725, + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 47, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2725, + "end": 2726, + "loc": { + "start": { + "line": 47, + "column": 49 + }, + "end": { + "line": 47, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2726, + "end": 2727, + "loc": { + "start": { + "line": 47, + "column": 50 + }, + "end": { + "line": 47, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2730, + "end": 2731, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload the - request payload\n * @throws {Error} if there is no registered service associated with the service type reflected in the request payload metadata\n * @throws {Error} if the request payload metadata is null\n ", + "start": 2735, + "end": 3008, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fireAndForget", + "start": 3011, + "end": 3024, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3024, + "end": 3025, + "loc": { + "start": { + "line": 56, + "column": 15 + }, + "end": { + "line": 56, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 3025, + "end": 3032, + "loc": { + "start": { + "line": 56, + "column": 16 + }, + "end": { + "line": 56, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3032, + "end": 3033, + "loc": { + "start": { + "line": 56, + "column": 23 + }, + "end": { + "line": 56, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3034, + "end": 3035, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 26 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3040, + "end": 3042, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3043, + "end": 3044, + "loc": { + "start": { + "line": 57, + "column": 7 + }, + "end": { + "line": 57, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 3044, + "end": 3051, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3051, + "end": 3052, + "loc": { + "start": { + "line": 57, + "column": 15 + }, + "end": { + "line": 57, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 3052, + "end": 3060, + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 24 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 3061, + "end": 3063, + "loc": { + "start": { + "line": 57, + "column": 25 + }, + "end": { + "line": 57, + "column": 27 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 3064, + "end": 3068, + "loc": { + "start": { + "line": 57, + "column": 28 + }, + "end": { + "line": 57, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3068, + "end": 3069, + "loc": { + "start": { + "line": 57, + "column": 32 + }, + "end": { + "line": 57, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3070, + "end": 3071, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 35 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 3078, + "end": 3083, + "loc": { + "start": { + "line": 58, + "column": 6 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3084, + "end": 3087, + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 3088, + "end": 3093, + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3093, + "end": 3094, + "loc": { + "start": { + "line": 58, + "column": 21 + }, + "end": { + "line": 58, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "metadata is empty", + "start": 3094, + "end": 3113, + "loc": { + "start": { + "line": 58, + "column": 22 + }, + "end": { + "line": 58, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3113, + "end": 3114, + "loc": { + "start": { + "line": 58, + "column": 41 + }, + "end": { + "line": 58, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3114, + "end": 3115, + "loc": { + "start": { + "line": 58, + "column": 42 + }, + "end": { + "line": 58, + "column": 43 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3120, + "end": 3121, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 5 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3127, + "end": 3132, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 3133, + "end": 3140, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3141, + "end": 3142, + "loc": { + "start": { + "line": 61, + "column": 18 + }, + "end": { + "line": 61, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 3143, + "end": 3153, + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3153, + "end": 3154, + "loc": { + "start": { + "line": 61, + "column": 30 + }, + "end": { + "line": 61, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 3154, + "end": 3161, + "loc": { + "start": { + "line": 61, + "column": 31 + }, + "end": { + "line": 61, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3161, + "end": 3162, + "loc": { + "start": { + "line": 61, + "column": 38 + }, + "end": { + "line": 61, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 3162, + "end": 3170, + "loc": { + "start": { + "line": 61, + "column": 39 + }, + "end": { + "line": 61, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3170, + "end": 3171, + "loc": { + "start": { + "line": 61, + "column": 47 + }, + "end": { + "line": 61, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3171, + "end": 3172, + "loc": { + "start": { + "line": 61, + "column": 48 + }, + "end": { + "line": 61, + "column": 49 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3177, + "end": 3182, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 3183, + "end": 3190, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3191, + "end": 3192, + "loc": { + "start": { + "line": 62, + "column": 18 + }, + "end": { + "line": 62, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3193, + "end": 3197, + "loc": { + "start": { + "line": 62, + "column": 20 + }, + "end": { + "line": 62, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3197, + "end": 3198, + "loc": { + "start": { + "line": 62, + "column": 24 + }, + "end": { + "line": 62, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_registeredServices", + "start": 3198, + "end": 3217, + "loc": { + "start": { + "line": 62, + "column": 25 + }, + "end": { + "line": 62, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3217, + "end": 3218, + "loc": { + "start": { + "line": 62, + "column": 44 + }, + "end": { + "line": 62, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 3218, + "end": 3221, + "loc": { + "start": { + "line": 62, + "column": 45 + }, + "end": { + "line": 62, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3221, + "end": 3222, + "loc": { + "start": { + "line": 62, + "column": 48 + }, + "end": { + "line": 62, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 3222, + "end": 3229, + "loc": { + "start": { + "line": 62, + "column": 49 + }, + "end": { + "line": 62, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3229, + "end": 3230, + "loc": { + "start": { + "line": 62, + "column": 56 + }, + "end": { + "line": 62, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3230, + "end": 3231, + "loc": { + "start": { + "line": 62, + "column": 57 + }, + "end": { + "line": 62, + "column": 58 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3237, + "end": 3239, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3240, + "end": 3241, + "loc": { + "start": { + "line": 64, + "column": 7 + }, + "end": { + "line": 64, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 3241, + "end": 3248, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 15 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 3249, + "end": 3251, + "loc": { + "start": { + "line": 64, + "column": 16 + }, + "end": { + "line": 64, + "column": 18 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 3252, + "end": 3256, + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3256, + "end": 3257, + "loc": { + "start": { + "line": 64, + "column": 23 + }, + "end": { + "line": 64, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3258, + "end": 3259, + "loc": { + "start": { + "line": 64, + "column": 25 + }, + "end": { + "line": 64, + "column": 26 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 3266, + "end": 3271, + "loc": { + "start": { + "line": 65, + "column": 6 + }, + "end": { + "line": 65, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3272, + "end": 3275, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 3276, + "end": 3281, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3281, + "end": 3282, + "loc": { + "start": { + "line": 65, + "column": 21 + }, + "end": { + "line": 65, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "can not find service ", + "start": 3282, + "end": 3305, + "loc": { + "start": { + "line": 65, + "column": 22 + }, + "end": { + "line": 65, + "column": 45 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3306, + "end": 3307, + "loc": { + "start": { + "line": 65, + "column": 46 + }, + "end": { + "line": 65, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 3308, + "end": 3315, + "loc": { + "start": { + "line": 65, + "column": 48 + }, + "end": { + "line": 65, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3315, + "end": 3316, + "loc": { + "start": { + "line": 65, + "column": 55 + }, + "end": { + "line": 65, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3316, + "end": 3317, + "loc": { + "start": { + "line": 65, + "column": 56 + }, + "end": { + "line": 65, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3322, + "end": 3323, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 3329, + "end": 3336, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3336, + "end": 3337, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fireAndForget", + "start": 3337, + "end": 3350, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3350, + "end": 3351, + "loc": { + "start": { + "line": 68, + "column": 25 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 3351, + "end": 3358, + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3358, + "end": 3359, + "loc": { + "start": { + "line": 68, + "column": 33 + }, + "end": { + "line": 68, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3359, + "end": 3360, + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3363, + "end": 3364, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload - the request payload\n * @returns {Single>} a {@link Single} that emits the\n * response payload, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 3368, + "end": 3744, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 78, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestResponse", + "start": 3747, + "end": 3762, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3762, + "end": 3763, + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 3763, + "end": 3770, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3770, + "end": 3771, + "loc": { + "start": { + "line": 79, + "column": 25 + }, + "end": { + "line": 79, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3772, + "end": 3773, + "loc": { + "start": { + "line": 79, + "column": 27 + }, + "end": { + "line": 79, + "column": 28 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 3778, + "end": 3781, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3782, + "end": 3783, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3790, + "end": 3792, + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3793, + "end": 3794, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 3794, + "end": 3801, + "loc": { + "start": { + "line": 81, + "column": 10 + }, + "end": { + "line": 81, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3801, + "end": 3802, + "loc": { + "start": { + "line": 81, + "column": 17 + }, + "end": { + "line": 81, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 3802, + "end": 3810, + "loc": { + "start": { + "line": 81, + "column": 18 + }, + "end": { + "line": 81, + "column": 26 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 3811, + "end": 3813, + "loc": { + "start": { + "line": 81, + "column": 27 + }, + "end": { + "line": 81, + "column": 29 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 3814, + "end": 3818, + "loc": { + "start": { + "line": 81, + "column": 30 + }, + "end": { + "line": 81, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3818, + "end": 3819, + "loc": { + "start": { + "line": 81, + "column": 34 + }, + "end": { + "line": 81, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3820, + "end": 3821, + "loc": { + "start": { + "line": 81, + "column": 36 + }, + "end": { + "line": 81, + "column": 37 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3830, + "end": 3836, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 3837, + "end": 3843, + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 82, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3843, + "end": 3844, + "loc": { + "start": { + "line": 82, + "column": 21 + }, + "end": { + "line": 82, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 3844, + "end": 3849, + "loc": { + "start": { + "line": 82, + "column": 22 + }, + "end": { + "line": 82, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3849, + "end": 3850, + "loc": { + "start": { + "line": 82, + "column": 27 + }, + "end": { + "line": 82, + "column": 28 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3850, + "end": 3853, + "loc": { + "start": { + "line": 82, + "column": 28 + }, + "end": { + "line": 82, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 3854, + "end": 3859, + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3859, + "end": 3860, + "loc": { + "start": { + "line": 82, + "column": 37 + }, + "end": { + "line": 82, + "column": 38 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "metadata is empty", + "start": 3860, + "end": 3879, + "loc": { + "start": { + "line": 82, + "column": 38 + }, + "end": { + "line": 82, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3879, + "end": 3880, + "loc": { + "start": { + "line": 82, + "column": 57 + }, + "end": { + "line": 82, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3880, + "end": 3881, + "loc": { + "start": { + "line": 82, + "column": 58 + }, + "end": { + "line": 82, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3881, + "end": 3882, + "loc": { + "start": { + "line": 82, + "column": 59 + }, + "end": { + "line": 82, + "column": 60 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3889, + "end": 3890, + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 7 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3898, + "end": 3903, + "loc": { + "start": { + "line": 85, + "column": 6 + }, + "end": { + "line": 85, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 3904, + "end": 3911, + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3912, + "end": 3913, + "loc": { + "start": { + "line": 85, + "column": 20 + }, + "end": { + "line": 85, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 3914, + "end": 3924, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3924, + "end": 3925, + "loc": { + "start": { + "line": 85, + "column": 32 + }, + "end": { + "line": 85, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 3925, + "end": 3932, + "loc": { + "start": { + "line": 85, + "column": 33 + }, + "end": { + "line": 85, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3932, + "end": 3933, + "loc": { + "start": { + "line": 85, + "column": 40 + }, + "end": { + "line": 85, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 3933, + "end": 3941, + "loc": { + "start": { + "line": 85, + "column": 41 + }, + "end": { + "line": 85, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3941, + "end": 3942, + "loc": { + "start": { + "line": 85, + "column": 49 + }, + "end": { + "line": 85, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3942, + "end": 3943, + "loc": { + "start": { + "line": 85, + "column": 50 + }, + "end": { + "line": 85, + "column": 51 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3950, + "end": 3955, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 3956, + "end": 3963, + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3964, + "end": 3965, + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3966, + "end": 3970, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3970, + "end": 3971, + "loc": { + "start": { + "line": 86, + "column": 26 + }, + "end": { + "line": 86, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_registeredServices", + "start": 3971, + "end": 3990, + "loc": { + "start": { + "line": 86, + "column": 27 + }, + "end": { + "line": 86, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3990, + "end": 3991, + "loc": { + "start": { + "line": 86, + "column": 46 + }, + "end": { + "line": 86, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 3991, + "end": 3994, + "loc": { + "start": { + "line": 86, + "column": 47 + }, + "end": { + "line": 86, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3994, + "end": 3995, + "loc": { + "start": { + "line": 86, + "column": 50 + }, + "end": { + "line": 86, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 3995, + "end": 4002, + "loc": { + "start": { + "line": 86, + "column": 51 + }, + "end": { + "line": 86, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4002, + "end": 4003, + "loc": { + "start": { + "line": 86, + "column": 58 + }, + "end": { + "line": 86, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4003, + "end": 4004, + "loc": { + "start": { + "line": 86, + "column": 59 + }, + "end": { + "line": 86, + "column": 60 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4012, + "end": 4014, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4015, + "end": 4016, + "loc": { + "start": { + "line": 88, + "column": 9 + }, + "end": { + "line": 88, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 4016, + "end": 4023, + "loc": { + "start": { + "line": 88, + "column": 10 + }, + "end": { + "line": 88, + "column": 17 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 4024, + "end": 4026, + "loc": { + "start": { + "line": 88, + "column": 18 + }, + "end": { + "line": 88, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 4027, + "end": 4031, + "loc": { + "start": { + "line": 88, + "column": 21 + }, + "end": { + "line": 88, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4031, + "end": 4032, + "loc": { + "start": { + "line": 88, + "column": 25 + }, + "end": { + "line": 88, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4033, + "end": 4034, + "loc": { + "start": { + "line": 88, + "column": 27 + }, + "end": { + "line": 88, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4043, + "end": 4049, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 4050, + "end": 4056, + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 89, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4056, + "end": 4057, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 89, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4057, + "end": 4062, + "loc": { + "start": { + "line": 89, + "column": 22 + }, + "end": { + "line": 89, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4062, + "end": 4063, + "loc": { + "start": { + "line": 89, + "column": 27 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4063, + "end": 4066, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 4067, + "end": 4072, + "loc": { + "start": { + "line": 89, + "column": 32 + }, + "end": { + "line": 89, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4072, + "end": 4073, + "loc": { + "start": { + "line": 89, + "column": 37 + }, + "end": { + "line": 89, + "column": 38 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "can not find service ", + "start": 4073, + "end": 4096, + "loc": { + "start": { + "line": 89, + "column": 38 + }, + "end": { + "line": 89, + "column": 61 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4097, + "end": 4098, + "loc": { + "start": { + "line": 89, + "column": 62 + }, + "end": { + "line": 89, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 4099, + "end": 4106, + "loc": { + "start": { + "line": 89, + "column": 64 + }, + "end": { + "line": 89, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4106, + "end": 4107, + "loc": { + "start": { + "line": 89, + "column": 71 + }, + "end": { + "line": 89, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4107, + "end": 4108, + "loc": { + "start": { + "line": 89, + "column": 72 + }, + "end": { + "line": 89, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4108, + "end": 4109, + "loc": { + "start": { + "line": 89, + "column": 73 + }, + "end": { + "line": 89, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4116, + "end": 4117, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4125, + "end": 4131, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 4132, + "end": 4139, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4139, + "end": 4140, + "loc": { + "start": { + "line": 92, + "column": 20 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestResponse", + "start": 4140, + "end": 4155, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4155, + "end": 4156, + "loc": { + "start": { + "line": 92, + "column": 36 + }, + "end": { + "line": 92, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 4156, + "end": 4163, + "loc": { + "start": { + "line": 92, + "column": 37 + }, + "end": { + "line": 92, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4163, + "end": 4164, + "loc": { + "start": { + "line": 92, + "column": 44 + }, + "end": { + "line": 92, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4164, + "end": 4165, + "loc": { + "start": { + "line": 92, + "column": 45 + }, + "end": { + "line": 92, + "column": 46 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4170, + "end": 4171, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 5 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 4172, + "end": 4177, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4178, + "end": 4179, + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4179, + "end": 4184, + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4184, + "end": 4185, + "loc": { + "start": { + "line": 93, + "column": 18 + }, + "end": { + "line": 93, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4186, + "end": 4187, + "loc": { + "start": { + "line": 93, + "column": 20 + }, + "end": { + "line": 93, + "column": 21 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4194, + "end": 4200, + "loc": { + "start": { + "line": 94, + "column": 6 + }, + "end": { + "line": 94, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 4201, + "end": 4207, + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4207, + "end": 4208, + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 94, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4208, + "end": 4213, + "loc": { + "start": { + "line": 94, + "column": 20 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4213, + "end": 4214, + "loc": { + "start": { + "line": 94, + "column": 25 + }, + "end": { + "line": 94, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4214, + "end": 4219, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 94, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4219, + "end": 4220, + "loc": { + "start": { + "line": 94, + "column": 31 + }, + "end": { + "line": 94, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4220, + "end": 4221, + "loc": { + "start": { + "line": 94, + "column": 32 + }, + "end": { + "line": 94, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4226, + "end": 4227, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4230, + "end": 4231, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Payload} payload the request payload\n * @returns {Flowable} a Flowable that emits the response\n * payloads, or that signals an error if there is no registered service\n * associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 4235, + "end": 4597, + "loc": { + "start": { + "line": 98, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestStream", + "start": 4600, + "end": 4613, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4613, + "end": 4614, + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 106, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 4614, + "end": 4621, + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4621, + "end": 4622, + "loc": { + "start": { + "line": 106, + "column": 23 + }, + "end": { + "line": 106, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4623, + "end": 4624, + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 106, + "column": 26 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 4629, + "end": 4632, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4633, + "end": 4634, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4641, + "end": 4643, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4644, + "end": 4645, + "loc": { + "start": { + "line": 108, + "column": 9 + }, + "end": { + "line": 108, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 4645, + "end": 4652, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4652, + "end": 4653, + "loc": { + "start": { + "line": 108, + "column": 17 + }, + "end": { + "line": 108, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 4653, + "end": 4661, + "loc": { + "start": { + "line": 108, + "column": 18 + }, + "end": { + "line": 108, + "column": 26 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 4662, + "end": 4664, + "loc": { + "start": { + "line": 108, + "column": 27 + }, + "end": { + "line": 108, + "column": 29 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 4665, + "end": 4669, + "loc": { + "start": { + "line": 108, + "column": 30 + }, + "end": { + "line": 108, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4669, + "end": 4670, + "loc": { + "start": { + "line": 108, + "column": 34 + }, + "end": { + "line": 108, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4671, + "end": 4672, + "loc": { + "start": { + "line": 108, + "column": 36 + }, + "end": { + "line": 108, + "column": 37 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4681, + "end": 4687, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 4688, + "end": 4696, + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4696, + "end": 4697, + "loc": { + "start": { + "line": 109, + "column": 23 + }, + "end": { + "line": 109, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4697, + "end": 4702, + "loc": { + "start": { + "line": 109, + "column": 24 + }, + "end": { + "line": 109, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4702, + "end": 4703, + "loc": { + "start": { + "line": 109, + "column": 29 + }, + "end": { + "line": 109, + "column": 30 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4703, + "end": 4706, + "loc": { + "start": { + "line": 109, + "column": 30 + }, + "end": { + "line": 109, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 4707, + "end": 4712, + "loc": { + "start": { + "line": 109, + "column": 34 + }, + "end": { + "line": 109, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4712, + "end": 4713, + "loc": { + "start": { + "line": 109, + "column": 39 + }, + "end": { + "line": 109, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "metadata is empty", + "start": 4713, + "end": 4732, + "loc": { + "start": { + "line": 109, + "column": 40 + }, + "end": { + "line": 109, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4732, + "end": 4733, + "loc": { + "start": { + "line": 109, + "column": 59 + }, + "end": { + "line": 109, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4733, + "end": 4734, + "loc": { + "start": { + "line": 109, + "column": 60 + }, + "end": { + "line": 109, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4734, + "end": 4735, + "loc": { + "start": { + "line": 109, + "column": 61 + }, + "end": { + "line": 109, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4742, + "end": 4743, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 7 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4751, + "end": 4756, + "loc": { + "start": { + "line": 112, + "column": 6 + }, + "end": { + "line": 112, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 4757, + "end": 4764, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4765, + "end": 4766, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 112, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 4767, + "end": 4777, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4777, + "end": 4778, + "loc": { + "start": { + "line": 112, + "column": 32 + }, + "end": { + "line": 112, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 4778, + "end": 4785, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4785, + "end": 4786, + "loc": { + "start": { + "line": 112, + "column": 40 + }, + "end": { + "line": 112, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 4786, + "end": 4794, + "loc": { + "start": { + "line": 112, + "column": 41 + }, + "end": { + "line": 112, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4794, + "end": 4795, + "loc": { + "start": { + "line": 112, + "column": 49 + }, + "end": { + "line": 112, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4795, + "end": 4796, + "loc": { + "start": { + "line": 112, + "column": 50 + }, + "end": { + "line": 112, + "column": 51 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4803, + "end": 4808, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 4809, + "end": 4816, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4817, + "end": 4818, + "loc": { + "start": { + "line": 113, + "column": 20 + }, + "end": { + "line": 113, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4819, + "end": 4823, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4823, + "end": 4824, + "loc": { + "start": { + "line": 113, + "column": 26 + }, + "end": { + "line": 113, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_registeredServices", + "start": 4824, + "end": 4843, + "loc": { + "start": { + "line": 113, + "column": 27 + }, + "end": { + "line": 113, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4843, + "end": 4844, + "loc": { + "start": { + "line": 113, + "column": 46 + }, + "end": { + "line": 113, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 4844, + "end": 4847, + "loc": { + "start": { + "line": 113, + "column": 47 + }, + "end": { + "line": 113, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4847, + "end": 4848, + "loc": { + "start": { + "line": 113, + "column": 50 + }, + "end": { + "line": 113, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 4848, + "end": 4855, + "loc": { + "start": { + "line": 113, + "column": 51 + }, + "end": { + "line": 113, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4855, + "end": 4856, + "loc": { + "start": { + "line": 113, + "column": 58 + }, + "end": { + "line": 113, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4856, + "end": 4857, + "loc": { + "start": { + "line": 113, + "column": 59 + }, + "end": { + "line": 113, + "column": 60 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4865, + "end": 4867, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4868, + "end": 4869, + "loc": { + "start": { + "line": 115, + "column": 9 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 4869, + "end": 4876, + "loc": { + "start": { + "line": 115, + "column": 10 + }, + "end": { + "line": 115, + "column": 17 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 4877, + "end": 4879, + "loc": { + "start": { + "line": 115, + "column": 18 + }, + "end": { + "line": 115, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 4880, + "end": 4884, + "loc": { + "start": { + "line": 115, + "column": 21 + }, + "end": { + "line": 115, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4884, + "end": 4885, + "loc": { + "start": { + "line": 115, + "column": 25 + }, + "end": { + "line": 115, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4886, + "end": 4887, + "loc": { + "start": { + "line": 115, + "column": 27 + }, + "end": { + "line": 115, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4896, + "end": 4902, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 4903, + "end": 4911, + "loc": { + "start": { + "line": 116, + "column": 15 + }, + "end": { + "line": 116, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4911, + "end": 4912, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4912, + "end": 4917, + "loc": { + "start": { + "line": 116, + "column": 24 + }, + "end": { + "line": 116, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4917, + "end": 4918, + "loc": { + "start": { + "line": 116, + "column": 29 + }, + "end": { + "line": 116, + "column": 30 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4918, + "end": 4921, + "loc": { + "start": { + "line": 116, + "column": 30 + }, + "end": { + "line": 116, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 4922, + "end": 4927, + "loc": { + "start": { + "line": 116, + "column": 34 + }, + "end": { + "line": 116, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4927, + "end": 4928, + "loc": { + "start": { + "line": 116, + "column": 39 + }, + "end": { + "line": 116, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "can not find service ", + "start": 4928, + "end": 4951, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 63 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4952, + "end": 4953, + "loc": { + "start": { + "line": 116, + "column": 64 + }, + "end": { + "line": 116, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 4954, + "end": 4961, + "loc": { + "start": { + "line": 116, + "column": 66 + }, + "end": { + "line": 116, + "column": 73 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4961, + "end": 4962, + "loc": { + "start": { + "line": 116, + "column": 73 + }, + "end": { + "line": 116, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4962, + "end": 4963, + "loc": { + "start": { + "line": 116, + "column": 74 + }, + "end": { + "line": 116, + "column": 75 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4963, + "end": 4964, + "loc": { + "start": { + "line": 116, + "column": 75 + }, + "end": { + "line": 116, + "column": 76 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4971, + "end": 4972, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 7 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4980, + "end": 4986, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 4987, + "end": 4994, + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4994, + "end": 4995, + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 119, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestStream", + "start": 4995, + "end": 5008, + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 119, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5008, + "end": 5009, + "loc": { + "start": { + "line": 119, + "column": 34 + }, + "end": { + "line": 119, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 5009, + "end": 5016, + "loc": { + "start": { + "line": 119, + "column": 35 + }, + "end": { + "line": 119, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5016, + "end": 5017, + "loc": { + "start": { + "line": 119, + "column": 42 + }, + "end": { + "line": 119, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5017, + "end": 5018, + "loc": { + "start": { + "line": 119, + "column": 43 + }, + "end": { + "line": 119, + "column": 44 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5023, + "end": 5024, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 5 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 5025, + "end": 5030, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5031, + "end": 5032, + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 5032, + "end": 5037, + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5037, + "end": 5038, + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5039, + "end": 5040, + "loc": { + "start": { + "line": 120, + "column": 20 + }, + "end": { + "line": 120, + "column": 21 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5047, + "end": 5053, + "loc": { + "start": { + "line": 121, + "column": 6 + }, + "end": { + "line": 121, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 5054, + "end": 5062, + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5062, + "end": 5063, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 121, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 5063, + "end": 5068, + "loc": { + "start": { + "line": 121, + "column": 22 + }, + "end": { + "line": 121, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5068, + "end": 5069, + "loc": { + "start": { + "line": 121, + "column": 27 + }, + "end": { + "line": 121, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 5069, + "end": 5074, + "loc": { + "start": { + "line": 121, + "column": 28 + }, + "end": { + "line": 121, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5074, + "end": 5075, + "loc": { + "start": { + "line": 121, + "column": 33 + }, + "end": { + "line": 121, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5075, + "end": 5076, + "loc": { + "start": { + "line": 121, + "column": 34 + }, + "end": { + "line": 121, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5081, + "end": 5082, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5085, + "end": 5086, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 123, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @param {Flowable>} payloads - the request payloads\n * @returns {Flowable>} a {@link Flowable} that emits\n * the response payloads, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n ", + "start": 5090, + "end": 5483, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 132, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestChannel", + "start": 5486, + "end": 5500, + "loc": { + "start": { + "line": 133, + "column": 2 + }, + "end": { + "line": 133, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5500, + "end": 5501, + "loc": { + "start": { + "line": 133, + "column": 16 + }, + "end": { + "line": 133, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payloads", + "start": 5501, + "end": 5509, + "loc": { + "start": { + "line": 133, + "column": 17 + }, + "end": { + "line": 133, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5509, + "end": 5510, + "loc": { + "start": { + "line": 133, + "column": 25 + }, + "end": { + "line": 133, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5511, + "end": 5512, + "loc": { + "start": { + "line": 133, + "column": 27 + }, + "end": { + "line": 133, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5517, + "end": 5523, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5524, + "end": 5527, + "loc": { + "start": { + "line": 134, + "column": 11 + }, + "end": { + "line": 134, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 5528, + "end": 5536, + "loc": { + "start": { + "line": 134, + "column": 15 + }, + "end": { + "line": 134, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5536, + "end": 5537, + "loc": { + "start": { + "line": 134, + "column": 23 + }, + "end": { + "line": 134, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 5537, + "end": 5538, + "loc": { + "start": { + "line": 134, + "column": 24 + }, + "end": { + "line": 134, + "column": 25 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5539, + "end": 5541, + "loc": { + "start": { + "line": 134, + "column": 26 + }, + "end": { + "line": 134, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payloads", + "start": 5542, + "end": 5550, + "loc": { + "start": { + "line": 134, + "column": 29 + }, + "end": { + "line": 134, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5550, + "end": 5551, + "loc": { + "start": { + "line": 134, + "column": 37 + }, + "end": { + "line": 134, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 5551, + "end": 5560, + "loc": { + "start": { + "line": 134, + "column": 38 + }, + "end": { + "line": 134, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5560, + "end": 5561, + "loc": { + "start": { + "line": 134, + "column": 47 + }, + "end": { + "line": 134, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 5561, + "end": 5562, + "loc": { + "start": { + "line": 134, + "column": 48 + }, + "end": { + "line": 134, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5562, + "end": 5563, + "loc": { + "start": { + "line": 134, + "column": 49 + }, + "end": { + "line": 134, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5563, + "end": 5564, + "loc": { + "start": { + "line": 134, + "column": 50 + }, + "end": { + "line": 134, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5564, + "end": 5565, + "loc": { + "start": { + "line": 134, + "column": 51 + }, + "end": { + "line": 134, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lift", + "start": 5565, + "end": 5569, + "loc": { + "start": { + "line": 134, + "column": 52 + }, + "end": { + "line": 134, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5569, + "end": 5570, + "loc": { + "start": { + "line": 134, + "column": 56 + }, + "end": { + "line": 134, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 5570, + "end": 5571, + "loc": { + "start": { + "line": 134, + "column": 57 + }, + "end": { + "line": 134, + "column": 58 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5572, + "end": 5574, + "loc": { + "start": { + "line": 134, + "column": 59 + }, + "end": { + "line": 134, + "column": 61 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5575, + "end": 5578, + "loc": { + "start": { + "line": 134, + "column": 62 + }, + "end": { + "line": 134, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SwitchTransformOperator", + "start": 5579, + "end": 5602, + "loc": { + "start": { + "line": 134, + "column": 66 + }, + "end": { + "line": 134, + "column": 89 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5602, + "end": 5603, + "loc": { + "start": { + "line": 134, + "column": 89 + }, + "end": { + "line": 134, + "column": 90 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 5603, + "end": 5604, + "loc": { + "start": { + "line": 134, + "column": 90 + }, + "end": { + "line": 134, + "column": 91 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5604, + "end": 5605, + "loc": { + "start": { + "line": 134, + "column": 91 + }, + "end": { + "line": 134, + "column": 92 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5606, + "end": 5607, + "loc": { + "start": { + "line": 134, + "column": 93 + }, + "end": { + "line": 134, + "column": 94 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 5607, + "end": 5614, + "loc": { + "start": { + "line": 134, + "column": 94 + }, + "end": { + "line": 134, + "column": 101 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5614, + "end": 5615, + "loc": { + "start": { + "line": 134, + "column": 101 + }, + "end": { + "line": 134, + "column": 102 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowable", + "start": 5616, + "end": 5624, + "loc": { + "start": { + "line": 134, + "column": 103 + }, + "end": { + "line": 134, + "column": 111 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5624, + "end": 5625, + "loc": { + "start": { + "line": 134, + "column": 111 + }, + "end": { + "line": 134, + "column": 112 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5626, + "end": 5628, + "loc": { + "start": { + "line": 134, + "column": 113 + }, + "end": { + "line": 134, + "column": 115 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5629, + "end": 5630, + "loc": { + "start": { + "line": 134, + "column": 116 + }, + "end": { + "line": 134, + "column": 117 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 5637, + "end": 5639, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 135, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5640, + "end": 5641, + "loc": { + "start": { + "line": 135, + "column": 9 + }, + "end": { + "line": 135, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 5641, + "end": 5648, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 135, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5648, + "end": 5649, + "loc": { + "start": { + "line": 135, + "column": 17 + }, + "end": { + "line": 135, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 5649, + "end": 5657, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 26 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 5658, + "end": 5661, + "loc": { + "start": { + "line": 135, + "column": 27 + }, + "end": { + "line": 135, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 5662, + "end": 5671, + "loc": { + "start": { + "line": 135, + "column": 31 + }, + "end": { + "line": 135, + "column": 40 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 5672, + "end": 5674, + "loc": { + "start": { + "line": 135, + "column": 41 + }, + "end": { + "line": 135, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 5675, + "end": 5682, + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 135, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5682, + "end": 5683, + "loc": { + "start": { + "line": 135, + "column": 51 + }, + "end": { + "line": 135, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 5683, + "end": 5691, + "loc": { + "start": { + "line": 135, + "column": 52 + }, + "end": { + "line": 135, + "column": 60 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 5692, + "end": 5695, + "loc": { + "start": { + "line": 135, + "column": 61 + }, + "end": { + "line": 135, + "column": 64 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 5696, + "end": 5700, + "loc": { + "start": { + "line": 135, + "column": 65 + }, + "end": { + "line": 135, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5700, + "end": 5701, + "loc": { + "start": { + "line": 135, + "column": 69 + }, + "end": { + "line": 135, + "column": 70 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5702, + "end": 5703, + "loc": { + "start": { + "line": 135, + "column": 71 + }, + "end": { + "line": 135, + "column": 72 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5712, + "end": 5718, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 5719, + "end": 5727, + "loc": { + "start": { + "line": 136, + "column": 15 + }, + "end": { + "line": 136, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5727, + "end": 5728, + "loc": { + "start": { + "line": 136, + "column": 23 + }, + "end": { + "line": 136, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 5728, + "end": 5733, + "loc": { + "start": { + "line": 136, + "column": 24 + }, + "end": { + "line": 136, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5733, + "end": 5734, + "loc": { + "start": { + "line": 136, + "column": 29 + }, + "end": { + "line": 136, + "column": 30 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5734, + "end": 5737, + "loc": { + "start": { + "line": 136, + "column": 30 + }, + "end": { + "line": 136, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 5738, + "end": 5743, + "loc": { + "start": { + "line": 136, + "column": 34 + }, + "end": { + "line": 136, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5743, + "end": 5744, + "loc": { + "start": { + "line": 136, + "column": 39 + }, + "end": { + "line": 136, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "metadata is empty", + "start": 5744, + "end": 5763, + "loc": { + "start": { + "line": 136, + "column": 40 + }, + "end": { + "line": 136, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5763, + "end": 5764, + "loc": { + "start": { + "line": 136, + "column": 59 + }, + "end": { + "line": 136, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5764, + "end": 5765, + "loc": { + "start": { + "line": 136, + "column": 60 + }, + "end": { + "line": 136, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5765, + "end": 5766, + "loc": { + "start": { + "line": 136, + "column": 61 + }, + "end": { + "line": 136, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5773, + "end": 5774, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 7 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 5775, + "end": 5779, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5780, + "end": 5781, + "loc": { + "start": { + "line": 137, + "column": 13 + }, + "end": { + "line": 137, + "column": 14 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5790, + "end": 5795, + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 5796, + "end": 5803, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 138, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5804, + "end": 5805, + "loc": { + "start": { + "line": 138, + "column": 22 + }, + "end": { + "line": 138, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 5806, + "end": 5816, + "loc": { + "start": { + "line": 138, + "column": 24 + }, + "end": { + "line": 138, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5816, + "end": 5817, + "loc": { + "start": { + "line": 138, + "column": 34 + }, + "end": { + "line": 138, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 5817, + "end": 5824, + "loc": { + "start": { + "line": 138, + "column": 35 + }, + "end": { + "line": 138, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5824, + "end": 5825, + "loc": { + "start": { + "line": 138, + "column": 42 + }, + "end": { + "line": 138, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 5825, + "end": 5833, + "loc": { + "start": { + "line": 138, + "column": 43 + }, + "end": { + "line": 138, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5833, + "end": 5834, + "loc": { + "start": { + "line": 138, + "column": 51 + }, + "end": { + "line": 138, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5834, + "end": 5835, + "loc": { + "start": { + "line": 138, + "column": 52 + }, + "end": { + "line": 138, + "column": 53 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5844, + "end": 5849, + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 5850, + "end": 5857, + "loc": { + "start": { + "line": 139, + "column": 14 + }, + "end": { + "line": 139, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5858, + "end": 5859, + "loc": { + "start": { + "line": 139, + "column": 22 + }, + "end": { + "line": 139, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5860, + "end": 5864, + "loc": { + "start": { + "line": 139, + "column": 24 + }, + "end": { + "line": 139, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5864, + "end": 5865, + "loc": { + "start": { + "line": 139, + "column": 28 + }, + "end": { + "line": 139, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_registeredServices", + "start": 5865, + "end": 5884, + "loc": { + "start": { + "line": 139, + "column": 29 + }, + "end": { + "line": 139, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5884, + "end": 5885, + "loc": { + "start": { + "line": 139, + "column": 48 + }, + "end": { + "line": 139, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 5885, + "end": 5888, + "loc": { + "start": { + "line": 139, + "column": 49 + }, + "end": { + "line": 139, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5888, + "end": 5889, + "loc": { + "start": { + "line": 139, + "column": 52 + }, + "end": { + "line": 139, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 5889, + "end": 5896, + "loc": { + "start": { + "line": 139, + "column": 53 + }, + "end": { + "line": 139, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5896, + "end": 5897, + "loc": { + "start": { + "line": 139, + "column": 60 + }, + "end": { + "line": 139, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5897, + "end": 5898, + "loc": { + "start": { + "line": 139, + "column": 61 + }, + "end": { + "line": 139, + "column": 62 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 5907, + "end": 5909, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5910, + "end": 5911, + "loc": { + "start": { + "line": 140, + "column": 11 + }, + "end": { + "line": 140, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 5911, + "end": 5918, + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 19 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 5919, + "end": 5922, + "loc": { + "start": { + "line": 140, + "column": 20 + }, + "end": { + "line": 140, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 5923, + "end": 5932, + "loc": { + "start": { + "line": 140, + "column": 24 + }, + "end": { + "line": 140, + "column": 33 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 5933, + "end": 5935, + "loc": { + "start": { + "line": 140, + "column": 34 + }, + "end": { + "line": 140, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 5936, + "end": 5943, + "loc": { + "start": { + "line": 140, + "column": 37 + }, + "end": { + "line": 140, + "column": 44 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 5944, + "end": 5947, + "loc": { + "start": { + "line": 140, + "column": 45 + }, + "end": { + "line": 140, + "column": 48 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 5948, + "end": 5952, + "loc": { + "start": { + "line": 140, + "column": 49 + }, + "end": { + "line": 140, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5952, + "end": 5953, + "loc": { + "start": { + "line": 140, + "column": 53 + }, + "end": { + "line": 140, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5954, + "end": 5955, + "loc": { + "start": { + "line": 140, + "column": 55 + }, + "end": { + "line": 140, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5966, + "end": 5972, + "loc": { + "start": { + "line": 141, + "column": 10 + }, + "end": { + "line": 141, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 5973, + "end": 5981, + "loc": { + "start": { + "line": 141, + "column": 17 + }, + "end": { + "line": 141, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5981, + "end": 5982, + "loc": { + "start": { + "line": 141, + "column": 25 + }, + "end": { + "line": 141, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 5982, + "end": 5987, + "loc": { + "start": { + "line": 141, + "column": 26 + }, + "end": { + "line": 141, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5987, + "end": 5988, + "loc": { + "start": { + "line": 141, + "column": 31 + }, + "end": { + "line": 141, + "column": 32 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5988, + "end": 5991, + "loc": { + "start": { + "line": 141, + "column": 32 + }, + "end": { + "line": 141, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 5992, + "end": 5997, + "loc": { + "start": { + "line": 141, + "column": 36 + }, + "end": { + "line": 141, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5997, + "end": 5998, + "loc": { + "start": { + "line": 141, + "column": 41 + }, + "end": { + "line": 141, + "column": 42 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "can not find service ", + "start": 5998, + "end": 6021, + "loc": { + "start": { + "line": 141, + "column": 42 + }, + "end": { + "line": 141, + "column": 65 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 6022, + "end": 6023, + "loc": { + "start": { + "line": 141, + "column": 66 + }, + "end": { + "line": 141, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 6024, + "end": 6031, + "loc": { + "start": { + "line": 141, + "column": 68 + }, + "end": { + "line": 141, + "column": 75 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6031, + "end": 6032, + "loc": { + "start": { + "line": 141, + "column": 75 + }, + "end": { + "line": 141, + "column": 76 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6032, + "end": 6033, + "loc": { + "start": { + "line": 141, + "column": 76 + }, + "end": { + "line": 141, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6033, + "end": 6034, + "loc": { + "start": { + "line": 141, + "column": 77 + }, + "end": { + "line": 141, + "column": 78 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6043, + "end": 6044, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 9 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 6045, + "end": 6049, + "loc": { + "start": { + "line": 142, + "column": 10 + }, + "end": { + "line": 142, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6050, + "end": 6051, + "loc": { + "start": { + "line": 142, + "column": 15 + }, + "end": { + "line": 142, + "column": 16 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6062, + "end": 6068, + "loc": { + "start": { + "line": 143, + "column": 10 + }, + "end": { + "line": 143, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 6069, + "end": 6076, + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6076, + "end": 6077, + "loc": { + "start": { + "line": 143, + "column": 24 + }, + "end": { + "line": 143, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestChannel", + "start": 6077, + "end": 6091, + "loc": { + "start": { + "line": 143, + "column": 25 + }, + "end": { + "line": 143, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6091, + "end": 6092, + "loc": { + "start": { + "line": 143, + "column": 39 + }, + "end": { + "line": 143, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowable", + "start": 6092, + "end": 6100, + "loc": { + "start": { + "line": 143, + "column": 40 + }, + "end": { + "line": 143, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6100, + "end": 6101, + "loc": { + "start": { + "line": 143, + "column": 48 + }, + "end": { + "line": 143, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6101, + "end": 6102, + "loc": { + "start": { + "line": 143, + "column": 49 + }, + "end": { + "line": 143, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6111, + "end": 6112, + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6119, + "end": 6120, + "loc": { + "start": { + "line": 145, + "column": 6 + }, + "end": { + "line": 145, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6125, + "end": 6126, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6126, + "end": 6127, + "loc": { + "start": { + "line": 146, + "column": 5 + }, + "end": { + "line": 146, + "column": 6 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6127, + "end": 6128, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 7 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6128, + "end": 6129, + "loc": { + "start": { + "line": 146, + "column": 7 + }, + "end": { + "line": 146, + "column": 8 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6132, + "end": 6133, + "loc": { + "start": { + "line": 147, + "column": 2 + }, + "end": { + "line": 147, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @abstract\n * @param {Payload} payload -\n * @returns {Single} a Single that signals an error and terminates\n ", + "start": 6137, + "end": 6284, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 153, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadataPush", + "start": 6287, + "end": 6299, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 154, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6299, + "end": 6300, + "loc": { + "start": { + "line": 154, + "column": 14 + }, + "end": { + "line": 154, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 6300, + "end": 6307, + "loc": { + "start": { + "line": 154, + "column": 15 + }, + "end": { + "line": 154, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6307, + "end": 6308, + "loc": { + "start": { + "line": 154, + "column": 22 + }, + "end": { + "line": 154, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6309, + "end": 6310, + "loc": { + "start": { + "line": 154, + "column": 24 + }, + "end": { + "line": 154, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6315, + "end": 6321, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 6322, + "end": 6328, + "loc": { + "start": { + "line": 155, + "column": 11 + }, + "end": { + "line": 155, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6328, + "end": 6329, + "loc": { + "start": { + "line": 155, + "column": 17 + }, + "end": { + "line": 155, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 6329, + "end": 6334, + "loc": { + "start": { + "line": 155, + "column": 18 + }, + "end": { + "line": 155, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6334, + "end": 6335, + "loc": { + "start": { + "line": 155, + "column": 23 + }, + "end": { + "line": 155, + "column": 24 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 6335, + "end": 6338, + "loc": { + "start": { + "line": 155, + "column": 24 + }, + "end": { + "line": 155, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 6339, + "end": 6344, + "loc": { + "start": { + "line": 155, + "column": 28 + }, + "end": { + "line": 155, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6344, + "end": 6345, + "loc": { + "start": { + "line": 155, + "column": 33 + }, + "end": { + "line": 155, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "metadataPush() is not implemented", + "start": 6345, + "end": 6380, + "loc": { + "start": { + "line": 155, + "column": 34 + }, + "end": { + "line": 155, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6380, + "end": 6381, + "loc": { + "start": { + "line": 155, + "column": 69 + }, + "end": { + "line": 155, + "column": 70 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6381, + "end": 6382, + "loc": { + "start": { + "line": 155, + "column": 70 + }, + "end": { + "line": 155, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6382, + "end": 6383, + "loc": { + "start": { + "line": 155, + "column": 71 + }, + "end": { + "line": 155, + "column": 72 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6386, + "end": 6387, + "loc": { + "start": { + "line": 156, + "column": 2 + }, + "end": { + "line": 156, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6388, + "end": 6389, + "loc": { + "start": { + "line": 157, + "column": 0 + }, + "end": { + "line": 157, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6389, + "end": 6389, + "loc": { + "start": { + "line": 157, + "column": 1 + }, + "end": { + "line": 157, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/core/src/RpcClient.js.json b/rsocket-rpc-js/docs/ast/source/core/src/RpcClient.js.json new file mode 100644 index 0000000..a7d18f5 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/core/src/RpcClient.js.json @@ -0,0 +1,23696 @@ +{ + "type": "File", + "start": 0, + "end": 11218, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 299, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 11218, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 299, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 4208, + "end": 4267, + "loc": { + "start": { + "line": 116, + "column": 0 + }, + "end": { + "line": 116, + "column": 59 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 4217, + "end": 4225, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 4217, + "end": 4225, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable", + "leadingComments": null + }, + "local": { + "type": "Identifier", + "start": 4217, + "end": 4225, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "leadingComments": null + }, + { + "type": "ImportSpecifier", + "start": 4227, + "end": 4233, + "loc": { + "start": { + "line": 116, + "column": 19 + }, + "end": { + "line": 116, + "column": 25 + } + }, + "imported": { + "type": "Identifier", + "start": 4227, + "end": 4233, + "loc": { + "start": { + "line": 116, + "column": 19 + }, + "end": { + "line": 116, + "column": 25 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "local": { + "type": "Identifier", + "start": 4227, + "end": 4233, + "loc": { + "start": { + "line": 116, + "column": 19 + }, + "end": { + "line": 116, + "column": 25 + }, + "identifierName": "Single" + }, + "name": "Single" + } + }, + { + "type": "ImportSpecifier", + "start": 4235, + "end": 4240, + "loc": { + "start": { + "line": 116, + "column": 27 + }, + "end": { + "line": 116, + "column": 32 + } + }, + "imported": { + "type": "Identifier", + "start": 4235, + "end": 4240, + "loc": { + "start": { + "line": 116, + "column": 27 + }, + "end": { + "line": 116, + "column": 32 + }, + "identifierName": "every" + }, + "name": "every" + }, + "local": { + "type": "Identifier", + "start": 4235, + "end": 4240, + "loc": { + "start": { + "line": 116, + "column": 27 + }, + "end": { + "line": 116, + "column": 32 + }, + "identifierName": "every" + }, + "name": "every" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 4248, + "end": 4266, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 58 + } + }, + "extra": { + "rawValue": "rsocket-flowable", + "raw": "'rsocket-flowable'" + }, + "value": "rsocket-flowable" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {(string|Buffer|Uint8Array)} Encodable\n ", + "start": 921, + "end": 1100, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @example The methods of the Responder interface:\n * fireAndForget(payload: Payload): void\n * requestResponse(payload: Payload): Single>\n * requestStream(payload: Payload): Flowable>\n * requestChannel(payloads: Flowable>): Flowable>\n * metadataPush(payload: Payload): Single\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} Responder\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n ", + "start": 1101, + "end": 1837, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A contract that provides different interaction models according to the\n * ReactiveSocket protocol. This interface extends the {@link Responder}\n * interface by adding the {@link ReactiveSocket#close} and\n * {@link ReactiveSocket#connectionStatus} methods.\n * @extends {Responder}\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @see https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md\n * @typedef {interface} ReactiveSocket\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n * @property {function} close\n * @property {function} connectionStatus\n ", + "start": 1838, + "end": 2632, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Represents a network connection with input/output used by a\n * {@link ReactiveSocket} to send/receive data.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} DuplexConnection\n * @property {function} sendOne\n * @property {function} send\n * @property {function} receive\n * @property {function} close\n * @property {function} connect\n * @property {function} connectionStatus\n ", + "start": 2633, + "end": 3109, + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A single unit of data exchanged between the peers of a\n * {@link ReactiveSocket}. A object of this type consists of two members:\n * {@link Payload#data} and {@link Payload#metadata}.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {Object} Payload\n * @property {Serializer} data\n * @property {Serializer} metadata\n ", + "start": 3110, + "end": 3519, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 91, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Flowable.js\n * @typedef {Object} Flowable\n * @property {function} just\n * @property {function} error\n * @property {function} never\n * @property {function} subscribe\n * @property {function} lift\n * @property {function} map\n * @property {function} take\n ", + "start": 3521, + "end": 3880, + "loc": { + "start": { + "line": 93, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Single.js\n * @typedef {Object} Single\n * @property {function} of\n * @property {function} error\n * @property {function} subscribe\n * @property {function} flatMap\n * @property {function} map\n * @property {function} then\n ", + "start": 3881, + "end": 4207, + "loc": { + "start": { + "line": 105, + "column": 0 + }, + "end": { + "line": 115, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} Serializer\n * @desc A Serializer transforms data between the application encoding used in\n * Payloads and the Encodable type accepted by the transport client.\n * @property {function} deserialize a function that takes an {@link Encodable} and returns the expected data or metadata object\n * @property {function} serialize a funciton that takes a data or metadata object and returns a corresponding {@link Encodable}\n ", + "start": 4268, + "end": 4832, + "loc": { + "start": { + "line": 117, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} PayloadSerializers\n * @property {Serializer} data\n * @property {Serializer} metadata\n ", + "start": 4833, + "end": 5067, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 5069, + "end": 5112, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 134, + "column": 43 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 5076, + "end": 5085, + "loc": { + "start": { + "line": 134, + "column": 7 + }, + "end": { + "line": 134, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 5076, + "end": 5085, + "loc": { + "start": { + "line": 134, + "column": 7 + }, + "end": { + "line": 134, + "column": 16 + }, + "identifierName": "invariant" + }, + "name": "invariant", + "leadingComments": null + }, + "leadingComments": null + } + ], + "source": { + "type": "StringLiteral", + "start": 5091, + "end": 5111, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 42 + } + }, + "extra": { + "rawValue": "fbjs/lib/invariant", + "raw": "'fbjs/lib/invariant'" + }, + "value": "fbjs/lib/invariant" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} Serializer\n * @desc A Serializer transforms data between the application encoding used in\n * Payloads and the Encodable type accepted by the transport client.\n * @property {function} deserialize a function that takes an {@link Encodable} and returns the expected data or metadata object\n * @property {function} serialize a funciton that takes a data or metadata object and returns a corresponding {@link Encodable}\n ", + "start": 4268, + "end": 4832, + "loc": { + "start": { + "line": 117, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} PayloadSerializers\n * @property {Serializer} data\n * @property {Serializer} metadata\n ", + "start": 4833, + "end": 5067, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 5114, + "end": 5186, + "loc": { + "start": { + "line": 136, + "column": 0 + }, + "end": { + "line": 136, + "column": 72 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 5123, + "end": 5143, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 29 + } + }, + "imported": { + "type": "Identifier", + "start": 5123, + "end": 5143, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 29 + }, + "identifierName": "CONNECTION_STREAM_ID" + }, + "name": "CONNECTION_STREAM_ID" + }, + "local": { + "type": "Identifier", + "start": 5123, + "end": 5143, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 29 + }, + "identifierName": "CONNECTION_STREAM_ID" + }, + "name": "CONNECTION_STREAM_ID" + } + }, + { + "type": "ImportSpecifier", + "start": 5145, + "end": 5150, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 36 + } + }, + "imported": { + "type": "Identifier", + "start": 5145, + "end": 5150, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 36 + }, + "identifierName": "FLAGS" + }, + "name": "FLAGS" + }, + "local": { + "type": "Identifier", + "start": 5145, + "end": 5150, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 36 + }, + "identifierName": "FLAGS" + }, + "name": "FLAGS" + } + }, + { + "type": "ImportSpecifier", + "start": 5152, + "end": 5163, + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 49 + } + }, + "imported": { + "type": "Identifier", + "start": 5152, + "end": 5163, + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 49 + }, + "identifierName": "FRAME_TYPES" + }, + "name": "FRAME_TYPES" + }, + "local": { + "type": "Identifier", + "start": 5152, + "end": 5163, + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 49 + }, + "identifierName": "FRAME_TYPES" + }, + "name": "FRAME_TYPES" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 5171, + "end": 5185, + "loc": { + "start": { + "line": 136, + "column": 57 + }, + "end": { + "line": 136, + "column": 71 + } + }, + "extra": { + "rawValue": "rsocket-core", + "raw": "'rsocket-core'" + }, + "value": "rsocket-core" + } + }, + { + "type": "ImportDeclaration", + "start": 5187, + "end": 5268, + "loc": { + "start": { + "line": 137, + "column": 0 + }, + "end": { + "line": 137, + "column": 81 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 5196, + "end": 5209, + "loc": { + "start": { + "line": 137, + "column": 9 + }, + "end": { + "line": 137, + "column": 22 + } + }, + "imported": { + "type": "Identifier", + "start": 5196, + "end": 5209, + "loc": { + "start": { + "line": 137, + "column": 9 + }, + "end": { + "line": 137, + "column": 22 + }, + "identifierName": "MAJOR_VERSION" + }, + "name": "MAJOR_VERSION" + }, + "local": { + "type": "Identifier", + "start": 5196, + "end": 5209, + "loc": { + "start": { + "line": 137, + "column": 9 + }, + "end": { + "line": 137, + "column": 22 + }, + "identifierName": "MAJOR_VERSION" + }, + "name": "MAJOR_VERSION" + } + }, + { + "type": "ImportSpecifier", + "start": 5211, + "end": 5224, + "loc": { + "start": { + "line": 137, + "column": 24 + }, + "end": { + "line": 137, + "column": 37 + } + }, + "imported": { + "type": "Identifier", + "start": 5211, + "end": 5224, + "loc": { + "start": { + "line": 137, + "column": 24 + }, + "end": { + "line": 137, + "column": 37 + }, + "identifierName": "MINOR_VERSION" + }, + "name": "MINOR_VERSION" + }, + "local": { + "type": "Identifier", + "start": 5211, + "end": 5224, + "loc": { + "start": { + "line": 137, + "column": 24 + }, + "end": { + "line": 137, + "column": 37 + }, + "identifierName": "MINOR_VERSION" + }, + "name": "MINOR_VERSION" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 5232, + "end": 5267, + "loc": { + "start": { + "line": 137, + "column": 45 + }, + "end": { + "line": 137, + "column": 80 + } + }, + "extra": { + "rawValue": "rsocket-core/build/RSocketVersion", + "raw": "'rsocket-core/build/RSocketVersion'" + }, + "value": "rsocket-core/build/RSocketVersion" + } + }, + { + "type": "ImportDeclaration", + "start": 5269, + "end": 5341, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 138, + "column": 72 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 5278, + "end": 5297, + "loc": { + "start": { + "line": 138, + "column": 9 + }, + "end": { + "line": 138, + "column": 28 + } + }, + "imported": { + "type": "Identifier", + "start": 5278, + "end": 5297, + "loc": { + "start": { + "line": 138, + "column": 9 + }, + "end": { + "line": 138, + "column": 28 + }, + "identifierName": "createClientMachine" + }, + "name": "createClientMachine" + }, + "local": { + "type": "Identifier", + "start": 5278, + "end": 5297, + "loc": { + "start": { + "line": 138, + "column": 9 + }, + "end": { + "line": 138, + "column": 28 + }, + "identifierName": "createClientMachine" + }, + "name": "createClientMachine" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 5305, + "end": 5340, + "loc": { + "start": { + "line": 138, + "column": 36 + }, + "end": { + "line": 138, + "column": 71 + } + }, + "extra": { + "rawValue": "rsocket-core/build/RSocketMachine", + "raw": "'rsocket-core/build/RSocketMachine'" + }, + "value": "rsocket-core/build/RSocketMachine" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} Setup\n * @property {number} keepAlive The number of milliseconds between keepalive messages you will send to the service\n * @property {number} lifetime The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out.\n * @property {?Encodable} [metadata] Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials).\n ", + "start": 5343, + "end": 5848, + "loc": { + "start": { + "line": 140, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} ClientConfig\n * @property {PayloadSerializers} [serializers] A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it.\n * @property {Setup} setup Configure the keepalive process and any metadata you would like to accompany the connection.\n * @property {DuplexConnection} transport Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component.\n * @property {Responder} [responder] An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.)\n ", + "start": 5849, + "end": 6973, + "loc": { + "start": { + "line": 146, + "column": 0 + }, + "end": { + "line": 152, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The primary class/entry point for the core package is the {@link RpcClient}.\n * The client encapsulates the RSocket methods of fireAndForget,\n * requestResponse, requestStream, and requestChannel and merges them with a\n * bidirectional connection, allowing seamless use of RSocket for RPC.\n ", + "start": 6976, + "end": 7276, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 160, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 7277, + "end": 9601, + "loc": { + "start": { + "line": 161, + "column": 0 + }, + "end": { + "line": 228, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 7292, + "end": 9601, + "loc": { + "start": { + "line": 161, + "column": 15 + }, + "end": { + "line": 228, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 7298, + "end": 7307, + "loc": { + "start": { + "line": 161, + "column": 21 + }, + "end": { + "line": 161, + "column": 30 + }, + "identifierName": "RpcClient" + }, + "name": "RpcClient", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 7308, + "end": 9601, + "loc": { + "start": { + "line": 161, + "column": 31 + }, + "end": { + "line": 228, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 7366, + "end": 7447, + "loc": { + "start": { + "line": 166, + "column": 2 + }, + "end": { + "line": 169, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7366, + "end": 7377, + "loc": { + "start": { + "line": 166, + "column": 2 + }, + "end": { + "line": 166, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7378, + "end": 7384, + "loc": { + "start": { + "line": 166, + "column": 14 + }, + "end": { + "line": 166, + "column": 20 + }, + "identifierName": "config" + }, + "name": "config" + } + ], + "body": { + "type": "BlockStatement", + "start": 7386, + "end": 7447, + "loc": { + "start": { + "line": 166, + "column": 22 + }, + "end": { + "line": 169, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7392, + "end": 7414, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7392, + "end": 7413, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7392, + "end": 7404, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 7392, + "end": 7396, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 7397, + "end": 7404, + "loc": { + "start": { + "line": 167, + "column": 9 + }, + "end": { + "line": 167, + "column": 16 + }, + "identifierName": "_config" + }, + "name": "_config" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 7407, + "end": 7413, + "loc": { + "start": { + "line": 167, + "column": 19 + }, + "end": { + "line": 167, + "column": 25 + }, + "identifierName": "config" + }, + "name": "config" + } + } + }, + { + "type": "ExpressionStatement", + "start": 7419, + "end": 7443, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7419, + "end": 7442, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7419, + "end": 7435, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 7419, + "end": 7423, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 7424, + "end": 7435, + "loc": { + "start": { + "line": 168, + "column": 9 + }, + "end": { + "line": 168, + "column": 20 + }, + "identifierName": "_connection" + }, + "name": "_connection" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 7438, + "end": 7442, + "loc": { + "start": { + "line": 168, + "column": 23 + }, + "end": { + "line": 168, + "column": 27 + } + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ClientConfig} config -\n ", + "start": 7313, + "end": 7363, + "loc": { + "start": { + "line": 163, + "column": 2 + }, + "end": { + "line": 165, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Close the RPC Client connection.\n ", + "start": 7451, + "end": 7498, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 173, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 7501, + "end": 7550, + "loc": { + "start": { + "line": 174, + "column": 2 + }, + "end": { + "line": 176, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7501, + "end": 7506, + "loc": { + "start": { + "line": 174, + "column": 2 + }, + "end": { + "line": 174, + "column": 7 + }, + "identifierName": "close" + }, + "name": "close", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 7509, + "end": 7550, + "loc": { + "start": { + "line": 174, + "column": 10 + }, + "end": { + "line": 176, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7515, + "end": 7546, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 7515, + "end": 7545, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7515, + "end": 7543, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 7515, + "end": 7537, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 7515, + "end": 7527, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 7515, + "end": 7519, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 7520, + "end": 7527, + "loc": { + "start": { + "line": 175, + "column": 9 + }, + "end": { + "line": 175, + "column": 16 + }, + "identifierName": "_config" + }, + "name": "_config" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7528, + "end": 7537, + "loc": { + "start": { + "line": 175, + "column": 17 + }, + "end": { + "line": 175, + "column": 26 + }, + "identifierName": "transport" + }, + "name": "transport" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7538, + "end": 7543, + "loc": { + "start": { + "line": 175, + "column": 27 + }, + "end": { + "line": 175, + "column": 32 + }, + "identifierName": "close" + }, + "name": "close" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Close the RPC Client connection.\n ", + "start": 7451, + "end": 7498, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 173, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Returns a {@link Single}, which, when you subscribe to it, initiates the\n * connection and emits a {@link ReactiveSocket} object that defines the\n * connection.\n * @example Here is an example instantiation of an RpcClient:\n * const local = 'ws://localhost:8088/';\n * const keepAlive = 60000; // 60s in ms \n * const lifetime = 360000; // 360s in ms\n * const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);\n * const client = new RpcClient({setup:{keepAlive, lifetime}, transport});\n * client.connect().subscribe({\n * onComplete: rsocket => {\n * console.info(\"Success! We have a handle to an RSocket connection\");\n * },\n * onError: error => {\n * console.error(\"Failed to connect to local RSocket server.\", error);\n * }\n * });\n *\n * @returns {Single>}\n * @throws {Error} if the RpcClient is already connected\n ", + "start": 7554, + "end": 8487, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 199, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 8490, + "end": 9599, + "loc": { + "start": { + "line": 200, + "column": 2 + }, + "end": { + "line": 227, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8490, + "end": 8497, + "loc": { + "start": { + "line": 200, + "column": 2 + }, + "end": { + "line": 200, + "column": 9 + }, + "identifierName": "connect" + }, + "name": "connect", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 8500, + "end": 9599, + "loc": { + "start": { + "line": 200, + "column": 12 + }, + "end": { + "line": 227, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8506, + "end": 8598, + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 201, + "column": 96 + } + }, + "expression": { + "type": "CallExpression", + "start": 8506, + "end": 8597, + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 201, + "column": 95 + } + }, + "callee": { + "type": "Identifier", + "start": 8506, + "end": 8515, + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 201, + "column": 13 + }, + "identifierName": "invariant" + }, + "name": "invariant" + }, + "arguments": [ + { + "type": "UnaryExpression", + "start": 8516, + "end": 8533, + "loc": { + "start": { + "line": 201, + "column": 14 + }, + "end": { + "line": 201, + "column": 31 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 8517, + "end": 8533, + "loc": { + "start": { + "line": 201, + "column": 15 + }, + "end": { + "line": 201, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 8517, + "end": 8521, + "loc": { + "start": { + "line": 201, + "column": 15 + }, + "end": { + "line": 201, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 8522, + "end": 8533, + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 31 + }, + "identifierName": "_connection" + }, + "name": "_connection" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + { + "type": "StringLiteral", + "start": 8535, + "end": 8596, + "loc": { + "start": { + "line": 201, + "column": 33 + }, + "end": { + "line": 201, + "column": 94 + } + }, + "extra": { + "rawValue": "RpcClient: Unexpected call to connect(), already connected.", + "raw": "'RpcClient: Unexpected call to connect(), already connected.'" + }, + "value": "RpcClient: Unexpected call to connect(), already connected." + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8603, + "end": 9566, + "loc": { + "start": { + "line": 202, + "column": 4 + }, + "end": { + "line": 225, + "column": 7 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8603, + "end": 9565, + "loc": { + "start": { + "line": 202, + "column": 4 + }, + "end": { + "line": 225, + "column": 6 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8603, + "end": 8619, + "loc": { + "start": { + "line": 202, + "column": 4 + }, + "end": { + "line": 202, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 8603, + "end": 8607, + "loc": { + "start": { + "line": 202, + "column": 4 + }, + "end": { + "line": 202, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 8608, + "end": 8619, + "loc": { + "start": { + "line": 202, + "column": 9 + }, + "end": { + "line": 202, + "column": 20 + }, + "identifierName": "_connection" + }, + "name": "_connection" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 8622, + "end": 9565, + "loc": { + "start": { + "line": 202, + "column": 23 + }, + "end": { + "line": 225, + "column": 6 + } + }, + "callee": { + "type": "Identifier", + "start": 8626, + "end": 8632, + "loc": { + "start": { + "line": 202, + "column": 27 + }, + "end": { + "line": 202, + "column": 33 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8633, + "end": 9564, + "loc": { + "start": { + "line": 202, + "column": 34 + }, + "end": { + "line": 225, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8633, + "end": 8643, + "loc": { + "start": { + "line": 202, + "column": 34 + }, + "end": { + "line": 202, + "column": 44 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "BlockStatement", + "start": 8647, + "end": 9564, + "loc": { + "start": { + "line": 202, + "column": 48 + }, + "end": { + "line": 225, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8655, + "end": 8696, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8661, + "end": 8695, + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 8661, + "end": 8670, + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 21 + }, + "identifierName": "transport" + }, + "name": "transport" + }, + "init": { + "type": "MemberExpression", + "start": 8673, + "end": 8695, + "loc": { + "start": { + "line": 203, + "column": 24 + }, + "end": { + "line": 203, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 8673, + "end": 8685, + "loc": { + "start": { + "line": 203, + "column": 24 + }, + "end": { + "line": 203, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 8673, + "end": 8677, + "loc": { + "start": { + "line": 203, + "column": 24 + }, + "end": { + "line": 203, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 8678, + "end": 8685, + "loc": { + "start": { + "line": 203, + "column": 29 + }, + "end": { + "line": 203, + "column": 36 + }, + "identifierName": "_config" + }, + "name": "_config" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8686, + "end": 8695, + "loc": { + "start": { + "line": 203, + "column": 37 + }, + "end": { + "line": 203, + "column": 46 + }, + "identifierName": "transport" + }, + "name": "transport" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8703, + "end": 8720, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8707, + "end": 8719, + "loc": { + "start": { + "line": 204, + "column": 10 + }, + "end": { + "line": 204, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 8707, + "end": 8719, + "loc": { + "start": { + "line": 204, + "column": 10 + }, + "end": { + "line": 204, + "column": 22 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 8727, + "end": 9531, + "loc": { + "start": { + "line": 205, + "column": 6 + }, + "end": { + "line": 223, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 8727, + "end": 9530, + "loc": { + "start": { + "line": 205, + "column": 6 + }, + "end": { + "line": 223, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8727, + "end": 8765, + "loc": { + "start": { + "line": 205, + "column": 6 + }, + "end": { + "line": 205, + "column": 44 + } + }, + "object": { + "type": "CallExpression", + "start": 8727, + "end": 8755, + "loc": { + "start": { + "line": 205, + "column": 6 + }, + "end": { + "line": 205, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8727, + "end": 8753, + "loc": { + "start": { + "line": 205, + "column": 6 + }, + "end": { + "line": 205, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 8727, + "end": 8736, + "loc": { + "start": { + "line": 205, + "column": 6 + }, + "end": { + "line": 205, + "column": 15 + }, + "identifierName": "transport" + }, + "name": "transport" + }, + "property": { + "type": "Identifier", + "start": 8737, + "end": 8753, + "loc": { + "start": { + "line": 205, + "column": 16 + }, + "end": { + "line": 205, + "column": 32 + }, + "identifierName": "connectionStatus" + }, + "name": "connectionStatus" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 8756, + "end": 8765, + "loc": { + "start": { + "line": 205, + "column": 35 + }, + "end": { + "line": 205, + "column": 44 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 8766, + "end": 9529, + "loc": { + "start": { + "line": 205, + "column": 45 + }, + "end": { + "line": 223, + "column": 7 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 8776, + "end": 9309, + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 217, + "column": 9 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8776, + "end": 8782, + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 14 + }, + "identifierName": "onNext" + }, + "name": "onNext" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 8784, + "end": 9309, + "loc": { + "start": { + "line": 206, + "column": 16 + }, + "end": { + "line": 217, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8784, + "end": 8790, + "loc": { + "start": { + "line": 206, + "column": 16 + }, + "end": { + "line": 206, + "column": 22 + }, + "identifierName": "status" + }, + "name": "status" + } + ], + "body": { + "type": "BlockStatement", + "start": 8794, + "end": 9309, + "loc": { + "start": { + "line": 206, + "column": 26 + }, + "end": { + "line": 217, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 8806, + "end": 9299, + "loc": { + "start": { + "line": 207, + "column": 10 + }, + "end": { + "line": 216, + "column": 11 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8810, + "end": 8837, + "loc": { + "start": { + "line": 207, + "column": 14 + }, + "end": { + "line": 207, + "column": 41 + } + }, + "left": { + "type": "MemberExpression", + "start": 8810, + "end": 8821, + "loc": { + "start": { + "line": 207, + "column": 14 + }, + "end": { + "line": 207, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 8810, + "end": 8816, + "loc": { + "start": { + "line": 207, + "column": 14 + }, + "end": { + "line": 207, + "column": 20 + }, + "identifierName": "status" + }, + "name": "status" + }, + "property": { + "type": "Identifier", + "start": 8817, + "end": 8821, + "loc": { + "start": { + "line": 207, + "column": 21 + }, + "end": { + "line": 207, + "column": 25 + }, + "identifierName": "kind" + }, + "name": "kind" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 8826, + "end": 8837, + "loc": { + "start": { + "line": 207, + "column": 30 + }, + "end": { + "line": 207, + "column": 41 + } + }, + "extra": { + "rawValue": "CONNECTED", + "raw": "'CONNECTED'" + }, + "value": "CONNECTED" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8839, + "end": 8978, + "loc": { + "start": { + "line": 207, + "column": 43 + }, + "end": { + "line": 210, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8853, + "end": 8891, + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 50 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 8853, + "end": 8890, + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 49 + } + }, + "left": { + "type": "Identifier", + "start": 8853, + "end": 8865, + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 24 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 8869, + "end": 8890, + "loc": { + "start": { + "line": 208, + "column": 28 + }, + "end": { + "line": 208, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8869, + "end": 8888, + "loc": { + "start": { + "line": 208, + "column": 28 + }, + "end": { + "line": 208, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 8869, + "end": 8881, + "loc": { + "start": { + "line": 208, + "column": 28 + }, + "end": { + "line": 208, + "column": 40 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "property": { + "type": "Identifier", + "start": 8882, + "end": 8888, + "loc": { + "start": { + "line": 208, + "column": 41 + }, + "end": { + "line": 208, + "column": 47 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 8904, + "end": 8966, + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 74 + } + }, + "expression": { + "type": "CallExpression", + "start": 8904, + "end": 8965, + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8904, + "end": 8925, + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 8904, + "end": 8914, + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 22 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "property": { + "type": "Identifier", + "start": 8915, + "end": 8925, + "loc": { + "start": { + "line": 209, + "column": 23 + }, + "end": { + "line": 209, + "column": 33 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 8926, + "end": 8964, + "loc": { + "start": { + "line": 209, + "column": 34 + }, + "end": { + "line": 209, + "column": 72 + } + }, + "callee": { + "type": "Identifier", + "start": 8930, + "end": 8939, + "loc": { + "start": { + "line": 209, + "column": 38 + }, + "end": { + "line": 209, + "column": 47 + }, + "identifierName": "RpcSocket" + }, + "name": "RpcSocket" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8940, + "end": 8952, + "loc": { + "start": { + "line": 209, + "column": 48 + }, + "end": { + "line": 209, + "column": 60 + } + }, + "object": { + "type": "ThisExpression", + "start": 8940, + "end": 8944, + "loc": { + "start": { + "line": 209, + "column": 48 + }, + "end": { + "line": 209, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "start": 8945, + "end": 8952, + "loc": { + "start": { + "line": 209, + "column": 53 + }, + "end": { + "line": 209, + "column": 60 + }, + "identifierName": "_config" + }, + "name": "_config" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 8954, + "end": 8963, + "loc": { + "start": { + "line": 209, + "column": 62 + }, + "end": { + "line": 209, + "column": 71 + }, + "identifierName": "transport" + }, + "name": "transport" + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 8984, + "end": 9299, + "loc": { + "start": { + "line": 210, + "column": 17 + }, + "end": { + "line": 216, + "column": 11 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8988, + "end": 9011, + "loc": { + "start": { + "line": 210, + "column": 21 + }, + "end": { + "line": 210, + "column": 44 + } + }, + "left": { + "type": "MemberExpression", + "start": 8988, + "end": 8999, + "loc": { + "start": { + "line": 210, + "column": 21 + }, + "end": { + "line": 210, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 8988, + "end": 8994, + "loc": { + "start": { + "line": 210, + "column": 21 + }, + "end": { + "line": 210, + "column": 27 + }, + "identifierName": "status" + }, + "name": "status" + }, + "property": { + "type": "Identifier", + "start": 8995, + "end": 8999, + "loc": { + "start": { + "line": 210, + "column": 28 + }, + "end": { + "line": 210, + "column": 32 + }, + "identifierName": "kind" + }, + "name": "kind" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 9004, + "end": 9011, + "loc": { + "start": { + "line": 210, + "column": 37 + }, + "end": { + "line": 210, + "column": 44 + } + }, + "extra": { + "rawValue": "ERROR", + "raw": "'ERROR'" + }, + "value": "ERROR" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9013, + "end": 9123, + "loc": { + "start": { + "line": 210, + "column": 46 + }, + "end": { + "line": 213, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9027, + "end": 9065, + "loc": { + "start": { + "line": 211, + "column": 12 + }, + "end": { + "line": 211, + "column": 50 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 9027, + "end": 9064, + "loc": { + "start": { + "line": 211, + "column": 12 + }, + "end": { + "line": 211, + "column": 49 + } + }, + "left": { + "type": "Identifier", + "start": 9027, + "end": 9039, + "loc": { + "start": { + "line": 211, + "column": 12 + }, + "end": { + "line": 211, + "column": 24 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 9043, + "end": 9064, + "loc": { + "start": { + "line": 211, + "column": 28 + }, + "end": { + "line": 211, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9043, + "end": 9062, + "loc": { + "start": { + "line": 211, + "column": 28 + }, + "end": { + "line": 211, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 9043, + "end": 9055, + "loc": { + "start": { + "line": 211, + "column": 28 + }, + "end": { + "line": 211, + "column": 40 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "property": { + "type": "Identifier", + "start": 9056, + "end": 9062, + "loc": { + "start": { + "line": 211, + "column": 41 + }, + "end": { + "line": 211, + "column": 47 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 9078, + "end": 9111, + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 45 + } + }, + "expression": { + "type": "CallExpression", + "start": 9078, + "end": 9110, + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9078, + "end": 9096, + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 9078, + "end": 9088, + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 22 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "property": { + "type": "Identifier", + "start": 9089, + "end": 9096, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 30 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9097, + "end": 9109, + "loc": { + "start": { + "line": 212, + "column": 31 + }, + "end": { + "line": 212, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 9097, + "end": 9103, + "loc": { + "start": { + "line": 212, + "column": 31 + }, + "end": { + "line": 212, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "property": { + "type": "Identifier", + "start": 9104, + "end": 9109, + "loc": { + "start": { + "line": 212, + "column": 38 + }, + "end": { + "line": 212, + "column": 43 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 9129, + "end": 9299, + "loc": { + "start": { + "line": 213, + "column": 17 + }, + "end": { + "line": 216, + "column": 11 + } + }, + "test": { + "type": "BinaryExpression", + "start": 9133, + "end": 9157, + "loc": { + "start": { + "line": 213, + "column": 21 + }, + "end": { + "line": 213, + "column": 45 + } + }, + "left": { + "type": "MemberExpression", + "start": 9133, + "end": 9144, + "loc": { + "start": { + "line": 213, + "column": 21 + }, + "end": { + "line": 213, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 9133, + "end": 9139, + "loc": { + "start": { + "line": 213, + "column": 21 + }, + "end": { + "line": 213, + "column": 27 + }, + "identifierName": "status" + }, + "name": "status" + }, + "property": { + "type": "Identifier", + "start": 9140, + "end": 9144, + "loc": { + "start": { + "line": 213, + "column": 28 + }, + "end": { + "line": 213, + "column": 32 + }, + "identifierName": "kind" + }, + "name": "kind" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 9149, + "end": 9157, + "loc": { + "start": { + "line": 213, + "column": 37 + }, + "end": { + "line": 213, + "column": 45 + } + }, + "extra": { + "rawValue": "CLOSED", + "raw": "'CLOSED'" + }, + "value": "CLOSED" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9159, + "end": 9299, + "loc": { + "start": { + "line": 213, + "column": 47 + }, + "end": { + "line": 216, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9173, + "end": 9211, + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 50 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 9173, + "end": 9210, + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 49 + } + }, + "left": { + "type": "Identifier", + "start": 9173, + "end": 9185, + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 24 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 9189, + "end": 9210, + "loc": { + "start": { + "line": 214, + "column": 28 + }, + "end": { + "line": 214, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9189, + "end": 9208, + "loc": { + "start": { + "line": 214, + "column": 28 + }, + "end": { + "line": 214, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 9189, + "end": 9201, + "loc": { + "start": { + "line": 214, + "column": 28 + }, + "end": { + "line": 214, + "column": 40 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "property": { + "type": "Identifier", + "start": 9202, + "end": 9208, + "loc": { + "start": { + "line": 214, + "column": 41 + }, + "end": { + "line": 214, + "column": 47 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 9224, + "end": 9287, + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 75 + } + }, + "expression": { + "type": "CallExpression", + "start": 9224, + "end": 9286, + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 74 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9224, + "end": 9242, + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 9224, + "end": 9234, + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 22 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "property": { + "type": "Identifier", + "start": 9235, + "end": 9242, + "loc": { + "start": { + "line": 215, + "column": 23 + }, + "end": { + "line": 215, + "column": 30 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 9243, + "end": 9285, + "loc": { + "start": { + "line": 215, + "column": 31 + }, + "end": { + "line": 215, + "column": 73 + } + }, + "callee": { + "type": "Identifier", + "start": 9247, + "end": 9252, + "loc": { + "start": { + "line": 215, + "column": 35 + }, + "end": { + "line": 215, + "column": 40 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9253, + "end": 9284, + "loc": { + "start": { + "line": 215, + "column": 41 + }, + "end": { + "line": 215, + "column": 72 + } + }, + "extra": { + "rawValue": "RpcClient: Connection closed.", + "raw": "'RpcClient: Connection closed.'" + }, + "value": "RpcClient: Connection closed." + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + } + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 9319, + "end": 9521, + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 222, + "column": 9 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 9319, + "end": 9330, + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 19 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 9332, + "end": 9521, + "loc": { + "start": { + "line": 218, + "column": 21 + }, + "end": { + "line": 222, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9332, + "end": 9345, + "loc": { + "start": { + "line": 218, + "column": 21 + }, + "end": { + "line": 218, + "column": 34 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + } + ], + "body": { + "type": "BlockStatement", + "start": 9349, + "end": 9521, + "loc": { + "start": { + "line": 218, + "column": 38 + }, + "end": { + "line": 222, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9361, + "end": 9414, + "loc": { + "start": { + "line": 219, + "column": 10 + }, + "end": { + "line": 219, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 9361, + "end": 9413, + "loc": { + "start": { + "line": 219, + "column": 10 + }, + "end": { + "line": 219, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9361, + "end": 9383, + "loc": { + "start": { + "line": 219, + "column": 10 + }, + "end": { + "line": 219, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 9361, + "end": 9371, + "loc": { + "start": { + "line": 219, + "column": 10 + }, + "end": { + "line": 219, + "column": 20 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "property": { + "type": "Identifier", + "start": 9372, + "end": 9383, + "loc": { + "start": { + "line": 219, + "column": 21 + }, + "end": { + "line": 219, + "column": 32 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 9384, + "end": 9412, + "loc": { + "start": { + "line": 219, + "column": 33 + }, + "end": { + "line": 219, + "column": 61 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 9390, + "end": 9412, + "loc": { + "start": { + "line": 219, + "column": 39 + }, + "end": { + "line": 219, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9390, + "end": 9410, + "loc": { + "start": { + "line": 219, + "column": 39 + }, + "end": { + "line": 219, + "column": 59 + } + }, + "object": { + "type": "Identifier", + "start": 9390, + "end": 9403, + "loc": { + "start": { + "line": 219, + "column": 39 + }, + "end": { + "line": 219, + "column": 52 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "property": { + "type": "Identifier", + "start": 9404, + "end": 9410, + "loc": { + "start": { + "line": 219, + "column": 53 + }, + "end": { + "line": 219, + "column": 59 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9425, + "end": 9454, + "loc": { + "start": { + "line": 220, + "column": 10 + }, + "end": { + "line": 220, + "column": 39 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9425, + "end": 9453, + "loc": { + "start": { + "line": 220, + "column": 10 + }, + "end": { + "line": 220, + "column": 38 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 9425, + "end": 9437, + "loc": { + "start": { + "line": 220, + "column": 10 + }, + "end": { + "line": 220, + "column": 22 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "right": { + "type": "Identifier", + "start": 9440, + "end": 9453, + "loc": { + "start": { + "line": 220, + "column": 25 + }, + "end": { + "line": 220, + "column": 38 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + } + } + }, + { + "type": "ExpressionStatement", + "start": 9465, + "end": 9511, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 221, + "column": 56 + } + }, + "expression": { + "type": "CallExpression", + "start": 9465, + "end": 9510, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 221, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9465, + "end": 9485, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 221, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 9465, + "end": 9477, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 221, + "column": 22 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "property": { + "type": "Identifier", + "start": 9478, + "end": 9485, + "loc": { + "start": { + "line": 221, + "column": 23 + }, + "end": { + "line": 221, + "column": 30 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9486, + "end": 9509, + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 9486, + "end": 9492, + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 37 + }, + "identifierName": "Number" + }, + "name": "Number" + }, + "property": { + "type": "Identifier", + "start": 9493, + "end": 9509, + "loc": { + "start": { + "line": 221, + "column": 38 + }, + "end": { + "line": 221, + "column": 54 + }, + "identifierName": "MAX_SAFE_INTEGER" + }, + "name": "MAX_SAFE_INTEGER" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + } + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9538, + "end": 9558, + "loc": { + "start": { + "line": 224, + "column": 6 + }, + "end": { + "line": 224, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 9538, + "end": 9557, + "loc": { + "start": { + "line": 224, + "column": 6 + }, + "end": { + "line": 224, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9538, + "end": 9555, + "loc": { + "start": { + "line": 224, + "column": 6 + }, + "end": { + "line": 224, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 9538, + "end": 9547, + "loc": { + "start": { + "line": 224, + "column": 6 + }, + "end": { + "line": 224, + "column": 15 + }, + "identifierName": "transport" + }, + "name": "transport" + }, + "property": { + "type": "Identifier", + "start": 9548, + "end": 9555, + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 23 + }, + "identifierName": "connect" + }, + "name": "connect" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + }, + { + "type": "ReturnStatement", + "start": 9571, + "end": 9595, + "loc": { + "start": { + "line": 226, + "column": 4 + }, + "end": { + "line": 226, + "column": 28 + } + }, + "argument": { + "type": "MemberExpression", + "start": 9578, + "end": 9594, + "loc": { + "start": { + "line": 226, + "column": 11 + }, + "end": { + "line": 226, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 9578, + "end": 9582, + "loc": { + "start": { + "line": 226, + "column": 11 + }, + "end": { + "line": 226, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 9583, + "end": 9594, + "loc": { + "start": { + "line": 226, + "column": 16 + }, + "end": { + "line": 226, + "column": 27 + }, + "identifierName": "_connection" + }, + "name": "_connection" + }, + "computed": false + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Returns a {@link Single}, which, when you subscribe to it, initiates the\n * connection and emits a {@link ReactiveSocket} object that defines the\n * connection.\n * @example Here is an example instantiation of an RpcClient:\n * const local = 'ws://localhost:8088/';\n * const keepAlive = 60000; // 60s in ms \n * const lifetime = 360000; // 360s in ms\n * const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);\n * const client = new RpcClient({setup:{keepAlive, lifetime}, transport});\n * client.connect().subscribe({\n * onComplete: rsocket => {\n * console.info(\"Success! We have a handle to an RSocket connection\");\n * },\n * onError: error => {\n * console.error(\"Failed to connect to local RSocket server.\", error);\n * }\n * });\n *\n * @returns {Single>}\n * @throws {Error} if the RpcClient is already connected\n ", + "start": 7554, + "end": 8487, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 199, + "column": 5 + } + } + } + ] + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} Setup\n * @property {number} keepAlive The number of milliseconds between keepalive messages you will send to the service\n * @property {number} lifetime The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out.\n * @property {?Encodable} [metadata] Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials).\n ", + "start": 5343, + "end": 5848, + "loc": { + "start": { + "line": 140, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} ClientConfig\n * @property {PayloadSerializers} [serializers] A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it.\n * @property {Setup} setup Configure the keepalive process and any metadata you would like to accompany the connection.\n * @property {DuplexConnection} transport Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component.\n * @property {Responder} [responder] An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.)\n ", + "start": 5849, + "end": 6973, + "loc": { + "start": { + "line": 146, + "column": 0 + }, + "end": { + "line": 152, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The primary class/entry point for the core package is the {@link RpcClient}.\n * The client encapsulates the RSocket methods of fireAndForget,\n * requestResponse, requestStream, and requestChannel and merges them with a\n * bidirectional connection, allowing seamless use of RSocket for RPC.\n ", + "start": 6976, + "end": 7276, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 160, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @private\n ", + "start": 9603, + "end": 9622, + "loc": { + "start": { + "line": 230, + "column": 0 + }, + "end": { + "line": 232, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} Setup\n * @property {number} keepAlive The number of milliseconds between keepalive messages you will send to the service\n * @property {number} lifetime The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out.\n * @property {?Encodable} [metadata] Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials).\n ", + "start": 5343, + "end": 5848, + "loc": { + "start": { + "line": 140, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} ClientConfig\n * @property {PayloadSerializers} [serializers] A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it.\n * @property {Setup} setup Configure the keepalive process and any metadata you would like to accompany the connection.\n * @property {DuplexConnection} transport Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component.\n * @property {Responder} [responder] An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.)\n ", + "start": 5849, + "end": 6973, + "loc": { + "start": { + "line": 146, + "column": 0 + }, + "end": { + "line": 152, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The primary class/entry point for the core package is the {@link RpcClient}.\n * The client encapsulates the RSocket methods of fireAndForget,\n * requestResponse, requestStream, and requestChannel and merges them with a\n * bidirectional connection, allowing seamless use of RSocket for RPC.\n ", + "start": 6976, + "end": 7276, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 160, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @private\n ", + "start": 9603, + "end": 9622, + "loc": { + "start": { + "line": 230, + "column": 0 + }, + "end": { + "line": 232, + "column": 3 + } + } + } + ] + }, + { + "type": "ClassDeclaration", + "start": 9623, + "end": 11218, + "loc": { + "start": { + "line": 233, + "column": 0 + }, + "end": { + "line": 299, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 9629, + "end": 9638, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 15 + }, + "identifierName": "RpcSocket" + }, + "name": "RpcSocket", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 9639, + "end": 11218, + "loc": { + "start": { + "line": 233, + "column": 16 + }, + "end": { + "line": 299, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 9644, + "end": 10228, + "loc": { + "start": { + "line": 235, + "column": 2 + }, + "end": { + "line": 251, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 9644, + "end": 9655, + "loc": { + "start": { + "line": 235, + "column": 2 + }, + "end": { + "line": 235, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9656, + "end": 9662, + "loc": { + "start": { + "line": 235, + "column": 14 + }, + "end": { + "line": 235, + "column": 20 + }, + "identifierName": "config" + }, + "name": "config" + }, + { + "type": "Identifier", + "start": 9664, + "end": 9674, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 32 + }, + "identifierName": "connection" + }, + "name": "connection" + } + ], + "body": { + "type": "BlockStatement", + "start": 9676, + "end": 10228, + "loc": { + "start": { + "line": 235, + "column": 34 + }, + "end": { + "line": 251, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9682, + "end": 9826, + "loc": { + "start": { + "line": 236, + "column": 4 + }, + "end": { + "line": 236, + "column": 148 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9682, + "end": 9825, + "loc": { + "start": { + "line": 236, + "column": 4 + }, + "end": { + "line": 236, + "column": 147 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9682, + "end": 9695, + "loc": { + "start": { + "line": 236, + "column": 4 + }, + "end": { + "line": 236, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 9682, + "end": 9686, + "loc": { + "start": { + "line": 236, + "column": 4 + }, + "end": { + "line": 236, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 9687, + "end": 9695, + "loc": { + "start": { + "line": 236, + "column": 9 + }, + "end": { + "line": 236, + "column": 17 + }, + "identifierName": "_machine" + }, + "name": "_machine" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 9698, + "end": 9825, + "loc": { + "start": { + "line": 236, + "column": 20 + }, + "end": { + "line": 236, + "column": 147 + } + }, + "callee": { + "type": "Identifier", + "start": 9698, + "end": 9717, + "loc": { + "start": { + "line": 236, + "column": 20 + }, + "end": { + "line": 236, + "column": 39 + }, + "identifierName": "createClientMachine" + }, + "name": "createClientMachine" + }, + "arguments": [ + { + "type": "Identifier", + "start": 9718, + "end": 9728, + "loc": { + "start": { + "line": 236, + "column": 40 + }, + "end": { + "line": 236, + "column": 50 + }, + "identifierName": "connection" + }, + "name": "connection" + }, + { + "type": "ArrowFunctionExpression", + "start": 9730, + "end": 9786, + "loc": { + "start": { + "line": 236, + "column": 52 + }, + "end": { + "line": 236, + "column": 108 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9730, + "end": 9740, + "loc": { + "start": { + "line": 236, + "column": 52 + }, + "end": { + "line": 236, + "column": 62 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "CallExpression", + "start": 9744, + "end": 9786, + "loc": { + "start": { + "line": 236, + "column": 66 + }, + "end": { + "line": 236, + "column": 108 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9744, + "end": 9774, + "loc": { + "start": { + "line": 236, + "column": 66 + }, + "end": { + "line": 236, + "column": 96 + } + }, + "object": { + "type": "CallExpression", + "start": 9744, + "end": 9764, + "loc": { + "start": { + "line": 236, + "column": 66 + }, + "end": { + "line": 236, + "column": 86 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9744, + "end": 9762, + "loc": { + "start": { + "line": 236, + "column": 66 + }, + "end": { + "line": 236, + "column": 84 + } + }, + "object": { + "type": "Identifier", + "start": 9744, + "end": 9754, + "loc": { + "start": { + "line": 236, + "column": 66 + }, + "end": { + "line": 236, + "column": 76 + }, + "identifierName": "connection" + }, + "name": "connection" + }, + "property": { + "type": "Identifier", + "start": 9755, + "end": 9762, + "loc": { + "start": { + "line": 236, + "column": 77 + }, + "end": { + "line": 236, + "column": 84 + }, + "identifierName": "receive" + }, + "name": "receive" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 9765, + "end": 9774, + "loc": { + "start": { + "line": 236, + "column": 87 + }, + "end": { + "line": 236, + "column": 96 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9775, + "end": 9785, + "loc": { + "start": { + "line": 236, + "column": 97 + }, + "end": { + "line": 236, + "column": 107 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ] + } + }, + { + "type": "MemberExpression", + "start": 9788, + "end": 9806, + "loc": { + "start": { + "line": 236, + "column": 110 + }, + "end": { + "line": 236, + "column": 128 + } + }, + "object": { + "type": "Identifier", + "start": 9788, + "end": 9794, + "loc": { + "start": { + "line": 236, + "column": 110 + }, + "end": { + "line": 236, + "column": 116 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 9795, + "end": 9806, + "loc": { + "start": { + "line": 236, + "column": 117 + }, + "end": { + "line": 236, + "column": 128 + }, + "identifierName": "serializers" + }, + "name": "serializers" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 9808, + "end": 9824, + "loc": { + "start": { + "line": 236, + "column": 130 + }, + "end": { + "line": 236, + "column": 146 + } + }, + "object": { + "type": "Identifier", + "start": 9808, + "end": 9814, + "loc": { + "start": { + "line": 236, + "column": 130 + }, + "end": { + "line": 236, + "column": 136 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 9815, + "end": 9824, + "loc": { + "start": { + "line": 236, + "column": 137 + }, + "end": { + "line": 236, + "column": 146 + }, + "identifierName": "responder" + }, + "name": "responder" + }, + "computed": false + } + ] + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Send SETUP", + "start": 9832, + "end": 9845, + "loc": { + "start": { + "line": 238, + "column": 4 + }, + "end": { + "line": 238, + "column": 17 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 9850, + "end": 9900, + "loc": { + "start": { + "line": 239, + "column": 4 + }, + "end": { + "line": 239, + "column": 54 + } + }, + "expression": { + "type": "CallExpression", + "start": 9850, + "end": 9899, + "loc": { + "start": { + "line": 239, + "column": 4 + }, + "end": { + "line": 239, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9850, + "end": 9868, + "loc": { + "start": { + "line": 239, + "column": 4 + }, + "end": { + "line": 239, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 9850, + "end": 9860, + "loc": { + "start": { + "line": 239, + "column": 4 + }, + "end": { + "line": 239, + "column": 14 + }, + "identifierName": "connection" + }, + "name": "connection", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9861, + "end": 9868, + "loc": { + "start": { + "line": 239, + "column": 15 + }, + "end": { + "line": 239, + "column": 22 + }, + "identifierName": "sendOne" + }, + "name": "sendOne" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "CallExpression", + "start": 9869, + "end": 9898, + "loc": { + "start": { + "line": 239, + "column": 23 + }, + "end": { + "line": 239, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9869, + "end": 9890, + "loc": { + "start": { + "line": 239, + "column": 23 + }, + "end": { + "line": 239, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 9869, + "end": 9873, + "loc": { + "start": { + "line": 239, + "column": 23 + }, + "end": { + "line": 239, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 9874, + "end": 9890, + "loc": { + "start": { + "line": 239, + "column": 28 + }, + "end": { + "line": 239, + "column": 44 + }, + "identifierName": "_buildSetupFrame" + }, + "name": "_buildSetupFrame" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9891, + "end": 9897, + "loc": { + "start": { + "line": 239, + "column": 45 + }, + "end": { + "line": 239, + "column": 51 + }, + "identifierName": "config" + }, + "name": "config" + } + ] + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Send SETUP", + "start": 9832, + "end": 9845, + "loc": { + "start": { + "line": 238, + "column": 4 + }, + "end": { + "line": 238, + "column": 17 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Send KEEPALIVE frames", + "start": 9906, + "end": 9930, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 241, + "column": 28 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 9935, + "end": 9970, + "loc": { + "start": { + "line": 242, + "column": 4 + }, + "end": { + "line": 242, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9941, + "end": 9969, + "loc": { + "start": { + "line": 242, + "column": 10 + }, + "end": { + "line": 242, + "column": 38 + } + }, + "id": { + "type": "ObjectPattern", + "start": 9941, + "end": 9954, + "loc": { + "start": { + "line": 242, + "column": 10 + }, + "end": { + "line": 242, + "column": 23 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 9943, + "end": 9952, + "loc": { + "start": { + "line": 242, + "column": 12 + }, + "end": { + "line": 242, + "column": 21 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 9943, + "end": 9952, + "loc": { + "start": { + "line": 242, + "column": 12 + }, + "end": { + "line": 242, + "column": 21 + }, + "identifierName": "keepAlive" + }, + "name": "keepAlive", + "leadingComments": null + }, + "value": { + "type": "Identifier", + "start": 9943, + "end": 9952, + "loc": { + "start": { + "line": 242, + "column": 12 + }, + "end": { + "line": 242, + "column": 21 + }, + "identifierName": "keepAlive" + }, + "name": "keepAlive" + }, + "leadingComments": null, + "extra": { + "shorthand": true + } + } + ], + "leadingComments": null + }, + "init": { + "type": "MemberExpression", + "start": 9957, + "end": 9969, + "loc": { + "start": { + "line": 242, + "column": 26 + }, + "end": { + "line": 242, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 9957, + "end": 9963, + "loc": { + "start": { + "line": 242, + "column": 26 + }, + "end": { + "line": 242, + "column": 32 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 9964, + "end": 9969, + "loc": { + "start": { + "line": 242, + "column": 33 + }, + "end": { + "line": 242, + "column": 38 + }, + "identifierName": "setup" + }, + "name": "setup" + }, + "computed": false + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Send KEEPALIVE frames", + "start": 9906, + "end": 9930, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 241, + "column": 28 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 9975, + "end": 10186, + "loc": { + "start": { + "line": 243, + "column": 4 + }, + "end": { + "line": 249, + "column": 8 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9981, + "end": 10185, + "loc": { + "start": { + "line": 243, + "column": 10 + }, + "end": { + "line": 249, + "column": 7 + } + }, + "id": { + "type": "Identifier", + "start": 9981, + "end": 9996, + "loc": { + "start": { + "line": 243, + "column": 10 + }, + "end": { + "line": 243, + "column": 25 + }, + "identifierName": "keepAliveFrames" + }, + "name": "keepAliveFrames" + }, + "init": { + "type": "CallExpression", + "start": 9999, + "end": 10185, + "loc": { + "start": { + "line": 243, + "column": 28 + }, + "end": { + "line": 249, + "column": 7 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9999, + "end": 10019, + "loc": { + "start": { + "line": 243, + "column": 28 + }, + "end": { + "line": 243, + "column": 48 + } + }, + "object": { + "type": "CallExpression", + "start": 9999, + "end": 10015, + "loc": { + "start": { + "line": 243, + "column": 28 + }, + "end": { + "line": 243, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 9999, + "end": 10004, + "loc": { + "start": { + "line": 243, + "column": 28 + }, + "end": { + "line": 243, + "column": 33 + }, + "identifierName": "every" + }, + "name": "every" + }, + "arguments": [ + { + "type": "Identifier", + "start": 10005, + "end": 10014, + "loc": { + "start": { + "line": 243, + "column": 34 + }, + "end": { + "line": 243, + "column": 43 + }, + "identifierName": "keepAlive" + }, + "name": "keepAlive" + } + ] + }, + "property": { + "type": "Identifier", + "start": 10016, + "end": 10019, + "loc": { + "start": { + "line": 243, + "column": 45 + }, + "end": { + "line": 243, + "column": 48 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10020, + "end": 10184, + "loc": { + "start": { + "line": 243, + "column": 49 + }, + "end": { + "line": 249, + "column": 6 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "ObjectExpression", + "start": 10027, + "end": 10183, + "loc": { + "start": { + "line": 243, + "column": 56 + }, + "end": { + "line": 249, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 10035, + "end": 10045, + "loc": { + "start": { + "line": 244, + "column": 6 + }, + "end": { + "line": 244, + "column": 16 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10035, + "end": 10039, + "loc": { + "start": { + "line": 244, + "column": 6 + }, + "end": { + "line": 244, + "column": 10 + }, + "identifierName": "data" + }, + "name": "data" + }, + "value": { + "type": "NullLiteral", + "start": 10041, + "end": 10045, + "loc": { + "start": { + "line": 244, + "column": 12 + }, + "end": { + "line": 244, + "column": 16 + } + } + } + }, + { + "type": "ObjectProperty", + "start": 10053, + "end": 10073, + "loc": { + "start": { + "line": 245, + "column": 6 + }, + "end": { + "line": 245, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10053, + "end": 10058, + "loc": { + "start": { + "line": 245, + "column": 6 + }, + "end": { + "line": 245, + "column": 11 + }, + "identifierName": "flags" + }, + "name": "flags" + }, + "value": { + "type": "MemberExpression", + "start": 10060, + "end": 10073, + "loc": { + "start": { + "line": 245, + "column": 13 + }, + "end": { + "line": 245, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 10060, + "end": 10065, + "loc": { + "start": { + "line": 245, + "column": 13 + }, + "end": { + "line": 245, + "column": 18 + }, + "identifierName": "FLAGS" + }, + "name": "FLAGS" + }, + "property": { + "type": "Identifier", + "start": 10066, + "end": 10073, + "loc": { + "start": { + "line": 245, + "column": 19 + }, + "end": { + "line": 245, + "column": 26 + }, + "identifierName": "RESPOND" + }, + "name": "RESPOND" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 10081, + "end": 10104, + "loc": { + "start": { + "line": 246, + "column": 6 + }, + "end": { + "line": 246, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10081, + "end": 10101, + "loc": { + "start": { + "line": 246, + "column": 6 + }, + "end": { + "line": 246, + "column": 26 + }, + "identifierName": "lastReceivedPosition" + }, + "name": "lastReceivedPosition" + }, + "value": { + "type": "NumericLiteral", + "start": 10103, + "end": 10104, + "loc": { + "start": { + "line": 246, + "column": 28 + }, + "end": { + "line": 246, + "column": 29 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + { + "type": "ObjectProperty", + "start": 10112, + "end": 10142, + "loc": { + "start": { + "line": 247, + "column": 6 + }, + "end": { + "line": 247, + "column": 36 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10112, + "end": 10120, + "loc": { + "start": { + "line": 247, + "column": 6 + }, + "end": { + "line": 247, + "column": 14 + }, + "identifierName": "streamId" + }, + "name": "streamId" + }, + "value": { + "type": "Identifier", + "start": 10122, + "end": 10142, + "loc": { + "start": { + "line": 247, + "column": 16 + }, + "end": { + "line": 247, + "column": 36 + }, + "identifierName": "CONNECTION_STREAM_ID" + }, + "name": "CONNECTION_STREAM_ID" + } + }, + { + "type": "ObjectProperty", + "start": 10150, + "end": 10177, + "loc": { + "start": { + "line": 248, + "column": 6 + }, + "end": { + "line": 248, + "column": 33 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10150, + "end": 10154, + "loc": { + "start": { + "line": 248, + "column": 6 + }, + "end": { + "line": 248, + "column": 10 + }, + "identifierName": "type" + }, + "name": "type" + }, + "value": { + "type": "MemberExpression", + "start": 10156, + "end": 10177, + "loc": { + "start": { + "line": 248, + "column": 12 + }, + "end": { + "line": 248, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 10156, + "end": 10167, + "loc": { + "start": { + "line": 248, + "column": 12 + }, + "end": { + "line": 248, + "column": 23 + }, + "identifierName": "FRAME_TYPES" + }, + "name": "FRAME_TYPES" + }, + "property": { + "type": "Identifier", + "start": 10168, + "end": 10177, + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 33 + }, + "identifierName": "KEEPALIVE" + }, + "name": "KEEPALIVE" + }, + "computed": false + } + } + ], + "extra": { + "parenthesized": true, + "parenStart": 10026 + } + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 10191, + "end": 10224, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 10191, + "end": 10223, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10191, + "end": 10206, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 10191, + "end": 10201, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 14 + }, + "identifierName": "connection" + }, + "name": "connection" + }, + "property": { + "type": "Identifier", + "start": 10202, + "end": 10206, + "loc": { + "start": { + "line": 250, + "column": 15 + }, + "end": { + "line": 250, + "column": 19 + }, + "identifierName": "send" + }, + "name": "send" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10207, + "end": 10222, + "loc": { + "start": { + "line": 250, + "column": 20 + }, + "end": { + "line": 250, + "column": 35 + }, + "identifierName": "keepAliveFrames" + }, + "name": "keepAliveFrames" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 10232, + "end": 10302, + "loc": { + "start": { + "line": 253, + "column": 2 + }, + "end": { + "line": 255, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10232, + "end": 10245, + "loc": { + "start": { + "line": 253, + "column": 2 + }, + "end": { + "line": 253, + "column": 15 + }, + "identifierName": "fireAndForget" + }, + "name": "fireAndForget" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10246, + "end": 10253, + "loc": { + "start": { + "line": 253, + "column": 16 + }, + "end": { + "line": 253, + "column": 23 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ], + "body": { + "type": "BlockStatement", + "start": 10255, + "end": 10302, + "loc": { + "start": { + "line": 253, + "column": 25 + }, + "end": { + "line": 255, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10261, + "end": 10298, + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 10261, + "end": 10297, + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10261, + "end": 10288, + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 31 + } + }, + "object": { + "type": "MemberExpression", + "start": 10261, + "end": 10274, + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 10261, + "end": 10265, + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10266, + "end": 10274, + "loc": { + "start": { + "line": 254, + "column": 9 + }, + "end": { + "line": 254, + "column": 17 + }, + "identifierName": "_machine" + }, + "name": "_machine" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10275, + "end": 10288, + "loc": { + "start": { + "line": 254, + "column": 18 + }, + "end": { + "line": 254, + "column": 31 + }, + "identifierName": "fireAndForget" + }, + "name": "fireAndForget" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10289, + "end": 10296, + "loc": { + "start": { + "line": 254, + "column": 32 + }, + "end": { + "line": 254, + "column": 39 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 10306, + "end": 10387, + "loc": { + "start": { + "line": 257, + "column": 2 + }, + "end": { + "line": 259, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10306, + "end": 10321, + "loc": { + "start": { + "line": 257, + "column": 2 + }, + "end": { + "line": 257, + "column": 17 + }, + "identifierName": "requestResponse" + }, + "name": "requestResponse" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10322, + "end": 10329, + "loc": { + "start": { + "line": 257, + "column": 18 + }, + "end": { + "line": 257, + "column": 25 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ], + "body": { + "type": "BlockStatement", + "start": 10331, + "end": 10387, + "loc": { + "start": { + "line": 257, + "column": 27 + }, + "end": { + "line": 259, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10337, + "end": 10383, + "loc": { + "start": { + "line": 258, + "column": 4 + }, + "end": { + "line": 258, + "column": 50 + } + }, + "argument": { + "type": "CallExpression", + "start": 10344, + "end": 10382, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10344, + "end": 10373, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 10344, + "end": 10357, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 10344, + "end": 10348, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 10349, + "end": 10357, + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 258, + "column": 24 + }, + "identifierName": "_machine" + }, + "name": "_machine" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10358, + "end": 10373, + "loc": { + "start": { + "line": 258, + "column": 25 + }, + "end": { + "line": 258, + "column": 40 + }, + "identifierName": "requestResponse" + }, + "name": "requestResponse" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10374, + "end": 10381, + "loc": { + "start": { + "line": 258, + "column": 41 + }, + "end": { + "line": 258, + "column": 48 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 10391, + "end": 10468, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 263, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10391, + "end": 10404, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 261, + "column": 15 + }, + "identifierName": "requestStream" + }, + "name": "requestStream" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10405, + "end": 10412, + "loc": { + "start": { + "line": 261, + "column": 16 + }, + "end": { + "line": 261, + "column": 23 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ], + "body": { + "type": "BlockStatement", + "start": 10414, + "end": 10468, + "loc": { + "start": { + "line": 261, + "column": 25 + }, + "end": { + "line": 263, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10420, + "end": 10464, + "loc": { + "start": { + "line": 262, + "column": 4 + }, + "end": { + "line": 262, + "column": 48 + } + }, + "argument": { + "type": "CallExpression", + "start": 10427, + "end": 10463, + "loc": { + "start": { + "line": 262, + "column": 11 + }, + "end": { + "line": 262, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10427, + "end": 10454, + "loc": { + "start": { + "line": 262, + "column": 11 + }, + "end": { + "line": 262, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 10427, + "end": 10440, + "loc": { + "start": { + "line": 262, + "column": 11 + }, + "end": { + "line": 262, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 10427, + "end": 10431, + "loc": { + "start": { + "line": 262, + "column": 11 + }, + "end": { + "line": 262, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 10432, + "end": 10440, + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 24 + }, + "identifierName": "_machine" + }, + "name": "_machine" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10441, + "end": 10454, + "loc": { + "start": { + "line": 262, + "column": 25 + }, + "end": { + "line": 262, + "column": 38 + }, + "identifierName": "requestStream" + }, + "name": "requestStream" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10455, + "end": 10462, + "loc": { + "start": { + "line": 262, + "column": 39 + }, + "end": { + "line": 262, + "column": 46 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 10472, + "end": 10553, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 267, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10472, + "end": 10486, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 265, + "column": 16 + }, + "identifierName": "requestChannel" + }, + "name": "requestChannel" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10487, + "end": 10495, + "loc": { + "start": { + "line": 265, + "column": 17 + }, + "end": { + "line": 265, + "column": 25 + }, + "identifierName": "payloads" + }, + "name": "payloads" + } + ], + "body": { + "type": "BlockStatement", + "start": 10497, + "end": 10553, + "loc": { + "start": { + "line": 265, + "column": 27 + }, + "end": { + "line": 267, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10503, + "end": 10549, + "loc": { + "start": { + "line": 266, + "column": 4 + }, + "end": { + "line": 266, + "column": 50 + } + }, + "argument": { + "type": "CallExpression", + "start": 10510, + "end": 10548, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10510, + "end": 10538, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 10510, + "end": 10523, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 10510, + "end": 10514, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 10515, + "end": 10523, + "loc": { + "start": { + "line": 266, + "column": 16 + }, + "end": { + "line": 266, + "column": 24 + }, + "identifierName": "_machine" + }, + "name": "_machine" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10524, + "end": 10538, + "loc": { + "start": { + "line": 266, + "column": 25 + }, + "end": { + "line": 266, + "column": 39 + }, + "identifierName": "requestChannel" + }, + "name": "requestChannel" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10539, + "end": 10547, + "loc": { + "start": { + "line": 266, + "column": 40 + }, + "end": { + "line": 266, + "column": 48 + }, + "identifierName": "payloads" + }, + "name": "payloads" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 10557, + "end": 10632, + "loc": { + "start": { + "line": 269, + "column": 2 + }, + "end": { + "line": 271, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10557, + "end": 10569, + "loc": { + "start": { + "line": 269, + "column": 2 + }, + "end": { + "line": 269, + "column": 14 + }, + "identifierName": "metadataPush" + }, + "name": "metadataPush" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10570, + "end": 10577, + "loc": { + "start": { + "line": 269, + "column": 15 + }, + "end": { + "line": 269, + "column": 22 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ], + "body": { + "type": "BlockStatement", + "start": 10579, + "end": 10632, + "loc": { + "start": { + "line": 269, + "column": 24 + }, + "end": { + "line": 271, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10585, + "end": 10628, + "loc": { + "start": { + "line": 270, + "column": 4 + }, + "end": { + "line": 270, + "column": 47 + } + }, + "argument": { + "type": "CallExpression", + "start": 10592, + "end": 10627, + "loc": { + "start": { + "line": 270, + "column": 11 + }, + "end": { + "line": 270, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10592, + "end": 10618, + "loc": { + "start": { + "line": 270, + "column": 11 + }, + "end": { + "line": 270, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 10592, + "end": 10605, + "loc": { + "start": { + "line": 270, + "column": 11 + }, + "end": { + "line": 270, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 10592, + "end": 10596, + "loc": { + "start": { + "line": 270, + "column": 11 + }, + "end": { + "line": 270, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 10597, + "end": 10605, + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 24 + }, + "identifierName": "_machine" + }, + "name": "_machine" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10606, + "end": 10618, + "loc": { + "start": { + "line": 270, + "column": 25 + }, + "end": { + "line": 270, + "column": 37 + }, + "identifierName": "metadataPush" + }, + "name": "metadataPush" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10619, + "end": 10626, + "loc": { + "start": { + "line": 270, + "column": 38 + }, + "end": { + "line": 270, + "column": 45 + }, + "identifierName": "payload" + }, + "name": "payload" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 10636, + "end": 10676, + "loc": { + "start": { + "line": 273, + "column": 2 + }, + "end": { + "line": 275, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10636, + "end": 10641, + "loc": { + "start": { + "line": 273, + "column": 2 + }, + "end": { + "line": 273, + "column": 7 + }, + "identifierName": "close" + }, + "name": "close" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 10644, + "end": 10676, + "loc": { + "start": { + "line": 273, + "column": 10 + }, + "end": { + "line": 275, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10650, + "end": 10672, + "loc": { + "start": { + "line": 274, + "column": 4 + }, + "end": { + "line": 274, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 10650, + "end": 10671, + "loc": { + "start": { + "line": 274, + "column": 4 + }, + "end": { + "line": 274, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10650, + "end": 10669, + "loc": { + "start": { + "line": 274, + "column": 4 + }, + "end": { + "line": 274, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 10650, + "end": 10663, + "loc": { + "start": { + "line": 274, + "column": 4 + }, + "end": { + "line": 274, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 10650, + "end": 10654, + "loc": { + "start": { + "line": 274, + "column": 4 + }, + "end": { + "line": 274, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10655, + "end": 10663, + "loc": { + "start": { + "line": 274, + "column": 9 + }, + "end": { + "line": 274, + "column": 17 + }, + "identifierName": "_machine" + }, + "name": "_machine" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10664, + "end": 10669, + "loc": { + "start": { + "line": 274, + "column": 18 + }, + "end": { + "line": 274, + "column": 23 + }, + "identifierName": "close" + }, + "name": "close" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 10680, + "end": 10749, + "loc": { + "start": { + "line": 277, + "column": 2 + }, + "end": { + "line": 279, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10680, + "end": 10696, + "loc": { + "start": { + "line": 277, + "column": 2 + }, + "end": { + "line": 277, + "column": 18 + }, + "identifierName": "connectionStatus" + }, + "name": "connectionStatus" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 10699, + "end": 10749, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 279, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10705, + "end": 10745, + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 44 + } + }, + "argument": { + "type": "CallExpression", + "start": 10712, + "end": 10744, + "loc": { + "start": { + "line": 278, + "column": 11 + }, + "end": { + "line": 278, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10712, + "end": 10742, + "loc": { + "start": { + "line": 278, + "column": 11 + }, + "end": { + "line": 278, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 10712, + "end": 10725, + "loc": { + "start": { + "line": 278, + "column": 11 + }, + "end": { + "line": 278, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 10712, + "end": 10716, + "loc": { + "start": { + "line": 278, + "column": 11 + }, + "end": { + "line": 278, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 10717, + "end": 10725, + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 24 + }, + "identifierName": "_machine" + }, + "name": "_machine" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10726, + "end": 10742, + "loc": { + "start": { + "line": 278, + "column": 25 + }, + "end": { + "line": 278, + "column": 41 + }, + "identifierName": "connectionStatus" + }, + "name": "connectionStatus" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ClassMethod", + "start": 10753, + "end": 11216, + "loc": { + "start": { + "line": 281, + "column": 2 + }, + "end": { + "line": 298, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10753, + "end": 10769, + "loc": { + "start": { + "line": 281, + "column": 2 + }, + "end": { + "line": 281, + "column": 18 + }, + "identifierName": "_buildSetupFrame" + }, + "name": "_buildSetupFrame" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10770, + "end": 10776, + "loc": { + "start": { + "line": 281, + "column": 19 + }, + "end": { + "line": 281, + "column": 25 + }, + "identifierName": "config" + }, + "name": "config" + } + ], + "body": { + "type": "BlockStatement", + "start": 10778, + "end": 11216, + "loc": { + "start": { + "line": 281, + "column": 27 + }, + "end": { + "line": 298, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 10784, + "end": 10839, + "loc": { + "start": { + "line": 282, + "column": 4 + }, + "end": { + "line": 282, + "column": 59 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 10790, + "end": 10838, + "loc": { + "start": { + "line": 282, + "column": 10 + }, + "end": { + "line": 282, + "column": 58 + } + }, + "id": { + "type": "ObjectPattern", + "start": 10790, + "end": 10823, + "loc": { + "start": { + "line": 282, + "column": 10 + }, + "end": { + "line": 282, + "column": 43 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 10792, + "end": 10801, + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 21 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 10792, + "end": 10801, + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 21 + }, + "identifierName": "keepAlive" + }, + "name": "keepAlive" + }, + "value": { + "type": "Identifier", + "start": 10792, + "end": 10801, + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 21 + }, + "identifierName": "keepAlive" + }, + "name": "keepAlive" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 10803, + "end": 10811, + "loc": { + "start": { + "line": 282, + "column": 23 + }, + "end": { + "line": 282, + "column": 31 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 10803, + "end": 10811, + "loc": { + "start": { + "line": 282, + "column": 23 + }, + "end": { + "line": 282, + "column": 31 + }, + "identifierName": "lifetime" + }, + "name": "lifetime" + }, + "value": { + "type": "Identifier", + "start": 10803, + "end": 10811, + "loc": { + "start": { + "line": 282, + "column": 23 + }, + "end": { + "line": 282, + "column": 31 + }, + "identifierName": "lifetime" + }, + "name": "lifetime" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 10813, + "end": 10821, + "loc": { + "start": { + "line": 282, + "column": 33 + }, + "end": { + "line": 282, + "column": 41 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 10813, + "end": 10821, + "loc": { + "start": { + "line": 282, + "column": 33 + }, + "end": { + "line": 282, + "column": 41 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "value": { + "type": "Identifier", + "start": 10813, + "end": 10821, + "loc": { + "start": { + "line": 282, + "column": 33 + }, + "end": { + "line": 282, + "column": 41 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "extra": { + "shorthand": true + } + } + ] + }, + "init": { + "type": "MemberExpression", + "start": 10826, + "end": 10838, + "loc": { + "start": { + "line": 282, + "column": 46 + }, + "end": { + "line": 282, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 10826, + "end": 10832, + "loc": { + "start": { + "line": 282, + "column": 46 + }, + "end": { + "line": 282, + "column": 52 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 10833, + "end": 10838, + "loc": { + "start": { + "line": 282, + "column": 53 + }, + "end": { + "line": 282, + "column": 58 + }, + "identifierName": "setup" + }, + "name": "setup" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 10845, + "end": 11212, + "loc": { + "start": { + "line": 284, + "column": 4 + }, + "end": { + "line": 297, + "column": 6 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 10852, + "end": 11211, + "loc": { + "start": { + "line": 284, + "column": 11 + }, + "end": { + "line": 297, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 10860, + "end": 10881, + "loc": { + "start": { + "line": 285, + "column": 6 + }, + "end": { + "line": 285, + "column": 27 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10860, + "end": 10865, + "loc": { + "start": { + "line": 285, + "column": 6 + }, + "end": { + "line": 285, + "column": 11 + }, + "identifierName": "flags" + }, + "name": "flags" + }, + "value": { + "type": "MemberExpression", + "start": 10867, + "end": 10881, + "loc": { + "start": { + "line": 285, + "column": 13 + }, + "end": { + "line": 285, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 10867, + "end": 10872, + "loc": { + "start": { + "line": 285, + "column": 13 + }, + "end": { + "line": 285, + "column": 18 + }, + "identifierName": "FLAGS" + }, + "name": "FLAGS" + }, + "property": { + "type": "Identifier", + "start": 10873, + "end": 10881, + "loc": { + "start": { + "line": 285, + "column": 19 + }, + "end": { + "line": 285, + "column": 27 + }, + "identifierName": "METADATA" + }, + "name": "METADATA" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 10889, + "end": 10898, + "loc": { + "start": { + "line": 286, + "column": 6 + }, + "end": { + "line": 286, + "column": 15 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 10889, + "end": 10898, + "loc": { + "start": { + "line": 286, + "column": 6 + }, + "end": { + "line": 286, + "column": 15 + }, + "identifierName": "keepAlive" + }, + "name": "keepAlive" + }, + "value": { + "type": "Identifier", + "start": 10889, + "end": 10898, + "loc": { + "start": { + "line": 286, + "column": 6 + }, + "end": { + "line": 286, + "column": 15 + }, + "identifierName": "keepAlive" + }, + "name": "keepAlive" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 10906, + "end": 10914, + "loc": { + "start": { + "line": 287, + "column": 6 + }, + "end": { + "line": 287, + "column": 14 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 10906, + "end": 10914, + "loc": { + "start": { + "line": 287, + "column": 6 + }, + "end": { + "line": 287, + "column": 14 + }, + "identifierName": "lifetime" + }, + "name": "lifetime" + }, + "value": { + "type": "Identifier", + "start": 10906, + "end": 10914, + "loc": { + "start": { + "line": 287, + "column": 6 + }, + "end": { + "line": 287, + "column": 14 + }, + "identifierName": "lifetime" + }, + "name": "lifetime" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 10922, + "end": 10949, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 33 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10922, + "end": 10934, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 18 + }, + "identifierName": "majorVersion" + }, + "name": "majorVersion" + }, + "value": { + "type": "Identifier", + "start": 10936, + "end": 10949, + "loc": { + "start": { + "line": 288, + "column": 20 + }, + "end": { + "line": 288, + "column": 33 + }, + "identifierName": "MAJOR_VERSION" + }, + "name": "MAJOR_VERSION" + } + }, + { + "type": "ObjectProperty", + "start": 10957, + "end": 10984, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 33 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10957, + "end": 10969, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 18 + }, + "identifierName": "minorVersion" + }, + "name": "minorVersion" + }, + "value": { + "type": "Identifier", + "start": 10971, + "end": 10984, + "loc": { + "start": { + "line": 289, + "column": 20 + }, + "end": { + "line": 289, + "column": 33 + }, + "identifierName": "MINOR_VERSION" + }, + "name": "MINOR_VERSION" + } + }, + { + "type": "ObjectProperty", + "start": 10992, + "end": 11030, + "loc": { + "start": { + "line": 290, + "column": 6 + }, + "end": { + "line": 290, + "column": 44 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10992, + "end": 11008, + "loc": { + "start": { + "line": 290, + "column": 6 + }, + "end": { + "line": 290, + "column": 22 + }, + "identifierName": "metadataMimeType" + }, + "name": "metadataMimeType" + }, + "value": { + "type": "StringLiteral", + "start": 11010, + "end": 11030, + "loc": { + "start": { + "line": 290, + "column": 24 + }, + "end": { + "line": 290, + "column": 44 + } + }, + "extra": { + "rawValue": "application/binary", + "raw": "'application/binary'" + }, + "value": "application/binary" + } + }, + { + "type": "ObjectProperty", + "start": 11038, + "end": 11046, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 14 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 11038, + "end": 11046, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 14 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "value": { + "type": "Identifier", + "start": 11038, + "end": 11046, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 14 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 11054, + "end": 11088, + "loc": { + "start": { + "line": 292, + "column": 6 + }, + "end": { + "line": 292, + "column": 40 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11054, + "end": 11066, + "loc": { + "start": { + "line": 292, + "column": 6 + }, + "end": { + "line": 292, + "column": 18 + }, + "identifierName": "dataMimeType" + }, + "name": "dataMimeType" + }, + "value": { + "type": "StringLiteral", + "start": 11068, + "end": 11088, + "loc": { + "start": { + "line": 292, + "column": 20 + }, + "end": { + "line": 292, + "column": 40 + } + }, + "extra": { + "rawValue": "application/binary", + "raw": "'application/binary'" + }, + "value": "application/binary" + } + }, + { + "type": "ObjectProperty", + "start": 11096, + "end": 11111, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11096, + "end": 11100, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 10 + }, + "identifierName": "data" + }, + "name": "data" + }, + "value": { + "type": "Identifier", + "start": 11102, + "end": 11111, + "loc": { + "start": { + "line": 293, + "column": 12 + }, + "end": { + "line": 293, + "column": 21 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + { + "type": "ObjectProperty", + "start": 11119, + "end": 11136, + "loc": { + "start": { + "line": 294, + "column": 6 + }, + "end": { + "line": 294, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11119, + "end": 11130, + "loc": { + "start": { + "line": 294, + "column": 6 + }, + "end": { + "line": 294, + "column": 17 + }, + "identifierName": "resumeToken" + }, + "name": "resumeToken" + }, + "value": { + "type": "NullLiteral", + "start": 11132, + "end": 11136, + "loc": { + "start": { + "line": 294, + "column": 19 + }, + "end": { + "line": 294, + "column": 23 + } + } + } + }, + { + "type": "ObjectProperty", + "start": 11144, + "end": 11174, + "loc": { + "start": { + "line": 295, + "column": 6 + }, + "end": { + "line": 295, + "column": 36 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11144, + "end": 11152, + "loc": { + "start": { + "line": 295, + "column": 6 + }, + "end": { + "line": 295, + "column": 14 + }, + "identifierName": "streamId" + }, + "name": "streamId" + }, + "value": { + "type": "Identifier", + "start": 11154, + "end": 11174, + "loc": { + "start": { + "line": 295, + "column": 16 + }, + "end": { + "line": 295, + "column": 36 + }, + "identifierName": "CONNECTION_STREAM_ID" + }, + "name": "CONNECTION_STREAM_ID" + } + }, + { + "type": "ObjectProperty", + "start": 11182, + "end": 11205, + "loc": { + "start": { + "line": 296, + "column": 6 + }, + "end": { + "line": 296, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11182, + "end": 11186, + "loc": { + "start": { + "line": 296, + "column": 6 + }, + "end": { + "line": 296, + "column": 10 + }, + "identifierName": "type" + }, + "name": "type" + }, + "value": { + "type": "MemberExpression", + "start": 11188, + "end": 11205, + "loc": { + "start": { + "line": 296, + "column": 12 + }, + "end": { + "line": 296, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 11188, + "end": 11199, + "loc": { + "start": { + "line": 296, + "column": 12 + }, + "end": { + "line": 296, + "column": 23 + }, + "identifierName": "FRAME_TYPES" + }, + "name": "FRAME_TYPES" + }, + "property": { + "type": "Identifier", + "start": 11200, + "end": 11205, + "loc": { + "start": { + "line": 296, + "column": 24 + }, + "end": { + "line": 296, + "column": 29 + }, + "identifierName": "SETUP" + }, + "name": "SETUP" + }, + "computed": false + } + } + ] + } + } + ], + "directives": [] + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @private\n ", + "start": 9603, + "end": 9622, + "loc": { + "start": { + "line": 230, + "column": 0 + }, + "end": { + "line": 232, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 906, + "end": 919, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 906, + "end": 918, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name RpcClient.js\n * @fileoverview Defines the {@link RpcClient} class and {@link ClientConfig} object.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-core\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-types\n * @exports ClientConfig\n * @exports RpcClient\n ", + "start": 0, + "end": 904, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {(string|Buffer|Uint8Array)} Encodable\n ", + "start": 921, + "end": 1100, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @example The methods of the Responder interface:\n * fireAndForget(payload: Payload): void\n * requestResponse(payload: Payload): Single>\n * requestStream(payload: Payload): Flowable>\n * requestChannel(payloads: Flowable>): Flowable>\n * metadataPush(payload: Payload): Single\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} Responder\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n ", + "start": 1101, + "end": 1837, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A contract that provides different interaction models according to the\n * ReactiveSocket protocol. This interface extends the {@link Responder}\n * interface by adding the {@link ReactiveSocket#close} and\n * {@link ReactiveSocket#connectionStatus} methods.\n * @extends {Responder}\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @see https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md\n * @typedef {interface} ReactiveSocket\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n * @property {function} close\n * @property {function} connectionStatus\n ", + "start": 1838, + "end": 2632, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Represents a network connection with input/output used by a\n * {@link ReactiveSocket} to send/receive data.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} DuplexConnection\n * @property {function} sendOne\n * @property {function} send\n * @property {function} receive\n * @property {function} close\n * @property {function} connect\n * @property {function} connectionStatus\n ", + "start": 2633, + "end": 3109, + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A single unit of data exchanged between the peers of a\n * {@link ReactiveSocket}. A object of this type consists of two members:\n * {@link Payload#data} and {@link Payload#metadata}.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {Object} Payload\n * @property {Serializer} data\n * @property {Serializer} metadata\n ", + "start": 3110, + "end": 3519, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 91, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Flowable.js\n * @typedef {Object} Flowable\n * @property {function} just\n * @property {function} error\n * @property {function} never\n * @property {function} subscribe\n * @property {function} lift\n * @property {function} map\n * @property {function} take\n ", + "start": 3521, + "end": 3880, + "loc": { + "start": { + "line": 93, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Single.js\n * @typedef {Object} Single\n * @property {function} of\n * @property {function} error\n * @property {function} subscribe\n * @property {function} flatMap\n * @property {function} map\n * @property {function} then\n ", + "start": 3881, + "end": 4207, + "loc": { + "start": { + "line": 105, + "column": 0 + }, + "end": { + "line": 115, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name RpcClient.js\n * @fileoverview Defines the {@link RpcClient} class and {@link ClientConfig} object.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-core\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-types\n * @exports ClientConfig\n * @exports RpcClient\n ", + "start": 0, + "end": 904, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {(string|Buffer|Uint8Array)} Encodable\n ", + "start": 921, + "end": 1100, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @example The methods of the Responder interface:\n * fireAndForget(payload: Payload): void\n * requestResponse(payload: Payload): Single>\n * requestStream(payload: Payload): Flowable>\n * requestChannel(payloads: Flowable>): Flowable>\n * metadataPush(payload: Payload): Single\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} Responder\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n ", + "start": 1101, + "end": 1837, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A contract that provides different interaction models according to the\n * ReactiveSocket protocol. This interface extends the {@link Responder}\n * interface by adding the {@link ReactiveSocket#close} and\n * {@link ReactiveSocket#connectionStatus} methods.\n * @extends {Responder}\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @see https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md\n * @typedef {interface} ReactiveSocket\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n * @property {function} close\n * @property {function} connectionStatus\n ", + "start": 1838, + "end": 2632, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Represents a network connection with input/output used by a\n * {@link ReactiveSocket} to send/receive data.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} DuplexConnection\n * @property {function} sendOne\n * @property {function} send\n * @property {function} receive\n * @property {function} close\n * @property {function} connect\n * @property {function} connectionStatus\n ", + "start": 2633, + "end": 3109, + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A single unit of data exchanged between the peers of a\n * {@link ReactiveSocket}. A object of this type consists of two members:\n * {@link Payload#data} and {@link Payload#metadata}.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {Object} Payload\n * @property {Serializer} data\n * @property {Serializer} metadata\n ", + "start": 3110, + "end": 3519, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 91, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Flowable.js\n * @typedef {Object} Flowable\n * @property {function} just\n * @property {function} error\n * @property {function} never\n * @property {function} subscribe\n * @property {function} lift\n * @property {function} map\n * @property {function} take\n ", + "start": 3521, + "end": 3880, + "loc": { + "start": { + "line": 93, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Single.js\n * @typedef {Object} Single\n * @property {function} of\n * @property {function} error\n * @property {function} subscribe\n * @property {function} flatMap\n * @property {function} map\n * @property {function} then\n ", + "start": 3881, + "end": 4207, + "loc": { + "start": { + "line": 105, + "column": 0 + }, + "end": { + "line": 115, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} Serializer\n * @desc A Serializer transforms data between the application encoding used in\n * Payloads and the Encodable type accepted by the transport client.\n * @property {function} deserialize a function that takes an {@link Encodable} and returns the expected data or metadata object\n * @property {function} serialize a funciton that takes a data or metadata object and returns a corresponding {@link Encodable}\n ", + "start": 4268, + "end": 4832, + "loc": { + "start": { + "line": 117, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} PayloadSerializers\n * @property {Serializer} data\n * @property {Serializer} metadata\n ", + "start": 4833, + "end": 5067, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} Setup\n * @property {number} keepAlive The number of milliseconds between keepalive messages you will send to the service\n * @property {number} lifetime The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out.\n * @property {?Encodable} [metadata] Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials).\n ", + "start": 5343, + "end": 5848, + "loc": { + "start": { + "line": 140, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} ClientConfig\n * @property {PayloadSerializers} [serializers] A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it.\n * @property {Setup} setup Configure the keepalive process and any metadata you would like to accompany the connection.\n * @property {DuplexConnection} transport Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component.\n * @property {Responder} [responder] An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.)\n ", + "start": 5849, + "end": 6973, + "loc": { + "start": { + "line": 146, + "column": 0 + }, + "end": { + "line": 152, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The primary class/entry point for the core package is the {@link RpcClient}.\n * The client encapsulates the RSocket methods of fireAndForget,\n * requestResponse, requestStream, and requestChannel and merges them with a\n * bidirectional connection, allowing seamless use of RSocket for RPC.\n ", + "start": 6976, + "end": 7276, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 160, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ClientConfig} config -\n ", + "start": 7313, + "end": 7363, + "loc": { + "start": { + "line": 163, + "column": 2 + }, + "end": { + "line": 165, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Close the RPC Client connection.\n ", + "start": 7451, + "end": 7498, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 173, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Returns a {@link Single}, which, when you subscribe to it, initiates the\n * connection and emits a {@link ReactiveSocket} object that defines the\n * connection.\n * @example Here is an example instantiation of an RpcClient:\n * const local = 'ws://localhost:8088/';\n * const keepAlive = 60000; // 60s in ms \n * const lifetime = 360000; // 360s in ms\n * const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);\n * const client = new RpcClient({setup:{keepAlive, lifetime}, transport});\n * client.connect().subscribe({\n * onComplete: rsocket => {\n * console.info(\"Success! We have a handle to an RSocket connection\");\n * },\n * onError: error => {\n * console.error(\"Failed to connect to local RSocket server.\", error);\n * }\n * });\n *\n * @returns {Single>}\n * @throws {Error} if the RpcClient is already connected\n ", + "start": 7554, + "end": 8487, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 199, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @private\n ", + "start": 9603, + "end": 9622, + "loc": { + "start": { + "line": 230, + "column": 0 + }, + "end": { + "line": 232, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Send SETUP", + "start": 9832, + "end": 9845, + "loc": { + "start": { + "line": 238, + "column": 4 + }, + "end": { + "line": 238, + "column": 17 + } + } + }, + { + "type": "CommentLine", + "value": " Send KEEPALIVE frames", + "start": 9906, + "end": 9930, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 241, + "column": 28 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name RpcClient.js\n * @fileoverview Defines the {@link RpcClient} class and {@link ClientConfig} object.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-core\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-types\n * @exports ClientConfig\n * @exports RpcClient\n ", + "start": 0, + "end": 904, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 906, + "end": 918, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 918, + "end": 919, + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {(string|Buffer|Uint8Array)} Encodable\n ", + "start": 921, + "end": 1100, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @example The methods of the Responder interface:\n * fireAndForget(payload: Payload): void\n * requestResponse(payload: Payload): Single>\n * requestStream(payload: Payload): Flowable>\n * requestChannel(payloads: Flowable>): Flowable>\n * metadataPush(payload: Payload): Single\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} Responder\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n ", + "start": 1101, + "end": 1837, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A contract that provides different interaction models according to the\n * ReactiveSocket protocol. This interface extends the {@link Responder}\n * interface by adding the {@link ReactiveSocket#close} and\n * {@link ReactiveSocket#connectionStatus} methods.\n * @extends {Responder}\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @see https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md\n * @typedef {interface} ReactiveSocket\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n * @property {function} close\n * @property {function} connectionStatus\n ", + "start": 1838, + "end": 2632, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Represents a network connection with input/output used by a\n * {@link ReactiveSocket} to send/receive data.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} DuplexConnection\n * @property {function} sendOne\n * @property {function} send\n * @property {function} receive\n * @property {function} close\n * @property {function} connect\n * @property {function} connectionStatus\n ", + "start": 2633, + "end": 3109, + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A single unit of data exchanged between the peers of a\n * {@link ReactiveSocket}. A object of this type consists of two members:\n * {@link Payload#data} and {@link Payload#metadata}.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {Object} Payload\n * @property {Serializer} data\n * @property {Serializer} metadata\n ", + "start": 3110, + "end": 3519, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 91, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Flowable.js\n * @typedef {Object} Flowable\n * @property {function} just\n * @property {function} error\n * @property {function} never\n * @property {function} subscribe\n * @property {function} lift\n * @property {function} map\n * @property {function} take\n ", + "start": 3521, + "end": 3880, + "loc": { + "start": { + "line": 93, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Single.js\n * @typedef {Object} Single\n * @property {function} of\n * @property {function} error\n * @property {function} subscribe\n * @property {function} flatMap\n * @property {function} map\n * @property {function} then\n ", + "start": 3881, + "end": 4207, + "loc": { + "start": { + "line": 105, + "column": 0 + }, + "end": { + "line": 115, + "column": 3 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 4208, + "end": 4214, + "loc": { + "start": { + "line": 116, + "column": 0 + }, + "end": { + "line": 116, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4215, + "end": 4216, + "loc": { + "start": { + "line": 116, + "column": 7 + }, + "end": { + "line": 116, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 4217, + "end": 4225, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4225, + "end": 4226, + "loc": { + "start": { + "line": 116, + "column": 17 + }, + "end": { + "line": 116, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 4227, + "end": 4233, + "loc": { + "start": { + "line": 116, + "column": 19 + }, + "end": { + "line": 116, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4233, + "end": 4234, + "loc": { + "start": { + "line": 116, + "column": 25 + }, + "end": { + "line": 116, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "every", + "start": 4235, + "end": 4240, + "loc": { + "start": { + "line": 116, + "column": 27 + }, + "end": { + "line": 116, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4241, + "end": 4242, + "loc": { + "start": { + "line": 116, + "column": 33 + }, + "end": { + "line": 116, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 4243, + "end": 4247, + "loc": { + "start": { + "line": 116, + "column": 35 + }, + "end": { + "line": 116, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-flowable", + "start": 4248, + "end": 4266, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4266, + "end": 4267, + "loc": { + "start": { + "line": 116, + "column": 58 + }, + "end": { + "line": 116, + "column": 59 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} Serializer\n * @desc A Serializer transforms data between the application encoding used in\n * Payloads and the Encodable type accepted by the transport client.\n * @property {function} deserialize a function that takes an {@link Encodable} and returns the expected data or metadata object\n * @property {function} serialize a funciton that takes a data or metadata object and returns a corresponding {@link Encodable}\n ", + "start": 4268, + "end": 4832, + "loc": { + "start": { + "line": 117, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} PayloadSerializers\n * @property {Serializer} data\n * @property {Serializer} metadata\n ", + "start": 4833, + "end": 5067, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 5069, + "end": 5075, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 134, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "invariant", + "start": 5076, + "end": 5085, + "loc": { + "start": { + "line": 134, + "column": 7 + }, + "end": { + "line": 134, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 5086, + "end": 5090, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 134, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "fbjs/lib/invariant", + "start": 5091, + "end": 5111, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5111, + "end": 5112, + "loc": { + "start": { + "line": 134, + "column": 42 + }, + "end": { + "line": 134, + "column": 43 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 5114, + "end": 5120, + "loc": { + "start": { + "line": 136, + "column": 0 + }, + "end": { + "line": 136, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5121, + "end": 5122, + "loc": { + "start": { + "line": 136, + "column": 7 + }, + "end": { + "line": 136, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CONNECTION_STREAM_ID", + "start": 5123, + "end": 5143, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5143, + "end": 5144, + "loc": { + "start": { + "line": 136, + "column": 29 + }, + "end": { + "line": 136, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FLAGS", + "start": 5145, + "end": 5150, + "loc": { + "start": { + "line": 136, + "column": 31 + }, + "end": { + "line": 136, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5150, + "end": 5151, + "loc": { + "start": { + "line": 136, + "column": 36 + }, + "end": { + "line": 136, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FRAME_TYPES", + "start": 5152, + "end": 5163, + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5164, + "end": 5165, + "loc": { + "start": { + "line": 136, + "column": 50 + }, + "end": { + "line": 136, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 5166, + "end": 5170, + "loc": { + "start": { + "line": 136, + "column": 52 + }, + "end": { + "line": 136, + "column": 56 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-core", + "start": 5171, + "end": 5185, + "loc": { + "start": { + "line": 136, + "column": 57 + }, + "end": { + "line": 136, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5185, + "end": 5186, + "loc": { + "start": { + "line": 136, + "column": 71 + }, + "end": { + "line": 136, + "column": 72 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 5187, + "end": 5193, + "loc": { + "start": { + "line": 137, + "column": 0 + }, + "end": { + "line": 137, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5194, + "end": 5195, + "loc": { + "start": { + "line": 137, + "column": 7 + }, + "end": { + "line": 137, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAJOR_VERSION", + "start": 5196, + "end": 5209, + "loc": { + "start": { + "line": 137, + "column": 9 + }, + "end": { + "line": 137, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5209, + "end": 5210, + "loc": { + "start": { + "line": 137, + "column": 22 + }, + "end": { + "line": 137, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MINOR_VERSION", + "start": 5211, + "end": 5224, + "loc": { + "start": { + "line": 137, + "column": 24 + }, + "end": { + "line": 137, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5225, + "end": 5226, + "loc": { + "start": { + "line": 137, + "column": 38 + }, + "end": { + "line": 137, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 5227, + "end": 5231, + "loc": { + "start": { + "line": 137, + "column": 40 + }, + "end": { + "line": 137, + "column": 44 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-core/build/RSocketVersion", + "start": 5232, + "end": 5267, + "loc": { + "start": { + "line": 137, + "column": 45 + }, + "end": { + "line": 137, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5267, + "end": 5268, + "loc": { + "start": { + "line": 137, + "column": 80 + }, + "end": { + "line": 137, + "column": 81 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 5269, + "end": 5275, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 138, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5276, + "end": 5277, + "loc": { + "start": { + "line": 138, + "column": 7 + }, + "end": { + "line": 138, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createClientMachine", + "start": 5278, + "end": 5297, + "loc": { + "start": { + "line": 138, + "column": 9 + }, + "end": { + "line": 138, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5298, + "end": 5299, + "loc": { + "start": { + "line": 138, + "column": 29 + }, + "end": { + "line": 138, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 5300, + "end": 5304, + "loc": { + "start": { + "line": 138, + "column": 31 + }, + "end": { + "line": 138, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-core/build/RSocketMachine", + "start": 5305, + "end": 5340, + "loc": { + "start": { + "line": 138, + "column": 36 + }, + "end": { + "line": 138, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5340, + "end": 5341, + "loc": { + "start": { + "line": 138, + "column": 71 + }, + "end": { + "line": 138, + "column": 72 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} Setup\n * @property {number} keepAlive The number of milliseconds between keepalive messages you will send to the service\n * @property {number} lifetime The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out.\n * @property {?Encodable} [metadata] Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials).\n ", + "start": 5343, + "end": 5848, + "loc": { + "start": { + "line": 140, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @typedef {Object} ClientConfig\n * @property {PayloadSerializers} [serializers] A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it.\n * @property {Setup} setup Configure the keepalive process and any metadata you would like to accompany the connection.\n * @property {DuplexConnection} transport Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component.\n * @property {Responder} [responder] An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.)\n ", + "start": 5849, + "end": 6973, + "loc": { + "start": { + "line": 146, + "column": 0 + }, + "end": { + "line": 152, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The primary class/entry point for the core package is the {@link RpcClient}.\n * The client encapsulates the RSocket methods of fireAndForget,\n * requestResponse, requestStream, and requestChannel and merges them with a\n * bidirectional connection, allowing seamless use of RSocket for RPC.\n ", + "start": 6976, + "end": 7276, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 160, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 7277, + "end": 7283, + "loc": { + "start": { + "line": 161, + "column": 0 + }, + "end": { + "line": 161, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 7284, + "end": 7291, + "loc": { + "start": { + "line": 161, + "column": 7 + }, + "end": { + "line": 161, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 7292, + "end": 7297, + "loc": { + "start": { + "line": 161, + "column": 15 + }, + "end": { + "line": 161, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RpcClient", + "start": 7298, + "end": 7307, + "loc": { + "start": { + "line": 161, + "column": 21 + }, + "end": { + "line": 161, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7308, + "end": 7309, + "loc": { + "start": { + "line": 161, + "column": 31 + }, + "end": { + "line": 161, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ClientConfig} config -\n ", + "start": 7313, + "end": 7363, + "loc": { + "start": { + "line": 163, + "column": 2 + }, + "end": { + "line": 165, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 7366, + "end": 7377, + "loc": { + "start": { + "line": 166, + "column": 2 + }, + "end": { + "line": 166, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7377, + "end": 7378, + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 7378, + "end": 7384, + "loc": { + "start": { + "line": 166, + "column": 14 + }, + "end": { + "line": 166, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7384, + "end": 7385, + "loc": { + "start": { + "line": 166, + "column": 20 + }, + "end": { + "line": 166, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7386, + "end": 7387, + "loc": { + "start": { + "line": 166, + "column": 22 + }, + "end": { + "line": 166, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7392, + "end": 7396, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7396, + "end": 7397, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_config", + "start": 7397, + "end": 7404, + "loc": { + "start": { + "line": 167, + "column": 9 + }, + "end": { + "line": 167, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7405, + "end": 7406, + "loc": { + "start": { + "line": 167, + "column": 17 + }, + "end": { + "line": 167, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 7407, + "end": 7413, + "loc": { + "start": { + "line": 167, + "column": 19 + }, + "end": { + "line": 167, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7413, + "end": 7414, + "loc": { + "start": { + "line": 167, + "column": 25 + }, + "end": { + "line": 167, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7419, + "end": 7423, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7423, + "end": 7424, + "loc": { + "start": { + "line": 168, + "column": 8 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_connection", + "start": 7424, + "end": 7435, + "loc": { + "start": { + "line": 168, + "column": 9 + }, + "end": { + "line": 168, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7436, + "end": 7437, + "loc": { + "start": { + "line": 168, + "column": 21 + }, + "end": { + "line": 168, + "column": 22 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 7438, + "end": 7442, + "loc": { + "start": { + "line": 168, + "column": 23 + }, + "end": { + "line": 168, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7442, + "end": 7443, + "loc": { + "start": { + "line": 168, + "column": 27 + }, + "end": { + "line": 168, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7446, + "end": 7447, + "loc": { + "start": { + "line": 169, + "column": 2 + }, + "end": { + "line": 169, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Close the RPC Client connection.\n ", + "start": 7451, + "end": 7498, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 173, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "close", + "start": 7501, + "end": 7506, + "loc": { + "start": { + "line": 174, + "column": 2 + }, + "end": { + "line": 174, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7506, + "end": 7507, + "loc": { + "start": { + "line": 174, + "column": 7 + }, + "end": { + "line": 174, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7507, + "end": 7508, + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 174, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7509, + "end": 7510, + "loc": { + "start": { + "line": 174, + "column": 10 + }, + "end": { + "line": 174, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7515, + "end": 7519, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7519, + "end": 7520, + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_config", + "start": 7520, + "end": 7527, + "loc": { + "start": { + "line": 175, + "column": 9 + }, + "end": { + "line": 175, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7527, + "end": 7528, + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transport", + "start": 7528, + "end": 7537, + "loc": { + "start": { + "line": 175, + "column": 17 + }, + "end": { + "line": 175, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7537, + "end": 7538, + "loc": { + "start": { + "line": 175, + "column": 26 + }, + "end": { + "line": 175, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "close", + "start": 7538, + "end": 7543, + "loc": { + "start": { + "line": 175, + "column": 27 + }, + "end": { + "line": 175, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7543, + "end": 7544, + "loc": { + "start": { + "line": 175, + "column": 32 + }, + "end": { + "line": 175, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7544, + "end": 7545, + "loc": { + "start": { + "line": 175, + "column": 33 + }, + "end": { + "line": 175, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7545, + "end": 7546, + "loc": { + "start": { + "line": 175, + "column": 34 + }, + "end": { + "line": 175, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7549, + "end": 7550, + "loc": { + "start": { + "line": 176, + "column": 2 + }, + "end": { + "line": 176, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Returns a {@link Single}, which, when you subscribe to it, initiates the\n * connection and emits a {@link ReactiveSocket} object that defines the\n * connection.\n * @example Here is an example instantiation of an RpcClient:\n * const local = 'ws://localhost:8088/';\n * const keepAlive = 60000; // 60s in ms \n * const lifetime = 360000; // 360s in ms\n * const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);\n * const client = new RpcClient({setup:{keepAlive, lifetime}, transport});\n * client.connect().subscribe({\n * onComplete: rsocket => {\n * console.info(\"Success! We have a handle to an RSocket connection\");\n * },\n * onError: error => {\n * console.error(\"Failed to connect to local RSocket server.\", error);\n * }\n * });\n *\n * @returns {Single>}\n * @throws {Error} if the RpcClient is already connected\n ", + "start": 7554, + "end": 8487, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 199, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connect", + "start": 8490, + "end": 8497, + "loc": { + "start": { + "line": 200, + "column": 2 + }, + "end": { + "line": 200, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8497, + "end": 8498, + "loc": { + "start": { + "line": 200, + "column": 9 + }, + "end": { + "line": 200, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8498, + "end": 8499, + "loc": { + "start": { + "line": 200, + "column": 10 + }, + "end": { + "line": 200, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8500, + "end": 8501, + "loc": { + "start": { + "line": 200, + "column": 12 + }, + "end": { + "line": 200, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "invariant", + "start": 8506, + "end": 8515, + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 201, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8515, + "end": 8516, + "loc": { + "start": { + "line": 201, + "column": 13 + }, + "end": { + "line": 201, + "column": 14 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 8516, + "end": 8517, + "loc": { + "start": { + "line": 201, + "column": 14 + }, + "end": { + "line": 201, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8517, + "end": 8521, + "loc": { + "start": { + "line": 201, + "column": 15 + }, + "end": { + "line": 201, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8521, + "end": 8522, + "loc": { + "start": { + "line": 201, + "column": 19 + }, + "end": { + "line": 201, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_connection", + "start": 8522, + "end": 8533, + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8533, + "end": 8534, + "loc": { + "start": { + "line": 201, + "column": 31 + }, + "end": { + "line": 201, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "RpcClient: Unexpected call to connect(), already connected.", + "start": 8535, + "end": 8596, + "loc": { + "start": { + "line": 201, + "column": 33 + }, + "end": { + "line": 201, + "column": 94 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8596, + "end": 8597, + "loc": { + "start": { + "line": 201, + "column": 94 + }, + "end": { + "line": 201, + "column": 95 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8597, + "end": 8598, + "loc": { + "start": { + "line": 201, + "column": 95 + }, + "end": { + "line": 201, + "column": 96 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8603, + "end": 8607, + "loc": { + "start": { + "line": 202, + "column": 4 + }, + "end": { + "line": 202, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8607, + "end": 8608, + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_connection", + "start": 8608, + "end": 8619, + "loc": { + "start": { + "line": 202, + "column": 9 + }, + "end": { + "line": 202, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8620, + "end": 8621, + "loc": { + "start": { + "line": 202, + "column": 21 + }, + "end": { + "line": 202, + "column": 22 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 8622, + "end": 8625, + "loc": { + "start": { + "line": 202, + "column": 23 + }, + "end": { + "line": 202, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 8626, + "end": 8632, + "loc": { + "start": { + "line": 202, + "column": 27 + }, + "end": { + "line": 202, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8632, + "end": 8633, + "loc": { + "start": { + "line": 202, + "column": 33 + }, + "end": { + "line": 202, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 8633, + "end": 8643, + "loc": { + "start": { + "line": 202, + "column": 34 + }, + "end": { + "line": 202, + "column": 44 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8644, + "end": 8646, + "loc": { + "start": { + "line": 202, + "column": 45 + }, + "end": { + "line": 202, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8647, + "end": 8648, + "loc": { + "start": { + "line": 202, + "column": 48 + }, + "end": { + "line": 202, + "column": 49 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8655, + "end": 8660, + "loc": { + "start": { + "line": 203, + "column": 6 + }, + "end": { + "line": 203, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transport", + "start": 8661, + "end": 8670, + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8671, + "end": 8672, + "loc": { + "start": { + "line": 203, + "column": 22 + }, + "end": { + "line": 203, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8673, + "end": 8677, + "loc": { + "start": { + "line": 203, + "column": 24 + }, + "end": { + "line": 203, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8677, + "end": 8678, + "loc": { + "start": { + "line": 203, + "column": 28 + }, + "end": { + "line": 203, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_config", + "start": 8678, + "end": 8685, + "loc": { + "start": { + "line": 203, + "column": 29 + }, + "end": { + "line": 203, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8685, + "end": 8686, + "loc": { + "start": { + "line": 203, + "column": 36 + }, + "end": { + "line": 203, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transport", + "start": 8686, + "end": 8695, + "loc": { + "start": { + "line": 203, + "column": 37 + }, + "end": { + "line": 203, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8695, + "end": 8696, + "loc": { + "start": { + "line": 203, + "column": 46 + }, + "end": { + "line": 203, + "column": 47 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 8703, + "end": 8706, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 8707, + "end": 8719, + "loc": { + "start": { + "line": 204, + "column": 10 + }, + "end": { + "line": 204, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8719, + "end": 8720, + "loc": { + "start": { + "line": 204, + "column": 22 + }, + "end": { + "line": 204, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transport", + "start": 8727, + "end": 8736, + "loc": { + "start": { + "line": 205, + "column": 6 + }, + "end": { + "line": 205, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8736, + "end": 8737, + "loc": { + "start": { + "line": 205, + "column": 15 + }, + "end": { + "line": 205, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connectionStatus", + "start": 8737, + "end": 8753, + "loc": { + "start": { + "line": 205, + "column": 16 + }, + "end": { + "line": 205, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8753, + "end": 8754, + "loc": { + "start": { + "line": 205, + "column": 32 + }, + "end": { + "line": 205, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8754, + "end": 8755, + "loc": { + "start": { + "line": 205, + "column": 33 + }, + "end": { + "line": 205, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8755, + "end": 8756, + "loc": { + "start": { + "line": 205, + "column": 34 + }, + "end": { + "line": 205, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 8756, + "end": 8765, + "loc": { + "start": { + "line": 205, + "column": 35 + }, + "end": { + "line": 205, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8765, + "end": 8766, + "loc": { + "start": { + "line": 205, + "column": 44 + }, + "end": { + "line": 205, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8766, + "end": 8767, + "loc": { + "start": { + "line": 205, + "column": 45 + }, + "end": { + "line": 205, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 8776, + "end": 8782, + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8782, + "end": 8783, + "loc": { + "start": { + "line": 206, + "column": 14 + }, + "end": { + "line": 206, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 8784, + "end": 8790, + "loc": { + "start": { + "line": 206, + "column": 16 + }, + "end": { + "line": 206, + "column": 22 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8791, + "end": 8793, + "loc": { + "start": { + "line": 206, + "column": 23 + }, + "end": { + "line": 206, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8794, + "end": 8795, + "loc": { + "start": { + "line": 206, + "column": 26 + }, + "end": { + "line": 206, + "column": 27 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8806, + "end": 8808, + "loc": { + "start": { + "line": 207, + "column": 10 + }, + "end": { + "line": 207, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8809, + "end": 8810, + "loc": { + "start": { + "line": 207, + "column": 13 + }, + "end": { + "line": 207, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 8810, + "end": 8816, + "loc": { + "start": { + "line": 207, + "column": 14 + }, + "end": { + "line": 207, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8816, + "end": 8817, + "loc": { + "start": { + "line": 207, + "column": 20 + }, + "end": { + "line": 207, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kind", + "start": 8817, + "end": 8821, + "loc": { + "start": { + "line": 207, + "column": 21 + }, + "end": { + "line": 207, + "column": 25 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 8822, + "end": 8825, + "loc": { + "start": { + "line": 207, + "column": 26 + }, + "end": { + "line": 207, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "CONNECTED", + "start": 8826, + "end": 8837, + "loc": { + "start": { + "line": 207, + "column": 30 + }, + "end": { + "line": 207, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8837, + "end": 8838, + "loc": { + "start": { + "line": 207, + "column": 41 + }, + "end": { + "line": 207, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8839, + "end": 8840, + "loc": { + "start": { + "line": 207, + "column": 43 + }, + "end": { + "line": 207, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 8853, + "end": 8865, + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 24 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 8866, + "end": 8868, + "loc": { + "start": { + "line": 208, + "column": 25 + }, + "end": { + "line": 208, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 8869, + "end": 8881, + "loc": { + "start": { + "line": 208, + "column": 28 + }, + "end": { + "line": 208, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8881, + "end": 8882, + "loc": { + "start": { + "line": 208, + "column": 40 + }, + "end": { + "line": 208, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 8882, + "end": 8888, + "loc": { + "start": { + "line": 208, + "column": 41 + }, + "end": { + "line": 208, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8888, + "end": 8889, + "loc": { + "start": { + "line": 208, + "column": 47 + }, + "end": { + "line": 208, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8889, + "end": 8890, + "loc": { + "start": { + "line": 208, + "column": 48 + }, + "end": { + "line": 208, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8890, + "end": 8891, + "loc": { + "start": { + "line": 208, + "column": 49 + }, + "end": { + "line": 208, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 8904, + "end": 8914, + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8914, + "end": 8915, + "loc": { + "start": { + "line": 209, + "column": 22 + }, + "end": { + "line": 209, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 8915, + "end": 8925, + "loc": { + "start": { + "line": 209, + "column": 23 + }, + "end": { + "line": 209, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8925, + "end": 8926, + "loc": { + "start": { + "line": 209, + "column": 33 + }, + "end": { + "line": 209, + "column": 34 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 8926, + "end": 8929, + "loc": { + "start": { + "line": 209, + "column": 34 + }, + "end": { + "line": 209, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RpcSocket", + "start": 8930, + "end": 8939, + "loc": { + "start": { + "line": 209, + "column": 38 + }, + "end": { + "line": 209, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8939, + "end": 8940, + "loc": { + "start": { + "line": 209, + "column": 47 + }, + "end": { + "line": 209, + "column": 48 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8940, + "end": 8944, + "loc": { + "start": { + "line": 209, + "column": 48 + }, + "end": { + "line": 209, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8944, + "end": 8945, + "loc": { + "start": { + "line": 209, + "column": 52 + }, + "end": { + "line": 209, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_config", + "start": 8945, + "end": 8952, + "loc": { + "start": { + "line": 209, + "column": 53 + }, + "end": { + "line": 209, + "column": 60 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8952, + "end": 8953, + "loc": { + "start": { + "line": 209, + "column": 60 + }, + "end": { + "line": 209, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transport", + "start": 8954, + "end": 8963, + "loc": { + "start": { + "line": 209, + "column": 62 + }, + "end": { + "line": 209, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8963, + "end": 8964, + "loc": { + "start": { + "line": 209, + "column": 71 + }, + "end": { + "line": 209, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8964, + "end": 8965, + "loc": { + "start": { + "line": 209, + "column": 72 + }, + "end": { + "line": 209, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8965, + "end": 8966, + "loc": { + "start": { + "line": 209, + "column": 73 + }, + "end": { + "line": 209, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8977, + "end": 8978, + "loc": { + "start": { + "line": 210, + "column": 10 + }, + "end": { + "line": 210, + "column": 11 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 8979, + "end": 8983, + "loc": { + "start": { + "line": 210, + "column": 12 + }, + "end": { + "line": 210, + "column": 16 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8984, + "end": 8986, + "loc": { + "start": { + "line": 210, + "column": 17 + }, + "end": { + "line": 210, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8987, + "end": 8988, + "loc": { + "start": { + "line": 210, + "column": 20 + }, + "end": { + "line": 210, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 8988, + "end": 8994, + "loc": { + "start": { + "line": 210, + "column": 21 + }, + "end": { + "line": 210, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8994, + "end": 8995, + "loc": { + "start": { + "line": 210, + "column": 27 + }, + "end": { + "line": 210, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kind", + "start": 8995, + "end": 8999, + "loc": { + "start": { + "line": 210, + "column": 28 + }, + "end": { + "line": 210, + "column": 32 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 9000, + "end": 9003, + "loc": { + "start": { + "line": 210, + "column": 33 + }, + "end": { + "line": 210, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "ERROR", + "start": 9004, + "end": 9011, + "loc": { + "start": { + "line": 210, + "column": 37 + }, + "end": { + "line": 210, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9011, + "end": 9012, + "loc": { + "start": { + "line": 210, + "column": 44 + }, + "end": { + "line": 210, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9013, + "end": 9014, + "loc": { + "start": { + "line": 210, + "column": 46 + }, + "end": { + "line": 210, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 9027, + "end": 9039, + "loc": { + "start": { + "line": 211, + "column": 12 + }, + "end": { + "line": 211, + "column": 24 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 9040, + "end": 9042, + "loc": { + "start": { + "line": 211, + "column": 25 + }, + "end": { + "line": 211, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 9043, + "end": 9055, + "loc": { + "start": { + "line": 211, + "column": 28 + }, + "end": { + "line": 211, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9055, + "end": 9056, + "loc": { + "start": { + "line": 211, + "column": 40 + }, + "end": { + "line": 211, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 9056, + "end": 9062, + "loc": { + "start": { + "line": 211, + "column": 41 + }, + "end": { + "line": 211, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9062, + "end": 9063, + "loc": { + "start": { + "line": 211, + "column": 47 + }, + "end": { + "line": 211, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9063, + "end": 9064, + "loc": { + "start": { + "line": 211, + "column": 48 + }, + "end": { + "line": 211, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9064, + "end": 9065, + "loc": { + "start": { + "line": 211, + "column": 49 + }, + "end": { + "line": 211, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 9078, + "end": 9088, + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9088, + "end": 9089, + "loc": { + "start": { + "line": 212, + "column": 22 + }, + "end": { + "line": 212, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 9089, + "end": 9096, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9096, + "end": 9097, + "loc": { + "start": { + "line": 212, + "column": 30 + }, + "end": { + "line": 212, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 9097, + "end": 9103, + "loc": { + "start": { + "line": 212, + "column": 31 + }, + "end": { + "line": 212, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9103, + "end": 9104, + "loc": { + "start": { + "line": 212, + "column": 37 + }, + "end": { + "line": 212, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 9104, + "end": 9109, + "loc": { + "start": { + "line": 212, + "column": 38 + }, + "end": { + "line": 212, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9109, + "end": 9110, + "loc": { + "start": { + "line": 212, + "column": 43 + }, + "end": { + "line": 212, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9110, + "end": 9111, + "loc": { + "start": { + "line": 212, + "column": 44 + }, + "end": { + "line": 212, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9122, + "end": 9123, + "loc": { + "start": { + "line": 213, + "column": 10 + }, + "end": { + "line": 213, + "column": 11 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 9124, + "end": 9128, + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 16 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 9129, + "end": 9131, + "loc": { + "start": { + "line": 213, + "column": 17 + }, + "end": { + "line": 213, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9132, + "end": 9133, + "loc": { + "start": { + "line": 213, + "column": 20 + }, + "end": { + "line": 213, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 9133, + "end": 9139, + "loc": { + "start": { + "line": 213, + "column": 21 + }, + "end": { + "line": 213, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9139, + "end": 9140, + "loc": { + "start": { + "line": 213, + "column": 27 + }, + "end": { + "line": 213, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kind", + "start": 9140, + "end": 9144, + "loc": { + "start": { + "line": 213, + "column": 28 + }, + "end": { + "line": 213, + "column": 32 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 9145, + "end": 9148, + "loc": { + "start": { + "line": 213, + "column": 33 + }, + "end": { + "line": 213, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "CLOSED", + "start": 9149, + "end": 9157, + "loc": { + "start": { + "line": 213, + "column": 37 + }, + "end": { + "line": 213, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9157, + "end": 9158, + "loc": { + "start": { + "line": 213, + "column": 45 + }, + "end": { + "line": 213, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9159, + "end": 9160, + "loc": { + "start": { + "line": 213, + "column": 47 + }, + "end": { + "line": 213, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 9173, + "end": 9185, + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 24 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 9186, + "end": 9188, + "loc": { + "start": { + "line": 214, + "column": 25 + }, + "end": { + "line": 214, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 9189, + "end": 9201, + "loc": { + "start": { + "line": 214, + "column": 28 + }, + "end": { + "line": 214, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9201, + "end": 9202, + "loc": { + "start": { + "line": 214, + "column": 40 + }, + "end": { + "line": 214, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 9202, + "end": 9208, + "loc": { + "start": { + "line": 214, + "column": 41 + }, + "end": { + "line": 214, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9208, + "end": 9209, + "loc": { + "start": { + "line": 214, + "column": 47 + }, + "end": { + "line": 214, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9209, + "end": 9210, + "loc": { + "start": { + "line": 214, + "column": 48 + }, + "end": { + "line": 214, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9210, + "end": 9211, + "loc": { + "start": { + "line": 214, + "column": 49 + }, + "end": { + "line": 214, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 9224, + "end": 9234, + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9234, + "end": 9235, + "loc": { + "start": { + "line": 215, + "column": 22 + }, + "end": { + "line": 215, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 9235, + "end": 9242, + "loc": { + "start": { + "line": 215, + "column": 23 + }, + "end": { + "line": 215, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9242, + "end": 9243, + "loc": { + "start": { + "line": 215, + "column": 30 + }, + "end": { + "line": 215, + "column": 31 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 9243, + "end": 9246, + "loc": { + "start": { + "line": 215, + "column": 31 + }, + "end": { + "line": 215, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 9247, + "end": 9252, + "loc": { + "start": { + "line": 215, + "column": 35 + }, + "end": { + "line": 215, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9252, + "end": 9253, + "loc": { + "start": { + "line": 215, + "column": 40 + }, + "end": { + "line": 215, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "RpcClient: Connection closed.", + "start": 9253, + "end": 9284, + "loc": { + "start": { + "line": 215, + "column": 41 + }, + "end": { + "line": 215, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9284, + "end": 9285, + "loc": { + "start": { + "line": 215, + "column": 72 + }, + "end": { + "line": 215, + "column": 73 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9285, + "end": 9286, + "loc": { + "start": { + "line": 215, + "column": 73 + }, + "end": { + "line": 215, + "column": 74 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9286, + "end": 9287, + "loc": { + "start": { + "line": 215, + "column": 74 + }, + "end": { + "line": 215, + "column": 75 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9298, + "end": 9299, + "loc": { + "start": { + "line": 216, + "column": 10 + }, + "end": { + "line": 216, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9308, + "end": 9309, + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9309, + "end": 9310, + "loc": { + "start": { + "line": 217, + "column": 9 + }, + "end": { + "line": 217, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 9319, + "end": 9330, + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 19 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9330, + "end": 9331, + "loc": { + "start": { + "line": 218, + "column": 19 + }, + "end": { + "line": 218, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 9332, + "end": 9345, + "loc": { + "start": { + "line": 218, + "column": 21 + }, + "end": { + "line": 218, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9346, + "end": 9348, + "loc": { + "start": { + "line": 218, + "column": 35 + }, + "end": { + "line": 218, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9349, + "end": 9350, + "loc": { + "start": { + "line": 218, + "column": 38 + }, + "end": { + "line": 218, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 9361, + "end": 9371, + "loc": { + "start": { + "line": 219, + "column": 10 + }, + "end": { + "line": 219, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9371, + "end": 9372, + "loc": { + "start": { + "line": 219, + "column": 20 + }, + "end": { + "line": 219, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 9372, + "end": 9383, + "loc": { + "start": { + "line": 219, + "column": 21 + }, + "end": { + "line": 219, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9383, + "end": 9384, + "loc": { + "start": { + "line": 219, + "column": 32 + }, + "end": { + "line": 219, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9384, + "end": 9385, + "loc": { + "start": { + "line": 219, + "column": 33 + }, + "end": { + "line": 219, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9385, + "end": 9386, + "loc": { + "start": { + "line": 219, + "column": 34 + }, + "end": { + "line": 219, + "column": 35 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9387, + "end": 9389, + "loc": { + "start": { + "line": 219, + "column": 36 + }, + "end": { + "line": 219, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 9390, + "end": 9403, + "loc": { + "start": { + "line": 219, + "column": 39 + }, + "end": { + "line": 219, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9403, + "end": 9404, + "loc": { + "start": { + "line": 219, + "column": 52 + }, + "end": { + "line": 219, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 9404, + "end": 9410, + "loc": { + "start": { + "line": 219, + "column": 53 + }, + "end": { + "line": 219, + "column": 59 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9410, + "end": 9411, + "loc": { + "start": { + "line": 219, + "column": 59 + }, + "end": { + "line": 219, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9411, + "end": 9412, + "loc": { + "start": { + "line": 219, + "column": 60 + }, + "end": { + "line": 219, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9412, + "end": 9413, + "loc": { + "start": { + "line": 219, + "column": 61 + }, + "end": { + "line": 219, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9413, + "end": 9414, + "loc": { + "start": { + "line": 219, + "column": 62 + }, + "end": { + "line": 219, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 9425, + "end": 9437, + "loc": { + "start": { + "line": 220, + "column": 10 + }, + "end": { + "line": 220, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9438, + "end": 9439, + "loc": { + "start": { + "line": 220, + "column": 23 + }, + "end": { + "line": 220, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 9440, + "end": 9453, + "loc": { + "start": { + "line": 220, + "column": 25 + }, + "end": { + "line": 220, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9453, + "end": 9454, + "loc": { + "start": { + "line": 220, + "column": 38 + }, + "end": { + "line": 220, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 9465, + "end": 9477, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 221, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9477, + "end": 9478, + "loc": { + "start": { + "line": 221, + "column": 22 + }, + "end": { + "line": 221, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 9478, + "end": 9485, + "loc": { + "start": { + "line": 221, + "column": 23 + }, + "end": { + "line": 221, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9485, + "end": 9486, + "loc": { + "start": { + "line": 221, + "column": 30 + }, + "end": { + "line": 221, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Number", + "start": 9486, + "end": 9492, + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9492, + "end": 9493, + "loc": { + "start": { + "line": 221, + "column": 37 + }, + "end": { + "line": 221, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_SAFE_INTEGER", + "start": 9493, + "end": 9509, + "loc": { + "start": { + "line": 221, + "column": 38 + }, + "end": { + "line": 221, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9509, + "end": 9510, + "loc": { + "start": { + "line": 221, + "column": 54 + }, + "end": { + "line": 221, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9510, + "end": 9511, + "loc": { + "start": { + "line": 221, + "column": 55 + }, + "end": { + "line": 221, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9520, + "end": 9521, + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9528, + "end": 9529, + "loc": { + "start": { + "line": 223, + "column": 6 + }, + "end": { + "line": 223, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9529, + "end": 9530, + "loc": { + "start": { + "line": 223, + "column": 7 + }, + "end": { + "line": 223, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9530, + "end": 9531, + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transport", + "start": 9538, + "end": 9547, + "loc": { + "start": { + "line": 224, + "column": 6 + }, + "end": { + "line": 224, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9547, + "end": 9548, + "loc": { + "start": { + "line": 224, + "column": 15 + }, + "end": { + "line": 224, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connect", + "start": 9548, + "end": 9555, + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9555, + "end": 9556, + "loc": { + "start": { + "line": 224, + "column": 23 + }, + "end": { + "line": 224, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9556, + "end": 9557, + "loc": { + "start": { + "line": 224, + "column": 24 + }, + "end": { + "line": 224, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9557, + "end": 9558, + "loc": { + "start": { + "line": 224, + "column": 25 + }, + "end": { + "line": 224, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9563, + "end": 9564, + "loc": { + "start": { + "line": 225, + "column": 4 + }, + "end": { + "line": 225, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9564, + "end": 9565, + "loc": { + "start": { + "line": 225, + "column": 5 + }, + "end": { + "line": 225, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9565, + "end": 9566, + "loc": { + "start": { + "line": 225, + "column": 6 + }, + "end": { + "line": 225, + "column": 7 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 9571, + "end": 9577, + "loc": { + "start": { + "line": 226, + "column": 4 + }, + "end": { + "line": 226, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9578, + "end": 9582, + "loc": { + "start": { + "line": 226, + "column": 11 + }, + "end": { + "line": 226, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9582, + "end": 9583, + "loc": { + "start": { + "line": 226, + "column": 15 + }, + "end": { + "line": 226, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_connection", + "start": 9583, + "end": 9594, + "loc": { + "start": { + "line": 226, + "column": 16 + }, + "end": { + "line": 226, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9594, + "end": 9595, + "loc": { + "start": { + "line": 226, + "column": 27 + }, + "end": { + "line": 226, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9598, + "end": 9599, + "loc": { + "start": { + "line": 227, + "column": 2 + }, + "end": { + "line": 227, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9600, + "end": 9601, + "loc": { + "start": { + "line": 228, + "column": 0 + }, + "end": { + "line": 228, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @private\n ", + "start": 9603, + "end": 9622, + "loc": { + "start": { + "line": 230, + "column": 0 + }, + "end": { + "line": 232, + "column": 3 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 9623, + "end": 9628, + "loc": { + "start": { + "line": 233, + "column": 0 + }, + "end": { + "line": 233, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RpcSocket", + "start": 9629, + "end": 9638, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9639, + "end": 9640, + "loc": { + "start": { + "line": 233, + "column": 16 + }, + "end": { + "line": 233, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 9644, + "end": 9655, + "loc": { + "start": { + "line": 235, + "column": 2 + }, + "end": { + "line": 235, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9655, + "end": 9656, + "loc": { + "start": { + "line": 235, + "column": 13 + }, + "end": { + "line": 235, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 9656, + "end": 9662, + "loc": { + "start": { + "line": 235, + "column": 14 + }, + "end": { + "line": 235, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9662, + "end": 9663, + "loc": { + "start": { + "line": 235, + "column": 20 + }, + "end": { + "line": 235, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connection", + "start": 9664, + "end": 9674, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9674, + "end": 9675, + "loc": { + "start": { + "line": 235, + "column": 32 + }, + "end": { + "line": 235, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9676, + "end": 9677, + "loc": { + "start": { + "line": 235, + "column": 34 + }, + "end": { + "line": 235, + "column": 35 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9682, + "end": 9686, + "loc": { + "start": { + "line": 236, + "column": 4 + }, + "end": { + "line": 236, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9686, + "end": 9687, + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_machine", + "start": 9687, + "end": 9695, + "loc": { + "start": { + "line": 236, + "column": 9 + }, + "end": { + "line": 236, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9696, + "end": 9697, + "loc": { + "start": { + "line": 236, + "column": 18 + }, + "end": { + "line": 236, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createClientMachine", + "start": 9698, + "end": 9717, + "loc": { + "start": { + "line": 236, + "column": 20 + }, + "end": { + "line": 236, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9717, + "end": 9718, + "loc": { + "start": { + "line": 236, + "column": 39 + }, + "end": { + "line": 236, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connection", + "start": 9718, + "end": 9728, + "loc": { + "start": { + "line": 236, + "column": 40 + }, + "end": { + "line": 236, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9728, + "end": 9729, + "loc": { + "start": { + "line": 236, + "column": 50 + }, + "end": { + "line": 236, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 9730, + "end": 9740, + "loc": { + "start": { + "line": 236, + "column": 52 + }, + "end": { + "line": 236, + "column": 62 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9741, + "end": 9743, + "loc": { + "start": { + "line": 236, + "column": 63 + }, + "end": { + "line": 236, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connection", + "start": 9744, + "end": 9754, + "loc": { + "start": { + "line": 236, + "column": 66 + }, + "end": { + "line": 236, + "column": 76 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9754, + "end": 9755, + "loc": { + "start": { + "line": 236, + "column": 76 + }, + "end": { + "line": 236, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "receive", + "start": 9755, + "end": 9762, + "loc": { + "start": { + "line": 236, + "column": 77 + }, + "end": { + "line": 236, + "column": 84 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9762, + "end": 9763, + "loc": { + "start": { + "line": 236, + "column": 84 + }, + "end": { + "line": 236, + "column": 85 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9763, + "end": 9764, + "loc": { + "start": { + "line": 236, + "column": 85 + }, + "end": { + "line": 236, + "column": 86 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9764, + "end": 9765, + "loc": { + "start": { + "line": 236, + "column": 86 + }, + "end": { + "line": 236, + "column": 87 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 9765, + "end": 9774, + "loc": { + "start": { + "line": 236, + "column": 87 + }, + "end": { + "line": 236, + "column": 96 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9774, + "end": 9775, + "loc": { + "start": { + "line": 236, + "column": 96 + }, + "end": { + "line": 236, + "column": 97 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 9775, + "end": 9785, + "loc": { + "start": { + "line": 236, + "column": 97 + }, + "end": { + "line": 236, + "column": 107 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9785, + "end": 9786, + "loc": { + "start": { + "line": 236, + "column": 107 + }, + "end": { + "line": 236, + "column": 108 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9786, + "end": 9787, + "loc": { + "start": { + "line": 236, + "column": 108 + }, + "end": { + "line": 236, + "column": 109 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 9788, + "end": 9794, + "loc": { + "start": { + "line": 236, + "column": 110 + }, + "end": { + "line": 236, + "column": 116 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9794, + "end": 9795, + "loc": { + "start": { + "line": 236, + "column": 116 + }, + "end": { + "line": 236, + "column": 117 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serializers", + "start": 9795, + "end": 9806, + "loc": { + "start": { + "line": 236, + "column": 117 + }, + "end": { + "line": 236, + "column": 128 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9806, + "end": 9807, + "loc": { + "start": { + "line": 236, + "column": 128 + }, + "end": { + "line": 236, + "column": 129 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 9808, + "end": 9814, + "loc": { + "start": { + "line": 236, + "column": 130 + }, + "end": { + "line": 236, + "column": 136 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9814, + "end": 9815, + "loc": { + "start": { + "line": 236, + "column": 136 + }, + "end": { + "line": 236, + "column": 137 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "responder", + "start": 9815, + "end": 9824, + "loc": { + "start": { + "line": 236, + "column": 137 + }, + "end": { + "line": 236, + "column": 146 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9824, + "end": 9825, + "loc": { + "start": { + "line": 236, + "column": 146 + }, + "end": { + "line": 236, + "column": 147 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9825, + "end": 9826, + "loc": { + "start": { + "line": 236, + "column": 147 + }, + "end": { + "line": 236, + "column": 148 + } + } + }, + { + "type": "CommentLine", + "value": " Send SETUP", + "start": 9832, + "end": 9845, + "loc": { + "start": { + "line": 238, + "column": 4 + }, + "end": { + "line": 238, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connection", + "start": 9850, + "end": 9860, + "loc": { + "start": { + "line": 239, + "column": 4 + }, + "end": { + "line": 239, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9860, + "end": 9861, + "loc": { + "start": { + "line": 239, + "column": 14 + }, + "end": { + "line": 239, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sendOne", + "start": 9861, + "end": 9868, + "loc": { + "start": { + "line": 239, + "column": 15 + }, + "end": { + "line": 239, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9868, + "end": 9869, + "loc": { + "start": { + "line": 239, + "column": 22 + }, + "end": { + "line": 239, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 9869, + "end": 9873, + "loc": { + "start": { + "line": 239, + "column": 23 + }, + "end": { + "line": 239, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9873, + "end": 9874, + "loc": { + "start": { + "line": 239, + "column": 27 + }, + "end": { + "line": 239, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_buildSetupFrame", + "start": 9874, + "end": 9890, + "loc": { + "start": { + "line": 239, + "column": 28 + }, + "end": { + "line": 239, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9890, + "end": 9891, + "loc": { + "start": { + "line": 239, + "column": 44 + }, + "end": { + "line": 239, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 9891, + "end": 9897, + "loc": { + "start": { + "line": 239, + "column": 45 + }, + "end": { + "line": 239, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9897, + "end": 9898, + "loc": { + "start": { + "line": 239, + "column": 51 + }, + "end": { + "line": 239, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9898, + "end": 9899, + "loc": { + "start": { + "line": 239, + "column": 52 + }, + "end": { + "line": 239, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9899, + "end": 9900, + "loc": { + "start": { + "line": 239, + "column": 53 + }, + "end": { + "line": 239, + "column": 54 + } + } + }, + { + "type": "CommentLine", + "value": " Send KEEPALIVE frames", + "start": 9906, + "end": 9930, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 241, + "column": 28 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9935, + "end": 9940, + "loc": { + "start": { + "line": 242, + "column": 4 + }, + "end": { + "line": 242, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9941, + "end": 9942, + "loc": { + "start": { + "line": 242, + "column": 10 + }, + "end": { + "line": 242, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keepAlive", + "start": 9943, + "end": 9952, + "loc": { + "start": { + "line": 242, + "column": 12 + }, + "end": { + "line": 242, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9953, + "end": 9954, + "loc": { + "start": { + "line": 242, + "column": 22 + }, + "end": { + "line": 242, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9955, + "end": 9956, + "loc": { + "start": { + "line": 242, + "column": 24 + }, + "end": { + "line": 242, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 9957, + "end": 9963, + "loc": { + "start": { + "line": 242, + "column": 26 + }, + "end": { + "line": 242, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9963, + "end": 9964, + "loc": { + "start": { + "line": 242, + "column": 32 + }, + "end": { + "line": 242, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setup", + "start": 9964, + "end": 9969, + "loc": { + "start": { + "line": 242, + "column": 33 + }, + "end": { + "line": 242, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9969, + "end": 9970, + "loc": { + "start": { + "line": 242, + "column": 38 + }, + "end": { + "line": 242, + "column": 39 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9975, + "end": 9980, + "loc": { + "start": { + "line": 243, + "column": 4 + }, + "end": { + "line": 243, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keepAliveFrames", + "start": 9981, + "end": 9996, + "loc": { + "start": { + "line": 243, + "column": 10 + }, + "end": { + "line": 243, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9997, + "end": 9998, + "loc": { + "start": { + "line": 243, + "column": 26 + }, + "end": { + "line": 243, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "every", + "start": 9999, + "end": 10004, + "loc": { + "start": { + "line": 243, + "column": 28 + }, + "end": { + "line": 243, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10004, + "end": 10005, + "loc": { + "start": { + "line": 243, + "column": 33 + }, + "end": { + "line": 243, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keepAlive", + "start": 10005, + "end": 10014, + "loc": { + "start": { + "line": 243, + "column": 34 + }, + "end": { + "line": 243, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10014, + "end": 10015, + "loc": { + "start": { + "line": 243, + "column": 43 + }, + "end": { + "line": 243, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10015, + "end": 10016, + "loc": { + "start": { + "line": 243, + "column": 44 + }, + "end": { + "line": 243, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 10016, + "end": 10019, + "loc": { + "start": { + "line": 243, + "column": 45 + }, + "end": { + "line": 243, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10019, + "end": 10020, + "loc": { + "start": { + "line": 243, + "column": 48 + }, + "end": { + "line": 243, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10020, + "end": 10021, + "loc": { + "start": { + "line": 243, + "column": 49 + }, + "end": { + "line": 243, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10021, + "end": 10022, + "loc": { + "start": { + "line": 243, + "column": 50 + }, + "end": { + "line": 243, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10023, + "end": 10025, + "loc": { + "start": { + "line": 243, + "column": 52 + }, + "end": { + "line": 243, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10026, + "end": 10027, + "loc": { + "start": { + "line": 243, + "column": 55 + }, + "end": { + "line": 243, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10027, + "end": 10028, + "loc": { + "start": { + "line": 243, + "column": 56 + }, + "end": { + "line": 243, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 10035, + "end": 10039, + "loc": { + "start": { + "line": 244, + "column": 6 + }, + "end": { + "line": 244, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10039, + "end": 10040, + "loc": { + "start": { + "line": 244, + "column": 10 + }, + "end": { + "line": 244, + "column": 11 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 10041, + "end": 10045, + "loc": { + "start": { + "line": 244, + "column": 12 + }, + "end": { + "line": 244, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10045, + "end": 10046, + "loc": { + "start": { + "line": 244, + "column": 16 + }, + "end": { + "line": 244, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flags", + "start": 10053, + "end": 10058, + "loc": { + "start": { + "line": 245, + "column": 6 + }, + "end": { + "line": 245, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10058, + "end": 10059, + "loc": { + "start": { + "line": 245, + "column": 11 + }, + "end": { + "line": 245, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FLAGS", + "start": 10060, + "end": 10065, + "loc": { + "start": { + "line": 245, + "column": 13 + }, + "end": { + "line": 245, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10065, + "end": 10066, + "loc": { + "start": { + "line": 245, + "column": 18 + }, + "end": { + "line": 245, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RESPOND", + "start": 10066, + "end": 10073, + "loc": { + "start": { + "line": 245, + "column": 19 + }, + "end": { + "line": 245, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10073, + "end": 10074, + "loc": { + "start": { + "line": 245, + "column": 26 + }, + "end": { + "line": 245, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lastReceivedPosition", + "start": 10081, + "end": 10101, + "loc": { + "start": { + "line": 246, + "column": 6 + }, + "end": { + "line": 246, + "column": 26 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10101, + "end": 10102, + "loc": { + "start": { + "line": 246, + "column": 26 + }, + "end": { + "line": 246, + "column": 27 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 10103, + "end": 10104, + "loc": { + "start": { + "line": 246, + "column": 28 + }, + "end": { + "line": 246, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10104, + "end": 10105, + "loc": { + "start": { + "line": 246, + "column": 29 + }, + "end": { + "line": 246, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "streamId", + "start": 10112, + "end": 10120, + "loc": { + "start": { + "line": 247, + "column": 6 + }, + "end": { + "line": 247, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10120, + "end": 10121, + "loc": { + "start": { + "line": 247, + "column": 14 + }, + "end": { + "line": 247, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CONNECTION_STREAM_ID", + "start": 10122, + "end": 10142, + "loc": { + "start": { + "line": 247, + "column": 16 + }, + "end": { + "line": 247, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10142, + "end": 10143, + "loc": { + "start": { + "line": 247, + "column": 36 + }, + "end": { + "line": 247, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 10150, + "end": 10154, + "loc": { + "start": { + "line": 248, + "column": 6 + }, + "end": { + "line": 248, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10154, + "end": 10155, + "loc": { + "start": { + "line": 248, + "column": 10 + }, + "end": { + "line": 248, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FRAME_TYPES", + "start": 10156, + "end": 10167, + "loc": { + "start": { + "line": 248, + "column": 12 + }, + "end": { + "line": 248, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10167, + "end": 10168, + "loc": { + "start": { + "line": 248, + "column": 23 + }, + "end": { + "line": 248, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "KEEPALIVE", + "start": 10168, + "end": 10177, + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10182, + "end": 10183, + "loc": { + "start": { + "line": 249, + "column": 4 + }, + "end": { + "line": 249, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10183, + "end": 10184, + "loc": { + "start": { + "line": 249, + "column": 5 + }, + "end": { + "line": 249, + "column": 6 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10184, + "end": 10185, + "loc": { + "start": { + "line": 249, + "column": 6 + }, + "end": { + "line": 249, + "column": 7 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10185, + "end": 10186, + "loc": { + "start": { + "line": 249, + "column": 7 + }, + "end": { + "line": 249, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connection", + "start": 10191, + "end": 10201, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10201, + "end": 10202, + "loc": { + "start": { + "line": 250, + "column": 14 + }, + "end": { + "line": 250, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "send", + "start": 10202, + "end": 10206, + "loc": { + "start": { + "line": 250, + "column": 15 + }, + "end": { + "line": 250, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10206, + "end": 10207, + "loc": { + "start": { + "line": 250, + "column": 19 + }, + "end": { + "line": 250, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keepAliveFrames", + "start": 10207, + "end": 10222, + "loc": { + "start": { + "line": 250, + "column": 20 + }, + "end": { + "line": 250, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10222, + "end": 10223, + "loc": { + "start": { + "line": 250, + "column": 35 + }, + "end": { + "line": 250, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10223, + "end": 10224, + "loc": { + "start": { + "line": 250, + "column": 36 + }, + "end": { + "line": 250, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10227, + "end": 10228, + "loc": { + "start": { + "line": 251, + "column": 2 + }, + "end": { + "line": 251, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fireAndForget", + "start": 10232, + "end": 10245, + "loc": { + "start": { + "line": 253, + "column": 2 + }, + "end": { + "line": 253, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10245, + "end": 10246, + "loc": { + "start": { + "line": 253, + "column": 15 + }, + "end": { + "line": 253, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 10246, + "end": 10253, + "loc": { + "start": { + "line": 253, + "column": 16 + }, + "end": { + "line": 253, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10253, + "end": 10254, + "loc": { + "start": { + "line": 253, + "column": 23 + }, + "end": { + "line": 253, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10255, + "end": 10256, + "loc": { + "start": { + "line": 253, + "column": 25 + }, + "end": { + "line": 253, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10261, + "end": 10265, + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10265, + "end": 10266, + "loc": { + "start": { + "line": 254, + "column": 8 + }, + "end": { + "line": 254, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_machine", + "start": 10266, + "end": 10274, + "loc": { + "start": { + "line": 254, + "column": 9 + }, + "end": { + "line": 254, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10274, + "end": 10275, + "loc": { + "start": { + "line": 254, + "column": 17 + }, + "end": { + "line": 254, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fireAndForget", + "start": 10275, + "end": 10288, + "loc": { + "start": { + "line": 254, + "column": 18 + }, + "end": { + "line": 254, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10288, + "end": 10289, + "loc": { + "start": { + "line": 254, + "column": 31 + }, + "end": { + "line": 254, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 10289, + "end": 10296, + "loc": { + "start": { + "line": 254, + "column": 32 + }, + "end": { + "line": 254, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10296, + "end": 10297, + "loc": { + "start": { + "line": 254, + "column": 39 + }, + "end": { + "line": 254, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10297, + "end": 10298, + "loc": { + "start": { + "line": 254, + "column": 40 + }, + "end": { + "line": 254, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10301, + "end": 10302, + "loc": { + "start": { + "line": 255, + "column": 2 + }, + "end": { + "line": 255, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestResponse", + "start": 10306, + "end": 10321, + "loc": { + "start": { + "line": 257, + "column": 2 + }, + "end": { + "line": 257, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10321, + "end": 10322, + "loc": { + "start": { + "line": 257, + "column": 17 + }, + "end": { + "line": 257, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 10322, + "end": 10329, + "loc": { + "start": { + "line": 257, + "column": 18 + }, + "end": { + "line": 257, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10329, + "end": 10330, + "loc": { + "start": { + "line": 257, + "column": 25 + }, + "end": { + "line": 257, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10331, + "end": 10332, + "loc": { + "start": { + "line": 257, + "column": 27 + }, + "end": { + "line": 257, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10337, + "end": 10343, + "loc": { + "start": { + "line": 258, + "column": 4 + }, + "end": { + "line": 258, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10344, + "end": 10348, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10348, + "end": 10349, + "loc": { + "start": { + "line": 258, + "column": 15 + }, + "end": { + "line": 258, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_machine", + "start": 10349, + "end": 10357, + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 258, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10357, + "end": 10358, + "loc": { + "start": { + "line": 258, + "column": 24 + }, + "end": { + "line": 258, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestResponse", + "start": 10358, + "end": 10373, + "loc": { + "start": { + "line": 258, + "column": 25 + }, + "end": { + "line": 258, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10373, + "end": 10374, + "loc": { + "start": { + "line": 258, + "column": 40 + }, + "end": { + "line": 258, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 10374, + "end": 10381, + "loc": { + "start": { + "line": 258, + "column": 41 + }, + "end": { + "line": 258, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10381, + "end": 10382, + "loc": { + "start": { + "line": 258, + "column": 48 + }, + "end": { + "line": 258, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10382, + "end": 10383, + "loc": { + "start": { + "line": 258, + "column": 49 + }, + "end": { + "line": 258, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10386, + "end": 10387, + "loc": { + "start": { + "line": 259, + "column": 2 + }, + "end": { + "line": 259, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestStream", + "start": 10391, + "end": 10404, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 261, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10404, + "end": 10405, + "loc": { + "start": { + "line": 261, + "column": 15 + }, + "end": { + "line": 261, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 10405, + "end": 10412, + "loc": { + "start": { + "line": 261, + "column": 16 + }, + "end": { + "line": 261, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10412, + "end": 10413, + "loc": { + "start": { + "line": 261, + "column": 23 + }, + "end": { + "line": 261, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10414, + "end": 10415, + "loc": { + "start": { + "line": 261, + "column": 25 + }, + "end": { + "line": 261, + "column": 26 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10420, + "end": 10426, + "loc": { + "start": { + "line": 262, + "column": 4 + }, + "end": { + "line": 262, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10427, + "end": 10431, + "loc": { + "start": { + "line": 262, + "column": 11 + }, + "end": { + "line": 262, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10431, + "end": 10432, + "loc": { + "start": { + "line": 262, + "column": 15 + }, + "end": { + "line": 262, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_machine", + "start": 10432, + "end": 10440, + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10440, + "end": 10441, + "loc": { + "start": { + "line": 262, + "column": 24 + }, + "end": { + "line": 262, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestStream", + "start": 10441, + "end": 10454, + "loc": { + "start": { + "line": 262, + "column": 25 + }, + "end": { + "line": 262, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10454, + "end": 10455, + "loc": { + "start": { + "line": 262, + "column": 38 + }, + "end": { + "line": 262, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 10455, + "end": 10462, + "loc": { + "start": { + "line": 262, + "column": 39 + }, + "end": { + "line": 262, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10462, + "end": 10463, + "loc": { + "start": { + "line": 262, + "column": 46 + }, + "end": { + "line": 262, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10463, + "end": 10464, + "loc": { + "start": { + "line": 262, + "column": 47 + }, + "end": { + "line": 262, + "column": 48 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10467, + "end": 10468, + "loc": { + "start": { + "line": 263, + "column": 2 + }, + "end": { + "line": 263, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestChannel", + "start": 10472, + "end": 10486, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 265, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10486, + "end": 10487, + "loc": { + "start": { + "line": 265, + "column": 16 + }, + "end": { + "line": 265, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payloads", + "start": 10487, + "end": 10495, + "loc": { + "start": { + "line": 265, + "column": 17 + }, + "end": { + "line": 265, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10495, + "end": 10496, + "loc": { + "start": { + "line": 265, + "column": 25 + }, + "end": { + "line": 265, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10497, + "end": 10498, + "loc": { + "start": { + "line": 265, + "column": 27 + }, + "end": { + "line": 265, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10503, + "end": 10509, + "loc": { + "start": { + "line": 266, + "column": 4 + }, + "end": { + "line": 266, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10510, + "end": 10514, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10514, + "end": 10515, + "loc": { + "start": { + "line": 266, + "column": 15 + }, + "end": { + "line": 266, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_machine", + "start": 10515, + "end": 10523, + "loc": { + "start": { + "line": 266, + "column": 16 + }, + "end": { + "line": 266, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10523, + "end": 10524, + "loc": { + "start": { + "line": 266, + "column": 24 + }, + "end": { + "line": 266, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requestChannel", + "start": 10524, + "end": 10538, + "loc": { + "start": { + "line": 266, + "column": 25 + }, + "end": { + "line": 266, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10538, + "end": 10539, + "loc": { + "start": { + "line": 266, + "column": 39 + }, + "end": { + "line": 266, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payloads", + "start": 10539, + "end": 10547, + "loc": { + "start": { + "line": 266, + "column": 40 + }, + "end": { + "line": 266, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10547, + "end": 10548, + "loc": { + "start": { + "line": 266, + "column": 48 + }, + "end": { + "line": 266, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10548, + "end": 10549, + "loc": { + "start": { + "line": 266, + "column": 49 + }, + "end": { + "line": 266, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10552, + "end": 10553, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 267, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadataPush", + "start": 10557, + "end": 10569, + "loc": { + "start": { + "line": 269, + "column": 2 + }, + "end": { + "line": 269, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10569, + "end": 10570, + "loc": { + "start": { + "line": 269, + "column": 14 + }, + "end": { + "line": 269, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 10570, + "end": 10577, + "loc": { + "start": { + "line": 269, + "column": 15 + }, + "end": { + "line": 269, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10577, + "end": 10578, + "loc": { + "start": { + "line": 269, + "column": 22 + }, + "end": { + "line": 269, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10579, + "end": 10580, + "loc": { + "start": { + "line": 269, + "column": 24 + }, + "end": { + "line": 269, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10585, + "end": 10591, + "loc": { + "start": { + "line": 270, + "column": 4 + }, + "end": { + "line": 270, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10592, + "end": 10596, + "loc": { + "start": { + "line": 270, + "column": 11 + }, + "end": { + "line": 270, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10596, + "end": 10597, + "loc": { + "start": { + "line": 270, + "column": 15 + }, + "end": { + "line": 270, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_machine", + "start": 10597, + "end": 10605, + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10605, + "end": 10606, + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadataPush", + "start": 10606, + "end": 10618, + "loc": { + "start": { + "line": 270, + "column": 25 + }, + "end": { + "line": 270, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10618, + "end": 10619, + "loc": { + "start": { + "line": 270, + "column": 37 + }, + "end": { + "line": 270, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "payload", + "start": 10619, + "end": 10626, + "loc": { + "start": { + "line": 270, + "column": 38 + }, + "end": { + "line": 270, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10626, + "end": 10627, + "loc": { + "start": { + "line": 270, + "column": 45 + }, + "end": { + "line": 270, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10627, + "end": 10628, + "loc": { + "start": { + "line": 270, + "column": 46 + }, + "end": { + "line": 270, + "column": 47 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10631, + "end": 10632, + "loc": { + "start": { + "line": 271, + "column": 2 + }, + "end": { + "line": 271, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "close", + "start": 10636, + "end": 10641, + "loc": { + "start": { + "line": 273, + "column": 2 + }, + "end": { + "line": 273, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10641, + "end": 10642, + "loc": { + "start": { + "line": 273, + "column": 7 + }, + "end": { + "line": 273, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10642, + "end": 10643, + "loc": { + "start": { + "line": 273, + "column": 8 + }, + "end": { + "line": 273, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10644, + "end": 10645, + "loc": { + "start": { + "line": 273, + "column": 10 + }, + "end": { + "line": 273, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10650, + "end": 10654, + "loc": { + "start": { + "line": 274, + "column": 4 + }, + "end": { + "line": 274, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10654, + "end": 10655, + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_machine", + "start": 10655, + "end": 10663, + "loc": { + "start": { + "line": 274, + "column": 9 + }, + "end": { + "line": 274, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10663, + "end": 10664, + "loc": { + "start": { + "line": 274, + "column": 17 + }, + "end": { + "line": 274, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "close", + "start": 10664, + "end": 10669, + "loc": { + "start": { + "line": 274, + "column": 18 + }, + "end": { + "line": 274, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10669, + "end": 10670, + "loc": { + "start": { + "line": 274, + "column": 23 + }, + "end": { + "line": 274, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10670, + "end": 10671, + "loc": { + "start": { + "line": 274, + "column": 24 + }, + "end": { + "line": 274, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10671, + "end": 10672, + "loc": { + "start": { + "line": 274, + "column": 25 + }, + "end": { + "line": 274, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10675, + "end": 10676, + "loc": { + "start": { + "line": 275, + "column": 2 + }, + "end": { + "line": 275, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connectionStatus", + "start": 10680, + "end": 10696, + "loc": { + "start": { + "line": 277, + "column": 2 + }, + "end": { + "line": 277, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10696, + "end": 10697, + "loc": { + "start": { + "line": 277, + "column": 18 + }, + "end": { + "line": 277, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10697, + "end": 10698, + "loc": { + "start": { + "line": 277, + "column": 19 + }, + "end": { + "line": 277, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10699, + "end": 10700, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 277, + "column": 22 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10705, + "end": 10711, + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10712, + "end": 10716, + "loc": { + "start": { + "line": 278, + "column": 11 + }, + "end": { + "line": 278, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10716, + "end": 10717, + "loc": { + "start": { + "line": 278, + "column": 15 + }, + "end": { + "line": 278, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_machine", + "start": 10717, + "end": 10725, + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10725, + "end": 10726, + "loc": { + "start": { + "line": 278, + "column": 24 + }, + "end": { + "line": 278, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "connectionStatus", + "start": 10726, + "end": 10742, + "loc": { + "start": { + "line": 278, + "column": 25 + }, + "end": { + "line": 278, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10742, + "end": 10743, + "loc": { + "start": { + "line": 278, + "column": 41 + }, + "end": { + "line": 278, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10743, + "end": 10744, + "loc": { + "start": { + "line": 278, + "column": 42 + }, + "end": { + "line": 278, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10744, + "end": 10745, + "loc": { + "start": { + "line": 278, + "column": 43 + }, + "end": { + "line": 278, + "column": 44 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10748, + "end": 10749, + "loc": { + "start": { + "line": 279, + "column": 2 + }, + "end": { + "line": 279, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_buildSetupFrame", + "start": 10753, + "end": 10769, + "loc": { + "start": { + "line": 281, + "column": 2 + }, + "end": { + "line": 281, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10769, + "end": 10770, + "loc": { + "start": { + "line": 281, + "column": 18 + }, + "end": { + "line": 281, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 10770, + "end": 10776, + "loc": { + "start": { + "line": 281, + "column": 19 + }, + "end": { + "line": 281, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10776, + "end": 10777, + "loc": { + "start": { + "line": 281, + "column": 25 + }, + "end": { + "line": 281, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10778, + "end": 10779, + "loc": { + "start": { + "line": 281, + "column": 27 + }, + "end": { + "line": 281, + "column": 28 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 10784, + "end": 10789, + "loc": { + "start": { + "line": 282, + "column": 4 + }, + "end": { + "line": 282, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10790, + "end": 10791, + "loc": { + "start": { + "line": 282, + "column": 10 + }, + "end": { + "line": 282, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keepAlive", + "start": 10792, + "end": 10801, + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10801, + "end": 10802, + "loc": { + "start": { + "line": 282, + "column": 21 + }, + "end": { + "line": 282, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lifetime", + "start": 10803, + "end": 10811, + "loc": { + "start": { + "line": 282, + "column": 23 + }, + "end": { + "line": 282, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10811, + "end": 10812, + "loc": { + "start": { + "line": 282, + "column": 31 + }, + "end": { + "line": 282, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 10813, + "end": 10821, + "loc": { + "start": { + "line": 282, + "column": 33 + }, + "end": { + "line": 282, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10822, + "end": 10823, + "loc": { + "start": { + "line": 282, + "column": 42 + }, + "end": { + "line": 282, + "column": 43 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 10824, + "end": 10825, + "loc": { + "start": { + "line": 282, + "column": 44 + }, + "end": { + "line": 282, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 10826, + "end": 10832, + "loc": { + "start": { + "line": 282, + "column": 46 + }, + "end": { + "line": 282, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10832, + "end": 10833, + "loc": { + "start": { + "line": 282, + "column": 52 + }, + "end": { + "line": 282, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setup", + "start": 10833, + "end": 10838, + "loc": { + "start": { + "line": 282, + "column": 53 + }, + "end": { + "line": 282, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10838, + "end": 10839, + "loc": { + "start": { + "line": 282, + "column": 58 + }, + "end": { + "line": 282, + "column": 59 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10845, + "end": 10851, + "loc": { + "start": { + "line": 284, + "column": 4 + }, + "end": { + "line": 284, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10852, + "end": 10853, + "loc": { + "start": { + "line": 284, + "column": 11 + }, + "end": { + "line": 284, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flags", + "start": 10860, + "end": 10865, + "loc": { + "start": { + "line": 285, + "column": 6 + }, + "end": { + "line": 285, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10865, + "end": 10866, + "loc": { + "start": { + "line": 285, + "column": 11 + }, + "end": { + "line": 285, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FLAGS", + "start": 10867, + "end": 10872, + "loc": { + "start": { + "line": 285, + "column": 13 + }, + "end": { + "line": 285, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10872, + "end": 10873, + "loc": { + "start": { + "line": 285, + "column": 18 + }, + "end": { + "line": 285, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "METADATA", + "start": 10873, + "end": 10881, + "loc": { + "start": { + "line": 285, + "column": 19 + }, + "end": { + "line": 285, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10881, + "end": 10882, + "loc": { + "start": { + "line": 285, + "column": 27 + }, + "end": { + "line": 285, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keepAlive", + "start": 10889, + "end": 10898, + "loc": { + "start": { + "line": 286, + "column": 6 + }, + "end": { + "line": 286, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10898, + "end": 10899, + "loc": { + "start": { + "line": 286, + "column": 15 + }, + "end": { + "line": 286, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lifetime", + "start": 10906, + "end": 10914, + "loc": { + "start": { + "line": 287, + "column": 6 + }, + "end": { + "line": 287, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10914, + "end": 10915, + "loc": { + "start": { + "line": 287, + "column": 14 + }, + "end": { + "line": 287, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "majorVersion", + "start": 10922, + "end": 10934, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10934, + "end": 10935, + "loc": { + "start": { + "line": 288, + "column": 18 + }, + "end": { + "line": 288, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAJOR_VERSION", + "start": 10936, + "end": 10949, + "loc": { + "start": { + "line": 288, + "column": 20 + }, + "end": { + "line": 288, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10949, + "end": 10950, + "loc": { + "start": { + "line": 288, + "column": 33 + }, + "end": { + "line": 288, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "minorVersion", + "start": 10957, + "end": 10969, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10969, + "end": 10970, + "loc": { + "start": { + "line": 289, + "column": 18 + }, + "end": { + "line": 289, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MINOR_VERSION", + "start": 10971, + "end": 10984, + "loc": { + "start": { + "line": 289, + "column": 20 + }, + "end": { + "line": 289, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10984, + "end": 10985, + "loc": { + "start": { + "line": 289, + "column": 33 + }, + "end": { + "line": 289, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadataMimeType", + "start": 10992, + "end": 11008, + "loc": { + "start": { + "line": 290, + "column": 6 + }, + "end": { + "line": 290, + "column": 22 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11008, + "end": 11009, + "loc": { + "start": { + "line": 290, + "column": 22 + }, + "end": { + "line": 290, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "application/binary", + "start": 11010, + "end": 11030, + "loc": { + "start": { + "line": 290, + "column": 24 + }, + "end": { + "line": 290, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11030, + "end": 11031, + "loc": { + "start": { + "line": 290, + "column": 44 + }, + "end": { + "line": 290, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 11038, + "end": 11046, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11046, + "end": 11047, + "loc": { + "start": { + "line": 291, + "column": 14 + }, + "end": { + "line": 291, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataMimeType", + "start": 11054, + "end": 11066, + "loc": { + "start": { + "line": 292, + "column": 6 + }, + "end": { + "line": 292, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11066, + "end": 11067, + "loc": { + "start": { + "line": 292, + "column": 18 + }, + "end": { + "line": 292, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "application/binary", + "start": 11068, + "end": 11088, + "loc": { + "start": { + "line": 292, + "column": 20 + }, + "end": { + "line": 292, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11088, + "end": 11089, + "loc": { + "start": { + "line": 292, + "column": 40 + }, + "end": { + "line": 292, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 11096, + "end": 11100, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11100, + "end": 11101, + "loc": { + "start": { + "line": 293, + "column": 10 + }, + "end": { + "line": 293, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 11102, + "end": 11111, + "loc": { + "start": { + "line": 293, + "column": 12 + }, + "end": { + "line": 293, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11111, + "end": 11112, + "loc": { + "start": { + "line": 293, + "column": 21 + }, + "end": { + "line": 293, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resumeToken", + "start": 11119, + "end": 11130, + "loc": { + "start": { + "line": 294, + "column": 6 + }, + "end": { + "line": 294, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11130, + "end": 11131, + "loc": { + "start": { + "line": 294, + "column": 17 + }, + "end": { + "line": 294, + "column": 18 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 11132, + "end": 11136, + "loc": { + "start": { + "line": 294, + "column": 19 + }, + "end": { + "line": 294, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11136, + "end": 11137, + "loc": { + "start": { + "line": 294, + "column": 23 + }, + "end": { + "line": 294, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "streamId", + "start": 11144, + "end": 11152, + "loc": { + "start": { + "line": 295, + "column": 6 + }, + "end": { + "line": 295, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11152, + "end": 11153, + "loc": { + "start": { + "line": 295, + "column": 14 + }, + "end": { + "line": 295, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CONNECTION_STREAM_ID", + "start": 11154, + "end": 11174, + "loc": { + "start": { + "line": 295, + "column": 16 + }, + "end": { + "line": 295, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11174, + "end": 11175, + "loc": { + "start": { + "line": 295, + "column": 36 + }, + "end": { + "line": 295, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 11182, + "end": 11186, + "loc": { + "start": { + "line": 296, + "column": 6 + }, + "end": { + "line": 296, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11186, + "end": 11187, + "loc": { + "start": { + "line": 296, + "column": 10 + }, + "end": { + "line": 296, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FRAME_TYPES", + "start": 11188, + "end": 11199, + "loc": { + "start": { + "line": 296, + "column": 12 + }, + "end": { + "line": 296, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11199, + "end": 11200, + "loc": { + "start": { + "line": 296, + "column": 23 + }, + "end": { + "line": 296, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SETUP", + "start": 11200, + "end": 11205, + "loc": { + "start": { + "line": 296, + "column": 24 + }, + "end": { + "line": 296, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11210, + "end": 11211, + "loc": { + "start": { + "line": 297, + "column": 4 + }, + "end": { + "line": 297, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11211, + "end": 11212, + "loc": { + "start": { + "line": 297, + "column": 5 + }, + "end": { + "line": 297, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11215, + "end": 11216, + "loc": { + "start": { + "line": 298, + "column": 2 + }, + "end": { + "line": 298, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11217, + "end": 11218, + "loc": { + "start": { + "line": 299, + "column": 0 + }, + "end": { + "line": 299, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11218, + "end": 11218, + "loc": { + "start": { + "line": 299, + "column": 1 + }, + "end": { + "line": 299, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/core/src/SwitchTransformOperator.js.json b/rsocket-rpc-js/docs/ast/source/core/src/SwitchTransformOperator.js.json new file mode 100644 index 0000000..ac57259 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/core/src/SwitchTransformOperator.js.json @@ -0,0 +1,25021 @@ +{ + "type": "File", + "start": 0, + "end": 4125, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 201, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 4125, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 201, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 1, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 44 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 10, + "end": 18, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 10, + "end": 18, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "local": { + "type": "Identifier", + "start": 10, + "end": 18, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 26, + "end": 44, + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 43 + } + }, + "extra": { + "rawValue": "rsocket-flowable", + "raw": "'rsocket-flowable'" + }, + "value": "rsocket-flowable" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * MAX_REQUEST_N (from SwitchTransformOperator.js). The maximum number of items\n * that may be requested.\n *\n * @constant\n * @type {number}\n ", + "start": 47, + "end": 194, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name SwitchTransformOperator.js\n * @fileoverview Defines the SwitchTransformOperator class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n ", + "start": 195, + "end": 1010, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 1012, + "end": 1045, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 33 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1018, + "end": 1044, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 32 + } + }, + "id": { + "type": "Identifier", + "start": 1018, + "end": 1031, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 19 + }, + "identifierName": "MAX_REQUEST_N" + }, + "name": "MAX_REQUEST_N", + "leadingComments": null + }, + "init": { + "type": "NumericLiteral", + "start": 1034, + "end": 1044, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 32 + } + }, + "extra": { + "rawValue": 2147483647, + "raw": "0x7fffffff" + }, + "value": 2147483647 + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * MAX_REQUEST_N (from SwitchTransformOperator.js). The maximum number of items\n * that may be requested.\n *\n * @constant\n * @type {number}\n ", + "start": 47, + "end": 194, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name SwitchTransformOperator.js\n * @fileoverview Defines the SwitchTransformOperator class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n ", + "start": 195, + "end": 1010, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " uint31", + "start": 1046, + "end": 1055, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1057, + "end": 1064, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 1065, + "end": 4125, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 201, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 1080, + "end": 4125, + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 201, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1086, + "end": 1109, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 44 + }, + "identifierName": "SwitchTransformOperator" + }, + "name": "SwitchTransformOperator", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 1110, + "end": 4125, + "loc": { + "start": { + "line": 39, + "column": 45 + }, + "end": { + "line": 201, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 1200, + "end": 1303, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 48, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1200, + "end": 1211, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1212, + "end": 1219, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 21 + }, + "identifierName": "initial" + }, + "name": "initial" + }, + { + "type": "Identifier", + "start": 1221, + "end": 1232, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 34 + }, + "identifierName": "transformer" + }, + "name": "transformer" + } + ], + "body": { + "type": "BlockStatement", + "start": 1234, + "end": 1303, + "loc": { + "start": { + "line": 45, + "column": 36 + }, + "end": { + "line": 48, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1240, + "end": 1272, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 36 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1240, + "end": 1271, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1240, + "end": 1257, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 1240, + "end": 1244, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1245, + "end": 1257, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 21 + }, + "identifierName": "_transformer" + }, + "name": "_transformer" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1260, + "end": 1271, + "loc": { + "start": { + "line": 46, + "column": 24 + }, + "end": { + "line": 46, + "column": 35 + }, + "identifierName": "transformer" + }, + "name": "transformer" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1277, + "end": 1299, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1277, + "end": 1298, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1277, + "end": 1288, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1277, + "end": 1281, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1282, + "end": 1288, + "loc": { + "start": { + "line": 47, + "column": 9 + }, + "end": { + "line": 47, + "column": 15 + }, + "identifierName": "_outer" + }, + "name": "_outer" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1291, + "end": 1298, + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 25 + }, + "identifierName": "initial" + }, + "name": "initial" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} initial -\n * @param {function} transformer -\n ", + "start": 1115, + "end": 1197, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1307, + "end": 1316, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 51, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1319, + "end": 1469, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 60, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1319, + "end": 1325, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 52, + "column": 8 + }, + "identifierName": "cancel" + }, + "name": "cancel", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1328, + "end": 1469, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 60, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1334, + "end": 1375, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 55, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 1338, + "end": 1352, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1338, + "end": 1342, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1343, + "end": 1352, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 22 + }, + "identifierName": "_canceled" + }, + "name": "_canceled" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 1354, + "end": 1375, + "loc": { + "start": { + "line": 53, + "column": 24 + }, + "end": { + "line": 55, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1362, + "end": 1369, + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 1381, + "end": 1403, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1381, + "end": 1402, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1381, + "end": 1395, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1381, + "end": 1385, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1386, + "end": 1395, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 18 + }, + "identifierName": "_canceled" + }, + "name": "_canceled" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 1398, + "end": 1402, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 25 + } + }, + "value": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 1408, + "end": 1432, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1408, + "end": 1431, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1408, + "end": 1419, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1408, + "end": 1412, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1413, + "end": 1419, + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 15 + }, + "identifierName": "_first" + }, + "name": "_first" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1422, + "end": 1431, + "loc": { + "start": { + "line": 58, + "column": 18 + }, + "end": { + "line": 58, + "column": 27 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1437, + "end": 1465, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 1437, + "end": 1464, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1437, + "end": 1462, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 1437, + "end": 1455, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1437, + "end": 1441, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1442, + "end": 1455, + "loc": { + "start": { + "line": 59, + "column": 9 + }, + "end": { + "line": 59, + "column": 22 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1456, + "end": 1462, + "loc": { + "start": { + "line": 59, + "column": 23 + }, + "end": { + "line": 59, + "column": 29 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1307, + "end": 1316, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 51, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?IPartialSubscriber} actual -\n ", + "start": 1473, + "end": 1525, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1528, + "end": 1968, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 82, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1528, + "end": 1537, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 11 + }, + "identifierName": "subscribe" + }, + "name": "subscribe", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1538, + "end": 1544, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 18 + }, + "identifierName": "actual" + }, + "name": "actual" + } + ], + "body": { + "type": "BlockStatement", + "start": 1546, + "end": 1968, + "loc": { + "start": { + "line": 65, + "column": 20 + }, + "end": { + "line": 82, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1552, + "end": 1964, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 1556, + "end": 1578, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 30 + } + }, + "left": { + "type": "Identifier", + "start": 1556, + "end": 1562, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 14 + }, + "identifierName": "actual" + }, + "name": "actual" + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 1566, + "end": 1578, + "loc": { + "start": { + "line": 66, + "column": 18 + }, + "end": { + "line": 66, + "column": 30 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1567, + "end": 1578, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 1567, + "end": 1571, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 1572, + "end": 1578, + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 30 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1580, + "end": 1652, + "loc": { + "start": { + "line": 66, + "column": 32 + }, + "end": { + "line": 69, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1588, + "end": 1609, + "loc": { + "start": { + "line": 67, + "column": 6 + }, + "end": { + "line": 67, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1588, + "end": 1608, + "loc": { + "start": { + "line": 67, + "column": 6 + }, + "end": { + "line": 67, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1588, + "end": 1599, + "loc": { + "start": { + "line": 67, + "column": 6 + }, + "end": { + "line": 67, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 1588, + "end": 1592, + "loc": { + "start": { + "line": 67, + "column": 6 + }, + "end": { + "line": 67, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1593, + "end": 1599, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 17 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1602, + "end": 1608, + "loc": { + "start": { + "line": 67, + "column": 20 + }, + "end": { + "line": 67, + "column": 26 + }, + "identifierName": "actual" + }, + "name": "actual" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1616, + "end": 1646, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 1616, + "end": 1645, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1616, + "end": 1639, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 1616, + "end": 1627, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 1616, + "end": 1620, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1621, + "end": 1627, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 17 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1628, + "end": 1639, + "loc": { + "start": { + "line": 68, + "column": 18 + }, + "end": { + "line": 68, + "column": 29 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 1640, + "end": 1644, + "loc": { + "start": { + "line": 68, + "column": 30 + }, + "end": { + "line": 68, + "column": 34 + } + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 1658, + "end": 1964, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 1662, + "end": 1668, + "loc": { + "start": { + "line": 69, + "column": 15 + }, + "end": { + "line": 69, + "column": 21 + }, + "identifierName": "actual" + }, + "name": "actual" + }, + "consequent": { + "type": "BlockStatement", + "start": 1670, + "end": 1964, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1678, + "end": 1695, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 70, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1684, + "end": 1694, + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 1684, + "end": 1685, + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 13 + }, + "identifierName": "a" + }, + "name": "a" + }, + "init": { + "type": "Identifier", + "start": 1688, + "end": 1694, + "loc": { + "start": { + "line": 70, + "column": 16 + }, + "end": { + "line": 70, + "column": 22 + }, + "identifierName": "actual" + }, + "name": "actual" + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 1702, + "end": 1958, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 80, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 1706, + "end": 1719, + "loc": { + "start": { + "line": 71, + "column": 10 + }, + "end": { + "line": 71, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 1706, + "end": 1707, + "loc": { + "start": { + "line": 71, + "column": 10 + }, + "end": { + "line": 71, + "column": 11 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1708, + "end": 1719, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 23 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 1721, + "end": 1958, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 80, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1731, + "end": 1950, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 1731, + "end": 1949, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 79, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1731, + "end": 1744, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 1731, + "end": 1732, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 9 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1733, + "end": 1744, + "loc": { + "start": { + "line": 72, + "column": 10 + }, + "end": { + "line": 72, + "column": 21 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 1745, + "end": 1948, + "loc": { + "start": { + "line": 72, + "column": 22 + }, + "end": { + "line": 79, + "column": 9 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1757, + "end": 1773, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1757, + "end": 1763, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 16 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 1765, + "end": 1773, + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 26 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1771, + "end": 1773, + "loc": { + "start": { + "line": 73, + "column": 24 + }, + "end": { + "line": 73, + "column": 26 + } + }, + "body": [], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 1785, + "end": 1938, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 78, + "column": 11 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1785, + "end": 1792, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 17 + }, + "identifierName": "request" + }, + "name": "request" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 1794, + "end": 1938, + "loc": { + "start": { + "line": 74, + "column": 19 + }, + "end": { + "line": 78, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1800, + "end": 1938, + "loc": { + "start": { + "line": 74, + "column": 25 + }, + "end": { + "line": 78, + "column": 11 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1814, + "end": 1926, + "loc": { + "start": { + "line": 75, + "column": 12 + }, + "end": { + "line": 77, + "column": 13 + } + }, + "test": { + "type": "MemberExpression", + "start": 1818, + "end": 1827, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 1818, + "end": 1819, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 17 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1820, + "end": 1827, + "loc": { + "start": { + "line": 75, + "column": 18 + }, + "end": { + "line": 75, + "column": 25 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 1829, + "end": 1926, + "loc": { + "start": { + "line": 75, + "column": 27 + }, + "end": { + "line": 77, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1845, + "end": 1912, + "loc": { + "start": { + "line": 76, + "column": 14 + }, + "end": { + "line": 76, + "column": 81 + } + }, + "expression": { + "type": "CallExpression", + "start": 1845, + "end": 1911, + "loc": { + "start": { + "line": 76, + "column": 14 + }, + "end": { + "line": 76, + "column": 80 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1845, + "end": 1854, + "loc": { + "start": { + "line": 76, + "column": 14 + }, + "end": { + "line": 76, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 1845, + "end": 1846, + "loc": { + "start": { + "line": 76, + "column": 14 + }, + "end": { + "line": 76, + "column": 15 + }, + "identifierName": "a" + }, + "name": "a" + }, + "property": { + "type": "Identifier", + "start": 1847, + "end": 1854, + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, + "column": 23 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 1855, + "end": 1910, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 79 + } + }, + "callee": { + "type": "Identifier", + "start": 1859, + "end": 1864, + "loc": { + "start": { + "line": 76, + "column": 28 + }, + "end": { + "line": 76, + "column": 33 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1865, + "end": 1909, + "loc": { + "start": { + "line": 76, + "column": 34 + }, + "end": { + "line": 76, + "column": 78 + } + }, + "extra": { + "rawValue": "SwitchTransform allows only one Subscriber", + "raw": "'SwitchTransform allows only one Subscriber'" + }, + "value": "SwitchTransform allows only one Subscriber" + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?IPartialSubscriber} actual -\n ", + "start": 1473, + "end": 1525, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscription} subscription\n ", + "start": 1972, + "end": 2022, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 86, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2025, + "end": 2210, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 95, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2025, + "end": 2036, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 87, + "column": 13 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2037, + "end": 2049, + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 26 + }, + "identifierName": "subscription" + }, + "name": "subscription" + } + ], + "body": { + "type": "BlockStatement", + "start": 2051, + "end": 2210, + "loc": { + "start": { + "line": 87, + "column": 28 + }, + "end": { + "line": 95, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 2057, + "end": 2131, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 91, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 2061, + "end": 2079, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 2061, + "end": 2065, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2066, + "end": 2079, + "loc": { + "start": { + "line": 88, + "column": 13 + }, + "end": { + "line": 88, + "column": 26 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 2081, + "end": 2131, + "loc": { + "start": { + "line": 88, + "column": 28 + }, + "end": { + "line": 91, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2089, + "end": 2111, + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 89, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 2089, + "end": 2110, + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 89, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2089, + "end": 2108, + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 89, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 2089, + "end": 2101, + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 89, + "column": 18 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "property": { + "type": "Identifier", + "start": 2102, + "end": 2108, + "loc": { + "start": { + "line": 89, + "column": 19 + }, + "end": { + "line": 89, + "column": 25 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ReturnStatement", + "start": 2118, + "end": 2125, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 2137, + "end": 2171, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 38 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2137, + "end": 2170, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 37 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2137, + "end": 2155, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2137, + "end": 2141, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2142, + "end": 2155, + "loc": { + "start": { + "line": 93, + "column": 9 + }, + "end": { + "line": 93, + "column": 22 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 2158, + "end": 2170, + "loc": { + "start": { + "line": 93, + "column": 25 + }, + "end": { + "line": 93, + "column": 37 + }, + "identifierName": "subscription" + }, + "name": "subscription" + } + } + }, + { + "type": "ExpressionStatement", + "start": 2176, + "end": 2206, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 34 + } + }, + "expression": { + "type": "CallExpression", + "start": 2176, + "end": 2205, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2176, + "end": 2202, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 2176, + "end": 2194, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2176, + "end": 2180, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2181, + "end": 2194, + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 94, + "column": 22 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2195, + "end": 2202, + "loc": { + "start": { + "line": 94, + "column": 23 + }, + "end": { + "line": 94, + "column": 30 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2203, + "end": 2204, + "loc": { + "start": { + "line": 94, + "column": 31 + }, + "end": { + "line": 94, + "column": 32 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscription} subscription\n ", + "start": 1972, + "end": 2022, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 86, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {T} value\n ", + "start": 2214, + "end": 2245, + "loc": { + "start": { + "line": 97, + "column": 2 + }, + "end": { + "line": 99, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2248, + "end": 2624, + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 117, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2248, + "end": 2254, + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 100, + "column": 8 + }, + "identifierName": "onNext" + }, + "name": "onNext", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2255, + "end": 2260, + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 14 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "body": { + "type": "BlockStatement", + "start": 2262, + "end": 2624, + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 117, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 2268, + "end": 2323, + "loc": { + "start": { + "line": 101, + "column": 4 + }, + "end": { + "line": 103, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 2272, + "end": 2300, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 36 + } + }, + "left": { + "type": "MemberExpression", + "start": 2272, + "end": 2286, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2272, + "end": 2276, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2277, + "end": 2286, + "loc": { + "start": { + "line": 101, + "column": 13 + }, + "end": { + "line": 101, + "column": 22 + }, + "identifierName": "_canceled" + }, + "name": "_canceled" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 2290, + "end": 2300, + "loc": { + "start": { + "line": 101, + "column": 26 + }, + "end": { + "line": 101, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 2290, + "end": 2294, + "loc": { + "start": { + "line": 101, + "column": 26 + }, + "end": { + "line": 101, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2295, + "end": 2300, + "loc": { + "start": { + "line": 101, + "column": 31 + }, + "end": { + "line": 101, + "column": 36 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2302, + "end": 2323, + "loc": { + "start": { + "line": 101, + "column": 38 + }, + "end": { + "line": 103, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2310, + "end": 2317, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 2329, + "end": 2588, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 114, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 2333, + "end": 2345, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 20 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 2334, + "end": 2345, + "loc": { + "start": { + "line": 105, + "column": 9 + }, + "end": { + "line": 105, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2334, + "end": 2338, + "loc": { + "start": { + "line": 105, + "column": 9 + }, + "end": { + "line": 105, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 2339, + "end": 2345, + "loc": { + "start": { + "line": 105, + "column": 14 + }, + "end": { + "line": 105, + "column": 20 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2347, + "end": 2588, + "loc": { + "start": { + "line": 105, + "column": 22 + }, + "end": { + "line": 114, + "column": 5 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 2355, + "end": 2568, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 112, + "column": 7 + } + }, + "block": { + "type": "BlockStatement", + "start": 2359, + "end": 2523, + "loc": { + "start": { + "line": 106, + "column": 10 + }, + "end": { + "line": 110, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2369, + "end": 2389, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2369, + "end": 2388, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2369, + "end": 2380, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2369, + "end": 2373, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2374, + "end": 2380, + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 19 + }, + "identifierName": "_first" + }, + "name": "_first" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 2383, + "end": 2388, + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 27 + }, + "identifierName": "value" + }, + "name": "value" + } + } + }, + { + "type": "VariableDeclaration", + "start": 2398, + "end": 2476, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 86 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2404, + "end": 2475, + "loc": { + "start": { + "line": 108, + "column": 14 + }, + "end": { + "line": 108, + "column": 85 + } + }, + "id": { + "type": "Identifier", + "start": 2404, + "end": 2410, + "loc": { + "start": { + "line": 108, + "column": 14 + }, + "end": { + "line": 108, + "column": 20 + }, + "identifierName": "result" + }, + "name": "result" + }, + "init": { + "type": "CallExpression", + "start": 2413, + "end": 2475, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 85 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2413, + "end": 2430, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 2413, + "end": 2417, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 2418, + "end": 2430, + "loc": { + "start": { + "line": 108, + "column": 28 + }, + "end": { + "line": 108, + "column": 40 + }, + "identifierName": "_transformer" + }, + "name": "_transformer" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2431, + "end": 2436, + "loc": { + "start": { + "line": 108, + "column": 41 + }, + "end": { + "line": 108, + "column": 46 + }, + "identifierName": "value" + }, + "name": "value" + }, + { + "type": "NewExpression", + "start": 2438, + "end": 2474, + "loc": { + "start": { + "line": 108, + "column": 48 + }, + "end": { + "line": 108, + "column": 84 + } + }, + "callee": { + "type": "Identifier", + "start": 2442, + "end": 2450, + "loc": { + "start": { + "line": 108, + "column": 52 + }, + "end": { + "line": 108, + "column": 60 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2451, + "end": 2473, + "loc": { + "start": { + "line": 108, + "column": 61 + }, + "end": { + "line": 108, + "column": 83 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2451, + "end": 2452, + "loc": { + "start": { + "line": 108, + "column": 61 + }, + "end": { + "line": 108, + "column": 62 + }, + "identifierName": "s" + }, + "name": "s" + } + ], + "body": { + "type": "CallExpression", + "start": 2456, + "end": 2473, + "loc": { + "start": { + "line": 108, + "column": 66 + }, + "end": { + "line": 108, + "column": 83 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2456, + "end": 2470, + "loc": { + "start": { + "line": 108, + "column": 66 + }, + "end": { + "line": 108, + "column": 80 + } + }, + "object": { + "type": "ThisExpression", + "start": 2456, + "end": 2460, + "loc": { + "start": { + "line": 108, + "column": 66 + }, + "end": { + "line": 108, + "column": 70 + } + } + }, + "property": { + "type": "Identifier", + "start": 2461, + "end": 2470, + "loc": { + "start": { + "line": 108, + "column": 71 + }, + "end": { + "line": 108, + "column": 80 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2471, + "end": 2472, + "loc": { + "start": { + "line": 108, + "column": 81 + }, + "end": { + "line": 108, + "column": 82 + }, + "identifierName": "s" + }, + "name": "s" + } + ] + } + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2485, + "end": 2515, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 2485, + "end": 2514, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2485, + "end": 2501, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2485, + "end": 2491, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 14 + }, + "identifierName": "result" + }, + "name": "result" + }, + "property": { + "type": "Identifier", + "start": 2492, + "end": 2501, + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 24 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2502, + "end": 2513, + "loc": { + "start": { + "line": 109, + "column": 25 + }, + "end": { + "line": 109, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 2502, + "end": 2506, + "loc": { + "start": { + "line": 109, + "column": 25 + }, + "end": { + "line": 109, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "start": 2507, + "end": 2513, + "loc": { + "start": { + "line": 109, + "column": 30 + }, + "end": { + "line": 109, + "column": 36 + }, + "identifierName": "_outer" + }, + "name": "_outer" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "handler": { + "type": "CatchClause", + "start": 2524, + "end": 2568, + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 112, + "column": 7 + } + }, + "param": { + "type": "Identifier", + "start": 2531, + "end": 2532, + "loc": { + "start": { + "line": 110, + "column": 15 + }, + "end": { + "line": 110, + "column": 16 + }, + "identifierName": "e" + }, + "name": "e" + }, + "body": { + "type": "BlockStatement", + "start": 2534, + "end": 2568, + "loc": { + "start": { + "line": 110, + "column": 18 + }, + "end": { + "line": 112, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2544, + "end": 2560, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 2544, + "end": 2559, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2544, + "end": 2556, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2544, + "end": 2548, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2549, + "end": 2556, + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 20 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2557, + "end": 2558, + "loc": { + "start": { + "line": 111, + "column": 21 + }, + "end": { + "line": 111, + "column": 22 + }, + "identifierName": "e" + }, + "name": "e" + } + ] + } + } + ], + "directives": [] + } + }, + "guardedHandlers": [], + "finalizer": null + }, + { + "type": "ReturnStatement", + "start": 2575, + "end": 2582, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 2594, + "end": 2620, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 2594, + "end": 2619, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2594, + "end": 2612, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2594, + "end": 2605, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2594, + "end": 2598, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2599, + "end": 2605, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 15 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2606, + "end": 2612, + "loc": { + "start": { + "line": 116, + "column": 16 + }, + "end": { + "line": 116, + "column": 22 + }, + "identifierName": "onNext" + }, + "name": "onNext" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2613, + "end": 2618, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 28 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {T} value\n ", + "start": 2214, + "end": 2245, + "loc": { + "start": { + "line": 97, + "column": 2 + }, + "end": { + "line": 99, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Error} error\n ", + "start": 2628, + "end": 2663, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 121, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2666, + "end": 3049, + "loc": { + "start": { + "line": 122, + "column": 2 + }, + "end": { + "line": 142, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2666, + "end": 2673, + "loc": { + "start": { + "line": 122, + "column": 2 + }, + "end": { + "line": 122, + "column": 9 + }, + "identifierName": "onError" + }, + "name": "onError", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2674, + "end": 2679, + "loc": { + "start": { + "line": 122, + "column": 10 + }, + "end": { + "line": 122, + "column": 15 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "BlockStatement", + "start": 2681, + "end": 3049, + "loc": { + "start": { + "line": 122, + "column": 17 + }, + "end": { + "line": 142, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 2687, + "end": 2742, + "loc": { + "start": { + "line": 123, + "column": 4 + }, + "end": { + "line": 125, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 2691, + "end": 2719, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 36 + } + }, + "left": { + "type": "MemberExpression", + "start": 2691, + "end": 2705, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2691, + "end": 2695, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2696, + "end": 2705, + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 22 + }, + "identifierName": "_canceled" + }, + "name": "_canceled" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 2709, + "end": 2719, + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 2709, + "end": 2713, + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2714, + "end": 2719, + "loc": { + "start": { + "line": 123, + "column": 31 + }, + "end": { + "line": 123, + "column": 36 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2721, + "end": 2742, + "loc": { + "start": { + "line": 123, + "column": 38 + }, + "end": { + "line": 125, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2729, + "end": 2736, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 2748, + "end": 2768, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2748, + "end": 2767, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2748, + "end": 2759, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2748, + "end": 2752, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2753, + "end": 2759, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 15 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 2762, + "end": 2767, + "loc": { + "start": { + "line": 127, + "column": 18 + }, + "end": { + "line": 127, + "column": 23 + }, + "identifierName": "error" + }, + "name": "error" + } + } + }, + { + "type": "ExpressionStatement", + "start": 2773, + "end": 2791, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2773, + "end": 2790, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2773, + "end": 2783, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2773, + "end": 2777, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2778, + "end": 2783, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 128, + "column": 14 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 2786, + "end": 2790, + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 21 + } + }, + "value": true + } + } + }, + { + "type": "IfStatement", + "start": 2797, + "end": 3045, + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 141, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 2801, + "end": 2812, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2801, + "end": 2805, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2806, + "end": 2812, + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 19 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 2814, + "end": 2891, + "loc": { + "start": { + "line": 130, + "column": 21 + }, + "end": { + "line": 134, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 2822, + "end": 2885, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 133, + "column": 7 + } + }, + "test": { + "type": "UnaryExpression", + "start": 2826, + "end": 2838, + "loc": { + "start": { + "line": 131, + "column": 10 + }, + "end": { + "line": 131, + "column": 22 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 2827, + "end": 2838, + "loc": { + "start": { + "line": 131, + "column": 11 + }, + "end": { + "line": 131, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2827, + "end": 2831, + "loc": { + "start": { + "line": 131, + "column": 11 + }, + "end": { + "line": 131, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2832, + "end": 2838, + "loc": { + "start": { + "line": 131, + "column": 16 + }, + "end": { + "line": 131, + "column": 22 + }, + "identifierName": "_first" + }, + "name": "_first" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2840, + "end": 2885, + "loc": { + "start": { + "line": 131, + "column": 24 + }, + "end": { + "line": 133, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2850, + "end": 2877, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 2850, + "end": 2876, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2850, + "end": 2869, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 2850, + "end": 2861, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2850, + "end": 2854, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2855, + "end": 2861, + "loc": { + "start": { + "line": 132, + "column": 13 + }, + "end": { + "line": 132, + "column": 19 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2862, + "end": 2869, + "loc": { + "start": { + "line": 132, + "column": 20 + }, + "end": { + "line": 132, + "column": 27 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2870, + "end": 2875, + "loc": { + "start": { + "line": 132, + "column": 28 + }, + "end": { + "line": 132, + "column": 33 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2897, + "end": 3045, + "loc": { + "start": { + "line": 134, + "column": 11 + }, + "end": { + "line": 141, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2905, + "end": 3039, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 140, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 2905, + "end": 3038, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 140, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2905, + "end": 2928, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 135, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 2905, + "end": 2916, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 135, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 2905, + "end": 2909, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 135, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2910, + "end": 2916, + "loc": { + "start": { + "line": 135, + "column": 11 + }, + "end": { + "line": 135, + "column": 17 + }, + "identifierName": "_outer" + }, + "name": "_outer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2917, + "end": 2928, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 29 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 2929, + "end": 3037, + "loc": { + "start": { + "line": 135, + "column": 30 + }, + "end": { + "line": 140, + "column": 7 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2939, + "end": 2955, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2939, + "end": 2945, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 14 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 2947, + "end": 2955, + "loc": { + "start": { + "line": 136, + "column": 16 + }, + "end": { + "line": 136, + "column": 24 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2953, + "end": 2955, + "loc": { + "start": { + "line": 136, + "column": 22 + }, + "end": { + "line": 136, + "column": 24 + } + }, + "body": [], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 2965, + "end": 3029, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 139, + "column": 9 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2965, + "end": 2972, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 15 + }, + "identifierName": "request" + }, + "name": "request" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 2974, + "end": 3029, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 139, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2980, + "end": 3029, + "loc": { + "start": { + "line": 137, + "column": 23 + }, + "end": { + "line": 139, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2992, + "end": 3019, + "loc": { + "start": { + "line": 138, + "column": 10 + }, + "end": { + "line": 138, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 2992, + "end": 3018, + "loc": { + "start": { + "line": 138, + "column": 10 + }, + "end": { + "line": 138, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2992, + "end": 3011, + "loc": { + "start": { + "line": 138, + "column": 10 + }, + "end": { + "line": 138, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 2992, + "end": 3003, + "loc": { + "start": { + "line": 138, + "column": 10 + }, + "end": { + "line": 138, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 2992, + "end": 2996, + "loc": { + "start": { + "line": 138, + "column": 10 + }, + "end": { + "line": 138, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 2997, + "end": 3003, + "loc": { + "start": { + "line": 138, + "column": 15 + }, + "end": { + "line": 138, + "column": 21 + }, + "identifierName": "_outer" + }, + "name": "_outer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3004, + "end": 3011, + "loc": { + "start": { + "line": 138, + "column": 22 + }, + "end": { + "line": 138, + "column": 29 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3012, + "end": 3017, + "loc": { + "start": { + "line": 138, + "column": 30 + }, + "end": { + "line": 138, + "column": 35 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ], + "directives": [] + } + } + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Error} error\n ", + "start": 2628, + "end": 2663, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 121, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 3053, + "end": 3062, + "loc": { + "start": { + "line": 144, + "column": 2 + }, + "end": { + "line": 145, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3065, + "end": 3417, + "loc": { + "start": { + "line": 146, + "column": 2 + }, + "end": { + "line": 165, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3065, + "end": 3075, + "loc": { + "start": { + "line": 146, + "column": 2 + }, + "end": { + "line": 146, + "column": 12 + }, + "identifierName": "onComplete" + }, + "name": "onComplete", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3078, + "end": 3417, + "loc": { + "start": { + "line": 146, + "column": 15 + }, + "end": { + "line": 165, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3084, + "end": 3139, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 149, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 3088, + "end": 3116, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 36 + } + }, + "left": { + "type": "MemberExpression", + "start": 3088, + "end": 3098, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 3088, + "end": 3092, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3093, + "end": 3098, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 18 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 3102, + "end": 3116, + "loc": { + "start": { + "line": 147, + "column": 22 + }, + "end": { + "line": 147, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 3102, + "end": 3106, + "loc": { + "start": { + "line": 147, + "column": 22 + }, + "end": { + "line": 147, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 3107, + "end": 3116, + "loc": { + "start": { + "line": 147, + "column": 27 + }, + "end": { + "line": 147, + "column": 36 + }, + "identifierName": "_canceled" + }, + "name": "_canceled" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3118, + "end": 3139, + "loc": { + "start": { + "line": 147, + "column": 38 + }, + "end": { + "line": 149, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3126, + "end": 3133, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 3145, + "end": 3163, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3145, + "end": 3162, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3145, + "end": 3155, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 3145, + "end": 3149, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3150, + "end": 3155, + "loc": { + "start": { + "line": 151, + "column": 9 + }, + "end": { + "line": 151, + "column": 14 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 3158, + "end": 3162, + "loc": { + "start": { + "line": 151, + "column": 17 + }, + "end": { + "line": 151, + "column": 21 + } + }, + "value": true + } + } + }, + { + "type": "IfStatement", + "start": 3169, + "end": 3413, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 164, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 3173, + "end": 3184, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 3173, + "end": 3177, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3178, + "end": 3184, + "loc": { + "start": { + "line": 153, + "column": 13 + }, + "end": { + "line": 153, + "column": 19 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 3186, + "end": 3261, + "loc": { + "start": { + "line": 153, + "column": 21 + }, + "end": { + "line": 157, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3194, + "end": 3255, + "loc": { + "start": { + "line": 154, + "column": 6 + }, + "end": { + "line": 156, + "column": 7 + } + }, + "test": { + "type": "UnaryExpression", + "start": 3198, + "end": 3210, + "loc": { + "start": { + "line": 154, + "column": 10 + }, + "end": { + "line": 154, + "column": 22 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 3199, + "end": 3210, + "loc": { + "start": { + "line": 154, + "column": 11 + }, + "end": { + "line": 154, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 3199, + "end": 3203, + "loc": { + "start": { + "line": 154, + "column": 11 + }, + "end": { + "line": 154, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 3204, + "end": 3210, + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 22 + }, + "identifierName": "_first" + }, + "name": "_first" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3212, + "end": 3255, + "loc": { + "start": { + "line": 154, + "column": 24 + }, + "end": { + "line": 156, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3222, + "end": 3247, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 3222, + "end": 3246, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3222, + "end": 3244, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 3222, + "end": 3233, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 3222, + "end": 3226, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3227, + "end": 3233, + "loc": { + "start": { + "line": 155, + "column": 13 + }, + "end": { + "line": 155, + "column": 19 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3234, + "end": 3244, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 30 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 3267, + "end": 3413, + "loc": { + "start": { + "line": 157, + "column": 11 + }, + "end": { + "line": 164, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3275, + "end": 3407, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 163, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 3275, + "end": 3406, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 163, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3275, + "end": 3298, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 3275, + "end": 3286, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 3275, + "end": 3279, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3280, + "end": 3286, + "loc": { + "start": { + "line": 158, + "column": 11 + }, + "end": { + "line": 158, + "column": 17 + }, + "identifierName": "_outer" + }, + "name": "_outer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3287, + "end": 3298, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 29 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 3299, + "end": 3405, + "loc": { + "start": { + "line": 158, + "column": 30 + }, + "end": { + "line": 163, + "column": 7 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3309, + "end": 3325, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3309, + "end": 3315, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 14 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 3317, + "end": 3325, + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 159, + "column": 24 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3323, + "end": 3325, + "loc": { + "start": { + "line": 159, + "column": 22 + }, + "end": { + "line": 159, + "column": 24 + } + }, + "body": [], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 3335, + "end": 3397, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 162, + "column": 9 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3335, + "end": 3342, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 15 + }, + "identifierName": "request" + }, + "name": "request" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 3344, + "end": 3397, + "loc": { + "start": { + "line": 160, + "column": 17 + }, + "end": { + "line": 162, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3350, + "end": 3397, + "loc": { + "start": { + "line": 160, + "column": 23 + }, + "end": { + "line": 162, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3362, + "end": 3387, + "loc": { + "start": { + "line": 161, + "column": 10 + }, + "end": { + "line": 161, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 3362, + "end": 3386, + "loc": { + "start": { + "line": 161, + "column": 10 + }, + "end": { + "line": 161, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3362, + "end": 3384, + "loc": { + "start": { + "line": 161, + "column": 10 + }, + "end": { + "line": 161, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 3362, + "end": 3373, + "loc": { + "start": { + "line": 161, + "column": 10 + }, + "end": { + "line": 161, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3362, + "end": 3366, + "loc": { + "start": { + "line": 161, + "column": 10 + }, + "end": { + "line": 161, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 3367, + "end": 3373, + "loc": { + "start": { + "line": 161, + "column": 15 + }, + "end": { + "line": 161, + "column": 21 + }, + "identifierName": "_outer" + }, + "name": "_outer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3374, + "end": 3384, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 32 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 3053, + "end": 3062, + "loc": { + "start": { + "line": 144, + "column": 2 + }, + "end": { + "line": 145, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} n\n ", + "start": 3421, + "end": 3453, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 169, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3456, + "end": 3966, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 192, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3456, + "end": 3463, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 170, + "column": 9 + }, + "identifierName": "request" + }, + "name": "request", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3464, + "end": 3465, + "loc": { + "start": { + "line": 170, + "column": 10 + }, + "end": { + "line": 170, + "column": 11 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 3467, + "end": 3966, + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 192, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3473, + "end": 3962, + "loc": { + "start": { + "line": 171, + "column": 4 + }, + "end": { + "line": 191, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 3477, + "end": 3488, + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 3477, + "end": 3481, + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3482, + "end": 3488, + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 19 + }, + "identifierName": "_first" + }, + "name": "_first" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 3490, + "end": 3912, + "loc": { + "start": { + "line": 171, + "column": 21 + }, + "end": { + "line": 189, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3498, + "end": 3520, + "loc": { + "start": { + "line": 172, + "column": 6 + }, + "end": { + "line": 172, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3504, + "end": 3519, + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 3504, + "end": 3505, + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 13 + }, + "identifierName": "f" + }, + "name": "f" + }, + "init": { + "type": "MemberExpression", + "start": 3508, + "end": 3519, + "loc": { + "start": { + "line": 172, + "column": 16 + }, + "end": { + "line": 172, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 3508, + "end": 3512, + "loc": { + "start": { + "line": 172, + "column": 16 + }, + "end": { + "line": 172, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 3513, + "end": 3519, + "loc": { + "start": { + "line": 172, + "column": 21 + }, + "end": { + "line": 172, + "column": 27 + }, + "identifierName": "_first" + }, + "name": "_first" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 3527, + "end": 3551, + "loc": { + "start": { + "line": 173, + "column": 6 + }, + "end": { + "line": 173, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3527, + "end": 3550, + "loc": { + "start": { + "line": 173, + "column": 6 + }, + "end": { + "line": 173, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3527, + "end": 3538, + "loc": { + "start": { + "line": 173, + "column": 6 + }, + "end": { + "line": 173, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 3527, + "end": 3531, + "loc": { + "start": { + "line": 173, + "column": 6 + }, + "end": { + "line": 173, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3532, + "end": 3538, + "loc": { + "start": { + "line": 173, + "column": 11 + }, + "end": { + "line": 173, + "column": 17 + }, + "identifierName": "_first" + }, + "name": "_first" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 3541, + "end": 3550, + "loc": { + "start": { + "line": 173, + "column": 20 + }, + "end": { + "line": 173, + "column": 29 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + } + }, + { + "type": "ExpressionStatement", + "start": 3558, + "end": 3580, + "loc": { + "start": { + "line": 174, + "column": 6 + }, + "end": { + "line": 174, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 3558, + "end": 3579, + "loc": { + "start": { + "line": 174, + "column": 6 + }, + "end": { + "line": 174, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3558, + "end": 3576, + "loc": { + "start": { + "line": 174, + "column": 6 + }, + "end": { + "line": 174, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 3558, + "end": 3569, + "loc": { + "start": { + "line": 174, + "column": 6 + }, + "end": { + "line": 174, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 3558, + "end": 3562, + "loc": { + "start": { + "line": 174, + "column": 6 + }, + "end": { + "line": 174, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3563, + "end": 3569, + "loc": { + "start": { + "line": 174, + "column": 11 + }, + "end": { + "line": 174, + "column": 17 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3570, + "end": 3576, + "loc": { + "start": { + "line": 174, + "column": 18 + }, + "end": { + "line": 174, + "column": 24 + }, + "identifierName": "onNext" + }, + "name": "onNext" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3577, + "end": 3578, + "loc": { + "start": { + "line": 174, + "column": 25 + }, + "end": { + "line": 174, + "column": 26 + }, + "identifierName": "f" + }, + "name": "f" + } + ] + } + }, + { + "type": "IfStatement", + "start": 3588, + "end": 3747, + "loc": { + "start": { + "line": 176, + "column": 6 + }, + "end": { + "line": 182, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 3592, + "end": 3602, + "loc": { + "start": { + "line": 176, + "column": 10 + }, + "end": { + "line": 176, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 3592, + "end": 3596, + "loc": { + "start": { + "line": 176, + "column": 10 + }, + "end": { + "line": 176, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 3597, + "end": 3602, + "loc": { + "start": { + "line": 176, + "column": 15 + }, + "end": { + "line": 176, + "column": 20 + }, + "identifierName": "_done" + }, + "name": "_done" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 3604, + "end": 3747, + "loc": { + "start": { + "line": 176, + "column": 22 + }, + "end": { + "line": 182, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3614, + "end": 3739, + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 181, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 3618, + "end": 3629, + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 3618, + "end": 3622, + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 3623, + "end": 3629, + "loc": { + "start": { + "line": 177, + "column": 17 + }, + "end": { + "line": 177, + "column": 23 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 3631, + "end": 3686, + "loc": { + "start": { + "line": 177, + "column": 25 + }, + "end": { + "line": 179, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3643, + "end": 3676, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 3643, + "end": 3675, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3643, + "end": 3662, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 3643, + "end": 3654, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3643, + "end": 3647, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 3648, + "end": 3654, + "loc": { + "start": { + "line": 178, + "column": 15 + }, + "end": { + "line": 178, + "column": 21 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3655, + "end": 3662, + "loc": { + "start": { + "line": 178, + "column": 22 + }, + "end": { + "line": 178, + "column": 29 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3663, + "end": 3674, + "loc": { + "start": { + "line": 178, + "column": 30 + }, + "end": { + "line": 178, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 3663, + "end": 3667, + "loc": { + "start": { + "line": 178, + "column": 30 + }, + "end": { + "line": 178, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 3668, + "end": 3674, + "loc": { + "start": { + "line": 178, + "column": 35 + }, + "end": { + "line": 178, + "column": 41 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 3692, + "end": 3739, + "loc": { + "start": { + "line": 179, + "column": 15 + }, + "end": { + "line": 181, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3704, + "end": 3729, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 3704, + "end": 3728, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3704, + "end": 3726, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 3704, + "end": 3715, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3704, + "end": 3708, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 3709, + "end": 3715, + "loc": { + "start": { + "line": 180, + "column": 15 + }, + "end": { + "line": 180, + "column": 21 + }, + "identifierName": "_inner" + }, + "name": "_inner" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3716, + "end": 3726, + "loc": { + "start": { + "line": 180, + "column": 22 + }, + "end": { + "line": 180, + "column": 32 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 3755, + "end": 3906, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 188, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3759, + "end": 3777, + "loc": { + "start": { + "line": 184, + "column": 10 + }, + "end": { + "line": 184, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 3759, + "end": 3772, + "loc": { + "start": { + "line": 184, + "column": 10 + }, + "end": { + "line": 184, + "column": 23 + }, + "identifierName": "MAX_REQUEST_N" + }, + "name": "MAX_REQUEST_N" + }, + "operator": "<=", + "right": { + "type": "Identifier", + "start": 3776, + "end": 3777, + "loc": { + "start": { + "line": 184, + "column": 27 + }, + "end": { + "line": 184, + "column": 28 + }, + "identifierName": "n" + }, + "name": "n" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3779, + "end": 3839, + "loc": { + "start": { + "line": 184, + "column": 30 + }, + "end": { + "line": 186, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3789, + "end": 3831, + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 3789, + "end": 3830, + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3789, + "end": 3815, + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 3789, + "end": 3807, + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 3789, + "end": 3793, + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3794, + "end": 3807, + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 26 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3808, + "end": 3815, + "loc": { + "start": { + "line": 185, + "column": 27 + }, + "end": { + "line": 185, + "column": 34 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3816, + "end": 3829, + "loc": { + "start": { + "line": 185, + "column": 35 + }, + "end": { + "line": 185, + "column": 48 + }, + "identifierName": "MAX_REQUEST_N" + }, + "name": "MAX_REQUEST_N" + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 3845, + "end": 3906, + "loc": { + "start": { + "line": 186, + "column": 13 + }, + "end": { + "line": 188, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3849, + "end": 3856, + "loc": { + "start": { + "line": 186, + "column": 17 + }, + "end": { + "line": 186, + "column": 24 + } + }, + "left": { + "type": "UpdateExpression", + "start": 3849, + "end": 3852, + "loc": { + "start": { + "line": 186, + "column": 17 + }, + "end": { + "line": 186, + "column": 20 + } + }, + "operator": "--", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 3851, + "end": 3852, + "loc": { + "start": { + "line": 186, + "column": 19 + }, + "end": { + "line": 186, + "column": 20 + }, + "identifierName": "n" + }, + "name": "n" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 3855, + "end": 3856, + "loc": { + "start": { + "line": 186, + "column": 23 + }, + "end": { + "line": 186, + "column": 24 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3858, + "end": 3906, + "loc": { + "start": { + "line": 186, + "column": 26 + }, + "end": { + "line": 188, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3868, + "end": 3898, + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 3868, + "end": 3897, + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3868, + "end": 3894, + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 3868, + "end": 3886, + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 3868, + "end": 3872, + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3873, + "end": 3886, + "loc": { + "start": { + "line": 187, + "column": 13 + }, + "end": { + "line": 187, + "column": 26 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3887, + "end": 3894, + "loc": { + "start": { + "line": 187, + "column": 27 + }, + "end": { + "line": 187, + "column": 34 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3895, + "end": 3896, + "loc": { + "start": { + "line": 187, + "column": 35 + }, + "end": { + "line": 187, + "column": 36 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 3918, + "end": 3962, + "loc": { + "start": { + "line": 189, + "column": 11 + }, + "end": { + "line": 191, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3926, + "end": 3956, + "loc": { + "start": { + "line": 190, + "column": 6 + }, + "end": { + "line": 190, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 3926, + "end": 3955, + "loc": { + "start": { + "line": 190, + "column": 6 + }, + "end": { + "line": 190, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3926, + "end": 3952, + "loc": { + "start": { + "line": 190, + "column": 6 + }, + "end": { + "line": 190, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 3926, + "end": 3944, + "loc": { + "start": { + "line": 190, + "column": 6 + }, + "end": { + "line": 190, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 3926, + "end": 3930, + "loc": { + "start": { + "line": 190, + "column": 6 + }, + "end": { + "line": 190, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3931, + "end": 3944, + "loc": { + "start": { + "line": 190, + "column": 11 + }, + "end": { + "line": 190, + "column": 24 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3945, + "end": 3952, + "loc": { + "start": { + "line": 190, + "column": 25 + }, + "end": { + "line": 190, + "column": 32 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3953, + "end": 3954, + "loc": { + "start": { + "line": 190, + "column": 33 + }, + "end": { + "line": 190, + "column": 34 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} n\n ", + "start": 3421, + "end": 3453, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 169, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {function} fn\n * @returns {IPublisher}\n ", + "start": 3970, + "end": 4032, + "loc": { + "start": { + "line": 194, + "column": 2 + }, + "end": { + "line": 197, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4035, + "end": 4123, + "loc": { + "start": { + "line": 198, + "column": 2 + }, + "end": { + "line": 200, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4035, + "end": 4038, + "loc": { + "start": { + "line": 198, + "column": 2 + }, + "end": { + "line": 198, + "column": 5 + }, + "identifierName": "map" + }, + "name": "map", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4039, + "end": 4041, + "loc": { + "start": { + "line": 198, + "column": 6 + }, + "end": { + "line": 198, + "column": 8 + }, + "identifierName": "fn" + }, + "name": "fn" + } + ], + "body": { + "type": "BlockStatement", + "start": 4043, + "end": 4123, + "loc": { + "start": { + "line": 198, + "column": 10 + }, + "end": { + "line": 200, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4049, + "end": 4119, + "loc": { + "start": { + "line": 199, + "column": 4 + }, + "end": { + "line": 199, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 4056, + "end": 4118, + "loc": { + "start": { + "line": 199, + "column": 11 + }, + "end": { + "line": 199, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4056, + "end": 4114, + "loc": { + "start": { + "line": 199, + "column": 11 + }, + "end": { + "line": 199, + "column": 69 + } + }, + "object": { + "type": "NewExpression", + "start": 4056, + "end": 4110, + "loc": { + "start": { + "line": 199, + "column": 11 + }, + "end": { + "line": 199, + "column": 65 + } + }, + "callee": { + "type": "Identifier", + "start": 4060, + "end": 4068, + "loc": { + "start": { + "line": 199, + "column": 15 + }, + "end": { + "line": 199, + "column": 23 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4069, + "end": 4109, + "loc": { + "start": { + "line": 199, + "column": 24 + }, + "end": { + "line": 199, + "column": 64 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4069, + "end": 4079, + "loc": { + "start": { + "line": 199, + "column": 24 + }, + "end": { + "line": 199, + "column": 34 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "CallExpression", + "start": 4083, + "end": 4109, + "loc": { + "start": { + "line": 199, + "column": 38 + }, + "end": { + "line": 199, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4083, + "end": 4097, + "loc": { + "start": { + "line": 199, + "column": 38 + }, + "end": { + "line": 199, + "column": 52 + } + }, + "object": { + "type": "ThisExpression", + "start": 4083, + "end": 4087, + "loc": { + "start": { + "line": 199, + "column": 38 + }, + "end": { + "line": 199, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "start": 4088, + "end": 4097, + "loc": { + "start": { + "line": 199, + "column": 43 + }, + "end": { + "line": 199, + "column": 52 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4098, + "end": 4108, + "loc": { + "start": { + "line": 199, + "column": 53 + }, + "end": { + "line": 199, + "column": 63 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 4111, + "end": 4114, + "loc": { + "start": { + "line": 199, + "column": 66 + }, + "end": { + "line": 199, + "column": 69 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4115, + "end": 4117, + "loc": { + "start": { + "line": 199, + "column": 70 + }, + "end": { + "line": 199, + "column": 72 + }, + "identifierName": "fn" + }, + "name": "fn" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {function} fn\n * @returns {IPublisher}\n ", + "start": 3970, + "end": 4032, + "loc": { + "start": { + "line": 194, + "column": 2 + }, + "end": { + "line": 197, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " uint31", + "start": 1046, + "end": 1055, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1057, + "end": 1064, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " uint31", + "start": 1046, + "end": 1055, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1057, + "end": 1064, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * MAX_REQUEST_N (from SwitchTransformOperator.js). The maximum number of items\n * that may be requested.\n *\n * @constant\n * @type {number}\n ", + "start": 47, + "end": 194, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name SwitchTransformOperator.js\n * @fileoverview Defines the SwitchTransformOperator class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n ", + "start": 195, + "end": 1010, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " uint31", + "start": 1046, + "end": 1055, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1057, + "end": 1064, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} initial -\n * @param {function} transformer -\n ", + "start": 1115, + "end": 1197, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1307, + "end": 1316, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 51, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?IPartialSubscriber} actual -\n ", + "start": 1473, + "end": 1525, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscription} subscription\n ", + "start": 1972, + "end": 2022, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 86, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {T} value\n ", + "start": 2214, + "end": 2245, + "loc": { + "start": { + "line": 97, + "column": 2 + }, + "end": { + "line": 99, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Error} error\n ", + "start": 2628, + "end": 2663, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 121, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 3053, + "end": 3062, + "loc": { + "start": { + "line": 144, + "column": 2 + }, + "end": { + "line": 145, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} n\n ", + "start": 3421, + "end": 3453, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 169, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {function} fn\n * @returns {IPublisher}\n ", + "start": 3970, + "end": 4032, + "loc": { + "start": { + "line": 194, + "column": 2 + }, + "end": { + "line": 197, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1, + "end": 7, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8, + "end": 9, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 10, + "end": 18, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19, + "end": 20, + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 21, + "end": 25, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-flowable", + "start": 26, + "end": 44, + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 44, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 43 + }, + "end": { + "line": 2, + "column": 44 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * MAX_REQUEST_N (from SwitchTransformOperator.js). The maximum number of items\n * that may be requested.\n *\n * @constant\n * @type {number}\n ", + "start": 47, + "end": 194, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name SwitchTransformOperator.js\n * @fileoverview Defines the SwitchTransformOperator class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n ", + "start": 195, + "end": 1010, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1012, + "end": 1017, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_REQUEST_N", + "start": 1018, + "end": 1031, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1032, + "end": 1033, + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2147483647, + "start": 1034, + "end": 1044, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1044, + "end": 1045, + "loc": { + "start": { + "line": 35, + "column": 32 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + { + "type": "CommentLine", + "value": " uint31", + "start": 1046, + "end": 1055, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1057, + "end": 1064, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1065, + "end": 1071, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 1072, + "end": 1079, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 1080, + "end": 1085, + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SwitchTransformOperator", + "start": 1086, + "end": 1109, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 44 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1110, + "end": 1111, + "loc": { + "start": { + "line": 39, + "column": 45 + }, + "end": { + "line": 39, + "column": 46 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} initial -\n * @param {function} transformer -\n ", + "start": 1115, + "end": 1197, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 1200, + "end": 1211, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1211, + "end": 1212, + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initial", + "start": 1212, + "end": 1219, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1219, + "end": 1220, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transformer", + "start": 1221, + "end": 1232, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1232, + "end": 1233, + "loc": { + "start": { + "line": 45, + "column": 34 + }, + "end": { + "line": 45, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1234, + "end": 1235, + "loc": { + "start": { + "line": 45, + "column": 36 + }, + "end": { + "line": 45, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1240, + "end": 1244, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1244, + "end": 1245, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_transformer", + "start": 1245, + "end": 1257, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1258, + "end": 1259, + "loc": { + "start": { + "line": 46, + "column": 22 + }, + "end": { + "line": 46, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transformer", + "start": 1260, + "end": 1271, + "loc": { + "start": { + "line": 46, + "column": 24 + }, + "end": { + "line": 46, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1271, + "end": 1272, + "loc": { + "start": { + "line": 46, + "column": 35 + }, + "end": { + "line": 46, + "column": 36 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1277, + "end": 1281, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1281, + "end": 1282, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_outer", + "start": 1282, + "end": 1288, + "loc": { + "start": { + "line": 47, + "column": 9 + }, + "end": { + "line": 47, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1289, + "end": 1290, + "loc": { + "start": { + "line": 47, + "column": 16 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initial", + "start": 1291, + "end": 1298, + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1298, + "end": 1299, + "loc": { + "start": { + "line": 47, + "column": 25 + }, + "end": { + "line": 47, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1302, + "end": 1303, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1307, + "end": 1316, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 51, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 1319, + "end": 1325, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 52, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1325, + "end": 1326, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1326, + "end": 1327, + "loc": { + "start": { + "line": 52, + "column": 9 + }, + "end": { + "line": 52, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1328, + "end": 1329, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 12 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1334, + "end": 1336, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1337, + "end": 1338, + "loc": { + "start": { + "line": 53, + "column": 7 + }, + "end": { + "line": 53, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1338, + "end": 1342, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1342, + "end": 1343, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_canceled", + "start": 1343, + "end": 1352, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1352, + "end": 1353, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1354, + "end": 1355, + "loc": { + "start": { + "line": 53, + "column": 24 + }, + "end": { + "line": 53, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1362, + "end": 1368, + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1368, + "end": 1369, + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1374, + "end": 1375, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1381, + "end": 1385, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1385, + "end": 1386, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_canceled", + "start": 1386, + "end": 1395, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1396, + "end": 1397, + "loc": { + "start": { + "line": 57, + "column": 19 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1398, + "end": 1402, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1402, + "end": 1403, + "loc": { + "start": { + "line": 57, + "column": 25 + }, + "end": { + "line": 57, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1408, + "end": 1412, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1412, + "end": 1413, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_first", + "start": 1413, + "end": 1419, + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1420, + "end": 1421, + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 1422, + "end": 1431, + "loc": { + "start": { + "line": 58, + "column": 18 + }, + "end": { + "line": 58, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 58, + "column": 27 + }, + "end": { + "line": 58, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1437, + "end": 1441, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1441, + "end": 1442, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 1442, + "end": 1455, + "loc": { + "start": { + "line": 59, + "column": 9 + }, + "end": { + "line": 59, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1455, + "end": 1456, + "loc": { + "start": { + "line": 59, + "column": 22 + }, + "end": { + "line": 59, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 1456, + "end": 1462, + "loc": { + "start": { + "line": 59, + "column": 23 + }, + "end": { + "line": 59, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1462, + "end": 1463, + "loc": { + "start": { + "line": 59, + "column": 29 + }, + "end": { + "line": 59, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1463, + "end": 1464, + "loc": { + "start": { + "line": 59, + "column": 30 + }, + "end": { + "line": 59, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1464, + "end": 1465, + "loc": { + "start": { + "line": 59, + "column": 31 + }, + "end": { + "line": 59, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1468, + "end": 1469, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?IPartialSubscriber} actual -\n ", + "start": 1473, + "end": 1525, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 1528, + "end": 1537, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1537, + "end": 1538, + "loc": { + "start": { + "line": 65, + "column": 11 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1538, + "end": 1544, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1544, + "end": 1545, + "loc": { + "start": { + "line": 65, + "column": 18 + }, + "end": { + "line": 65, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1546, + "end": 1547, + "loc": { + "start": { + "line": 65, + "column": 20 + }, + "end": { + "line": 65, + "column": 21 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1552, + "end": 1554, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1555, + "end": 1556, + "loc": { + "start": { + "line": 66, + "column": 7 + }, + "end": { + "line": 66, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1556, + "end": 1562, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 14 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 1563, + "end": 1565, + "loc": { + "start": { + "line": 66, + "column": 15 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1566, + "end": 1567, + "loc": { + "start": { + "line": 66, + "column": 18 + }, + "end": { + "line": 66, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1567, + "end": 1571, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1571, + "end": 1572, + "loc": { + "start": { + "line": 66, + "column": 23 + }, + "end": { + "line": 66, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 1572, + "end": 1578, + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1578, + "end": 1579, + "loc": { + "start": { + "line": 66, + "column": 30 + }, + "end": { + "line": 66, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1580, + "end": 1581, + "loc": { + "start": { + "line": 66, + "column": 32 + }, + "end": { + "line": 66, + "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1588, + "end": 1592, + "loc": { + "start": { + "line": 67, + "column": 6 + }, + "end": { + "line": 67, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1592, + "end": 1593, + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 1593, + "end": 1599, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1600, + "end": 1601, + "loc": { + "start": { + "line": 67, + "column": 18 + }, + "end": { + "line": 67, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1602, + "end": 1608, + "loc": { + "start": { + "line": 67, + "column": 20 + }, + "end": { + "line": 67, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1608, + "end": 1609, + "loc": { + "start": { + "line": 67, + "column": 26 + }, + "end": { + "line": 67, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1616, + "end": 1620, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1620, + "end": 1621, + "loc": { + "start": { + "line": 68, + "column": 10 + }, + "end": { + "line": 68, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 1621, + "end": 1627, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1627, + "end": 1628, + "loc": { + "start": { + "line": 68, + "column": 17 + }, + "end": { + "line": 68, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 1628, + "end": 1639, + "loc": { + "start": { + "line": 68, + "column": 18 + }, + "end": { + "line": 68, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1639, + "end": 1640, + "loc": { + "start": { + "line": 68, + "column": 29 + }, + "end": { + "line": 68, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1640, + "end": 1644, + "loc": { + "start": { + "line": 68, + "column": 30 + }, + "end": { + "line": 68, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1644, + "end": 1645, + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1645, + "end": 1646, + "loc": { + "start": { + "line": 68, + "column": 35 + }, + "end": { + "line": 68, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1651, + "end": 1652, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1653, + "end": 1657, + "loc": { + "start": { + "line": 69, + "column": 6 + }, + "end": { + "line": 69, + "column": 10 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1658, + "end": 1660, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1661, + "end": 1662, + "loc": { + "start": { + "line": 69, + "column": 14 + }, + "end": { + "line": 69, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1662, + "end": 1668, + "loc": { + "start": { + "line": 69, + "column": 15 + }, + "end": { + "line": 69, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1668, + "end": 1669, + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1670, + "end": 1671, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 69, + "column": 24 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1678, + "end": 1683, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 70, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1684, + "end": 1685, + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1686, + "end": 1687, + "loc": { + "start": { + "line": 70, + "column": 14 + }, + "end": { + "line": 70, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1688, + "end": 1694, + "loc": { + "start": { + "line": 70, + "column": 16 + }, + "end": { + "line": 70, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1694, + "end": 1695, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 23 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1702, + "end": 1704, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1705, + "end": 1706, + "loc": { + "start": { + "line": 71, + "column": 9 + }, + "end": { + "line": 71, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1706, + "end": 1707, + "loc": { + "start": { + "line": 71, + "column": 10 + }, + "end": { + "line": 71, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1707, + "end": 1708, + "loc": { + "start": { + "line": 71, + "column": 11 + }, + "end": { + "line": 71, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 1708, + "end": 1719, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1719, + "end": 1720, + "loc": { + "start": { + "line": 71, + "column": 23 + }, + "end": { + "line": 71, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1721, + "end": 1722, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 71, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1731, + "end": 1732, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1732, + "end": 1733, + "loc": { + "start": { + "line": 72, + "column": 9 + }, + "end": { + "line": 72, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 1733, + "end": 1744, + "loc": { + "start": { + "line": 72, + "column": 10 + }, + "end": { + "line": 72, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1744, + "end": 1745, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 72, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1745, + "end": 1746, + "loc": { + "start": { + "line": 72, + "column": 22 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 1757, + "end": 1763, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1765, + "end": 1766, + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1766, + "end": 1767, + "loc": { + "start": { + "line": 73, + "column": 19 + }, + "end": { + "line": 73, + "column": 20 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1768, + "end": 1770, + "loc": { + "start": { + "line": 73, + "column": 21 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1771, + "end": 1772, + "loc": { + "start": { + "line": 73, + "column": 24 + }, + "end": { + "line": 73, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1772, + "end": 1773, + "loc": { + "start": { + "line": 73, + "column": 25 + }, + "end": { + "line": 73, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1773, + "end": 1774, + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 1785, + "end": 1792, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1792, + "end": 1793, + "loc": { + "start": { + "line": 74, + "column": 17 + }, + "end": { + "line": 74, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1794, + "end": 1795, + "loc": { + "start": { + "line": 74, + "column": 19 + }, + "end": { + "line": 74, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1795, + "end": 1796, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 21 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1797, + "end": 1799, + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 74, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1800, + "end": 1801, + "loc": { + "start": { + "line": 74, + "column": 25 + }, + "end": { + "line": 74, + "column": 26 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1814, + "end": 1816, + "loc": { + "start": { + "line": 75, + "column": 12 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1817, + "end": 1818, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1818, + "end": 1819, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1819, + "end": 1820, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 1820, + "end": 1827, + "loc": { + "start": { + "line": 75, + "column": 18 + }, + "end": { + "line": 75, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1827, + "end": 1828, + "loc": { + "start": { + "line": 75, + "column": 25 + }, + "end": { + "line": 75, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1829, + "end": 1830, + "loc": { + "start": { + "line": 75, + "column": 27 + }, + "end": { + "line": 75, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 1845, + "end": 1846, + "loc": { + "start": { + "line": 76, + "column": 14 + }, + "end": { + "line": 76, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1846, + "end": 1847, + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 1847, + "end": 1854, + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1854, + "end": 1855, + "loc": { + "start": { + "line": 76, + "column": 23 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1855, + "end": 1858, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 1859, + "end": 1864, + "loc": { + "start": { + "line": 76, + "column": 28 + }, + "end": { + "line": 76, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1864, + "end": 1865, + "loc": { + "start": { + "line": 76, + "column": 33 + }, + "end": { + "line": 76, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "SwitchTransform allows only one Subscriber", + "start": 1865, + "end": 1909, + "loc": { + "start": { + "line": 76, + "column": 34 + }, + "end": { + "line": 76, + "column": 78 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1909, + "end": 1910, + "loc": { + "start": { + "line": 76, + "column": 78 + }, + "end": { + "line": 76, + "column": 79 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1910, + "end": 1911, + "loc": { + "start": { + "line": 76, + "column": 79 + }, + "end": { + "line": 76, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1911, + "end": 1912, + "loc": { + "start": { + "line": 76, + "column": 80 + }, + "end": { + "line": 76, + "column": 81 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1925, + "end": 1926, + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1937, + "end": 1938, + "loc": { + "start": { + "line": 78, + "column": 10 + }, + "end": { + "line": 78, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1947, + "end": 1948, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1948, + "end": 1949, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1949, + "end": 1950, + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1957, + "end": 1958, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1963, + "end": 1964, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1967, + "end": 1968, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscription} subscription\n ", + "start": 1972, + "end": 2022, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 86, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 2025, + "end": 2036, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 87, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2036, + "end": 2037, + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 2037, + "end": 2049, + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2049, + "end": 2050, + "loc": { + "start": { + "line": 87, + "column": 26 + }, + "end": { + "line": 87, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2051, + "end": 2052, + "loc": { + "start": { + "line": 87, + "column": 28 + }, + "end": { + "line": 87, + "column": 29 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2057, + "end": 2059, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2060, + "end": 2061, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 88, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2061, + "end": 2065, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2065, + "end": 2066, + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2066, + "end": 2079, + "loc": { + "start": { + "line": 88, + "column": 13 + }, + "end": { + "line": 88, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2079, + "end": 2080, + "loc": { + "start": { + "line": 88, + "column": 26 + }, + "end": { + "line": 88, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2081, + "end": 2082, + "loc": { + "start": { + "line": 88, + "column": 28 + }, + "end": { + "line": 88, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 2089, + "end": 2101, + "loc": { + "start": { + "line": 89, + "column": 6 + }, + "end": { + "line": 89, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2101, + "end": 2102, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2102, + "end": 2108, + "loc": { + "start": { + "line": 89, + "column": 19 + }, + "end": { + "line": 89, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2108, + "end": 2109, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2109, + "end": 2110, + "loc": { + "start": { + "line": 89, + "column": 26 + }, + "end": { + "line": 89, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2110, + "end": 2111, + "loc": { + "start": { + "line": 89, + "column": 27 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2118, + "end": 2124, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2124, + "end": 2125, + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2130, + "end": 2131, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2137, + "end": 2141, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2141, + "end": 2142, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2142, + "end": 2155, + "loc": { + "start": { + "line": 93, + "column": 9 + }, + "end": { + "line": 93, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2156, + "end": 2157, + "loc": { + "start": { + "line": 93, + "column": 23 + }, + "end": { + "line": 93, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 2158, + "end": 2170, + "loc": { + "start": { + "line": 93, + "column": 25 + }, + "end": { + "line": 93, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2170, + "end": 2171, + "loc": { + "start": { + "line": 93, + "column": 37 + }, + "end": { + "line": 93, + "column": 38 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2176, + "end": 2180, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2180, + "end": 2181, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2181, + "end": 2194, + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 94, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2194, + "end": 2195, + "loc": { + "start": { + "line": 94, + "column": 22 + }, + "end": { + "line": 94, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 2195, + "end": 2202, + "loc": { + "start": { + "line": 94, + "column": 23 + }, + "end": { + "line": 94, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2202, + "end": 2203, + "loc": { + "start": { + "line": 94, + "column": 30 + }, + "end": { + "line": 94, + "column": 31 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2203, + "end": 2204, + "loc": { + "start": { + "line": 94, + "column": 31 + }, + "end": { + "line": 94, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2204, + "end": 2205, + "loc": { + "start": { + "line": 94, + "column": 32 + }, + "end": { + "line": 94, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2205, + "end": 2206, + "loc": { + "start": { + "line": 94, + "column": 33 + }, + "end": { + "line": 94, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2209, + "end": 2210, + "loc": { + "start": { + "line": 95, + "column": 2 + }, + "end": { + "line": 95, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {T} value\n ", + "start": 2214, + "end": 2245, + "loc": { + "start": { + "line": 97, + "column": 2 + }, + "end": { + "line": 99, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 2248, + "end": 2254, + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 100, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2254, + "end": 2255, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2255, + "end": 2260, + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2260, + "end": 2261, + "loc": { + "start": { + "line": 100, + "column": 14 + }, + "end": { + "line": 100, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2262, + "end": 2263, + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 17 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2268, + "end": 2270, + "loc": { + "start": { + "line": 101, + "column": 4 + }, + "end": { + "line": 101, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2271, + "end": 2272, + "loc": { + "start": { + "line": 101, + "column": 7 + }, + "end": { + "line": 101, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2272, + "end": 2276, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2276, + "end": 2277, + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_canceled", + "start": 2277, + "end": 2286, + "loc": { + "start": { + "line": 101, + "column": 13 + }, + "end": { + "line": 101, + "column": 22 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2287, + "end": 2289, + "loc": { + "start": { + "line": 101, + "column": 23 + }, + "end": { + "line": 101, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2290, + "end": 2294, + "loc": { + "start": { + "line": 101, + "column": 26 + }, + "end": { + "line": 101, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2294, + "end": 2295, + "loc": { + "start": { + "line": 101, + "column": 30 + }, + "end": { + "line": 101, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 2295, + "end": 2300, + "loc": { + "start": { + "line": 101, + "column": 31 + }, + "end": { + "line": 101, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2300, + "end": 2301, + "loc": { + "start": { + "line": 101, + "column": 36 + }, + "end": { + "line": 101, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2302, + "end": 2303, + "loc": { + "start": { + "line": 101, + "column": 38 + }, + "end": { + "line": 101, + "column": 39 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2310, + "end": 2316, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2316, + "end": 2317, + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2322, + "end": 2323, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2329, + "end": 2331, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2332, + "end": 2333, + "loc": { + "start": { + "line": 105, + "column": 7 + }, + "end": { + "line": 105, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 2333, + "end": 2334, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2334, + "end": 2338, + "loc": { + "start": { + "line": 105, + "column": 9 + }, + "end": { + "line": 105, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2338, + "end": 2339, + "loc": { + "start": { + "line": 105, + "column": 13 + }, + "end": { + "line": 105, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 2339, + "end": 2345, + "loc": { + "start": { + "line": 105, + "column": 14 + }, + "end": { + "line": 105, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2345, + "end": 2346, + "loc": { + "start": { + "line": 105, + "column": 20 + }, + "end": { + "line": 105, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2347, + "end": 2348, + "loc": { + "start": { + "line": 105, + "column": 22 + }, + "end": { + "line": 105, + "column": 23 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 2355, + "end": 2358, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2359, + "end": 2360, + "loc": { + "start": { + "line": 106, + "column": 10 + }, + "end": { + "line": 106, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2369, + "end": 2373, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2373, + "end": 2374, + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_first", + "start": 2374, + "end": 2380, + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2381, + "end": 2382, + "loc": { + "start": { + "line": 107, + "column": 20 + }, + "end": { + "line": 107, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2383, + "end": 2388, + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2388, + "end": 2389, + "loc": { + "start": { + "line": 107, + "column": 27 + }, + "end": { + "line": 107, + "column": 28 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2398, + "end": 2403, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result", + "start": 2404, + "end": 2410, + "loc": { + "start": { + "line": 108, + "column": 14 + }, + "end": { + "line": 108, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2411, + "end": 2412, + "loc": { + "start": { + "line": 108, + "column": 21 + }, + "end": { + "line": 108, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2413, + "end": 2417, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2417, + "end": 2418, + "loc": { + "start": { + "line": 108, + "column": 27 + }, + "end": { + "line": 108, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_transformer", + "start": 2418, + "end": 2430, + "loc": { + "start": { + "line": 108, + "column": 28 + }, + "end": { + "line": 108, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2430, + "end": 2431, + "loc": { + "start": { + "line": 108, + "column": 40 + }, + "end": { + "line": 108, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2431, + "end": 2436, + "loc": { + "start": { + "line": 108, + "column": 41 + }, + "end": { + "line": 108, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2436, + "end": 2437, + "loc": { + "start": { + "line": 108, + "column": 46 + }, + "end": { + "line": 108, + "column": 47 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2438, + "end": 2441, + "loc": { + "start": { + "line": 108, + "column": 48 + }, + "end": { + "line": 108, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 2442, + "end": 2450, + "loc": { + "start": { + "line": 108, + "column": 52 + }, + "end": { + "line": 108, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2450, + "end": 2451, + "loc": { + "start": { + "line": 108, + "column": 60 + }, + "end": { + "line": 108, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 2451, + "end": 2452, + "loc": { + "start": { + "line": 108, + "column": 61 + }, + "end": { + "line": 108, + "column": 62 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2453, + "end": 2455, + "loc": { + "start": { + "line": 108, + "column": 63 + }, + "end": { + "line": 108, + "column": 65 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2456, + "end": 2460, + "loc": { + "start": { + "line": 108, + "column": 66 + }, + "end": { + "line": 108, + "column": 70 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2460, + "end": 2461, + "loc": { + "start": { + "line": 108, + "column": 70 + }, + "end": { + "line": 108, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 2461, + "end": 2470, + "loc": { + "start": { + "line": 108, + "column": 71 + }, + "end": { + "line": 108, + "column": 80 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2470, + "end": 2471, + "loc": { + "start": { + "line": 108, + "column": 80 + }, + "end": { + "line": 108, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 2471, + "end": 2472, + "loc": { + "start": { + "line": 108, + "column": 81 + }, + "end": { + "line": 108, + "column": 82 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2472, + "end": 2473, + "loc": { + "start": { + "line": 108, + "column": 82 + }, + "end": { + "line": 108, + "column": 83 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2473, + "end": 2474, + "loc": { + "start": { + "line": 108, + "column": 83 + }, + "end": { + "line": 108, + "column": 84 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2474, + "end": 2475, + "loc": { + "start": { + "line": 108, + "column": 84 + }, + "end": { + "line": 108, + "column": 85 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2475, + "end": 2476, + "loc": { + "start": { + "line": 108, + "column": 85 + }, + "end": { + "line": 108, + "column": 86 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result", + "start": 2485, + "end": 2491, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2491, + "end": 2492, + "loc": { + "start": { + "line": 109, + "column": 14 + }, + "end": { + "line": 109, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 2492, + "end": 2501, + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2501, + "end": 2502, + "loc": { + "start": { + "line": 109, + "column": 24 + }, + "end": { + "line": 109, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2502, + "end": 2506, + "loc": { + "start": { + "line": 109, + "column": 25 + }, + "end": { + "line": 109, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2506, + "end": 2507, + "loc": { + "start": { + "line": 109, + "column": 29 + }, + "end": { + "line": 109, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_outer", + "start": 2507, + "end": 2513, + "loc": { + "start": { + "line": 109, + "column": 30 + }, + "end": { + "line": 109, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2513, + "end": 2514, + "loc": { + "start": { + "line": 109, + "column": 36 + }, + "end": { + "line": 109, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2514, + "end": 2515, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2522, + "end": 2523, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 7 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 2524, + "end": 2529, + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2530, + "end": 2531, + "loc": { + "start": { + "line": 110, + "column": 14 + }, + "end": { + "line": 110, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 2531, + "end": 2532, + "loc": { + "start": { + "line": 110, + "column": 15 + }, + "end": { + "line": 110, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2532, + "end": 2533, + "loc": { + "start": { + "line": 110, + "column": 16 + }, + "end": { + "line": 110, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2534, + "end": 2535, + "loc": { + "start": { + "line": 110, + "column": 18 + }, + "end": { + "line": 110, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2544, + "end": 2548, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2548, + "end": 2549, + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2549, + "end": 2556, + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2556, + "end": 2557, + "loc": { + "start": { + "line": 111, + "column": 20 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 2557, + "end": 2558, + "loc": { + "start": { + "line": 111, + "column": 21 + }, + "end": { + "line": 111, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2558, + "end": 2559, + "loc": { + "start": { + "line": 111, + "column": 22 + }, + "end": { + "line": 111, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2559, + "end": 2560, + "loc": { + "start": { + "line": 111, + "column": 23 + }, + "end": { + "line": 111, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2567, + "end": 2568, + "loc": { + "start": { + "line": 112, + "column": 6 + }, + "end": { + "line": 112, + "column": 7 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2575, + "end": 2581, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2581, + "end": 2582, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2587, + "end": 2588, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2594, + "end": 2598, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2598, + "end": 2599, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 2599, + "end": 2605, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2605, + "end": 2606, + "loc": { + "start": { + "line": 116, + "column": 15 + }, + "end": { + "line": 116, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 2606, + "end": 2612, + "loc": { + "start": { + "line": 116, + "column": 16 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2612, + "end": 2613, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2613, + "end": 2618, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2618, + "end": 2619, + "loc": { + "start": { + "line": 116, + "column": 28 + }, + "end": { + "line": 116, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2619, + "end": 2620, + "loc": { + "start": { + "line": 116, + "column": 29 + }, + "end": { + "line": 116, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2623, + "end": 2624, + "loc": { + "start": { + "line": 117, + "column": 2 + }, + "end": { + "line": 117, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Error} error\n ", + "start": 2628, + "end": 2663, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 121, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2666, + "end": 2673, + "loc": { + "start": { + "line": 122, + "column": 2 + }, + "end": { + "line": 122, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2673, + "end": 2674, + "loc": { + "start": { + "line": 122, + "column": 9 + }, + "end": { + "line": 122, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2674, + "end": 2679, + "loc": { + "start": { + "line": 122, + "column": 10 + }, + "end": { + "line": 122, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2679, + "end": 2680, + "loc": { + "start": { + "line": 122, + "column": 15 + }, + "end": { + "line": 122, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2681, + "end": 2682, + "loc": { + "start": { + "line": 122, + "column": 17 + }, + "end": { + "line": 122, + "column": 18 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2687, + "end": 2689, + "loc": { + "start": { + "line": 123, + "column": 4 + }, + "end": { + "line": 123, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2690, + "end": 2691, + "loc": { + "start": { + "line": 123, + "column": 7 + }, + "end": { + "line": 123, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2691, + "end": 2695, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2695, + "end": 2696, + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_canceled", + "start": 2696, + "end": 2705, + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 22 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2706, + "end": 2708, + "loc": { + "start": { + "line": 123, + "column": 23 + }, + "end": { + "line": 123, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2709, + "end": 2713, + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2713, + "end": 2714, + "loc": { + "start": { + "line": 123, + "column": 30 + }, + "end": { + "line": 123, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 2714, + "end": 2719, + "loc": { + "start": { + "line": 123, + "column": 31 + }, + "end": { + "line": 123, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2719, + "end": 2720, + "loc": { + "start": { + "line": 123, + "column": 36 + }, + "end": { + "line": 123, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2721, + "end": 2722, + "loc": { + "start": { + "line": 123, + "column": 38 + }, + "end": { + "line": 123, + "column": 39 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2729, + "end": 2735, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2735, + "end": 2736, + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2741, + "end": 2742, + "loc": { + "start": { + "line": 125, + "column": 4 + }, + "end": { + "line": 125, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2748, + "end": 2752, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2752, + "end": 2753, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 2753, + "end": 2759, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2760, + "end": 2761, + "loc": { + "start": { + "line": 127, + "column": 16 + }, + "end": { + "line": 127, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2762, + "end": 2767, + "loc": { + "start": { + "line": 127, + "column": 18 + }, + "end": { + "line": 127, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2767, + "end": 2768, + "loc": { + "start": { + "line": 127, + "column": 23 + }, + "end": { + "line": 127, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2773, + "end": 2777, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2777, + "end": 2778, + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 2778, + "end": 2783, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 128, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2784, + "end": 2785, + "loc": { + "start": { + "line": 128, + "column": 15 + }, + "end": { + "line": 128, + "column": 16 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 2786, + "end": 2790, + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2790, + "end": 2791, + "loc": { + "start": { + "line": 128, + "column": 21 + }, + "end": { + "line": 128, + "column": 22 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2797, + "end": 2799, + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 130, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2800, + "end": 2801, + "loc": { + "start": { + "line": 130, + "column": 7 + }, + "end": { + "line": 130, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2801, + "end": 2805, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2805, + "end": 2806, + "loc": { + "start": { + "line": 130, + "column": 12 + }, + "end": { + "line": 130, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 2806, + "end": 2812, + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2812, + "end": 2813, + "loc": { + "start": { + "line": 130, + "column": 19 + }, + "end": { + "line": 130, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2814, + "end": 2815, + "loc": { + "start": { + "line": 130, + "column": 21 + }, + "end": { + "line": 130, + "column": 22 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2822, + "end": 2824, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2825, + "end": 2826, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 10 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 2826, + "end": 2827, + "loc": { + "start": { + "line": 131, + "column": 10 + }, + "end": { + "line": 131, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2827, + "end": 2831, + "loc": { + "start": { + "line": 131, + "column": 11 + }, + "end": { + "line": 131, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2831, + "end": 2832, + "loc": { + "start": { + "line": 131, + "column": 15 + }, + "end": { + "line": 131, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_first", + "start": 2832, + "end": 2838, + "loc": { + "start": { + "line": 131, + "column": 16 + }, + "end": { + "line": 131, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2838, + "end": 2839, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2840, + "end": 2841, + "loc": { + "start": { + "line": 131, + "column": 24 + }, + "end": { + "line": 131, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2850, + "end": 2854, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2854, + "end": 2855, + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 2855, + "end": 2861, + "loc": { + "start": { + "line": 132, + "column": 13 + }, + "end": { + "line": 132, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2861, + "end": 2862, + "loc": { + "start": { + "line": 132, + "column": 19 + }, + "end": { + "line": 132, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2862, + "end": 2869, + "loc": { + "start": { + "line": 132, + "column": 20 + }, + "end": { + "line": 132, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2869, + "end": 2870, + "loc": { + "start": { + "line": 132, + "column": 27 + }, + "end": { + "line": 132, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2870, + "end": 2875, + "loc": { + "start": { + "line": 132, + "column": 28 + }, + "end": { + "line": 132, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2875, + "end": 2876, + "loc": { + "start": { + "line": 132, + "column": 33 + }, + "end": { + "line": 132, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2876, + "end": 2877, + "loc": { + "start": { + "line": 132, + "column": 34 + }, + "end": { + "line": 132, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2884, + "end": 2885, + "loc": { + "start": { + "line": 133, + "column": 6 + }, + "end": { + "line": 133, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2890, + "end": 2891, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2892, + "end": 2896, + "loc": { + "start": { + "line": 134, + "column": 6 + }, + "end": { + "line": 134, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2897, + "end": 2898, + "loc": { + "start": { + "line": 134, + "column": 11 + }, + "end": { + "line": 134, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2905, + "end": 2909, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 135, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2909, + "end": 2910, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 135, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_outer", + "start": 2910, + "end": 2916, + "loc": { + "start": { + "line": 135, + "column": 11 + }, + "end": { + "line": 135, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2916, + "end": 2917, + "loc": { + "start": { + "line": 135, + "column": 17 + }, + "end": { + "line": 135, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 2917, + "end": 2928, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2928, + "end": 2929, + "loc": { + "start": { + "line": 135, + "column": 29 + }, + "end": { + "line": 135, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2929, + "end": 2930, + "loc": { + "start": { + "line": 135, + "column": 30 + }, + "end": { + "line": 135, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2939, + "end": 2945, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2945, + "end": 2946, + "loc": { + "start": { + "line": 136, + "column": 14 + }, + "end": { + "line": 136, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2947, + "end": 2948, + "loc": { + "start": { + "line": 136, + "column": 16 + }, + "end": { + "line": 136, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2948, + "end": 2949, + "loc": { + "start": { + "line": 136, + "column": 17 + }, + "end": { + "line": 136, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2950, + "end": 2952, + "loc": { + "start": { + "line": 136, + "column": 19 + }, + "end": { + "line": 136, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2953, + "end": 2954, + "loc": { + "start": { + "line": 136, + "column": 22 + }, + "end": { + "line": 136, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2954, + "end": 2955, + "loc": { + "start": { + "line": 136, + "column": 23 + }, + "end": { + "line": 136, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2955, + "end": 2956, + "loc": { + "start": { + "line": 136, + "column": 24 + }, + "end": { + "line": 136, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 2965, + "end": 2972, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2972, + "end": 2973, + "loc": { + "start": { + "line": 137, + "column": 15 + }, + "end": { + "line": 137, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2974, + "end": 2975, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2975, + "end": 2976, + "loc": { + "start": { + "line": 137, + "column": 18 + }, + "end": { + "line": 137, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2977, + "end": 2979, + "loc": { + "start": { + "line": 137, + "column": 20 + }, + "end": { + "line": 137, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2980, + "end": 2981, + "loc": { + "start": { + "line": 137, + "column": 23 + }, + "end": { + "line": 137, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2992, + "end": 2996, + "loc": { + "start": { + "line": 138, + "column": 10 + }, + "end": { + "line": 138, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2996, + "end": 2997, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 138, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_outer", + "start": 2997, + "end": 3003, + "loc": { + "start": { + "line": 138, + "column": 15 + }, + "end": { + "line": 138, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3003, + "end": 3004, + "loc": { + "start": { + "line": 138, + "column": 21 + }, + "end": { + "line": 138, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 3004, + "end": 3011, + "loc": { + "start": { + "line": 138, + "column": 22 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3011, + "end": 3012, + "loc": { + "start": { + "line": 138, + "column": 29 + }, + "end": { + "line": 138, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 3012, + "end": 3017, + "loc": { + "start": { + "line": 138, + "column": 30 + }, + "end": { + "line": 138, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3017, + "end": 3018, + "loc": { + "start": { + "line": 138, + "column": 35 + }, + "end": { + "line": 138, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3018, + "end": 3019, + "loc": { + "start": { + "line": 138, + "column": 36 + }, + "end": { + "line": 138, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3028, + "end": 3029, + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3036, + "end": 3037, + "loc": { + "start": { + "line": 140, + "column": 6 + }, + "end": { + "line": 140, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3037, + "end": 3038, + "loc": { + "start": { + "line": 140, + "column": 7 + }, + "end": { + "line": 140, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3038, + "end": 3039, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3044, + "end": 3045, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3048, + "end": 3049, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 142, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 3053, + "end": 3062, + "loc": { + "start": { + "line": 144, + "column": 2 + }, + "end": { + "line": 145, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 3065, + "end": 3075, + "loc": { + "start": { + "line": 146, + "column": 2 + }, + "end": { + "line": 146, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3075, + "end": 3076, + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3076, + "end": 3077, + "loc": { + "start": { + "line": 146, + "column": 13 + }, + "end": { + "line": 146, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3078, + "end": 3079, + "loc": { + "start": { + "line": 146, + "column": 15 + }, + "end": { + "line": 146, + "column": 16 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3084, + "end": 3086, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 147, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3087, + "end": 3088, + "loc": { + "start": { + "line": 147, + "column": 7 + }, + "end": { + "line": 147, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3088, + "end": 3092, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3092, + "end": 3093, + "loc": { + "start": { + "line": 147, + "column": 12 + }, + "end": { + "line": 147, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 3093, + "end": 3098, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 18 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 3099, + "end": 3101, + "loc": { + "start": { + "line": 147, + "column": 19 + }, + "end": { + "line": 147, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3102, + "end": 3106, + "loc": { + "start": { + "line": 147, + "column": 22 + }, + "end": { + "line": 147, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3106, + "end": 3107, + "loc": { + "start": { + "line": 147, + "column": 26 + }, + "end": { + "line": 147, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_canceled", + "start": 3107, + "end": 3116, + "loc": { + "start": { + "line": 147, + "column": 27 + }, + "end": { + "line": 147, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3116, + "end": 3117, + "loc": { + "start": { + "line": 147, + "column": 36 + }, + "end": { + "line": 147, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3118, + "end": 3119, + "loc": { + "start": { + "line": 147, + "column": 38 + }, + "end": { + "line": 147, + "column": 39 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3126, + "end": 3132, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3132, + "end": 3133, + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3138, + "end": 3139, + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 149, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3145, + "end": 3149, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3149, + "end": 3150, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 3150, + "end": 3155, + "loc": { + "start": { + "line": 151, + "column": 9 + }, + "end": { + "line": 151, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3156, + "end": 3157, + "loc": { + "start": { + "line": 151, + "column": 15 + }, + "end": { + "line": 151, + "column": 16 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 3158, + "end": 3162, + "loc": { + "start": { + "line": 151, + "column": 17 + }, + "end": { + "line": 151, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3162, + "end": 3163, + "loc": { + "start": { + "line": 151, + "column": 21 + }, + "end": { + "line": 151, + "column": 22 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3169, + "end": 3171, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3172, + "end": 3173, + "loc": { + "start": { + "line": 153, + "column": 7 + }, + "end": { + "line": 153, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3173, + "end": 3177, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3177, + "end": 3178, + "loc": { + "start": { + "line": 153, + "column": 12 + }, + "end": { + "line": 153, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 3178, + "end": 3184, + "loc": { + "start": { + "line": 153, + "column": 13 + }, + "end": { + "line": 153, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3184, + "end": 3185, + "loc": { + "start": { + "line": 153, + "column": 19 + }, + "end": { + "line": 153, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3186, + "end": 3187, + "loc": { + "start": { + "line": 153, + "column": 21 + }, + "end": { + "line": 153, + "column": 22 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3194, + "end": 3196, + "loc": { + "start": { + "line": 154, + "column": 6 + }, + "end": { + "line": 154, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3197, + "end": 3198, + "loc": { + "start": { + "line": 154, + "column": 9 + }, + "end": { + "line": 154, + "column": 10 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 3198, + "end": 3199, + "loc": { + "start": { + "line": 154, + "column": 10 + }, + "end": { + "line": 154, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3199, + "end": 3203, + "loc": { + "start": { + "line": 154, + "column": 11 + }, + "end": { + "line": 154, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3203, + "end": 3204, + "loc": { + "start": { + "line": 154, + "column": 15 + }, + "end": { + "line": 154, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_first", + "start": 3204, + "end": 3210, + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3210, + "end": 3211, + "loc": { + "start": { + "line": 154, + "column": 22 + }, + "end": { + "line": 154, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3212, + "end": 3213, + "loc": { + "start": { + "line": 154, + "column": 24 + }, + "end": { + "line": 154, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3222, + "end": 3226, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3226, + "end": 3227, + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 3227, + "end": 3233, + "loc": { + "start": { + "line": 155, + "column": 13 + }, + "end": { + "line": 155, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3233, + "end": 3234, + "loc": { + "start": { + "line": 155, + "column": 19 + }, + "end": { + "line": 155, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 3234, + "end": 3244, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3244, + "end": 3245, + "loc": { + "start": { + "line": 155, + "column": 30 + }, + "end": { + "line": 155, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3245, + "end": 3246, + "loc": { + "start": { + "line": 155, + "column": 31 + }, + "end": { + "line": 155, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3246, + "end": 3247, + "loc": { + "start": { + "line": 155, + "column": 32 + }, + "end": { + "line": 155, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3254, + "end": 3255, + "loc": { + "start": { + "line": 156, + "column": 6 + }, + "end": { + "line": 156, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3260, + "end": 3261, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3262, + "end": 3266, + "loc": { + "start": { + "line": 157, + "column": 6 + }, + "end": { + "line": 157, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3267, + "end": 3268, + "loc": { + "start": { + "line": 157, + "column": 11 + }, + "end": { + "line": 157, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3275, + "end": 3279, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 158, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3279, + "end": 3280, + "loc": { + "start": { + "line": 158, + "column": 10 + }, + "end": { + "line": 158, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_outer", + "start": 3280, + "end": 3286, + "loc": { + "start": { + "line": 158, + "column": 11 + }, + "end": { + "line": 158, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3286, + "end": 3287, + "loc": { + "start": { + "line": 158, + "column": 17 + }, + "end": { + "line": 158, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 3287, + "end": 3298, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3298, + "end": 3299, + "loc": { + "start": { + "line": 158, + "column": 29 + }, + "end": { + "line": 158, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3299, + "end": 3300, + "loc": { + "start": { + "line": 158, + "column": 30 + }, + "end": { + "line": 158, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 3309, + "end": 3315, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3315, + "end": 3316, + "loc": { + "start": { + "line": 159, + "column": 14 + }, + "end": { + "line": 159, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3317, + "end": 3318, + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 159, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3318, + "end": 3319, + "loc": { + "start": { + "line": 159, + "column": 17 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3320, + "end": 3322, + "loc": { + "start": { + "line": 159, + "column": 19 + }, + "end": { + "line": 159, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3323, + "end": 3324, + "loc": { + "start": { + "line": 159, + "column": 22 + }, + "end": { + "line": 159, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3324, + "end": 3325, + "loc": { + "start": { + "line": 159, + "column": 23 + }, + "end": { + "line": 159, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3325, + "end": 3326, + "loc": { + "start": { + "line": 159, + "column": 24 + }, + "end": { + "line": 159, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 3335, + "end": 3342, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3342, + "end": 3343, + "loc": { + "start": { + "line": 160, + "column": 15 + }, + "end": { + "line": 160, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3344, + "end": 3345, + "loc": { + "start": { + "line": 160, + "column": 17 + }, + "end": { + "line": 160, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3345, + "end": 3346, + "loc": { + "start": { + "line": 160, + "column": 18 + }, + "end": { + "line": 160, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3347, + "end": 3349, + "loc": { + "start": { + "line": 160, + "column": 20 + }, + "end": { + "line": 160, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3350, + "end": 3351, + "loc": { + "start": { + "line": 160, + "column": 23 + }, + "end": { + "line": 160, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3362, + "end": 3366, + "loc": { + "start": { + "line": 161, + "column": 10 + }, + "end": { + "line": 161, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3366, + "end": 3367, + "loc": { + "start": { + "line": 161, + "column": 14 + }, + "end": { + "line": 161, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_outer", + "start": 3367, + "end": 3373, + "loc": { + "start": { + "line": 161, + "column": 15 + }, + "end": { + "line": 161, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3373, + "end": 3374, + "loc": { + "start": { + "line": 161, + "column": 21 + }, + "end": { + "line": 161, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 3374, + "end": 3384, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3384, + "end": 3385, + "loc": { + "start": { + "line": 161, + "column": 32 + }, + "end": { + "line": 161, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3385, + "end": 3386, + "loc": { + "start": { + "line": 161, + "column": 33 + }, + "end": { + "line": 161, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3386, + "end": 3387, + "loc": { + "start": { + "line": 161, + "column": 34 + }, + "end": { + "line": 161, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3396, + "end": 3397, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3404, + "end": 3405, + "loc": { + "start": { + "line": 163, + "column": 6 + }, + "end": { + "line": 163, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3405, + "end": 3406, + "loc": { + "start": { + "line": 163, + "column": 7 + }, + "end": { + "line": 163, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3406, + "end": 3407, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3412, + "end": 3413, + "loc": { + "start": { + "line": 164, + "column": 4 + }, + "end": { + "line": 164, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3416, + "end": 3417, + "loc": { + "start": { + "line": 165, + "column": 2 + }, + "end": { + "line": 165, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} n\n ", + "start": 3421, + "end": 3453, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 169, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 3456, + "end": 3463, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 170, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3463, + "end": 3464, + "loc": { + "start": { + "line": 170, + "column": 9 + }, + "end": { + "line": 170, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 3464, + "end": 3465, + "loc": { + "start": { + "line": 170, + "column": 10 + }, + "end": { + "line": 170, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3465, + "end": 3466, + "loc": { + "start": { + "line": 170, + "column": 11 + }, + "end": { + "line": 170, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3467, + "end": 3468, + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 170, + "column": 14 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3473, + "end": 3475, + "loc": { + "start": { + "line": 171, + "column": 4 + }, + "end": { + "line": 171, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3476, + "end": 3477, + "loc": { + "start": { + "line": 171, + "column": 7 + }, + "end": { + "line": 171, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3477, + "end": 3481, + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3481, + "end": 3482, + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_first", + "start": 3482, + "end": 3488, + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3488, + "end": 3489, + "loc": { + "start": { + "line": 171, + "column": 19 + }, + "end": { + "line": 171, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3490, + "end": 3491, + "loc": { + "start": { + "line": 171, + "column": 21 + }, + "end": { + "line": 171, + "column": 22 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3498, + "end": 3503, + "loc": { + "start": { + "line": 172, + "column": 6 + }, + "end": { + "line": 172, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 3504, + "end": 3505, + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3506, + "end": 3507, + "loc": { + "start": { + "line": 172, + "column": 14 + }, + "end": { + "line": 172, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3508, + "end": 3512, + "loc": { + "start": { + "line": 172, + "column": 16 + }, + "end": { + "line": 172, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3512, + "end": 3513, + "loc": { + "start": { + "line": 172, + "column": 20 + }, + "end": { + "line": 172, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_first", + "start": 3513, + "end": 3519, + "loc": { + "start": { + "line": 172, + "column": 21 + }, + "end": { + "line": 172, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3519, + "end": 3520, + "loc": { + "start": { + "line": 172, + "column": 27 + }, + "end": { + "line": 172, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3527, + "end": 3531, + "loc": { + "start": { + "line": 173, + "column": 6 + }, + "end": { + "line": 173, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3531, + "end": 3532, + "loc": { + "start": { + "line": 173, + "column": 10 + }, + "end": { + "line": 173, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_first", + "start": 3532, + "end": 3538, + "loc": { + "start": { + "line": 173, + "column": 11 + }, + "end": { + "line": 173, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3539, + "end": 3540, + "loc": { + "start": { + "line": 173, + "column": 18 + }, + "end": { + "line": 173, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 3541, + "end": 3550, + "loc": { + "start": { + "line": 173, + "column": 20 + }, + "end": { + "line": 173, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3550, + "end": 3551, + "loc": { + "start": { + "line": 173, + "column": 29 + }, + "end": { + "line": 173, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3558, + "end": 3562, + "loc": { + "start": { + "line": 174, + "column": 6 + }, + "end": { + "line": 174, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3562, + "end": 3563, + "loc": { + "start": { + "line": 174, + "column": 10 + }, + "end": { + "line": 174, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 3563, + "end": 3569, + "loc": { + "start": { + "line": 174, + "column": 11 + }, + "end": { + "line": 174, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3569, + "end": 3570, + "loc": { + "start": { + "line": 174, + "column": 17 + }, + "end": { + "line": 174, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 3570, + "end": 3576, + "loc": { + "start": { + "line": 174, + "column": 18 + }, + "end": { + "line": 174, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3576, + "end": 3577, + "loc": { + "start": { + "line": 174, + "column": 24 + }, + "end": { + "line": 174, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 3577, + "end": 3578, + "loc": { + "start": { + "line": 174, + "column": 25 + }, + "end": { + "line": 174, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3578, + "end": 3579, + "loc": { + "start": { + "line": 174, + "column": 26 + }, + "end": { + "line": 174, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3579, + "end": 3580, + "loc": { + "start": { + "line": 174, + "column": 27 + }, + "end": { + "line": 174, + "column": 28 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3588, + "end": 3590, + "loc": { + "start": { + "line": 176, + "column": 6 + }, + "end": { + "line": 176, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3591, + "end": 3592, + "loc": { + "start": { + "line": 176, + "column": 9 + }, + "end": { + "line": 176, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3592, + "end": 3596, + "loc": { + "start": { + "line": 176, + "column": 10 + }, + "end": { + "line": 176, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3596, + "end": 3597, + "loc": { + "start": { + "line": 176, + "column": 14 + }, + "end": { + "line": 176, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_done", + "start": 3597, + "end": 3602, + "loc": { + "start": { + "line": 176, + "column": 15 + }, + "end": { + "line": 176, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3602, + "end": 3603, + "loc": { + "start": { + "line": 176, + "column": 20 + }, + "end": { + "line": 176, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3604, + "end": 3605, + "loc": { + "start": { + "line": 176, + "column": 22 + }, + "end": { + "line": 176, + "column": 23 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3614, + "end": 3616, + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 177, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3617, + "end": 3618, + "loc": { + "start": { + "line": 177, + "column": 11 + }, + "end": { + "line": 177, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3618, + "end": 3622, + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3622, + "end": 3623, + "loc": { + "start": { + "line": 177, + "column": 16 + }, + "end": { + "line": 177, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 3623, + "end": 3629, + "loc": { + "start": { + "line": 177, + "column": 17 + }, + "end": { + "line": 177, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3629, + "end": 3630, + "loc": { + "start": { + "line": 177, + "column": 23 + }, + "end": { + "line": 177, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3631, + "end": 3632, + "loc": { + "start": { + "line": 177, + "column": 25 + }, + "end": { + "line": 177, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3643, + "end": 3647, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3647, + "end": 3648, + "loc": { + "start": { + "line": 178, + "column": 14 + }, + "end": { + "line": 178, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 3648, + "end": 3654, + "loc": { + "start": { + "line": 178, + "column": 15 + }, + "end": { + "line": 178, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3654, + "end": 3655, + "loc": { + "start": { + "line": 178, + "column": 21 + }, + "end": { + "line": 178, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 3655, + "end": 3662, + "loc": { + "start": { + "line": 178, + "column": 22 + }, + "end": { + "line": 178, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3662, + "end": 3663, + "loc": { + "start": { + "line": 178, + "column": 29 + }, + "end": { + "line": 178, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3663, + "end": 3667, + "loc": { + "start": { + "line": 178, + "column": 30 + }, + "end": { + "line": 178, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3667, + "end": 3668, + "loc": { + "start": { + "line": 178, + "column": 34 + }, + "end": { + "line": 178, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 3668, + "end": 3674, + "loc": { + "start": { + "line": 178, + "column": 35 + }, + "end": { + "line": 178, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3674, + "end": 3675, + "loc": { + "start": { + "line": 178, + "column": 41 + }, + "end": { + "line": 178, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3675, + "end": 3676, + "loc": { + "start": { + "line": 178, + "column": 42 + }, + "end": { + "line": 178, + "column": 43 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3685, + "end": 3686, + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 9 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3687, + "end": 3691, + "loc": { + "start": { + "line": 179, + "column": 10 + }, + "end": { + "line": 179, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3692, + "end": 3693, + "loc": { + "start": { + "line": 179, + "column": 15 + }, + "end": { + "line": 179, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3704, + "end": 3708, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3708, + "end": 3709, + "loc": { + "start": { + "line": 180, + "column": 14 + }, + "end": { + "line": 180, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_inner", + "start": 3709, + "end": 3715, + "loc": { + "start": { + "line": 180, + "column": 15 + }, + "end": { + "line": 180, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3715, + "end": 3716, + "loc": { + "start": { + "line": 180, + "column": 21 + }, + "end": { + "line": 180, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 3716, + "end": 3726, + "loc": { + "start": { + "line": 180, + "column": 22 + }, + "end": { + "line": 180, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3726, + "end": 3727, + "loc": { + "start": { + "line": 180, + "column": 32 + }, + "end": { + "line": 180, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3727, + "end": 3728, + "loc": { + "start": { + "line": 180, + "column": 33 + }, + "end": { + "line": 180, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3728, + "end": 3729, + "loc": { + "start": { + "line": 180, + "column": 34 + }, + "end": { + "line": 180, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3738, + "end": 3739, + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3746, + "end": 3747, + "loc": { + "start": { + "line": 182, + "column": 6 + }, + "end": { + "line": 182, + "column": 7 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3755, + "end": 3757, + "loc": { + "start": { + "line": 184, + "column": 6 + }, + "end": { + "line": 184, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3758, + "end": 3759, + "loc": { + "start": { + "line": 184, + "column": 9 + }, + "end": { + "line": 184, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_REQUEST_N", + "start": 3759, + "end": 3772, + "loc": { + "start": { + "line": 184, + "column": 10 + }, + "end": { + "line": 184, + "column": 23 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<=", + "start": 3773, + "end": 3775, + "loc": { + "start": { + "line": 184, + "column": 24 + }, + "end": { + "line": 184, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 3776, + "end": 3777, + "loc": { + "start": { + "line": 184, + "column": 27 + }, + "end": { + "line": 184, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3777, + "end": 3778, + "loc": { + "start": { + "line": 184, + "column": 28 + }, + "end": { + "line": 184, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3779, + "end": 3780, + "loc": { + "start": { + "line": 184, + "column": 30 + }, + "end": { + "line": 184, + "column": 31 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3789, + "end": 3793, + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3793, + "end": 3794, + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 3794, + "end": 3807, + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3807, + "end": 3808, + "loc": { + "start": { + "line": 185, + "column": 26 + }, + "end": { + "line": 185, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 3808, + "end": 3815, + "loc": { + "start": { + "line": 185, + "column": 27 + }, + "end": { + "line": 185, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3815, + "end": 3816, + "loc": { + "start": { + "line": 185, + "column": 34 + }, + "end": { + "line": 185, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_REQUEST_N", + "start": 3816, + "end": 3829, + "loc": { + "start": { + "line": 185, + "column": 35 + }, + "end": { + "line": 185, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3829, + "end": 3830, + "loc": { + "start": { + "line": 185, + "column": 48 + }, + "end": { + "line": 185, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3830, + "end": 3831, + "loc": { + "start": { + "line": 185, + "column": 49 + }, + "end": { + "line": 185, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3838, + "end": 3839, + "loc": { + "start": { + "line": 186, + "column": 6 + }, + "end": { + "line": 186, + "column": 7 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3840, + "end": 3844, + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 12 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3845, + "end": 3847, + "loc": { + "start": { + "line": 186, + "column": 13 + }, + "end": { + "line": 186, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3848, + "end": 3849, + "loc": { + "start": { + "line": 186, + "column": 16 + }, + "end": { + "line": 186, + "column": 17 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "--", + "start": 3849, + "end": 3851, + "loc": { + "start": { + "line": 186, + "column": 17 + }, + "end": { + "line": 186, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 3851, + "end": 3852, + "loc": { + "start": { + "line": 186, + "column": 19 + }, + "end": { + "line": 186, + "column": 20 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 3853, + "end": 3854, + "loc": { + "start": { + "line": 186, + "column": 21 + }, + "end": { + "line": 186, + "column": 22 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3855, + "end": 3856, + "loc": { + "start": { + "line": 186, + "column": 23 + }, + "end": { + "line": 186, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3856, + "end": 3857, + "loc": { + "start": { + "line": 186, + "column": 24 + }, + "end": { + "line": 186, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3858, + "end": 3859, + "loc": { + "start": { + "line": 186, + "column": 26 + }, + "end": { + "line": 186, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3868, + "end": 3872, + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3872, + "end": 3873, + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 3873, + "end": 3886, + "loc": { + "start": { + "line": 187, + "column": 13 + }, + "end": { + "line": 187, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3886, + "end": 3887, + "loc": { + "start": { + "line": 187, + "column": 26 + }, + "end": { + "line": 187, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 3887, + "end": 3894, + "loc": { + "start": { + "line": 187, + "column": 27 + }, + "end": { + "line": 187, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3894, + "end": 3895, + "loc": { + "start": { + "line": 187, + "column": 34 + }, + "end": { + "line": 187, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 3895, + "end": 3896, + "loc": { + "start": { + "line": 187, + "column": 35 + }, + "end": { + "line": 187, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3896, + "end": 3897, + "loc": { + "start": { + "line": 187, + "column": 36 + }, + "end": { + "line": 187, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3897, + "end": 3898, + "loc": { + "start": { + "line": 187, + "column": 37 + }, + "end": { + "line": 187, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3905, + "end": 3906, + "loc": { + "start": { + "line": 188, + "column": 6 + }, + "end": { + "line": 188, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3911, + "end": 3912, + "loc": { + "start": { + "line": 189, + "column": 4 + }, + "end": { + "line": 189, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3913, + "end": 3917, + "loc": { + "start": { + "line": 189, + "column": 6 + }, + "end": { + "line": 189, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3918, + "end": 3919, + "loc": { + "start": { + "line": 189, + "column": 11 + }, + "end": { + "line": 189, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3926, + "end": 3930, + "loc": { + "start": { + "line": 190, + "column": 6 + }, + "end": { + "line": 190, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3930, + "end": 3931, + "loc": { + "start": { + "line": 190, + "column": 10 + }, + "end": { + "line": 190, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 3931, + "end": 3944, + "loc": { + "start": { + "line": 190, + "column": 11 + }, + "end": { + "line": 190, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3944, + "end": 3945, + "loc": { + "start": { + "line": 190, + "column": 24 + }, + "end": { + "line": 190, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 3945, + "end": 3952, + "loc": { + "start": { + "line": 190, + "column": 25 + }, + "end": { + "line": 190, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3952, + "end": 3953, + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 3953, + "end": 3954, + "loc": { + "start": { + "line": 190, + "column": 33 + }, + "end": { + "line": 190, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3954, + "end": 3955, + "loc": { + "start": { + "line": 190, + "column": 34 + }, + "end": { + "line": 190, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3955, + "end": 3956, + "loc": { + "start": { + "line": 190, + "column": 35 + }, + "end": { + "line": 190, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3961, + "end": 3962, + "loc": { + "start": { + "line": 191, + "column": 4 + }, + "end": { + "line": 191, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3965, + "end": 3966, + "loc": { + "start": { + "line": 192, + "column": 2 + }, + "end": { + "line": 192, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {function} fn\n * @returns {IPublisher}\n ", + "start": 3970, + "end": 4032, + "loc": { + "start": { + "line": 194, + "column": 2 + }, + "end": { + "line": 197, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 4035, + "end": 4038, + "loc": { + "start": { + "line": 198, + "column": 2 + }, + "end": { + "line": 198, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4038, + "end": 4039, + "loc": { + "start": { + "line": 198, + "column": 5 + }, + "end": { + "line": 198, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fn", + "start": 4039, + "end": 4041, + "loc": { + "start": { + "line": 198, + "column": 6 + }, + "end": { + "line": 198, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4041, + "end": 4042, + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4043, + "end": 4044, + "loc": { + "start": { + "line": 198, + "column": 10 + }, + "end": { + "line": 198, + "column": 11 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4049, + "end": 4055, + "loc": { + "start": { + "line": 199, + "column": 4 + }, + "end": { + "line": 199, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4056, + "end": 4059, + "loc": { + "start": { + "line": 199, + "column": 11 + }, + "end": { + "line": 199, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 4060, + "end": 4068, + "loc": { + "start": { + "line": 199, + "column": 15 + }, + "end": { + "line": 199, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4068, + "end": 4069, + "loc": { + "start": { + "line": 199, + "column": 23 + }, + "end": { + "line": 199, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 4069, + "end": 4079, + "loc": { + "start": { + "line": 199, + "column": 24 + }, + "end": { + "line": 199, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4080, + "end": 4082, + "loc": { + "start": { + "line": 199, + "column": 35 + }, + "end": { + "line": 199, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4083, + "end": 4087, + "loc": { + "start": { + "line": 199, + "column": 38 + }, + "end": { + "line": 199, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4087, + "end": 4088, + "loc": { + "start": { + "line": 199, + "column": 42 + }, + "end": { + "line": 199, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 4088, + "end": 4097, + "loc": { + "start": { + "line": 199, + "column": 43 + }, + "end": { + "line": 199, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4097, + "end": 4098, + "loc": { + "start": { + "line": 199, + "column": 52 + }, + "end": { + "line": 199, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 4098, + "end": 4108, + "loc": { + "start": { + "line": 199, + "column": 53 + }, + "end": { + "line": 199, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4108, + "end": 4109, + "loc": { + "start": { + "line": 199, + "column": 63 + }, + "end": { + "line": 199, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4109, + "end": 4110, + "loc": { + "start": { + "line": 199, + "column": 64 + }, + "end": { + "line": 199, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4110, + "end": 4111, + "loc": { + "start": { + "line": 199, + "column": 65 + }, + "end": { + "line": 199, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 4111, + "end": 4114, + "loc": { + "start": { + "line": 199, + "column": 66 + }, + "end": { + "line": 199, + "column": 69 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4114, + "end": 4115, + "loc": { + "start": { + "line": 199, + "column": 69 + }, + "end": { + "line": 199, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fn", + "start": 4115, + "end": 4117, + "loc": { + "start": { + "line": 199, + "column": 70 + }, + "end": { + "line": 199, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4117, + "end": 4118, + "loc": { + "start": { + "line": 199, + "column": 72 + }, + "end": { + "line": 199, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4118, + "end": 4119, + "loc": { + "start": { + "line": 199, + "column": 73 + }, + "end": { + "line": 199, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4122, + "end": 4123, + "loc": { + "start": { + "line": 200, + "column": 2 + }, + "end": { + "line": 200, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4124, + "end": 4125, + "loc": { + "start": { + "line": 201, + "column": 0 + }, + "end": { + "line": 201, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4125, + "end": 4125, + "loc": { + "start": { + "line": 201, + "column": 1 + }, + "end": { + "line": 201, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/core/src/index.js.json b/rsocket-rpc-js/docs/ast/source/core/src/index.js.json new file mode 100644 index 0000000..e97f719 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/core/src/index.js.json @@ -0,0 +1,1513 @@ +{ + "type": "File", + "start": 0, + "end": 1382, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 39, + "column": 96 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1382, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 39, + "column": 96 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 1053, + "end": 1115, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1060, + "end": 1082, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 29 + } + }, + "local": { + "type": "Identifier", + "start": 1060, + "end": 1082, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 29 + }, + "identifierName": "RequestHandlingRSocket" + }, + "name": "RequestHandlingRSocket" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1088, + "end": 1114, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 61 + } + }, + "extra": { + "rawValue": "./RequestHandlingRSocket", + "raw": "'./RequestHandlingRSocket'" + }, + "value": "./RequestHandlingRSocket" + } + }, + { + "type": "ImportDeclaration", + "start": 1116, + "end": 1152, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 36 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1123, + "end": 1132, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 1123, + "end": 1132, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 16 + }, + "identifierName": "RpcClient" + }, + "name": "RpcClient" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1138, + "end": 1151, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 35 + } + }, + "extra": { + "rawValue": "./RpcClient", + "raw": "'./RpcClient'" + }, + "value": "./RpcClient" + } + }, + { + "type": "ImportDeclaration", + "start": 1153, + "end": 1219, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 66 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1160, + "end": 1184, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 31 + } + }, + "local": { + "type": "Identifier", + "start": 1160, + "end": 1184, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 31 + }, + "identifierName": "QueuingFlowableProcessor" + }, + "name": "QueuingFlowableProcessor" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1190, + "end": 1218, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 65 + } + }, + "extra": { + "rawValue": "./QueuingFlowableProcessor", + "raw": "'./QueuingFlowableProcessor'" + }, + "value": "./QueuingFlowableProcessor" + } + }, + { + "type": "ImportDeclaration", + "start": 1220, + "end": 1284, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 64 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1227, + "end": 1250, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 30 + } + }, + "local": { + "type": "Identifier", + "start": 1227, + "end": 1250, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 30 + }, + "identifierName": "SwitchTransformOperator" + }, + "name": "SwitchTransformOperator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1256, + "end": 1283, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 63 + } + }, + "extra": { + "rawValue": "./SwitchTransformOperator", + "raw": "'./SwitchTransformOperator'" + }, + "value": "./SwitchTransformOperator" + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1286, + "end": 1382, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 96 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 1295, + "end": 1317, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 31 + } + }, + "local": { + "type": "Identifier", + "start": 1295, + "end": 1317, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 31 + }, + "identifierName": "RequestHandlingRSocket" + }, + "name": "RequestHandlingRSocket" + }, + "exported": { + "type": "Identifier", + "start": 1295, + "end": 1317, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 31 + }, + "identifierName": "RequestHandlingRSocket" + }, + "name": "RequestHandlingRSocket" + } + }, + { + "type": "ExportSpecifier", + "start": 1319, + "end": 1328, + "loc": { + "start": { + "line": 39, + "column": 33 + }, + "end": { + "line": 39, + "column": 42 + } + }, + "local": { + "type": "Identifier", + "start": 1319, + "end": 1328, + "loc": { + "start": { + "line": 39, + "column": 33 + }, + "end": { + "line": 39, + "column": 42 + }, + "identifierName": "RpcClient" + }, + "name": "RpcClient" + }, + "exported": { + "type": "Identifier", + "start": 1319, + "end": 1328, + "loc": { + "start": { + "line": 39, + "column": 33 + }, + "end": { + "line": 39, + "column": 42 + }, + "identifierName": "RpcClient" + }, + "name": "RpcClient" + } + }, + { + "type": "ExportSpecifier", + "start": 1330, + "end": 1354, + "loc": { + "start": { + "line": 39, + "column": 44 + }, + "end": { + "line": 39, + "column": 68 + } + }, + "local": { + "type": "Identifier", + "start": 1330, + "end": 1354, + "loc": { + "start": { + "line": 39, + "column": 44 + }, + "end": { + "line": 39, + "column": 68 + }, + "identifierName": "QueuingFlowableProcessor" + }, + "name": "QueuingFlowableProcessor" + }, + "exported": { + "type": "Identifier", + "start": 1330, + "end": 1354, + "loc": { + "start": { + "line": 39, + "column": 44 + }, + "end": { + "line": 39, + "column": 68 + }, + "identifierName": "QueuingFlowableProcessor" + }, + "name": "QueuingFlowableProcessor" + } + }, + { + "type": "ExportSpecifier", + "start": 1356, + "end": 1379, + "loc": { + "start": { + "line": 39, + "column": 70 + }, + "end": { + "line": 39, + "column": 93 + } + }, + "local": { + "type": "Identifier", + "start": 1356, + "end": 1379, + "loc": { + "start": { + "line": 39, + "column": 70 + }, + "end": { + "line": 39, + "column": 93 + }, + "identifierName": "SwitchTransformOperator" + }, + "name": "SwitchTransformOperator" + }, + "exported": { + "type": "Identifier", + "start": 1356, + "end": 1379, + "loc": { + "start": { + "line": 39, + "column": 70 + }, + "end": { + "line": 39, + "column": 93 + }, + "identifierName": "SwitchTransformOperator" + }, + "name": "SwitchTransformOperator" + } + } + ], + "source": null + } + ], + "directives": [ + { + "type": "Directive", + "start": 1038, + "end": 1051, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 1038, + "end": 1050, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/core\n * @fileoverview The public API of the `core` package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires RequestHandlingRSocket\n * @requires RpcClient\n * @requires QueuingFlowableProcessor\n * @requires SwitchTransformOperator\n * @exports ClientConfig\n * @exports RequestHandlingRSocket\n * @exports RpcClient\n * @exports QueuingFlowableProcessor\n * @exports SwitchTransformOperator\n ", + "start": 0, + "end": 1036, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/core\n * @fileoverview The public API of the `core` package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires RequestHandlingRSocket\n * @requires RpcClient\n * @requires QueuingFlowableProcessor\n * @requires SwitchTransformOperator\n * @exports ClientConfig\n * @exports RequestHandlingRSocket\n * @exports RpcClient\n * @exports QueuingFlowableProcessor\n * @exports SwitchTransformOperator\n ", + "start": 0, + "end": 1036, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/core\n * @fileoverview The public API of the `core` package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires RequestHandlingRSocket\n * @requires RpcClient\n * @requires QueuingFlowableProcessor\n * @requires SwitchTransformOperator\n * @exports ClientConfig\n * @exports RequestHandlingRSocket\n * @exports RpcClient\n * @exports QueuingFlowableProcessor\n * @exports SwitchTransformOperator\n ", + "start": 0, + "end": 1036, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 1038, + "end": 1050, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1050, + "end": 1051, + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1053, + "end": 1059, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RequestHandlingRSocket", + "start": 1060, + "end": 1082, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1083, + "end": 1087, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RequestHandlingRSocket", + "start": 1088, + "end": 1114, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1114, + "end": 1115, + "loc": { + "start": { + "line": 34, + "column": 61 + }, + "end": { + "line": 34, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1116, + "end": 1122, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RpcClient", + "start": 1123, + "end": 1132, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1133, + "end": 1137, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RpcClient", + "start": 1138, + "end": 1151, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1151, + "end": 1152, + "loc": { + "start": { + "line": 35, + "column": 35 + }, + "end": { + "line": 35, + "column": 36 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1153, + "end": 1159, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "QueuingFlowableProcessor", + "start": 1160, + "end": 1184, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1185, + "end": 1189, + "loc": { + "start": { + "line": 36, + "column": 32 + }, + "end": { + "line": 36, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./QueuingFlowableProcessor", + "start": 1190, + "end": 1218, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1218, + "end": 1219, + "loc": { + "start": { + "line": 36, + "column": 65 + }, + "end": { + "line": 36, + "column": 66 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1220, + "end": 1226, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SwitchTransformOperator", + "start": 1227, + "end": 1250, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1251, + "end": 1255, + "loc": { + "start": { + "line": 37, + "column": 31 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./SwitchTransformOperator", + "start": 1256, + "end": 1283, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1283, + "end": 1284, + "loc": { + "start": { + "line": 37, + "column": 63 + }, + "end": { + "line": 37, + "column": 64 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1286, + "end": 1292, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1293, + "end": 1294, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RequestHandlingRSocket", + "start": 1295, + "end": 1317, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1317, + "end": 1318, + "loc": { + "start": { + "line": 39, + "column": 31 + }, + "end": { + "line": 39, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RpcClient", + "start": 1319, + "end": 1328, + "loc": { + "start": { + "line": 39, + "column": 33 + }, + "end": { + "line": 39, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1328, + "end": 1329, + "loc": { + "start": { + "line": 39, + "column": 42 + }, + "end": { + "line": 39, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "QueuingFlowableProcessor", + "start": 1330, + "end": 1354, + "loc": { + "start": { + "line": 39, + "column": 44 + }, + "end": { + "line": 39, + "column": 68 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1354, + "end": 1355, + "loc": { + "start": { + "line": 39, + "column": 68 + }, + "end": { + "line": 39, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SwitchTransformOperator", + "start": 1356, + "end": 1379, + "loc": { + "start": { + "line": 39, + "column": 70 + }, + "end": { + "line": 39, + "column": 93 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1380, + "end": 1381, + "loc": { + "start": { + "line": 39, + "column": 94 + }, + "end": { + "line": 39, + "column": 95 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1381, + "end": 1382, + "loc": { + "start": { + "line": 39, + "column": 95 + }, + "end": { + "line": 39, + "column": 96 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1382, + "end": 1382, + "loc": { + "start": { + "line": 39, + "column": 96 + }, + "end": { + "line": 39, + "column": 96 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/frames/src/Metadata.js.json b/rsocket-rpc-js/docs/ast/source/frames/src/Metadata.js.json new file mode 100644 index 0000000..8be4f3e --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/frames/src/Metadata.js.json @@ -0,0 +1,21371 @@ +{ + "type": "File", + "start": 0, + "end": 5461, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 179, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 5461, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 179, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 1224, + "end": 1296, + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 72 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1233, + "end": 1244, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 20 + } + }, + "imported": { + "type": "Identifier", + "start": 1233, + "end": 1244, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 20 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder", + "leadingComments": null + }, + "local": { + "type": "Identifier", + "start": 1233, + "end": 1244, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 20 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "leadingComments": null + }, + { + "type": "ImportSpecifier", + "start": 1246, + "end": 1259, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 35 + } + }, + "imported": { + "type": "Identifier", + "start": 1246, + "end": 1259, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 35 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "local": { + "type": "Identifier", + "start": 1246, + "end": 1259, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 35 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + } + }, + { + "type": "ImportSpecifier", + "start": 1261, + "end": 1273, + "loc": { + "start": { + "line": 44, + "column": 37 + }, + "end": { + "line": 44, + "column": 49 + } + }, + "imported": { + "type": "Identifier", + "start": 1261, + "end": 1273, + "loc": { + "start": { + "line": 44, + "column": 37 + }, + "end": { + "line": 44, + "column": 49 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + }, + "local": { + "type": "Identifier", + "start": 1261, + "end": 1273, + "loc": { + "start": { + "line": 44, + "column": 37 + }, + "end": { + "line": 44, + "column": 49 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1281, + "end": 1295, + "loc": { + "start": { + "line": 44, + "column": 57 + }, + "end": { + "line": 44, + "column": 71 + } + }, + "extra": { + "rawValue": "rsocket-core", + "raw": "'rsocket-core'" + }, + "value": "rsocket-core" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " eslint-disable consistent-return, no-bitwise ", + "start": 830, + "end": 880, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Encoder\n * @property {function} byteLength given an {@link Encodable} returns its length in bytes as a number\n * @property {function} encode\n * @property {function} decode\n ", + "start": 882, + "end": 1095, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Encoder} UTF8Encoder\n ", + "start": 1096, + "end": 1158, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Encoder} BufferEncoder\n ", + "start": 1159, + "end": 1223, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 1298, + "end": 1323, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 46, + "column": 25 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 1305, + "end": 1323, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1311, + "end": 1322, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 1311, + "end": 1318, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 20 + }, + "identifierName": "VERSION" + }, + "name": "VERSION" + }, + "init": { + "type": "NumericLiteral", + "start": 1321, + "end": 1322, + "loc": { + "start": { + "line": 46, + "column": 23 + }, + "end": { + "line": 46, + "column": 24 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ], + "kind": "const", + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1325, + "end": 1355, + "loc": { + "start": { + "line": 48, + "column": 0 + }, + "end": { + "line": 48, + "column": 30 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 1332, + "end": 1355, + "loc": { + "start": { + "line": 48, + "column": 7 + }, + "end": { + "line": 48, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1338, + "end": 1354, + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 1338, + "end": 1350, + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 25 + }, + "identifierName": "VERSION_SIZE" + }, + "name": "VERSION_SIZE" + }, + "init": { + "type": "NumericLiteral", + "start": 1353, + "end": 1354, + "loc": { + "start": { + "line": 48, + "column": 28 + }, + "end": { + "line": 48, + "column": 29 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + ], + "kind": "const", + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1356, + "end": 1393, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 49, + "column": 37 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 1363, + "end": 1393, + "loc": { + "start": { + "line": 49, + "column": 7 + }, + "end": { + "line": 49, + "column": 37 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1369, + "end": 1392, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 36 + } + }, + "id": { + "type": "Identifier", + "start": 1369, + "end": 1388, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 32 + }, + "identifierName": "SERVICE_LENGTH_SIZE" + }, + "name": "SERVICE_LENGTH_SIZE" + }, + "init": { + "type": "NumericLiteral", + "start": 1391, + "end": 1392, + "loc": { + "start": { + "line": 49, + "column": 35 + }, + "end": { + "line": 49, + "column": 36 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + ], + "kind": "const", + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1394, + "end": 1430, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 50, + "column": 36 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 1401, + "end": 1430, + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1407, + "end": 1429, + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 1407, + "end": 1425, + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 31 + }, + "identifierName": "METHOD_LENGTH_SIZE" + }, + "name": "METHOD_LENGTH_SIZE" + }, + "init": { + "type": "NumericLiteral", + "start": 1428, + "end": 1429, + "loc": { + "start": { + "line": 50, + "column": 34 + }, + "end": { + "line": 50, + "column": 35 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + ], + "kind": "const", + "leadingComments": [], + "trailingComments": [] + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1431, + "end": 1468, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 51, + "column": 37 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 1438, + "end": 1468, + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 51, + "column": 37 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1444, + "end": 1467, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 36 + } + }, + "id": { + "type": "Identifier", + "start": 1444, + "end": 1463, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 32 + }, + "identifierName": "TRACING_LENGTH_SIZE" + }, + "name": "TRACING_LENGTH_SIZE" + }, + "init": { + "type": "NumericLiteral", + "start": 1466, + "end": 1467, + "loc": { + "start": { + "line": 51, + "column": 35 + }, + "end": { + "line": 51, + "column": 36 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Buffer\n * @see https://nodejs.org/api/buffer.html\n ", + "start": 1470, + "end": 1561, + "loc": { + "start": { + "line": 53, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Use this method to send well-formed call routing metadata with your payloads.\n *\n * @param {string} service - the service name\n * @param {string} method - the method name\n * @param {Encodable} tracing - tracing information\n * @param {Encodable} metadata - arbitrary metadata\n * @return {Buffer} the above fields encoded in a proper fashion\n ", + "start": 1562, + "end": 1912, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + } + ], + "leadingComments": [] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Buffer\n * @see https://nodejs.org/api/buffer.html\n ", + "start": 1470, + "end": 1561, + "loc": { + "start": { + "line": 53, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Use this method to send well-formed call routing metadata with your payloads.\n *\n * @param {string} service - the service name\n * @param {string} method - the method name\n * @param {Encodable} tracing - tracing information\n * @param {Encodable} metadata - arbitrary metadata\n * @return {Buffer} the above fields encoded in a proper fashion\n ", + "start": 1562, + "end": 1912, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 1913, + "end": 3134, + "loc": { + "start": { + "line": 67, + "column": 0 + }, + "end": { + "line": 94, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1920, + "end": 3134, + "loc": { + "start": { + "line": 67, + "column": 7 + }, + "end": { + "line": 94, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1929, + "end": 1943, + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 30 + }, + "identifierName": "encodeMetadata" + }, + "name": "encodeMetadata", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1944, + "end": 1951, + "loc": { + "start": { + "line": 67, + "column": 31 + }, + "end": { + "line": 67, + "column": 38 + }, + "identifierName": "service" + }, + "name": "service" + }, + { + "type": "Identifier", + "start": 1953, + "end": 1959, + "loc": { + "start": { + "line": 67, + "column": 40 + }, + "end": { + "line": 67, + "column": 46 + }, + "identifierName": "method" + }, + "name": "method" + }, + { + "type": "Identifier", + "start": 1961, + "end": 1968, + "loc": { + "start": { + "line": 67, + "column": 48 + }, + "end": { + "line": 67, + "column": 55 + }, + "identifierName": "tracing" + }, + "name": "tracing" + }, + { + "type": "Identifier", + "start": 1970, + "end": 1978, + "loc": { + "start": { + "line": 67, + "column": 57 + }, + "end": { + "line": 67, + "column": 65 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ], + "body": { + "type": "BlockStatement", + "start": 1980, + "end": 3134, + "loc": { + "start": { + "line": 67, + "column": 67 + }, + "end": { + "line": 94, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1984, + "end": 2038, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1990, + "end": 2037, + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 55 + } + }, + "id": { + "type": "Identifier", + "start": 1990, + "end": 2003, + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 21 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + }, + "init": { + "type": "CallExpression", + "start": 2006, + "end": 2037, + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 68, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2006, + "end": 2028, + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 68, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 2006, + "end": 2017, + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 68, + "column": 35 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 2018, + "end": 2028, + "loc": { + "start": { + "line": 68, + "column": 36 + }, + "end": { + "line": 68, + "column": 46 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2029, + "end": 2036, + "loc": { + "start": { + "line": 68, + "column": 47 + }, + "end": { + "line": 68, + "column": 54 + }, + "identifierName": "service" + }, + "name": "service" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2041, + "end": 2093, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 54 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2047, + "end": 2092, + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 53 + } + }, + "id": { + "type": "Identifier", + "start": 2047, + "end": 2059, + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 20 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + }, + "init": { + "type": "CallExpression", + "start": 2062, + "end": 2092, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 69, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2062, + "end": 2084, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 69, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 2062, + "end": 2073, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 69, + "column": 34 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 2074, + "end": 2084, + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 45 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2085, + "end": 2091, + "loc": { + "start": { + "line": 69, + "column": 46 + }, + "end": { + "line": 69, + "column": 52 + }, + "identifierName": "method" + }, + "name": "method" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2096, + "end": 2154, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 70, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2102, + "end": 2153, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 59 + } + }, + "id": { + "type": "Identifier", + "start": 2102, + "end": 2116, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 22 + }, + "identifierName": "metadataLength" + }, + "name": "metadataLength" + }, + "init": { + "type": "CallExpression", + "start": 2119, + "end": 2153, + "loc": { + "start": { + "line": 70, + "column": 25 + }, + "end": { + "line": 70, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2119, + "end": 2143, + "loc": { + "start": { + "line": 70, + "column": 25 + }, + "end": { + "line": 70, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 2119, + "end": 2132, + "loc": { + "start": { + "line": 70, + "column": 25 + }, + "end": { + "line": 70, + "column": 38 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "property": { + "type": "Identifier", + "start": 2133, + "end": 2143, + "loc": { + "start": { + "line": 70, + "column": 39 + }, + "end": { + "line": 70, + "column": 49 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2144, + "end": 2152, + "loc": { + "start": { + "line": 70, + "column": 50 + }, + "end": { + "line": 70, + "column": 58 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " We can't overload the method call directly and the code generator currently only populates", + "start": 2157, + "end": 2250, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 71, + "column": 95 + } + } + }, + { + "type": "CommentLine", + "value": " the first 3 parameters", + "start": 2253, + "end": 2278, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 72, + "column": 27 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 2281, + "end": 2344, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 75, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2285, + "end": 2306, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 2285, + "end": 2294, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 15 + }, + "identifierName": "undefined" + }, + "name": "undefined", + "leadingComments": null + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 2299, + "end": 2306, + "loc": { + "start": { + "line": 73, + "column": 20 + }, + "end": { + "line": 73, + "column": 27 + }, + "identifierName": "tracing" + }, + "name": "tracing" + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 2308, + "end": 2344, + "loc": { + "start": { + "line": 73, + "column": 29 + }, + "end": { + "line": 75, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2314, + "end": 2340, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2314, + "end": 2339, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2314, + "end": 2321, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 11 + }, + "identifierName": "tracing" + }, + "name": "tracing" + }, + "right": { + "type": "CallExpression", + "start": 2324, + "end": 2339, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 29 + } + }, + "callee": { + "type": "Identifier", + "start": 2324, + "end": 2336, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 26 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2337, + "end": 2338, + "loc": { + "start": { + "line": 74, + "column": 27 + }, + "end": { + "line": 74, + "column": 28 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " We can't overload the method call directly and the code generator currently only populates", + "start": 2157, + "end": 2250, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 71, + "column": 95 + } + } + }, + { + "type": "CommentLine", + "value": " the first 3 parameters", + "start": 2253, + "end": 2278, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 72, + "column": 27 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 2347, + "end": 2403, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 58 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2353, + "end": 2402, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 57 + } + }, + "id": { + "type": "Identifier", + "start": 2353, + "end": 2366, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 21 + }, + "identifierName": "tracingLength" + }, + "name": "tracingLength" + }, + "init": { + "type": "CallExpression", + "start": 2369, + "end": 2402, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2369, + "end": 2393, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 2369, + "end": 2382, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 37 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "property": { + "type": "Identifier", + "start": 2383, + "end": 2393, + "loc": { + "start": { + "line": 76, + "column": 38 + }, + "end": { + "line": 76, + "column": 48 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2394, + "end": 2401, + "loc": { + "start": { + "line": 76, + "column": 49 + }, + "end": { + "line": 76, + "column": 56 + }, + "identifierName": "tracing" + }, + "name": "tracing" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2407, + "end": 2578, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 173 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2413, + "end": 2577, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 172 + } + }, + "id": { + "type": "Identifier", + "start": 2413, + "end": 2419, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 14 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "init": { + "type": "CallExpression", + "start": 2422, + "end": 2577, + "loc": { + "start": { + "line": 78, + "column": 17 + }, + "end": { + "line": 78, + "column": 172 + } + }, + "callee": { + "type": "Identifier", + "start": 2422, + "end": 2434, + "loc": { + "start": { + "line": 78, + "column": 17 + }, + "end": { + "line": 78, + "column": 29 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2435, + "end": 2576, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 171 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2435, + "end": 2559, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 154 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2435, + "end": 2543, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 138 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2435, + "end": 2521, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 116 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2435, + "end": 2506, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 101 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2435, + "end": 2485, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 80 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2435, + "end": 2469, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 64 + } + }, + "left": { + "type": "Identifier", + "start": 2435, + "end": 2447, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 42 + }, + "identifierName": "VERSION_SIZE" + }, + "name": "VERSION_SIZE" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2450, + "end": 2469, + "loc": { + "start": { + "line": 78, + "column": 45 + }, + "end": { + "line": 78, + "column": 64 + }, + "identifierName": "SERVICE_LENGTH_SIZE" + }, + "name": "SERVICE_LENGTH_SIZE" + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2472, + "end": 2485, + "loc": { + "start": { + "line": 78, + "column": 67 + }, + "end": { + "line": 78, + "column": 80 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2488, + "end": 2506, + "loc": { + "start": { + "line": 78, + "column": 83 + }, + "end": { + "line": 78, + "column": 101 + }, + "identifierName": "METHOD_LENGTH_SIZE" + }, + "name": "METHOD_LENGTH_SIZE" + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2509, + "end": 2521, + "loc": { + "start": { + "line": 78, + "column": 104 + }, + "end": { + "line": 78, + "column": 116 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2524, + "end": 2543, + "loc": { + "start": { + "line": 78, + "column": 119 + }, + "end": { + "line": 78, + "column": 138 + }, + "identifierName": "TRACING_LENGTH_SIZE" + }, + "name": "TRACING_LENGTH_SIZE" + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2546, + "end": 2559, + "loc": { + "start": { + "line": 78, + "column": 141 + }, + "end": { + "line": 78, + "column": 154 + }, + "identifierName": "tracingLength" + }, + "name": "tracingLength" + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2562, + "end": 2576, + "loc": { + "start": { + "line": 78, + "column": 157 + }, + "end": { + "line": 78, + "column": 171 + }, + "identifierName": "metadataLength" + }, + "name": "metadataLength" + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2582, + "end": 2628, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2586, + "end": 2627, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 2586, + "end": 2592, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "init": { + "type": "CallExpression", + "start": 2595, + "end": 2627, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2595, + "end": 2615, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 2595, + "end": 2601, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 21 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 2602, + "end": 2615, + "loc": { + "start": { + "line": 80, + "column": 22 + }, + "end": { + "line": 80, + "column": 35 + }, + "identifierName": "writeUInt16BE" + }, + "name": "writeUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2616, + "end": 2623, + "loc": { + "start": { + "line": 80, + "column": 36 + }, + "end": { + "line": 80, + "column": 43 + }, + "identifierName": "VERSION" + }, + "name": "VERSION" + }, + { + "type": "NumericLiteral", + "start": 2625, + "end": 2626, + "loc": { + "start": { + "line": 80, + "column": 45 + }, + "end": { + "line": 80, + "column": 46 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 2632, + "end": 2685, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2632, + "end": 2684, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2632, + "end": 2638, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "CallExpression", + "start": 2641, + "end": 2684, + "loc": { + "start": { + "line": 82, + "column": 11 + }, + "end": { + "line": 82, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2641, + "end": 2661, + "loc": { + "start": { + "line": 82, + "column": 11 + }, + "end": { + "line": 82, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 2641, + "end": 2647, + "loc": { + "start": { + "line": 82, + "column": 11 + }, + "end": { + "line": 82, + "column": 17 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 2648, + "end": 2661, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 31 + }, + "identifierName": "writeUInt16BE" + }, + "name": "writeUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2662, + "end": 2675, + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 45 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + }, + { + "type": "Identifier", + "start": 2677, + "end": 2683, + "loc": { + "start": { + "line": 82, + "column": 47 + }, + "end": { + "line": 82, + "column": 53 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 2688, + "end": 2765, + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 79 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2688, + "end": 2764, + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 78 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2688, + "end": 2694, + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "CallExpression", + "start": 2697, + "end": 2764, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 78 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2697, + "end": 2715, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 2697, + "end": 2708, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 22 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 2709, + "end": 2715, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 29 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2716, + "end": 2723, + "loc": { + "start": { + "line": 83, + "column": 30 + }, + "end": { + "line": 83, + "column": 37 + }, + "identifierName": "service" + }, + "name": "service" + }, + { + "type": "Identifier", + "start": 2725, + "end": 2731, + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 45 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 2733, + "end": 2739, + "loc": { + "start": { + "line": 83, + "column": 47 + }, + "end": { + "line": 83, + "column": 53 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 2741, + "end": 2763, + "loc": { + "start": { + "line": 83, + "column": 55 + }, + "end": { + "line": 83, + "column": 77 + } + }, + "left": { + "type": "Identifier", + "start": 2741, + "end": 2747, + "loc": { + "start": { + "line": 83, + "column": 55 + }, + "end": { + "line": 83, + "column": 61 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2750, + "end": 2763, + "loc": { + "start": { + "line": 83, + "column": 64 + }, + "end": { + "line": 83, + "column": 77 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 2769, + "end": 2821, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 54 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2769, + "end": 2820, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 53 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2769, + "end": 2775, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "CallExpression", + "start": 2778, + "end": 2820, + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2778, + "end": 2798, + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 2778, + "end": 2784, + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 17 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 2785, + "end": 2798, + "loc": { + "start": { + "line": 85, + "column": 18 + }, + "end": { + "line": 85, + "column": 31 + }, + "identifierName": "writeUInt16BE" + }, + "name": "writeUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2799, + "end": 2811, + "loc": { + "start": { + "line": 85, + "column": 32 + }, + "end": { + "line": 85, + "column": 44 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + }, + { + "type": "Identifier", + "start": 2813, + "end": 2819, + "loc": { + "start": { + "line": 85, + "column": 46 + }, + "end": { + "line": 85, + "column": 52 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 2824, + "end": 2899, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 77 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2824, + "end": 2898, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 76 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2824, + "end": 2830, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "CallExpression", + "start": 2833, + "end": 2898, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 76 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 2833, + "end": 2844, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 22 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 2845, + "end": 2851, + "loc": { + "start": { + "line": 86, + "column": 23 + }, + "end": { + "line": 86, + "column": 29 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2852, + "end": 2858, + "loc": { + "start": { + "line": 86, + "column": 30 + }, + "end": { + "line": 86, + "column": 36 + }, + "identifierName": "method" + }, + "name": "method" + }, + { + "type": "Identifier", + "start": 2860, + "end": 2866, + "loc": { + "start": { + "line": 86, + "column": 38 + }, + "end": { + "line": 86, + "column": 44 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 2868, + "end": 2874, + "loc": { + "start": { + "line": 86, + "column": 46 + }, + "end": { + "line": 86, + "column": 52 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 2876, + "end": 2897, + "loc": { + "start": { + "line": 86, + "column": 54 + }, + "end": { + "line": 86, + "column": 75 + } + }, + "left": { + "type": "Identifier", + "start": 2876, + "end": 2882, + "loc": { + "start": { + "line": 86, + "column": 54 + }, + "end": { + "line": 86, + "column": 60 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2885, + "end": 2897, + "loc": { + "start": { + "line": 86, + "column": 63 + }, + "end": { + "line": 86, + "column": 75 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 2903, + "end": 2956, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2903, + "end": 2955, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2903, + "end": 2909, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "CallExpression", + "start": 2912, + "end": 2955, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2912, + "end": 2932, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 2912, + "end": 2918, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 17 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 2919, + "end": 2932, + "loc": { + "start": { + "line": 88, + "column": 18 + }, + "end": { + "line": 88, + "column": 31 + }, + "identifierName": "writeUInt16BE" + }, + "name": "writeUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2933, + "end": 2946, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 88, + "column": 45 + }, + "identifierName": "tracingLength" + }, + "name": "tracingLength" + }, + { + "type": "Identifier", + "start": 2948, + "end": 2954, + "loc": { + "start": { + "line": 88, + "column": 47 + }, + "end": { + "line": 88, + "column": 53 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 2959, + "end": 3038, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 81 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2959, + "end": 3037, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 80 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2959, + "end": 2965, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "CallExpression", + "start": 2968, + "end": 3037, + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 80 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2968, + "end": 2988, + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 2968, + "end": 2981, + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 24 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "property": { + "type": "Identifier", + "start": 2982, + "end": 2988, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 31 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2989, + "end": 2996, + "loc": { + "start": { + "line": 89, + "column": 32 + }, + "end": { + "line": 89, + "column": 39 + }, + "identifierName": "tracing" + }, + "name": "tracing" + }, + { + "type": "Identifier", + "start": 2998, + "end": 3004, + "loc": { + "start": { + "line": 89, + "column": 41 + }, + "end": { + "line": 89, + "column": 47 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 3006, + "end": 3012, + "loc": { + "start": { + "line": 89, + "column": 49 + }, + "end": { + "line": 89, + "column": 55 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 3014, + "end": 3036, + "loc": { + "start": { + "line": 89, + "column": 57 + }, + "end": { + "line": 89, + "column": 79 + } + }, + "left": { + "type": "Identifier", + "start": 3014, + "end": 3020, + "loc": { + "start": { + "line": 89, + "column": 57 + }, + "end": { + "line": 89, + "column": 63 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 3023, + "end": 3036, + "loc": { + "start": { + "line": 89, + "column": 66 + }, + "end": { + "line": 89, + "column": 79 + }, + "identifierName": "tracingLength" + }, + "name": "tracingLength" + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 3042, + "end": 3114, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 91, + "column": 74 + } + }, + "expression": { + "type": "CallExpression", + "start": 3042, + "end": 3113, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 91, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3042, + "end": 3062, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 91, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 3042, + "end": 3055, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 91, + "column": 15 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "property": { + "type": "Identifier", + "start": 3056, + "end": 3062, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 22 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3063, + "end": 3071, + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 31 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + { + "type": "Identifier", + "start": 3073, + "end": 3079, + "loc": { + "start": { + "line": 91, + "column": 33 + }, + "end": { + "line": 91, + "column": 39 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 3081, + "end": 3087, + "loc": { + "start": { + "line": 91, + "column": 41 + }, + "end": { + "line": 91, + "column": 47 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 3089, + "end": 3112, + "loc": { + "start": { + "line": 91, + "column": 49 + }, + "end": { + "line": 91, + "column": 72 + } + }, + "left": { + "type": "Identifier", + "start": 3089, + "end": 3095, + "loc": { + "start": { + "line": 91, + "column": 49 + }, + "end": { + "line": 91, + "column": 55 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 3098, + "end": 3112, + "loc": { + "start": { + "line": 91, + "column": 58 + }, + "end": { + "line": 91, + "column": 72 + }, + "identifierName": "metadataLength" + }, + "name": "metadataLength" + } + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 3118, + "end": 3132, + "loc": { + "start": { + "line": 93, + "column": 2 + }, + "end": { + "line": 93, + "column": 16 + } + }, + "argument": { + "type": "Identifier", + "start": 3125, + "end": 3131, + "loc": { + "start": { + "line": 93, + "column": 9 + }, + "end": { + "line": 93, + "column": 15 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Buffer\n * @see https://nodejs.org/api/buffer.html\n ", + "start": 1470, + "end": 1561, + "loc": { + "start": { + "line": 53, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Use this method to send well-formed call routing metadata with your payloads.\n *\n * @param {string} service - the service name\n * @param {string} method - the method name\n * @param {Encodable} tracing - tracing information\n * @param {Encodable} metadata - arbitrary metadata\n * @return {Buffer} the above fields encoded in a proper fashion\n ", + "start": 1562, + "end": 1912, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the version number from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the version number\n * @return {number} the version number\n ", + "start": 3136, + "end": 3309, + "loc": { + "start": { + "line": 96, + "column": 0 + }, + "end": { + "line": 101, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Buffer\n * @see https://nodejs.org/api/buffer.html\n ", + "start": 1470, + "end": 1561, + "loc": { + "start": { + "line": 53, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Use this method to send well-formed call routing metadata with your payloads.\n *\n * @param {string} service - the service name\n * @param {string} method - the method name\n * @param {Encodable} tracing - tracing information\n * @param {Encodable} metadata - arbitrary metadata\n * @return {Buffer} the above fields encoded in a proper fashion\n ", + "start": 1562, + "end": 1912, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the version number from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the version number\n * @return {number} the version number\n ", + "start": 3136, + "end": 3309, + "loc": { + "start": { + "line": 96, + "column": 0 + }, + "end": { + "line": 101, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 3310, + "end": 3381, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 104, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 3317, + "end": 3381, + "loc": { + "start": { + "line": 102, + "column": 7 + }, + "end": { + "line": 104, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 3326, + "end": 3336, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 26 + }, + "identifierName": "getVersion" + }, + "name": "getVersion", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3337, + "end": 3343, + "loc": { + "start": { + "line": 102, + "column": 27 + }, + "end": { + "line": 102, + "column": 33 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ], + "body": { + "type": "BlockStatement", + "start": 3345, + "end": 3381, + "loc": { + "start": { + "line": 102, + "column": 35 + }, + "end": { + "line": 104, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3349, + "end": 3379, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 32 + } + }, + "argument": { + "type": "CallExpression", + "start": 3356, + "end": 3378, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3356, + "end": 3375, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 3356, + "end": 3362, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 15 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 3363, + "end": 3375, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 28 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3376, + "end": 3377, + "loc": { + "start": { + "line": 103, + "column": 29 + }, + "end": { + "line": 103, + "column": 30 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the version number from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the version number\n * @return {number} the version number\n ", + "start": 3136, + "end": 3309, + "loc": { + "start": { + "line": 96, + "column": 0 + }, + "end": { + "line": 101, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the service name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the service name\n * @return {string} the service name\n ", + "start": 3383, + "end": 3550, + "loc": { + "start": { + "line": 106, + "column": 0 + }, + "end": { + "line": 111, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the version number from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the version number\n * @return {number} the version number\n ", + "start": 3136, + "end": 3309, + "loc": { + "start": { + "line": 96, + "column": 0 + }, + "end": { + "line": 101, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the service name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the service name\n * @return {string} the service name\n ", + "start": 3383, + "end": 3550, + "loc": { + "start": { + "line": 106, + "column": 0 + }, + "end": { + "line": 111, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 3551, + "end": 3775, + "loc": { + "start": { + "line": 112, + "column": 0 + }, + "end": { + "line": 119, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 3558, + "end": 3775, + "loc": { + "start": { + "line": 112, + "column": 7 + }, + "end": { + "line": 119, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 3567, + "end": 3577, + "loc": { + "start": { + "line": 112, + "column": 16 + }, + "end": { + "line": 112, + "column": 26 + }, + "identifierName": "getService" + }, + "name": "getService", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3578, + "end": 3584, + "loc": { + "start": { + "line": 112, + "column": 27 + }, + "end": { + "line": 112, + "column": 33 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ], + "body": { + "type": "BlockStatement", + "start": 3586, + "end": 3775, + "loc": { + "start": { + "line": 112, + "column": 35 + }, + "end": { + "line": 119, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3590, + "end": 3616, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 113, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3594, + "end": 3615, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 3594, + "end": 3600, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "init": { + "type": "Identifier", + "start": 3603, + "end": 3615, + "loc": { + "start": { + "line": 113, + "column": 15 + }, + "end": { + "line": 113, + "column": 27 + }, + "identifierName": "VERSION_SIZE" + }, + "name": "VERSION_SIZE" + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 3620, + "end": 3670, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3626, + "end": 3669, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 3626, + "end": 3639, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 21 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + }, + "init": { + "type": "CallExpression", + "start": 3642, + "end": 3669, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3642, + "end": 3661, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 3642, + "end": 3648, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 30 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 3649, + "end": 3661, + "loc": { + "start": { + "line": 115, + "column": 31 + }, + "end": { + "line": 115, + "column": 43 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3662, + "end": 3668, + "loc": { + "start": { + "line": 115, + "column": 44 + }, + "end": { + "line": 115, + "column": 50 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 3673, + "end": 3703, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3673, + "end": 3702, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 31 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 3673, + "end": 3679, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "Identifier", + "start": 3683, + "end": 3702, + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 31 + }, + "identifierName": "SERVICE_LENGTH_SIZE" + }, + "name": "SERVICE_LENGTH_SIZE" + } + } + }, + { + "type": "ReturnStatement", + "start": 3707, + "end": 3773, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 118, + "column": 68 + } + }, + "argument": { + "type": "CallExpression", + "start": 3714, + "end": 3772, + "loc": { + "start": { + "line": 118, + "column": 9 + }, + "end": { + "line": 118, + "column": 67 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3714, + "end": 3732, + "loc": { + "start": { + "line": 118, + "column": 9 + }, + "end": { + "line": 118, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 3714, + "end": 3725, + "loc": { + "start": { + "line": 118, + "column": 9 + }, + "end": { + "line": 118, + "column": 20 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 3726, + "end": 3732, + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 27 + }, + "identifierName": "decode" + }, + "name": "decode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3733, + "end": 3739, + "loc": { + "start": { + "line": 118, + "column": 28 + }, + "end": { + "line": 118, + "column": 34 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 3741, + "end": 3747, + "loc": { + "start": { + "line": 118, + "column": 36 + }, + "end": { + "line": 118, + "column": 42 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 3749, + "end": 3771, + "loc": { + "start": { + "line": 118, + "column": 44 + }, + "end": { + "line": 118, + "column": 66 + } + }, + "left": { + "type": "Identifier", + "start": 3749, + "end": 3755, + "loc": { + "start": { + "line": 118, + "column": 44 + }, + "end": { + "line": 118, + "column": 50 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 3758, + "end": 3771, + "loc": { + "start": { + "line": 118, + "column": 53 + }, + "end": { + "line": 118, + "column": 66 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the service name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the service name\n * @return {string} the service name\n ", + "start": 3383, + "end": 3550, + "loc": { + "start": { + "line": 106, + "column": 0 + }, + "end": { + "line": 111, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the method name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the method name\n * @return {string} the method name\n ", + "start": 3777, + "end": 3941, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the service name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the service name\n * @return {string} the service name\n ", + "start": 3383, + "end": 3550, + "loc": { + "start": { + "line": 106, + "column": 0 + }, + "end": { + "line": 111, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the method name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the method name\n * @return {string} the method name\n ", + "start": 3777, + "end": 3941, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 3942, + "end": 4265, + "loc": { + "start": { + "line": 127, + "column": 0 + }, + "end": { + "line": 137, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 3949, + "end": 4265, + "loc": { + "start": { + "line": 127, + "column": 7 + }, + "end": { + "line": 137, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 3958, + "end": 3967, + "loc": { + "start": { + "line": 127, + "column": 16 + }, + "end": { + "line": 127, + "column": 25 + }, + "identifierName": "getMethod" + }, + "name": "getMethod", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3968, + "end": 3974, + "loc": { + "start": { + "line": 127, + "column": 26 + }, + "end": { + "line": 127, + "column": 32 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ], + "body": { + "type": "BlockStatement", + "start": 3976, + "end": 4265, + "loc": { + "start": { + "line": 127, + "column": 34 + }, + "end": { + "line": 137, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3980, + "end": 4006, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3984, + "end": 4005, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 3984, + "end": 3990, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "init": { + "type": "Identifier", + "start": 3993, + "end": 4005, + "loc": { + "start": { + "line": 128, + "column": 15 + }, + "end": { + "line": 128, + "column": 27 + }, + "identifierName": "VERSION_SIZE" + }, + "name": "VERSION_SIZE" + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 4010, + "end": 4060, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4016, + "end": 4059, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 4016, + "end": 4029, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 21 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + }, + "init": { + "type": "CallExpression", + "start": 4032, + "end": 4059, + "loc": { + "start": { + "line": 130, + "column": 24 + }, + "end": { + "line": 130, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4032, + "end": 4051, + "loc": { + "start": { + "line": 130, + "column": 24 + }, + "end": { + "line": 130, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 4032, + "end": 4038, + "loc": { + "start": { + "line": 130, + "column": 24 + }, + "end": { + "line": 130, + "column": 30 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 4039, + "end": 4051, + "loc": { + "start": { + "line": 130, + "column": 31 + }, + "end": { + "line": 130, + "column": 43 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4052, + "end": 4058, + "loc": { + "start": { + "line": 130, + "column": 44 + }, + "end": { + "line": 130, + "column": 50 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 4063, + "end": 4109, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 131, + "column": 48 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4063, + "end": 4108, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 131, + "column": 47 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 4063, + "end": 4069, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 131, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "BinaryExpression", + "start": 4073, + "end": 4108, + "loc": { + "start": { + "line": 131, + "column": 12 + }, + "end": { + "line": 131, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 4073, + "end": 4092, + "loc": { + "start": { + "line": 131, + "column": 12 + }, + "end": { + "line": 131, + "column": 31 + }, + "identifierName": "SERVICE_LENGTH_SIZE" + }, + "name": "SERVICE_LENGTH_SIZE" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4095, + "end": 4108, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 47 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 4113, + "end": 4162, + "loc": { + "start": { + "line": 133, + "column": 2 + }, + "end": { + "line": 133, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4119, + "end": 4161, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 4119, + "end": 4131, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 20 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + }, + "init": { + "type": "CallExpression", + "start": 4134, + "end": 4161, + "loc": { + "start": { + "line": 133, + "column": 23 + }, + "end": { + "line": 133, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4134, + "end": 4153, + "loc": { + "start": { + "line": 133, + "column": 23 + }, + "end": { + "line": 133, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 4134, + "end": 4140, + "loc": { + "start": { + "line": 133, + "column": 23 + }, + "end": { + "line": 133, + "column": 29 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 4141, + "end": 4153, + "loc": { + "start": { + "line": 133, + "column": 30 + }, + "end": { + "line": 133, + "column": 42 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4154, + "end": 4160, + "loc": { + "start": { + "line": 133, + "column": 43 + }, + "end": { + "line": 133, + "column": 49 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 4165, + "end": 4194, + "loc": { + "start": { + "line": 134, + "column": 2 + }, + "end": { + "line": 134, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4165, + "end": 4193, + "loc": { + "start": { + "line": 134, + "column": 2 + }, + "end": { + "line": 134, + "column": 30 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 4165, + "end": 4171, + "loc": { + "start": { + "line": 134, + "column": 2 + }, + "end": { + "line": 134, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "Identifier", + "start": 4175, + "end": 4193, + "loc": { + "start": { + "line": 134, + "column": 12 + }, + "end": { + "line": 134, + "column": 30 + }, + "identifierName": "METHOD_LENGTH_SIZE" + }, + "name": "METHOD_LENGTH_SIZE" + } + } + }, + { + "type": "ReturnStatement", + "start": 4198, + "end": 4263, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 67 + } + }, + "argument": { + "type": "CallExpression", + "start": 4205, + "end": 4262, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4205, + "end": 4223, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 4205, + "end": 4216, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 20 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 4217, + "end": 4223, + "loc": { + "start": { + "line": 136, + "column": 21 + }, + "end": { + "line": 136, + "column": 27 + }, + "identifierName": "decode" + }, + "name": "decode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4224, + "end": 4230, + "loc": { + "start": { + "line": 136, + "column": 28 + }, + "end": { + "line": 136, + "column": 34 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 4232, + "end": 4238, + "loc": { + "start": { + "line": 136, + "column": 36 + }, + "end": { + "line": 136, + "column": 42 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 4240, + "end": 4261, + "loc": { + "start": { + "line": 136, + "column": 44 + }, + "end": { + "line": 136, + "column": 65 + } + }, + "left": { + "type": "Identifier", + "start": 4240, + "end": 4246, + "loc": { + "start": { + "line": 136, + "column": 44 + }, + "end": { + "line": 136, + "column": 50 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4249, + "end": 4261, + "loc": { + "start": { + "line": 136, + "column": 53 + }, + "end": { + "line": 136, + "column": 65 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the method name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the method name\n * @return {string} the method name\n ", + "start": 3777, + "end": 3941, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the tracing information from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains tracing information\n * @return {Buffer} the tracing information\n ", + "start": 4267, + "end": 4451, + "loc": { + "start": { + "line": 139, + "column": 0 + }, + "end": { + "line": 144, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the method name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the method name\n * @return {string} the method name\n ", + "start": 3777, + "end": 3941, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the tracing information from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains tracing information\n * @return {Buffer} the tracing information\n ", + "start": 4267, + "end": 4451, + "loc": { + "start": { + "line": 139, + "column": 0 + }, + "end": { + "line": 144, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 4452, + "end": 4881, + "loc": { + "start": { + "line": 145, + "column": 0 + }, + "end": { + "line": 158, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 4459, + "end": 4881, + "loc": { + "start": { + "line": 145, + "column": 7 + }, + "end": { + "line": 158, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 4468, + "end": 4478, + "loc": { + "start": { + "line": 145, + "column": 16 + }, + "end": { + "line": 145, + "column": 26 + }, + "identifierName": "getTracing" + }, + "name": "getTracing", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4479, + "end": 4485, + "loc": { + "start": { + "line": 145, + "column": 27 + }, + "end": { + "line": 145, + "column": 33 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ], + "body": { + "type": "BlockStatement", + "start": 4487, + "end": 4881, + "loc": { + "start": { + "line": 145, + "column": 35 + }, + "end": { + "line": 158, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 4491, + "end": 4517, + "loc": { + "start": { + "line": 146, + "column": 2 + }, + "end": { + "line": 146, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4495, + "end": 4516, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 4495, + "end": 4501, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "init": { + "type": "Identifier", + "start": 4504, + "end": 4516, + "loc": { + "start": { + "line": 146, + "column": 15 + }, + "end": { + "line": 146, + "column": 27 + }, + "identifierName": "VERSION_SIZE" + }, + "name": "VERSION_SIZE" + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 4521, + "end": 4571, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4527, + "end": 4570, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 4527, + "end": 4540, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 21 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + }, + "init": { + "type": "CallExpression", + "start": 4543, + "end": 4570, + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 148, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4543, + "end": 4562, + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 148, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 4543, + "end": 4549, + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 148, + "column": 30 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 4550, + "end": 4562, + "loc": { + "start": { + "line": 148, + "column": 31 + }, + "end": { + "line": 148, + "column": 43 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4563, + "end": 4569, + "loc": { + "start": { + "line": 148, + "column": 44 + }, + "end": { + "line": 148, + "column": 50 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 4574, + "end": 4620, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 149, + "column": 48 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4574, + "end": 4619, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 149, + "column": 47 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 4574, + "end": 4580, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 149, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "BinaryExpression", + "start": 4584, + "end": 4619, + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 4584, + "end": 4603, + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 31 + }, + "identifierName": "SERVICE_LENGTH_SIZE" + }, + "name": "SERVICE_LENGTH_SIZE" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4606, + "end": 4619, + "loc": { + "start": { + "line": 149, + "column": 34 + }, + "end": { + "line": 149, + "column": 47 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 4624, + "end": 4673, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 151, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4630, + "end": 4672, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 4630, + "end": 4642, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 20 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + }, + "init": { + "type": "CallExpression", + "start": 4645, + "end": 4672, + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4645, + "end": 4664, + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 4645, + "end": 4651, + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 29 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 4652, + "end": 4664, + "loc": { + "start": { + "line": 151, + "column": 30 + }, + "end": { + "line": 151, + "column": 42 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4665, + "end": 4671, + "loc": { + "start": { + "line": 151, + "column": 43 + }, + "end": { + "line": 151, + "column": 49 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 4676, + "end": 4720, + "loc": { + "start": { + "line": 152, + "column": 2 + }, + "end": { + "line": 152, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4676, + "end": 4719, + "loc": { + "start": { + "line": 152, + "column": 2 + }, + "end": { + "line": 152, + "column": 45 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 4676, + "end": 4682, + "loc": { + "start": { + "line": 152, + "column": 2 + }, + "end": { + "line": 152, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "BinaryExpression", + "start": 4686, + "end": 4719, + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 45 + } + }, + "left": { + "type": "Identifier", + "start": 4686, + "end": 4704, + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 30 + }, + "identifierName": "METHOD_LENGTH_SIZE" + }, + "name": "METHOD_LENGTH_SIZE" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4707, + "end": 4719, + "loc": { + "start": { + "line": 152, + "column": 33 + }, + "end": { + "line": 152, + "column": 45 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 4724, + "end": 4774, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 154, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4730, + "end": 4773, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 4730, + "end": 4743, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 21 + }, + "identifierName": "tracingLength" + }, + "name": "tracingLength" + }, + "init": { + "type": "CallExpression", + "start": 4746, + "end": 4773, + "loc": { + "start": { + "line": 154, + "column": 24 + }, + "end": { + "line": 154, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4746, + "end": 4765, + "loc": { + "start": { + "line": 154, + "column": 24 + }, + "end": { + "line": 154, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 4746, + "end": 4752, + "loc": { + "start": { + "line": 154, + "column": 24 + }, + "end": { + "line": 154, + "column": 30 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 4753, + "end": 4765, + "loc": { + "start": { + "line": 154, + "column": 31 + }, + "end": { + "line": 154, + "column": 43 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4766, + "end": 4772, + "loc": { + "start": { + "line": 154, + "column": 44 + }, + "end": { + "line": 154, + "column": 50 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 4777, + "end": 4807, + "loc": { + "start": { + "line": 155, + "column": 2 + }, + "end": { + "line": 155, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4777, + "end": 4806, + "loc": { + "start": { + "line": 155, + "column": 2 + }, + "end": { + "line": 155, + "column": 31 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 4777, + "end": 4783, + "loc": { + "start": { + "line": 155, + "column": 2 + }, + "end": { + "line": 155, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "Identifier", + "start": 4787, + "end": 4806, + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 31 + }, + "identifierName": "TRACING_LENGTH_SIZE" + }, + "name": "TRACING_LENGTH_SIZE" + } + } + }, + { + "type": "ReturnStatement", + "start": 4811, + "end": 4879, + "loc": { + "start": { + "line": 157, + "column": 2 + }, + "end": { + "line": 157, + "column": 70 + } + }, + "argument": { + "type": "CallExpression", + "start": 4818, + "end": 4878, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 157, + "column": 69 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4818, + "end": 4838, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 157, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 4818, + "end": 4831, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 157, + "column": 22 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "property": { + "type": "Identifier", + "start": 4832, + "end": 4838, + "loc": { + "start": { + "line": 157, + "column": 23 + }, + "end": { + "line": 157, + "column": 29 + }, + "identifierName": "decode" + }, + "name": "decode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4839, + "end": 4845, + "loc": { + "start": { + "line": 157, + "column": 30 + }, + "end": { + "line": 157, + "column": 36 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 4847, + "end": 4853, + "loc": { + "start": { + "line": 157, + "column": 38 + }, + "end": { + "line": 157, + "column": 44 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 4855, + "end": 4877, + "loc": { + "start": { + "line": 157, + "column": 46 + }, + "end": { + "line": 157, + "column": 68 + } + }, + "left": { + "type": "Identifier", + "start": 4855, + "end": 4861, + "loc": { + "start": { + "line": 157, + "column": 46 + }, + "end": { + "line": 157, + "column": 52 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4864, + "end": 4877, + "loc": { + "start": { + "line": 157, + "column": 55 + }, + "end": { + "line": 157, + "column": 68 + }, + "identifierName": "tracingLength" + }, + "name": "tracingLength" + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the tracing information from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains tracing information\n * @return {Buffer} the tracing information\n ", + "start": 4267, + "end": 4451, + "loc": { + "start": { + "line": 139, + "column": 0 + }, + "end": { + "line": 144, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the metadata field from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer\n * @return {Buffer} the metadata field\n ", + "start": 4883, + "end": 5023, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 165, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the tracing information from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains tracing information\n * @return {Buffer} the tracing information\n ", + "start": 4267, + "end": 4451, + "loc": { + "start": { + "line": 139, + "column": 0 + }, + "end": { + "line": 144, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the metadata field from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer\n * @return {Buffer} the metadata field\n ", + "start": 4883, + "end": 5023, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 165, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 5024, + "end": 5461, + "loc": { + "start": { + "line": 166, + "column": 0 + }, + "end": { + "line": 179, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 5031, + "end": 5461, + "loc": { + "start": { + "line": 166, + "column": 7 + }, + "end": { + "line": 179, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 5040, + "end": 5051, + "loc": { + "start": { + "line": 166, + "column": 16 + }, + "end": { + "line": 166, + "column": 27 + }, + "identifierName": "getMetadata" + }, + "name": "getMetadata", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5052, + "end": 5058, + "loc": { + "start": { + "line": 166, + "column": 28 + }, + "end": { + "line": 166, + "column": 34 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ], + "body": { + "type": "BlockStatement", + "start": 5060, + "end": 5461, + "loc": { + "start": { + "line": 166, + "column": 36 + }, + "end": { + "line": 179, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 5064, + "end": 5090, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 167, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5068, + "end": 5089, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 5068, + "end": 5074, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "init": { + "type": "Identifier", + "start": 5077, + "end": 5089, + "loc": { + "start": { + "line": 167, + "column": 15 + }, + "end": { + "line": 167, + "column": 27 + }, + "identifierName": "VERSION_SIZE" + }, + "name": "VERSION_SIZE" + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 5094, + "end": 5144, + "loc": { + "start": { + "line": 169, + "column": 2 + }, + "end": { + "line": 169, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5100, + "end": 5143, + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 5100, + "end": 5113, + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 21 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + }, + "init": { + "type": "CallExpression", + "start": 5116, + "end": 5143, + "loc": { + "start": { + "line": 169, + "column": 24 + }, + "end": { + "line": 169, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5116, + "end": 5135, + "loc": { + "start": { + "line": 169, + "column": 24 + }, + "end": { + "line": 169, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 5116, + "end": 5122, + "loc": { + "start": { + "line": 169, + "column": 24 + }, + "end": { + "line": 169, + "column": 30 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 5123, + "end": 5135, + "loc": { + "start": { + "line": 169, + "column": 31 + }, + "end": { + "line": 169, + "column": 43 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5136, + "end": 5142, + "loc": { + "start": { + "line": 169, + "column": 44 + }, + "end": { + "line": 169, + "column": 50 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 5147, + "end": 5193, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 170, + "column": 48 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5147, + "end": 5192, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 170, + "column": 47 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 5147, + "end": 5153, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 170, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "BinaryExpression", + "start": 5157, + "end": 5192, + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 5157, + "end": 5176, + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 31 + }, + "identifierName": "SERVICE_LENGTH_SIZE" + }, + "name": "SERVICE_LENGTH_SIZE" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 5179, + "end": 5192, + "loc": { + "start": { + "line": 170, + "column": 34 + }, + "end": { + "line": 170, + "column": 47 + }, + "identifierName": "serviceLength" + }, + "name": "serviceLength" + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 5197, + "end": 5246, + "loc": { + "start": { + "line": 172, + "column": 2 + }, + "end": { + "line": 172, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5203, + "end": 5245, + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 5203, + "end": 5215, + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 20 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + }, + "init": { + "type": "CallExpression", + "start": 5218, + "end": 5245, + "loc": { + "start": { + "line": 172, + "column": 23 + }, + "end": { + "line": 172, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5218, + "end": 5237, + "loc": { + "start": { + "line": 172, + "column": 23 + }, + "end": { + "line": 172, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 5218, + "end": 5224, + "loc": { + "start": { + "line": 172, + "column": 23 + }, + "end": { + "line": 172, + "column": 29 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 5225, + "end": 5237, + "loc": { + "start": { + "line": 172, + "column": 30 + }, + "end": { + "line": 172, + "column": 42 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5238, + "end": 5244, + "loc": { + "start": { + "line": 172, + "column": 43 + }, + "end": { + "line": 172, + "column": 49 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 5249, + "end": 5293, + "loc": { + "start": { + "line": 173, + "column": 2 + }, + "end": { + "line": 173, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5249, + "end": 5292, + "loc": { + "start": { + "line": 173, + "column": 2 + }, + "end": { + "line": 173, + "column": 45 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 5249, + "end": 5255, + "loc": { + "start": { + "line": 173, + "column": 2 + }, + "end": { + "line": 173, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "BinaryExpression", + "start": 5259, + "end": 5292, + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 45 + } + }, + "left": { + "type": "Identifier", + "start": 5259, + "end": 5277, + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 30 + }, + "identifierName": "METHOD_LENGTH_SIZE" + }, + "name": "METHOD_LENGTH_SIZE" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 5280, + "end": 5292, + "loc": { + "start": { + "line": 173, + "column": 33 + }, + "end": { + "line": 173, + "column": 45 + }, + "identifierName": "methodLength" + }, + "name": "methodLength" + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 5297, + "end": 5347, + "loc": { + "start": { + "line": 175, + "column": 2 + }, + "end": { + "line": 175, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5303, + "end": 5346, + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 5303, + "end": 5316, + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 21 + }, + "identifierName": "tracingLength" + }, + "name": "tracingLength" + }, + "init": { + "type": "CallExpression", + "start": 5319, + "end": 5346, + "loc": { + "start": { + "line": 175, + "column": 24 + }, + "end": { + "line": 175, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5319, + "end": 5338, + "loc": { + "start": { + "line": 175, + "column": 24 + }, + "end": { + "line": 175, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 5319, + "end": 5325, + "loc": { + "start": { + "line": 175, + "column": 24 + }, + "end": { + "line": 175, + "column": 30 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 5326, + "end": 5338, + "loc": { + "start": { + "line": 175, + "column": 31 + }, + "end": { + "line": 175, + "column": 43 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5339, + "end": 5345, + "loc": { + "start": { + "line": 175, + "column": 44 + }, + "end": { + "line": 175, + "column": 50 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 5350, + "end": 5396, + "loc": { + "start": { + "line": 176, + "column": 2 + }, + "end": { + "line": 176, + "column": 48 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5350, + "end": 5395, + "loc": { + "start": { + "line": 176, + "column": 2 + }, + "end": { + "line": 176, + "column": 47 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 5350, + "end": 5356, + "loc": { + "start": { + "line": 176, + "column": 2 + }, + "end": { + "line": 176, + "column": 8 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "BinaryExpression", + "start": 5360, + "end": 5395, + "loc": { + "start": { + "line": 176, + "column": 12 + }, + "end": { + "line": 176, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 5360, + "end": 5379, + "loc": { + "start": { + "line": 176, + "column": 12 + }, + "end": { + "line": 176, + "column": 31 + }, + "identifierName": "TRACING_LENGTH_SIZE" + }, + "name": "TRACING_LENGTH_SIZE" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 5382, + "end": 5395, + "loc": { + "start": { + "line": 176, + "column": 34 + }, + "end": { + "line": 176, + "column": 47 + }, + "identifierName": "tracingLength" + }, + "name": "tracingLength" + } + } + } + }, + { + "type": "ReturnStatement", + "start": 5400, + "end": 5459, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 178, + "column": 61 + } + }, + "argument": { + "type": "CallExpression", + "start": 5407, + "end": 5458, + "loc": { + "start": { + "line": 178, + "column": 9 + }, + "end": { + "line": 178, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5407, + "end": 5427, + "loc": { + "start": { + "line": 178, + "column": 9 + }, + "end": { + "line": 178, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 5407, + "end": 5420, + "loc": { + "start": { + "line": 178, + "column": 9 + }, + "end": { + "line": 178, + "column": 22 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "property": { + "type": "Identifier", + "start": 5421, + "end": 5427, + "loc": { + "start": { + "line": 178, + "column": 23 + }, + "end": { + "line": 178, + "column": 29 + }, + "identifierName": "decode" + }, + "name": "decode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5428, + "end": 5434, + "loc": { + "start": { + "line": 178, + "column": 30 + }, + "end": { + "line": 178, + "column": 36 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 5436, + "end": 5442, + "loc": { + "start": { + "line": 178, + "column": 38 + }, + "end": { + "line": 178, + "column": 44 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "MemberExpression", + "start": 5444, + "end": 5457, + "loc": { + "start": { + "line": 178, + "column": 46 + }, + "end": { + "line": 178, + "column": 59 + } + }, + "object": { + "type": "Identifier", + "start": 5444, + "end": 5450, + "loc": { + "start": { + "line": 178, + "column": 46 + }, + "end": { + "line": 178, + "column": 52 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 5451, + "end": 5457, + "loc": { + "start": { + "line": 178, + "column": 53 + }, + "end": { + "line": 178, + "column": 59 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the metadata field from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer\n * @return {Buffer} the metadata field\n ", + "start": 4883, + "end": 5023, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 165, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the metadata field from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer\n * @return {Buffer} the metadata field\n ", + "start": 4883, + "end": 5023, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 165, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 815, + "end": 828, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 815, + "end": 827, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metadata.js\n * @fileoverview Provides methods for encoding and reading payload metadata.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-core\n ", + "start": 0, + "end": 813, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": " eslint-disable consistent-return, no-bitwise ", + "start": 830, + "end": 880, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Encoder\n * @property {function} byteLength given an {@link Encodable} returns its length in bytes as a number\n * @property {function} encode\n * @property {function} decode\n ", + "start": 882, + "end": 1095, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Encoder} UTF8Encoder\n ", + "start": 1096, + "end": 1158, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Encoder} BufferEncoder\n ", + "start": 1159, + "end": 1223, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metadata.js\n * @fileoverview Provides methods for encoding and reading payload metadata.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-core\n ", + "start": 0, + "end": 813, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": " eslint-disable consistent-return, no-bitwise ", + "start": 830, + "end": 880, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Encoder\n * @property {function} byteLength given an {@link Encodable} returns its length in bytes as a number\n * @property {function} encode\n * @property {function} decode\n ", + "start": 882, + "end": 1095, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Encoder} UTF8Encoder\n ", + "start": 1096, + "end": 1158, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Encoder} BufferEncoder\n ", + "start": 1159, + "end": 1223, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Buffer\n * @see https://nodejs.org/api/buffer.html\n ", + "start": 1470, + "end": 1561, + "loc": { + "start": { + "line": 53, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Use this method to send well-formed call routing metadata with your payloads.\n *\n * @param {string} service - the service name\n * @param {string} method - the method name\n * @param {Encodable} tracing - tracing information\n * @param {Encodable} metadata - arbitrary metadata\n * @return {Buffer} the above fields encoded in a proper fashion\n ", + "start": 1562, + "end": 1912, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " We can't overload the method call directly and the code generator currently only populates", + "start": 2157, + "end": 2250, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 71, + "column": 95 + } + } + }, + { + "type": "CommentLine", + "value": " the first 3 parameters", + "start": 2253, + "end": 2278, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 72, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the version number from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the version number\n * @return {number} the version number\n ", + "start": 3136, + "end": 3309, + "loc": { + "start": { + "line": 96, + "column": 0 + }, + "end": { + "line": 101, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the service name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the service name\n * @return {string} the service name\n ", + "start": 3383, + "end": 3550, + "loc": { + "start": { + "line": 106, + "column": 0 + }, + "end": { + "line": 111, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the method name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the method name\n * @return {string} the method name\n ", + "start": 3777, + "end": 3941, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the tracing information from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains tracing information\n * @return {Buffer} the tracing information\n ", + "start": 4267, + "end": 4451, + "loc": { + "start": { + "line": 139, + "column": 0 + }, + "end": { + "line": 144, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the metadata field from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer\n * @return {Buffer} the metadata field\n ", + "start": 4883, + "end": 5023, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 165, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metadata.js\n * @fileoverview Provides methods for encoding and reading payload metadata.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-core\n ", + "start": 0, + "end": 813, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 815, + "end": 827, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 827, + "end": 828, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": " eslint-disable consistent-return, no-bitwise ", + "start": 830, + "end": 880, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Encoder\n * @property {function} byteLength given an {@link Encodable} returns its length in bytes as a number\n * @property {function} encode\n * @property {function} decode\n ", + "start": 882, + "end": 1095, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Encoder} UTF8Encoder\n ", + "start": 1096, + "end": 1158, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Encoder} BufferEncoder\n ", + "start": 1159, + "end": 1223, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1224, + "end": 1230, + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1231, + "end": 1232, + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 1233, + "end": 1244, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1244, + "end": 1245, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 1246, + "end": 1259, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1259, + "end": 1260, + "loc": { + "start": { + "line": 44, + "column": 35 + }, + "end": { + "line": 44, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createBuffer", + "start": 1261, + "end": 1273, + "loc": { + "start": { + "line": 44, + "column": 37 + }, + "end": { + "line": 44, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1274, + "end": 1275, + "loc": { + "start": { + "line": 44, + "column": 50 + }, + "end": { + "line": 44, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1276, + "end": 1280, + "loc": { + "start": { + "line": 44, + "column": 52 + }, + "end": { + "line": 44, + "column": 56 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-core", + "start": 1281, + "end": 1295, + "loc": { + "start": { + "line": 44, + "column": 57 + }, + "end": { + "line": 44, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1295, + "end": 1296, + "loc": { + "start": { + "line": 44, + "column": 71 + }, + "end": { + "line": 44, + "column": 72 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1298, + "end": 1304, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 46, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1305, + "end": 1310, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VERSION", + "start": 1311, + "end": 1318, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1319, + "end": 1320, + "loc": { + "start": { + "line": 46, + "column": 21 + }, + "end": { + "line": 46, + "column": 22 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1321, + "end": 1322, + "loc": { + "start": { + "line": 46, + "column": 23 + }, + "end": { + "line": 46, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1322, + "end": 1323, + "loc": { + "start": { + "line": 46, + "column": 24 + }, + "end": { + "line": 46, + "column": 25 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1325, + "end": 1331, + "loc": { + "start": { + "line": 48, + "column": 0 + }, + "end": { + "line": 48, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1332, + "end": 1337, + "loc": { + "start": { + "line": 48, + "column": 7 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VERSION_SIZE", + "start": 1338, + "end": 1350, + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1351, + "end": 1352, + "loc": { + "start": { + "line": 48, + "column": 26 + }, + "end": { + "line": 48, + "column": 27 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 1353, + "end": 1354, + "loc": { + "start": { + "line": 48, + "column": 28 + }, + "end": { + "line": 48, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1354, + "end": 1355, + "loc": { + "start": { + "line": 48, + "column": 29 + }, + "end": { + "line": 48, + "column": 30 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1356, + "end": 1362, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 49, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1363, + "end": 1368, + "loc": { + "start": { + "line": 49, + "column": 7 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SERVICE_LENGTH_SIZE", + "start": 1369, + "end": 1388, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1389, + "end": 1390, + "loc": { + "start": { + "line": 49, + "column": 33 + }, + "end": { + "line": 49, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 1391, + "end": 1392, + "loc": { + "start": { + "line": 49, + "column": 35 + }, + "end": { + "line": 49, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1392, + "end": 1393, + "loc": { + "start": { + "line": 49, + "column": 36 + }, + "end": { + "line": 49, + "column": 37 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1394, + "end": 1400, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 50, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1401, + "end": 1406, + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "METHOD_LENGTH_SIZE", + "start": 1407, + "end": 1425, + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 31 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1426, + "end": 1427, + "loc": { + "start": { + "line": 50, + "column": 32 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 1428, + "end": 1429, + "loc": { + "start": { + "line": 50, + "column": 34 + }, + "end": { + "line": 50, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1429, + "end": 1430, + "loc": { + "start": { + "line": 50, + "column": 35 + }, + "end": { + "line": 50, + "column": 36 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1431, + "end": 1437, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 51, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1438, + "end": 1443, + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TRACING_LENGTH_SIZE", + "start": 1444, + "end": 1463, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1464, + "end": 1465, + "loc": { + "start": { + "line": 51, + "column": 33 + }, + "end": { + "line": 51, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 1466, + "end": 1467, + "loc": { + "start": { + "line": 51, + "column": 35 + }, + "end": { + "line": 51, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1467, + "end": 1468, + "loc": { + "start": { + "line": 51, + "column": 36 + }, + "end": { + "line": 51, + "column": 37 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external\n * @typedef {Object} Buffer\n * @see https://nodejs.org/api/buffer.html\n ", + "start": 1470, + "end": 1561, + "loc": { + "start": { + "line": 53, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Use this method to send well-formed call routing metadata with your payloads.\n *\n * @param {string} service - the service name\n * @param {string} method - the method name\n * @param {Encodable} tracing - tracing information\n * @param {Encodable} metadata - arbitrary metadata\n * @return {Buffer} the above fields encoded in a proper fashion\n ", + "start": 1562, + "end": 1912, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1913, + "end": 1919, + "loc": { + "start": { + "line": 67, + "column": 0 + }, + "end": { + "line": 67, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1920, + "end": 1928, + "loc": { + "start": { + "line": 67, + "column": 7 + }, + "end": { + "line": 67, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encodeMetadata", + "start": 1929, + "end": 1943, + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1943, + "end": 1944, + "loc": { + "start": { + "line": 67, + "column": 30 + }, + "end": { + "line": 67, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 1944, + "end": 1951, + "loc": { + "start": { + "line": 67, + "column": 31 + }, + "end": { + "line": 67, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1951, + "end": 1952, + "loc": { + "start": { + "line": 67, + "column": 38 + }, + "end": { + "line": 67, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 1953, + "end": 1959, + "loc": { + "start": { + "line": 67, + "column": 40 + }, + "end": { + "line": 67, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1959, + "end": 1960, + "loc": { + "start": { + "line": 67, + "column": 46 + }, + "end": { + "line": 67, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracing", + "start": 1961, + "end": 1968, + "loc": { + "start": { + "line": 67, + "column": 48 + }, + "end": { + "line": 67, + "column": 55 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1968, + "end": 1969, + "loc": { + "start": { + "line": 67, + "column": 55 + }, + "end": { + "line": 67, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1970, + "end": 1978, + "loc": { + "start": { + "line": 67, + "column": 57 + }, + "end": { + "line": 67, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1978, + "end": 1979, + "loc": { + "start": { + "line": 67, + "column": 65 + }, + "end": { + "line": 67, + "column": 66 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1980, + "end": 1981, + "loc": { + "start": { + "line": 67, + "column": 67 + }, + "end": { + "line": 67, + "column": 68 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1984, + "end": 1989, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 1990, + "end": 2003, + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2004, + "end": 2005, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 2006, + "end": 2017, + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 68, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2017, + "end": 2018, + "loc": { + "start": { + "line": 68, + "column": 35 + }, + "end": { + "line": 68, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 2018, + "end": 2028, + "loc": { + "start": { + "line": 68, + "column": 36 + }, + "end": { + "line": 68, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2028, + "end": 2029, + "loc": { + "start": { + "line": 68, + "column": 46 + }, + "end": { + "line": 68, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 2029, + "end": 2036, + "loc": { + "start": { + "line": 68, + "column": 47 + }, + "end": { + "line": 68, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2036, + "end": 2037, + "loc": { + "start": { + "line": 68, + "column": 54 + }, + "end": { + "line": 68, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2037, + "end": 2038, + "loc": { + "start": { + "line": 68, + "column": 55 + }, + "end": { + "line": 68, + "column": 56 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2041, + "end": 2046, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 2047, + "end": 2059, + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2060, + "end": 2061, + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 2062, + "end": 2073, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 69, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2073, + "end": 2074, + "loc": { + "start": { + "line": 69, + "column": 34 + }, + "end": { + "line": 69, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 2074, + "end": 2084, + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2084, + "end": 2085, + "loc": { + "start": { + "line": 69, + "column": 45 + }, + "end": { + "line": 69, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 2085, + "end": 2091, + "loc": { + "start": { + "line": 69, + "column": 46 + }, + "end": { + "line": 69, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2091, + "end": 2092, + "loc": { + "start": { + "line": 69, + "column": 52 + }, + "end": { + "line": 69, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2092, + "end": 2093, + "loc": { + "start": { + "line": 69, + "column": 53 + }, + "end": { + "line": 69, + "column": 54 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2096, + "end": 2101, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 70, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadataLength", + "start": 2102, + "end": 2116, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2117, + "end": 2118, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 2119, + "end": 2132, + "loc": { + "start": { + "line": 70, + "column": 25 + }, + "end": { + "line": 70, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2132, + "end": 2133, + "loc": { + "start": { + "line": 70, + "column": 38 + }, + "end": { + "line": 70, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 2133, + "end": 2143, + "loc": { + "start": { + "line": 70, + "column": 39 + }, + "end": { + "line": 70, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2143, + "end": 2144, + "loc": { + "start": { + "line": 70, + "column": 49 + }, + "end": { + "line": 70, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 2144, + "end": 2152, + "loc": { + "start": { + "line": 70, + "column": 50 + }, + "end": { + "line": 70, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 70, + "column": 58 + }, + "end": { + "line": 70, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2153, + "end": 2154, + "loc": { + "start": { + "line": 70, + "column": 59 + }, + "end": { + "line": 70, + "column": 60 + } + } + }, + { + "type": "CommentLine", + "value": " We can't overload the method call directly and the code generator currently only populates", + "start": 2157, + "end": 2250, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 71, + "column": 95 + } + } + }, + { + "type": "CommentLine", + "value": " the first 3 parameters", + "start": 2253, + "end": 2278, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 72, + "column": 27 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2281, + "end": 2283, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2284, + "end": 2285, + "loc": { + "start": { + "line": 73, + "column": 5 + }, + "end": { + "line": 73, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 2285, + "end": 2294, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 15 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2295, + "end": 2298, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracing", + "start": 2299, + "end": 2306, + "loc": { + "start": { + "line": 73, + "column": 20 + }, + "end": { + "line": 73, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2306, + "end": 2307, + "loc": { + "start": { + "line": 73, + "column": 27 + }, + "end": { + "line": 73, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2308, + "end": 2309, + "loc": { + "start": { + "line": 73, + "column": 29 + }, + "end": { + "line": 73, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracing", + "start": 2314, + "end": 2321, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2322, + "end": 2323, + "loc": { + "start": { + "line": 74, + "column": 12 + }, + "end": { + "line": 74, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createBuffer", + "start": 2324, + "end": 2336, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2336, + "end": 2337, + "loc": { + "start": { + "line": 74, + "column": 26 + }, + "end": { + "line": 74, + "column": 27 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2337, + "end": 2338, + "loc": { + "start": { + "line": 74, + "column": 27 + }, + "end": { + "line": 74, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2338, + "end": 2339, + "loc": { + "start": { + "line": 74, + "column": 28 + }, + "end": { + "line": 74, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2339, + "end": 2340, + "loc": { + "start": { + "line": 74, + "column": 29 + }, + "end": { + "line": 74, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2343, + "end": 2344, + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 75, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2347, + "end": 2352, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingLength", + "start": 2353, + "end": 2366, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2367, + "end": 2368, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 2369, + "end": 2382, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2382, + "end": 2383, + "loc": { + "start": { + "line": 76, + "column": 37 + }, + "end": { + "line": 76, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 2383, + "end": 2393, + "loc": { + "start": { + "line": 76, + "column": 38 + }, + "end": { + "line": 76, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2393, + "end": 2394, + "loc": { + "start": { + "line": 76, + "column": 48 + }, + "end": { + "line": 76, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracing", + "start": 2394, + "end": 2401, + "loc": { + "start": { + "line": 76, + "column": 49 + }, + "end": { + "line": 76, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2401, + "end": 2402, + "loc": { + "start": { + "line": 76, + "column": 56 + }, + "end": { + "line": 76, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2402, + "end": 2403, + "loc": { + "start": { + "line": 76, + "column": 57 + }, + "end": { + "line": 76, + "column": 58 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2407, + "end": 2412, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2413, + "end": 2419, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2420, + "end": 2421, + "loc": { + "start": { + "line": 78, + "column": 15 + }, + "end": { + "line": 78, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createBuffer", + "start": 2422, + "end": 2434, + "loc": { + "start": { + "line": 78, + "column": 17 + }, + "end": { + "line": 78, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2434, + "end": 2435, + "loc": { + "start": { + "line": 78, + "column": 29 + }, + "end": { + "line": 78, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VERSION_SIZE", + "start": 2435, + "end": 2447, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 42 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2448, + "end": 2449, + "loc": { + "start": { + "line": 78, + "column": 43 + }, + "end": { + "line": 78, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SERVICE_LENGTH_SIZE", + "start": 2450, + "end": 2469, + "loc": { + "start": { + "line": 78, + "column": 45 + }, + "end": { + "line": 78, + "column": 64 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2470, + "end": 2471, + "loc": { + "start": { + "line": 78, + "column": 65 + }, + "end": { + "line": 78, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 2472, + "end": 2485, + "loc": { + "start": { + "line": 78, + "column": 67 + }, + "end": { + "line": 78, + "column": 80 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2486, + "end": 2487, + "loc": { + "start": { + "line": 78, + "column": 81 + }, + "end": { + "line": 78, + "column": 82 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "METHOD_LENGTH_SIZE", + "start": 2488, + "end": 2506, + "loc": { + "start": { + "line": 78, + "column": 83 + }, + "end": { + "line": 78, + "column": 101 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2507, + "end": 2508, + "loc": { + "start": { + "line": 78, + "column": 102 + }, + "end": { + "line": 78, + "column": 103 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 2509, + "end": 2521, + "loc": { + "start": { + "line": 78, + "column": 104 + }, + "end": { + "line": 78, + "column": 116 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2522, + "end": 2523, + "loc": { + "start": { + "line": 78, + "column": 117 + }, + "end": { + "line": 78, + "column": 118 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TRACING_LENGTH_SIZE", + "start": 2524, + "end": 2543, + "loc": { + "start": { + "line": 78, + "column": 119 + }, + "end": { + "line": 78, + "column": 138 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2544, + "end": 2545, + "loc": { + "start": { + "line": 78, + "column": 139 + }, + "end": { + "line": 78, + "column": 140 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingLength", + "start": 2546, + "end": 2559, + "loc": { + "start": { + "line": 78, + "column": 141 + }, + "end": { + "line": 78, + "column": 154 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2560, + "end": 2561, + "loc": { + "start": { + "line": 78, + "column": 155 + }, + "end": { + "line": 78, + "column": 156 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadataLength", + "start": 2562, + "end": 2576, + "loc": { + "start": { + "line": 78, + "column": 157 + }, + "end": { + "line": 78, + "column": 171 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2576, + "end": 2577, + "loc": { + "start": { + "line": 78, + "column": 171 + }, + "end": { + "line": 78, + "column": 172 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2577, + "end": 2578, + "loc": { + "start": { + "line": 78, + "column": 172 + }, + "end": { + "line": 78, + "column": 173 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2582, + "end": 2585, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2586, + "end": 2592, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2593, + "end": 2594, + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2595, + "end": 2601, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2601, + "end": 2602, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeUInt16BE", + "start": 2602, + "end": 2615, + "loc": { + "start": { + "line": 80, + "column": 22 + }, + "end": { + "line": 80, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2615, + "end": 2616, + "loc": { + "start": { + "line": 80, + "column": 35 + }, + "end": { + "line": 80, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VERSION", + "start": 2616, + "end": 2623, + "loc": { + "start": { + "line": 80, + "column": 36 + }, + "end": { + "line": 80, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2623, + "end": 2624, + "loc": { + "start": { + "line": 80, + "column": 43 + }, + "end": { + "line": 80, + "column": 44 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2625, + "end": 2626, + "loc": { + "start": { + "line": 80, + "column": 45 + }, + "end": { + "line": 80, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2626, + "end": 2627, + "loc": { + "start": { + "line": 80, + "column": 46 + }, + "end": { + "line": 80, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2627, + "end": 2628, + "loc": { + "start": { + "line": 80, + "column": 47 + }, + "end": { + "line": 80, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2632, + "end": 2638, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2639, + "end": 2640, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2641, + "end": 2647, + "loc": { + "start": { + "line": 82, + "column": 11 + }, + "end": { + "line": 82, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2647, + "end": 2648, + "loc": { + "start": { + "line": 82, + "column": 17 + }, + "end": { + "line": 82, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeUInt16BE", + "start": 2648, + "end": 2661, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2661, + "end": 2662, + "loc": { + "start": { + "line": 82, + "column": 31 + }, + "end": { + "line": 82, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 2662, + "end": 2675, + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2675, + "end": 2676, + "loc": { + "start": { + "line": 82, + "column": 45 + }, + "end": { + "line": 82, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2677, + "end": 2683, + "loc": { + "start": { + "line": 82, + "column": 47 + }, + "end": { + "line": 82, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2683, + "end": 2684, + "loc": { + "start": { + "line": 82, + "column": 53 + }, + "end": { + "line": 82, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2684, + "end": 2685, + "loc": { + "start": { + "line": 82, + "column": 54 + }, + "end": { + "line": 82, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2688, + "end": 2694, + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2695, + "end": 2696, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 2697, + "end": 2708, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2708, + "end": 2709, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 2709, + "end": 2715, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2715, + "end": 2716, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 2716, + "end": 2723, + "loc": { + "start": { + "line": 83, + "column": 30 + }, + "end": { + "line": 83, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2723, + "end": 2724, + "loc": { + "start": { + "line": 83, + "column": 37 + }, + "end": { + "line": 83, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2725, + "end": 2731, + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2731, + "end": 2732, + "loc": { + "start": { + "line": 83, + "column": 45 + }, + "end": { + "line": 83, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2733, + "end": 2739, + "loc": { + "start": { + "line": 83, + "column": 47 + }, + "end": { + "line": 83, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2739, + "end": 2740, + "loc": { + "start": { + "line": 83, + "column": 53 + }, + "end": { + "line": 83, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2741, + "end": 2747, + "loc": { + "start": { + "line": 83, + "column": 55 + }, + "end": { + "line": 83, + "column": 61 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2748, + "end": 2749, + "loc": { + "start": { + "line": 83, + "column": 62 + }, + "end": { + "line": 83, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 2750, + "end": 2763, + "loc": { + "start": { + "line": 83, + "column": 64 + }, + "end": { + "line": 83, + "column": 77 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2763, + "end": 2764, + "loc": { + "start": { + "line": 83, + "column": 77 + }, + "end": { + "line": 83, + "column": 78 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2764, + "end": 2765, + "loc": { + "start": { + "line": 83, + "column": 78 + }, + "end": { + "line": 83, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2769, + "end": 2775, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2776, + "end": 2777, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2778, + "end": 2784, + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2784, + "end": 2785, + "loc": { + "start": { + "line": 85, + "column": 17 + }, + "end": { + "line": 85, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeUInt16BE", + "start": 2785, + "end": 2798, + "loc": { + "start": { + "line": 85, + "column": 18 + }, + "end": { + "line": 85, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2798, + "end": 2799, + "loc": { + "start": { + "line": 85, + "column": 31 + }, + "end": { + "line": 85, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 2799, + "end": 2811, + "loc": { + "start": { + "line": 85, + "column": 32 + }, + "end": { + "line": 85, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2811, + "end": 2812, + "loc": { + "start": { + "line": 85, + "column": 44 + }, + "end": { + "line": 85, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2813, + "end": 2819, + "loc": { + "start": { + "line": 85, + "column": 46 + }, + "end": { + "line": 85, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2819, + "end": 2820, + "loc": { + "start": { + "line": 85, + "column": 52 + }, + "end": { + "line": 85, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2820, + "end": 2821, + "loc": { + "start": { + "line": 85, + "column": 53 + }, + "end": { + "line": 85, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2824, + "end": 2830, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2831, + "end": 2832, + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 2833, + "end": 2844, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2844, + "end": 2845, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 2845, + "end": 2851, + "loc": { + "start": { + "line": 86, + "column": 23 + }, + "end": { + "line": 86, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2851, + "end": 2852, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 2852, + "end": 2858, + "loc": { + "start": { + "line": 86, + "column": 30 + }, + "end": { + "line": 86, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2858, + "end": 2859, + "loc": { + "start": { + "line": 86, + "column": 36 + }, + "end": { + "line": 86, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2860, + "end": 2866, + "loc": { + "start": { + "line": 86, + "column": 38 + }, + "end": { + "line": 86, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2866, + "end": 2867, + "loc": { + "start": { + "line": 86, + "column": 44 + }, + "end": { + "line": 86, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2868, + "end": 2874, + "loc": { + "start": { + "line": 86, + "column": 46 + }, + "end": { + "line": 86, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2874, + "end": 2875, + "loc": { + "start": { + "line": 86, + "column": 52 + }, + "end": { + "line": 86, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2876, + "end": 2882, + "loc": { + "start": { + "line": 86, + "column": 54 + }, + "end": { + "line": 86, + "column": 60 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2883, + "end": 2884, + "loc": { + "start": { + "line": 86, + "column": 61 + }, + "end": { + "line": 86, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 2885, + "end": 2897, + "loc": { + "start": { + "line": 86, + "column": 63 + }, + "end": { + "line": 86, + "column": 75 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2897, + "end": 2898, + "loc": { + "start": { + "line": 86, + "column": 75 + }, + "end": { + "line": 86, + "column": 76 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2898, + "end": 2899, + "loc": { + "start": { + "line": 86, + "column": 76 + }, + "end": { + "line": 86, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2903, + "end": 2909, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2910, + "end": 2911, + "loc": { + "start": { + "line": 88, + "column": 9 + }, + "end": { + "line": 88, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2912, + "end": 2918, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2918, + "end": 2919, + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeUInt16BE", + "start": 2919, + "end": 2932, + "loc": { + "start": { + "line": 88, + "column": 18 + }, + "end": { + "line": 88, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2932, + "end": 2933, + "loc": { + "start": { + "line": 88, + "column": 31 + }, + "end": { + "line": 88, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingLength", + "start": 2933, + "end": 2946, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 88, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2946, + "end": 2947, + "loc": { + "start": { + "line": 88, + "column": 45 + }, + "end": { + "line": 88, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2948, + "end": 2954, + "loc": { + "start": { + "line": 88, + "column": 47 + }, + "end": { + "line": 88, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2954, + "end": 2955, + "loc": { + "start": { + "line": 88, + "column": 53 + }, + "end": { + "line": 88, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2955, + "end": 2956, + "loc": { + "start": { + "line": 88, + "column": 54 + }, + "end": { + "line": 88, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2959, + "end": 2965, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2966, + "end": 2967, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 2968, + "end": 2981, + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2981, + "end": 2982, + "loc": { + "start": { + "line": 89, + "column": 24 + }, + "end": { + "line": 89, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 2982, + "end": 2988, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2988, + "end": 2989, + "loc": { + "start": { + "line": 89, + "column": 31 + }, + "end": { + "line": 89, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracing", + "start": 2989, + "end": 2996, + "loc": { + "start": { + "line": 89, + "column": 32 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2996, + "end": 2997, + "loc": { + "start": { + "line": 89, + "column": 39 + }, + "end": { + "line": 89, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2998, + "end": 3004, + "loc": { + "start": { + "line": 89, + "column": 41 + }, + "end": { + "line": 89, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3004, + "end": 3005, + "loc": { + "start": { + "line": 89, + "column": 47 + }, + "end": { + "line": 89, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3006, + "end": 3012, + "loc": { + "start": { + "line": 89, + "column": 49 + }, + "end": { + "line": 89, + "column": 55 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3012, + "end": 3013, + "loc": { + "start": { + "line": 89, + "column": 55 + }, + "end": { + "line": 89, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3014, + "end": 3020, + "loc": { + "start": { + "line": 89, + "column": 57 + }, + "end": { + "line": 89, + "column": 63 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3021, + "end": 3022, + "loc": { + "start": { + "line": 89, + "column": 64 + }, + "end": { + "line": 89, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingLength", + "start": 3023, + "end": 3036, + "loc": { + "start": { + "line": 89, + "column": 66 + }, + "end": { + "line": 89, + "column": 79 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3036, + "end": 3037, + "loc": { + "start": { + "line": 89, + "column": 79 + }, + "end": { + "line": 89, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3037, + "end": 3038, + "loc": { + "start": { + "line": 89, + "column": 80 + }, + "end": { + "line": 89, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 3042, + "end": 3055, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 91, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3055, + "end": 3056, + "loc": { + "start": { + "line": 91, + "column": 15 + }, + "end": { + "line": 91, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 3056, + "end": 3062, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3062, + "end": 3063, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 3063, + "end": 3071, + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3071, + "end": 3072, + "loc": { + "start": { + "line": 91, + "column": 31 + }, + "end": { + "line": 91, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3073, + "end": 3079, + "loc": { + "start": { + "line": 91, + "column": 33 + }, + "end": { + "line": 91, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3079, + "end": 3080, + "loc": { + "start": { + "line": 91, + "column": 39 + }, + "end": { + "line": 91, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3081, + "end": 3087, + "loc": { + "start": { + "line": 91, + "column": 41 + }, + "end": { + "line": 91, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3087, + "end": 3088, + "loc": { + "start": { + "line": 91, + "column": 47 + }, + "end": { + "line": 91, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3089, + "end": 3095, + "loc": { + "start": { + "line": 91, + "column": 49 + }, + "end": { + "line": 91, + "column": 55 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3096, + "end": 3097, + "loc": { + "start": { + "line": 91, + "column": 56 + }, + "end": { + "line": 91, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadataLength", + "start": 3098, + "end": 3112, + "loc": { + "start": { + "line": 91, + "column": 58 + }, + "end": { + "line": 91, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3112, + "end": 3113, + "loc": { + "start": { + "line": 91, + "column": 72 + }, + "end": { + "line": 91, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3113, + "end": 3114, + "loc": { + "start": { + "line": 91, + "column": 73 + }, + "end": { + "line": 91, + "column": 74 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3118, + "end": 3124, + "loc": { + "start": { + "line": 93, + "column": 2 + }, + "end": { + "line": 93, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3125, + "end": 3131, + "loc": { + "start": { + "line": 93, + "column": 9 + }, + "end": { + "line": 93, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3131, + "end": 3132, + "loc": { + "start": { + "line": 93, + "column": 15 + }, + "end": { + "line": 93, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3133, + "end": 3134, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 94, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the version number from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the version number\n * @return {number} the version number\n ", + "start": 3136, + "end": 3309, + "loc": { + "start": { + "line": 96, + "column": 0 + }, + "end": { + "line": 101, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 3310, + "end": 3316, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3317, + "end": 3325, + "loc": { + "start": { + "line": 102, + "column": 7 + }, + "end": { + "line": 102, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getVersion", + "start": 3326, + "end": 3336, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3336, + "end": 3337, + "loc": { + "start": { + "line": 102, + "column": 26 + }, + "end": { + "line": 102, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3337, + "end": 3343, + "loc": { + "start": { + "line": 102, + "column": 27 + }, + "end": { + "line": 102, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3343, + "end": 3344, + "loc": { + "start": { + "line": 102, + "column": 33 + }, + "end": { + "line": 102, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3345, + "end": 3346, + "loc": { + "start": { + "line": 102, + "column": 35 + }, + "end": { + "line": 102, + "column": 36 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3349, + "end": 3355, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3356, + "end": 3362, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3362, + "end": 3363, + "loc": { + "start": { + "line": 103, + "column": 15 + }, + "end": { + "line": 103, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 3363, + "end": 3375, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3375, + "end": 3376, + "loc": { + "start": { + "line": 103, + "column": 28 + }, + "end": { + "line": 103, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3376, + "end": 3377, + "loc": { + "start": { + "line": 103, + "column": 29 + }, + "end": { + "line": 103, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3377, + "end": 3378, + "loc": { + "start": { + "line": 103, + "column": 30 + }, + "end": { + "line": 103, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3378, + "end": 3379, + "loc": { + "start": { + "line": 103, + "column": 31 + }, + "end": { + "line": 103, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3380, + "end": 3381, + "loc": { + "start": { + "line": 104, + "column": 0 + }, + "end": { + "line": 104, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the service name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the service name\n * @return {string} the service name\n ", + "start": 3383, + "end": 3550, + "loc": { + "start": { + "line": 106, + "column": 0 + }, + "end": { + "line": 111, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 3551, + "end": 3557, + "loc": { + "start": { + "line": 112, + "column": 0 + }, + "end": { + "line": 112, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3558, + "end": 3566, + "loc": { + "start": { + "line": 112, + "column": 7 + }, + "end": { + "line": 112, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 3567, + "end": 3577, + "loc": { + "start": { + "line": 112, + "column": 16 + }, + "end": { + "line": 112, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3577, + "end": 3578, + "loc": { + "start": { + "line": 112, + "column": 26 + }, + "end": { + "line": 112, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3578, + "end": 3584, + "loc": { + "start": { + "line": 112, + "column": 27 + }, + "end": { + "line": 112, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3584, + "end": 3585, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3586, + "end": 3587, + "loc": { + "start": { + "line": 112, + "column": 35 + }, + "end": { + "line": 112, + "column": 36 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 3590, + "end": 3593, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 113, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3594, + "end": 3600, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3601, + "end": 3602, + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VERSION_SIZE", + "start": 3603, + "end": 3615, + "loc": { + "start": { + "line": 113, + "column": 15 + }, + "end": { + "line": 113, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3615, + "end": 3616, + "loc": { + "start": { + "line": 113, + "column": 27 + }, + "end": { + "line": 113, + "column": 28 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3620, + "end": 3625, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 3626, + "end": 3639, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3640, + "end": 3641, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3642, + "end": 3648, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3648, + "end": 3649, + "loc": { + "start": { + "line": 115, + "column": 30 + }, + "end": { + "line": 115, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 3649, + "end": 3661, + "loc": { + "start": { + "line": 115, + "column": 31 + }, + "end": { + "line": 115, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3661, + "end": 3662, + "loc": { + "start": { + "line": 115, + "column": 43 + }, + "end": { + "line": 115, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3662, + "end": 3668, + "loc": { + "start": { + "line": 115, + "column": 44 + }, + "end": { + "line": 115, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3668, + "end": 3669, + "loc": { + "start": { + "line": 115, + "column": 50 + }, + "end": { + "line": 115, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3669, + "end": 3670, + "loc": { + "start": { + "line": 115, + "column": 51 + }, + "end": { + "line": 115, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3673, + "end": 3679, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 3680, + "end": 3682, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SERVICE_LENGTH_SIZE", + "start": 3683, + "end": 3702, + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3702, + "end": 3703, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 32 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3707, + "end": 3713, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 118, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 3714, + "end": 3725, + "loc": { + "start": { + "line": 118, + "column": 9 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3725, + "end": 3726, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decode", + "start": 3726, + "end": 3732, + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3732, + "end": 3733, + "loc": { + "start": { + "line": 118, + "column": 27 + }, + "end": { + "line": 118, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3733, + "end": 3739, + "loc": { + "start": { + "line": 118, + "column": 28 + }, + "end": { + "line": 118, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3739, + "end": 3740, + "loc": { + "start": { + "line": 118, + "column": 34 + }, + "end": { + "line": 118, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3741, + "end": 3747, + "loc": { + "start": { + "line": 118, + "column": 36 + }, + "end": { + "line": 118, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3747, + "end": 3748, + "loc": { + "start": { + "line": 118, + "column": 42 + }, + "end": { + "line": 118, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3749, + "end": 3755, + "loc": { + "start": { + "line": 118, + "column": 44 + }, + "end": { + "line": 118, + "column": 50 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3756, + "end": 3757, + "loc": { + "start": { + "line": 118, + "column": 51 + }, + "end": { + "line": 118, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 3758, + "end": 3771, + "loc": { + "start": { + "line": 118, + "column": 53 + }, + "end": { + "line": 118, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3771, + "end": 3772, + "loc": { + "start": { + "line": 118, + "column": 66 + }, + "end": { + "line": 118, + "column": 67 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3772, + "end": 3773, + "loc": { + "start": { + "line": 118, + "column": 67 + }, + "end": { + "line": 118, + "column": 68 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3774, + "end": 3775, + "loc": { + "start": { + "line": 119, + "column": 0 + }, + "end": { + "line": 119, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the method name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the method name\n * @return {string} the method name\n ", + "start": 3777, + "end": 3941, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 3942, + "end": 3948, + "loc": { + "start": { + "line": 127, + "column": 0 + }, + "end": { + "line": 127, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3949, + "end": 3957, + "loc": { + "start": { + "line": 127, + "column": 7 + }, + "end": { + "line": 127, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMethod", + "start": 3958, + "end": 3967, + "loc": { + "start": { + "line": 127, + "column": 16 + }, + "end": { + "line": 127, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3967, + "end": 3968, + "loc": { + "start": { + "line": 127, + "column": 25 + }, + "end": { + "line": 127, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3968, + "end": 3974, + "loc": { + "start": { + "line": 127, + "column": 26 + }, + "end": { + "line": 127, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3974, + "end": 3975, + "loc": { + "start": { + "line": 127, + "column": 32 + }, + "end": { + "line": 127, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3976, + "end": 3977, + "loc": { + "start": { + "line": 127, + "column": 34 + }, + "end": { + "line": 127, + "column": 35 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 3980, + "end": 3983, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3984, + "end": 3990, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3991, + "end": 3992, + "loc": { + "start": { + "line": 128, + "column": 13 + }, + "end": { + "line": 128, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VERSION_SIZE", + "start": 3993, + "end": 4005, + "loc": { + "start": { + "line": 128, + "column": 15 + }, + "end": { + "line": 128, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4005, + "end": 4006, + "loc": { + "start": { + "line": 128, + "column": 27 + }, + "end": { + "line": 128, + "column": 28 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4010, + "end": 4015, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 4016, + "end": 4029, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4030, + "end": 4031, + "loc": { + "start": { + "line": 130, + "column": 22 + }, + "end": { + "line": 130, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 4032, + "end": 4038, + "loc": { + "start": { + "line": 130, + "column": 24 + }, + "end": { + "line": 130, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4038, + "end": 4039, + "loc": { + "start": { + "line": 130, + "column": 30 + }, + "end": { + "line": 130, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 4039, + "end": 4051, + "loc": { + "start": { + "line": 130, + "column": 31 + }, + "end": { + "line": 130, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4051, + "end": 4052, + "loc": { + "start": { + "line": 130, + "column": 43 + }, + "end": { + "line": 130, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4052, + "end": 4058, + "loc": { + "start": { + "line": 130, + "column": 44 + }, + "end": { + "line": 130, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4058, + "end": 4059, + "loc": { + "start": { + "line": 130, + "column": 50 + }, + "end": { + "line": 130, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4059, + "end": 4060, + "loc": { + "start": { + "line": 130, + "column": 51 + }, + "end": { + "line": 130, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4063, + "end": 4069, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 131, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 4070, + "end": 4072, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SERVICE_LENGTH_SIZE", + "start": 4073, + "end": 4092, + "loc": { + "start": { + "line": 131, + "column": 12 + }, + "end": { + "line": 131, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4093, + "end": 4094, + "loc": { + "start": { + "line": 131, + "column": 32 + }, + "end": { + "line": 131, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 4095, + "end": 4108, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4108, + "end": 4109, + "loc": { + "start": { + "line": 131, + "column": 47 + }, + "end": { + "line": 131, + "column": 48 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4113, + "end": 4118, + "loc": { + "start": { + "line": 133, + "column": 2 + }, + "end": { + "line": 133, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 4119, + "end": 4131, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4132, + "end": 4133, + "loc": { + "start": { + "line": 133, + "column": 21 + }, + "end": { + "line": 133, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 4134, + "end": 4140, + "loc": { + "start": { + "line": 133, + "column": 23 + }, + "end": { + "line": 133, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4140, + "end": 4141, + "loc": { + "start": { + "line": 133, + "column": 29 + }, + "end": { + "line": 133, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 4141, + "end": 4153, + "loc": { + "start": { + "line": 133, + "column": 30 + }, + "end": { + "line": 133, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4153, + "end": 4154, + "loc": { + "start": { + "line": 133, + "column": 42 + }, + "end": { + "line": 133, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4154, + "end": 4160, + "loc": { + "start": { + "line": 133, + "column": 43 + }, + "end": { + "line": 133, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4160, + "end": 4161, + "loc": { + "start": { + "line": 133, + "column": 49 + }, + "end": { + "line": 133, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4161, + "end": 4162, + "loc": { + "start": { + "line": 133, + "column": 50 + }, + "end": { + "line": 133, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4165, + "end": 4171, + "loc": { + "start": { + "line": 134, + "column": 2 + }, + "end": { + "line": 134, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 4172, + "end": 4174, + "loc": { + "start": { + "line": 134, + "column": 9 + }, + "end": { + "line": 134, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "METHOD_LENGTH_SIZE", + "start": 4175, + "end": 4193, + "loc": { + "start": { + "line": 134, + "column": 12 + }, + "end": { + "line": 134, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4193, + "end": 4194, + "loc": { + "start": { + "line": 134, + "column": 30 + }, + "end": { + "line": 134, + "column": 31 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4198, + "end": 4204, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 4205, + "end": 4216, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4216, + "end": 4217, + "loc": { + "start": { + "line": 136, + "column": 20 + }, + "end": { + "line": 136, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decode", + "start": 4217, + "end": 4223, + "loc": { + "start": { + "line": 136, + "column": 21 + }, + "end": { + "line": 136, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4223, + "end": 4224, + "loc": { + "start": { + "line": 136, + "column": 27 + }, + "end": { + "line": 136, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 4224, + "end": 4230, + "loc": { + "start": { + "line": 136, + "column": 28 + }, + "end": { + "line": 136, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4230, + "end": 4231, + "loc": { + "start": { + "line": 136, + "column": 34 + }, + "end": { + "line": 136, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4232, + "end": 4238, + "loc": { + "start": { + "line": 136, + "column": 36 + }, + "end": { + "line": 136, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4238, + "end": 4239, + "loc": { + "start": { + "line": 136, + "column": 42 + }, + "end": { + "line": 136, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4240, + "end": 4246, + "loc": { + "start": { + "line": 136, + "column": 44 + }, + "end": { + "line": 136, + "column": 50 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4247, + "end": 4248, + "loc": { + "start": { + "line": 136, + "column": 51 + }, + "end": { + "line": 136, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 4249, + "end": 4261, + "loc": { + "start": { + "line": 136, + "column": 53 + }, + "end": { + "line": 136, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4261, + "end": 4262, + "loc": { + "start": { + "line": 136, + "column": 65 + }, + "end": { + "line": 136, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4262, + "end": 4263, + "loc": { + "start": { + "line": 136, + "column": 66 + }, + "end": { + "line": 136, + "column": 67 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4264, + "end": 4265, + "loc": { + "start": { + "line": 137, + "column": 0 + }, + "end": { + "line": 137, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the tracing information from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains tracing information\n * @return {Buffer} the tracing information\n ", + "start": 4267, + "end": 4451, + "loc": { + "start": { + "line": 139, + "column": 0 + }, + "end": { + "line": 144, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 4452, + "end": 4458, + "loc": { + "start": { + "line": 145, + "column": 0 + }, + "end": { + "line": 145, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 4459, + "end": 4467, + "loc": { + "start": { + "line": 145, + "column": 7 + }, + "end": { + "line": 145, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTracing", + "start": 4468, + "end": 4478, + "loc": { + "start": { + "line": 145, + "column": 16 + }, + "end": { + "line": 145, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4478, + "end": 4479, + "loc": { + "start": { + "line": 145, + "column": 26 + }, + "end": { + "line": 145, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 4479, + "end": 4485, + "loc": { + "start": { + "line": 145, + "column": 27 + }, + "end": { + "line": 145, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4485, + "end": 4486, + "loc": { + "start": { + "line": 145, + "column": 33 + }, + "end": { + "line": 145, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4487, + "end": 4488, + "loc": { + "start": { + "line": 145, + "column": 35 + }, + "end": { + "line": 145, + "column": 36 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 4491, + "end": 4494, + "loc": { + "start": { + "line": 146, + "column": 2 + }, + "end": { + "line": 146, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4495, + "end": 4501, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4502, + "end": 4503, + "loc": { + "start": { + "line": 146, + "column": 13 + }, + "end": { + "line": 146, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VERSION_SIZE", + "start": 4504, + "end": 4516, + "loc": { + "start": { + "line": 146, + "column": 15 + }, + "end": { + "line": 146, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4516, + "end": 4517, + "loc": { + "start": { + "line": 146, + "column": 27 + }, + "end": { + "line": 146, + "column": 28 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4521, + "end": 4526, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 4527, + "end": 4540, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4541, + "end": 4542, + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 4543, + "end": 4549, + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 148, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4549, + "end": 4550, + "loc": { + "start": { + "line": 148, + "column": 30 + }, + "end": { + "line": 148, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 4550, + "end": 4562, + "loc": { + "start": { + "line": 148, + "column": 31 + }, + "end": { + "line": 148, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4562, + "end": 4563, + "loc": { + "start": { + "line": 148, + "column": 43 + }, + "end": { + "line": 148, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4563, + "end": 4569, + "loc": { + "start": { + "line": 148, + "column": 44 + }, + "end": { + "line": 148, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4569, + "end": 4570, + "loc": { + "start": { + "line": 148, + "column": 50 + }, + "end": { + "line": 148, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4570, + "end": 4571, + "loc": { + "start": { + "line": 148, + "column": 51 + }, + "end": { + "line": 148, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4574, + "end": 4580, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 149, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 4581, + "end": 4583, + "loc": { + "start": { + "line": 149, + "column": 9 + }, + "end": { + "line": 149, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SERVICE_LENGTH_SIZE", + "start": 4584, + "end": 4603, + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4604, + "end": 4605, + "loc": { + "start": { + "line": 149, + "column": 32 + }, + "end": { + "line": 149, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 4606, + "end": 4619, + "loc": { + "start": { + "line": 149, + "column": 34 + }, + "end": { + "line": 149, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4619, + "end": 4620, + "loc": { + "start": { + "line": 149, + "column": 47 + }, + "end": { + "line": 149, + "column": 48 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4624, + "end": 4629, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 151, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 4630, + "end": 4642, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4643, + "end": 4644, + "loc": { + "start": { + "line": 151, + "column": 21 + }, + "end": { + "line": 151, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 4645, + "end": 4651, + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4651, + "end": 4652, + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 151, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 4652, + "end": 4664, + "loc": { + "start": { + "line": 151, + "column": 30 + }, + "end": { + "line": 151, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4664, + "end": 4665, + "loc": { + "start": { + "line": 151, + "column": 42 + }, + "end": { + "line": 151, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4665, + "end": 4671, + "loc": { + "start": { + "line": 151, + "column": 43 + }, + "end": { + "line": 151, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4671, + "end": 4672, + "loc": { + "start": { + "line": 151, + "column": 49 + }, + "end": { + "line": 151, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4672, + "end": 4673, + "loc": { + "start": { + "line": 151, + "column": 50 + }, + "end": { + "line": 151, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4676, + "end": 4682, + "loc": { + "start": { + "line": 152, + "column": 2 + }, + "end": { + "line": 152, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 4683, + "end": 4685, + "loc": { + "start": { + "line": 152, + "column": 9 + }, + "end": { + "line": 152, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "METHOD_LENGTH_SIZE", + "start": 4686, + "end": 4704, + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 30 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4705, + "end": 4706, + "loc": { + "start": { + "line": 152, + "column": 31 + }, + "end": { + "line": 152, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 4707, + "end": 4719, + "loc": { + "start": { + "line": 152, + "column": 33 + }, + "end": { + "line": 152, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4719, + "end": 4720, + "loc": { + "start": { + "line": 152, + "column": 45 + }, + "end": { + "line": 152, + "column": 46 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4724, + "end": 4729, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 154, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingLength", + "start": 4730, + "end": 4743, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4744, + "end": 4745, + "loc": { + "start": { + "line": 154, + "column": 22 + }, + "end": { + "line": 154, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 4746, + "end": 4752, + "loc": { + "start": { + "line": 154, + "column": 24 + }, + "end": { + "line": 154, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4752, + "end": 4753, + "loc": { + "start": { + "line": 154, + "column": 30 + }, + "end": { + "line": 154, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 4753, + "end": 4765, + "loc": { + "start": { + "line": 154, + "column": 31 + }, + "end": { + "line": 154, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4765, + "end": 4766, + "loc": { + "start": { + "line": 154, + "column": 43 + }, + "end": { + "line": 154, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4766, + "end": 4772, + "loc": { + "start": { + "line": 154, + "column": 44 + }, + "end": { + "line": 154, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4772, + "end": 4773, + "loc": { + "start": { + "line": 154, + "column": 50 + }, + "end": { + "line": 154, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4773, + "end": 4774, + "loc": { + "start": { + "line": 154, + "column": 51 + }, + "end": { + "line": 154, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4777, + "end": 4783, + "loc": { + "start": { + "line": 155, + "column": 2 + }, + "end": { + "line": 155, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 4784, + "end": 4786, + "loc": { + "start": { + "line": 155, + "column": 9 + }, + "end": { + "line": 155, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TRACING_LENGTH_SIZE", + "start": 4787, + "end": 4806, + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4806, + "end": 4807, + "loc": { + "start": { + "line": 155, + "column": 31 + }, + "end": { + "line": 155, + "column": 32 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4811, + "end": 4817, + "loc": { + "start": { + "line": 157, + "column": 2 + }, + "end": { + "line": 157, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 4818, + "end": 4831, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 157, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4831, + "end": 4832, + "loc": { + "start": { + "line": 157, + "column": 22 + }, + "end": { + "line": 157, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decode", + "start": 4832, + "end": 4838, + "loc": { + "start": { + "line": 157, + "column": 23 + }, + "end": { + "line": 157, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4838, + "end": 4839, + "loc": { + "start": { + "line": 157, + "column": 29 + }, + "end": { + "line": 157, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 4839, + "end": 4845, + "loc": { + "start": { + "line": 157, + "column": 30 + }, + "end": { + "line": 157, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4845, + "end": 4846, + "loc": { + "start": { + "line": 157, + "column": 36 + }, + "end": { + "line": 157, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4847, + "end": 4853, + "loc": { + "start": { + "line": 157, + "column": 38 + }, + "end": { + "line": 157, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4853, + "end": 4854, + "loc": { + "start": { + "line": 157, + "column": 44 + }, + "end": { + "line": 157, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 4855, + "end": 4861, + "loc": { + "start": { + "line": 157, + "column": 46 + }, + "end": { + "line": 157, + "column": 52 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4862, + "end": 4863, + "loc": { + "start": { + "line": 157, + "column": 53 + }, + "end": { + "line": 157, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingLength", + "start": 4864, + "end": 4877, + "loc": { + "start": { + "line": 157, + "column": 55 + }, + "end": { + "line": 157, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4877, + "end": 4878, + "loc": { + "start": { + "line": 157, + "column": 68 + }, + "end": { + "line": 157, + "column": 69 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4878, + "end": 4879, + "loc": { + "start": { + "line": 157, + "column": 69 + }, + "end": { + "line": 157, + "column": 70 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4880, + "end": 4881, + "loc": { + "start": { + "line": 158, + "column": 0 + }, + "end": { + "line": 158, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the metadata field from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer\n * @return {Buffer} the metadata field\n ", + "start": 4883, + "end": 5023, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 165, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 5024, + "end": 5030, + "loc": { + "start": { + "line": 166, + "column": 0 + }, + "end": { + "line": 166, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 5031, + "end": 5039, + "loc": { + "start": { + "line": 166, + "column": 7 + }, + "end": { + "line": 166, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMetadata", + "start": 5040, + "end": 5051, + "loc": { + "start": { + "line": 166, + "column": 16 + }, + "end": { + "line": 166, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5051, + "end": 5052, + "loc": { + "start": { + "line": 166, + "column": 27 + }, + "end": { + "line": 166, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 5052, + "end": 5058, + "loc": { + "start": { + "line": 166, + "column": 28 + }, + "end": { + "line": 166, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5058, + "end": 5059, + "loc": { + "start": { + "line": 166, + "column": 34 + }, + "end": { + "line": 166, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5060, + "end": 5061, + "loc": { + "start": { + "line": 166, + "column": 36 + }, + "end": { + "line": 166, + "column": 37 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 5064, + "end": 5067, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 167, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 5068, + "end": 5074, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5075, + "end": 5076, + "loc": { + "start": { + "line": 167, + "column": 13 + }, + "end": { + "line": 167, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VERSION_SIZE", + "start": 5077, + "end": 5089, + "loc": { + "start": { + "line": 167, + "column": 15 + }, + "end": { + "line": 167, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5089, + "end": 5090, + "loc": { + "start": { + "line": 167, + "column": 27 + }, + "end": { + "line": 167, + "column": 28 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5094, + "end": 5099, + "loc": { + "start": { + "line": 169, + "column": 2 + }, + "end": { + "line": 169, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 5100, + "end": 5113, + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5114, + "end": 5115, + "loc": { + "start": { + "line": 169, + "column": 22 + }, + "end": { + "line": 169, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 5116, + "end": 5122, + "loc": { + "start": { + "line": 169, + "column": 24 + }, + "end": { + "line": 169, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5122, + "end": 5123, + "loc": { + "start": { + "line": 169, + "column": 30 + }, + "end": { + "line": 169, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 5123, + "end": 5135, + "loc": { + "start": { + "line": 169, + "column": 31 + }, + "end": { + "line": 169, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5135, + "end": 5136, + "loc": { + "start": { + "line": 169, + "column": 43 + }, + "end": { + "line": 169, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 5136, + "end": 5142, + "loc": { + "start": { + "line": 169, + "column": 44 + }, + "end": { + "line": 169, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5142, + "end": 5143, + "loc": { + "start": { + "line": 169, + "column": 50 + }, + "end": { + "line": 169, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5143, + "end": 5144, + "loc": { + "start": { + "line": 169, + "column": 51 + }, + "end": { + "line": 169, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 5147, + "end": 5153, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 170, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 5154, + "end": 5156, + "loc": { + "start": { + "line": 170, + "column": 9 + }, + "end": { + "line": 170, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SERVICE_LENGTH_SIZE", + "start": 5157, + "end": 5176, + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5177, + "end": 5178, + "loc": { + "start": { + "line": 170, + "column": 32 + }, + "end": { + "line": 170, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serviceLength", + "start": 5179, + "end": 5192, + "loc": { + "start": { + "line": 170, + "column": 34 + }, + "end": { + "line": 170, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5192, + "end": 5193, + "loc": { + "start": { + "line": 170, + "column": 47 + }, + "end": { + "line": 170, + "column": 48 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5197, + "end": 5202, + "loc": { + "start": { + "line": 172, + "column": 2 + }, + "end": { + "line": 172, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 5203, + "end": 5215, + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5216, + "end": 5217, + "loc": { + "start": { + "line": 172, + "column": 21 + }, + "end": { + "line": 172, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 5218, + "end": 5224, + "loc": { + "start": { + "line": 172, + "column": 23 + }, + "end": { + "line": 172, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5224, + "end": 5225, + "loc": { + "start": { + "line": 172, + "column": 29 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 5225, + "end": 5237, + "loc": { + "start": { + "line": 172, + "column": 30 + }, + "end": { + "line": 172, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5237, + "end": 5238, + "loc": { + "start": { + "line": 172, + "column": 42 + }, + "end": { + "line": 172, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 5238, + "end": 5244, + "loc": { + "start": { + "line": 172, + "column": 43 + }, + "end": { + "line": 172, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5244, + "end": 5245, + "loc": { + "start": { + "line": 172, + "column": 49 + }, + "end": { + "line": 172, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5245, + "end": 5246, + "loc": { + "start": { + "line": 172, + "column": 50 + }, + "end": { + "line": 172, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 5249, + "end": 5255, + "loc": { + "start": { + "line": 173, + "column": 2 + }, + "end": { + "line": 173, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 5256, + "end": 5258, + "loc": { + "start": { + "line": 173, + "column": 9 + }, + "end": { + "line": 173, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "METHOD_LENGTH_SIZE", + "start": 5259, + "end": 5277, + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 30 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5278, + "end": 5279, + "loc": { + "start": { + "line": 173, + "column": 31 + }, + "end": { + "line": 173, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "methodLength", + "start": 5280, + "end": 5292, + "loc": { + "start": { + "line": 173, + "column": 33 + }, + "end": { + "line": 173, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5292, + "end": 5293, + "loc": { + "start": { + "line": 173, + "column": 45 + }, + "end": { + "line": 173, + "column": 46 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5297, + "end": 5302, + "loc": { + "start": { + "line": 175, + "column": 2 + }, + "end": { + "line": 175, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingLength", + "start": 5303, + "end": 5316, + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5317, + "end": 5318, + "loc": { + "start": { + "line": 175, + "column": 22 + }, + "end": { + "line": 175, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 5319, + "end": 5325, + "loc": { + "start": { + "line": 175, + "column": 24 + }, + "end": { + "line": 175, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5325, + "end": 5326, + "loc": { + "start": { + "line": 175, + "column": 30 + }, + "end": { + "line": 175, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 5326, + "end": 5338, + "loc": { + "start": { + "line": 175, + "column": 31 + }, + "end": { + "line": 175, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5338, + "end": 5339, + "loc": { + "start": { + "line": 175, + "column": 43 + }, + "end": { + "line": 175, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 5339, + "end": 5345, + "loc": { + "start": { + "line": 175, + "column": 44 + }, + "end": { + "line": 175, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5345, + "end": 5346, + "loc": { + "start": { + "line": 175, + "column": 50 + }, + "end": { + "line": 175, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5346, + "end": 5347, + "loc": { + "start": { + "line": 175, + "column": 51 + }, + "end": { + "line": 175, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 5350, + "end": 5356, + "loc": { + "start": { + "line": 176, + "column": 2 + }, + "end": { + "line": 176, + "column": 8 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 5357, + "end": 5359, + "loc": { + "start": { + "line": 176, + "column": 9 + }, + "end": { + "line": 176, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TRACING_LENGTH_SIZE", + "start": 5360, + "end": 5379, + "loc": { + "start": { + "line": 176, + "column": 12 + }, + "end": { + "line": 176, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5380, + "end": 5381, + "loc": { + "start": { + "line": 176, + "column": 32 + }, + "end": { + "line": 176, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingLength", + "start": 5382, + "end": 5395, + "loc": { + "start": { + "line": 176, + "column": 34 + }, + "end": { + "line": 176, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5395, + "end": 5396, + "loc": { + "start": { + "line": 176, + "column": 47 + }, + "end": { + "line": 176, + "column": 48 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5400, + "end": 5406, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 178, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 5407, + "end": 5420, + "loc": { + "start": { + "line": 178, + "column": 9 + }, + "end": { + "line": 178, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5420, + "end": 5421, + "loc": { + "start": { + "line": 178, + "column": 22 + }, + "end": { + "line": 178, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decode", + "start": 5421, + "end": 5427, + "loc": { + "start": { + "line": 178, + "column": 23 + }, + "end": { + "line": 178, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5427, + "end": 5428, + "loc": { + "start": { + "line": 178, + "column": 29 + }, + "end": { + "line": 178, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 5428, + "end": 5434, + "loc": { + "start": { + "line": 178, + "column": 30 + }, + "end": { + "line": 178, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5434, + "end": 5435, + "loc": { + "start": { + "line": 178, + "column": 36 + }, + "end": { + "line": 178, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 5436, + "end": 5442, + "loc": { + "start": { + "line": 178, + "column": 38 + }, + "end": { + "line": 178, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5442, + "end": 5443, + "loc": { + "start": { + "line": 178, + "column": 44 + }, + "end": { + "line": 178, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 5444, + "end": 5450, + "loc": { + "start": { + "line": 178, + "column": 46 + }, + "end": { + "line": 178, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5450, + "end": 5451, + "loc": { + "start": { + "line": 178, + "column": 52 + }, + "end": { + "line": 178, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 5451, + "end": 5457, + "loc": { + "start": { + "line": 178, + "column": 53 + }, + "end": { + "line": 178, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5457, + "end": 5458, + "loc": { + "start": { + "line": 178, + "column": 59 + }, + "end": { + "line": 178, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5458, + "end": 5459, + "loc": { + "start": { + "line": 178, + "column": 60 + }, + "end": { + "line": 178, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5460, + "end": 5461, + "loc": { + "start": { + "line": 179, + "column": 0 + }, + "end": { + "line": 179, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5461, + "end": 5461, + "loc": { + "start": { + "line": 179, + "column": 1 + }, + "end": { + "line": 179, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/frames/src/__tests__/Metadata-test.js.json b/rsocket-rpc-js/docs/ast/source/frames/src/__tests__/Metadata-test.js.json new file mode 100644 index 0000000..4c649e3 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/frames/src/__tests__/Metadata-test.js.json @@ -0,0 +1,14307 @@ +{ + "type": "File", + "start": 0, + "end": 1815, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1815, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 34, + "end": 64, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 30 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 43, + "end": 49, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 43, + "end": 49, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 15 + }, + "identifierName": "expect" + }, + "name": "expect", + "leadingComments": null + }, + "local": { + "type": "Identifier", + "start": 43, + "end": 49, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 15 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "leadingComments": null + } + ], + "source": { + "type": "StringLiteral", + "start": 57, + "end": 63, + "loc": { + "start": { + "line": 4, + "column": 23 + }, + "end": { + "line": 4, + "column": 29 + } + }, + "extra": { + "rawValue": "chai", + "raw": "'chai'" + }, + "value": "chai" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metadata-test.js\n ", + "start": 0, + "end": 33, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 65, + "end": 102, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 37 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 74, + "end": 82, + "loc": { + "start": { + "line": 5, + "column": 9 + }, + "end": { + "line": 5, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 74, + "end": 82, + "loc": { + "start": { + "line": 5, + "column": 9 + }, + "end": { + "line": 5, + "column": 17 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "local": { + "type": "Identifier", + "start": 74, + "end": 82, + "loc": { + "start": { + "line": 5, + "column": 9 + }, + "end": { + "line": 5, + "column": 17 + }, + "identifierName": "describe" + }, + "name": "describe" + } + }, + { + "type": "ImportSpecifier", + "start": 84, + "end": 86, + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 21 + } + }, + "imported": { + "type": "Identifier", + "start": 84, + "end": 86, + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 21 + }, + "identifierName": "it" + }, + "name": "it" + }, + "local": { + "type": "Identifier", + "start": 84, + "end": 86, + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 21 + }, + "identifierName": "it" + }, + "name": "it" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 94, + "end": 101, + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 36 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + }, + { + "type": "ImportDeclaration", + "start": 104, + "end": 197, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 93 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 113, + "end": 127, + "loc": { + "start": { + "line": 7, + "column": 9 + }, + "end": { + "line": 7, + "column": 23 + } + }, + "imported": { + "type": "Identifier", + "start": 113, + "end": 127, + "loc": { + "start": { + "line": 7, + "column": 9 + }, + "end": { + "line": 7, + "column": 23 + }, + "identifierName": "encodeMetadata" + }, + "name": "encodeMetadata" + }, + "local": { + "type": "Identifier", + "start": 113, + "end": 127, + "loc": { + "start": { + "line": 7, + "column": 9 + }, + "end": { + "line": 7, + "column": 23 + }, + "identifierName": "encodeMetadata" + }, + "name": "encodeMetadata" + } + }, + { + "type": "ImportSpecifier", + "start": 129, + "end": 139, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 35 + } + }, + "imported": { + "type": "Identifier", + "start": 129, + "end": 139, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 35 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "local": { + "type": "Identifier", + "start": 129, + "end": 139, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 35 + }, + "identifierName": "getService" + }, + "name": "getService" + } + }, + { + "type": "ImportSpecifier", + "start": 141, + "end": 150, + "loc": { + "start": { + "line": 7, + "column": 37 + }, + "end": { + "line": 7, + "column": 46 + } + }, + "imported": { + "type": "Identifier", + "start": 141, + "end": 150, + "loc": { + "start": { + "line": 7, + "column": 37 + }, + "end": { + "line": 7, + "column": 46 + }, + "identifierName": "getMethod" + }, + "name": "getMethod" + }, + "local": { + "type": "Identifier", + "start": 141, + "end": 150, + "loc": { + "start": { + "line": 7, + "column": 37 + }, + "end": { + "line": 7, + "column": 46 + }, + "identifierName": "getMethod" + }, + "name": "getMethod" + } + }, + { + "type": "ImportSpecifier", + "start": 152, + "end": 162, + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 58 + } + }, + "imported": { + "type": "Identifier", + "start": 152, + "end": 162, + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 58 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + }, + "local": { + "type": "Identifier", + "start": 152, + "end": 162, + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 58 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + } + }, + { + "type": "ImportSpecifier", + "start": 164, + "end": 175, + "loc": { + "start": { + "line": 7, + "column": 60 + }, + "end": { + "line": 7, + "column": 71 + } + }, + "imported": { + "type": "Identifier", + "start": 164, + "end": 175, + "loc": { + "start": { + "line": 7, + "column": 60 + }, + "end": { + "line": 7, + "column": 71 + }, + "identifierName": "getMetadata" + }, + "name": "getMetadata" + }, + "local": { + "type": "Identifier", + "start": 164, + "end": 175, + "loc": { + "start": { + "line": 7, + "column": 60 + }, + "end": { + "line": 7, + "column": 71 + }, + "identifierName": "getMetadata" + }, + "name": "getMetadata" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 183, + "end": 196, + "loc": { + "start": { + "line": 7, + "column": 79 + }, + "end": { + "line": 7, + "column": 92 + } + }, + "extra": { + "rawValue": "../Metadata", + "raw": "'../Metadata'" + }, + "value": "../Metadata" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} min - the fewest number of bytes in the array\n * @param {number} max - the array must be smaller than this number in size\n * @return {number[]} an array of between {@link min} and {@link max}−1\n * numbers, each of which is in the range [0,256)\n ", + "start": 199, + "end": 469, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 470, + "end": 632, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 20, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 479, + "end": 490, + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "randomBytes" + }, + "name": "randomBytes", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 491, + "end": 494, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 24 + }, + "identifierName": "min" + }, + "name": "min" + }, + { + "type": "Identifier", + "start": 496, + "end": 499, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 29 + }, + "identifierName": "max" + }, + "name": "max" + } + ], + "body": { + "type": "BlockStatement", + "start": 501, + "end": 632, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 20, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 505, + "end": 562, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 59 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 509, + "end": 561, + "loc": { + "start": { + "line": 16, + "column": 6 + }, + "end": { + "line": 16, + "column": 58 + } + }, + "id": { + "type": "Identifier", + "start": 509, + "end": 513, + "loc": { + "start": { + "line": 16, + "column": 6 + }, + "end": { + "line": 16, + "column": 10 + }, + "identifierName": "size" + }, + "name": "size" + }, + "init": { + "type": "BinaryExpression", + "start": 516, + "end": 561, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 58 + } + }, + "left": { + "type": "CallExpression", + "start": 516, + "end": 555, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 516, + "end": 526, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 516, + "end": 520, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 17 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 521, + "end": 526, + "loc": { + "start": { + "line": 16, + "column": 18 + }, + "end": { + "line": 16, + "column": 23 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 527, + "end": 554, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 51 + } + }, + "left": { + "type": "CallExpression", + "start": 527, + "end": 540, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 527, + "end": 538, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 527, + "end": 531, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 28 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 532, + "end": 538, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 35 + }, + "identifierName": "random" + }, + "name": "random" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "BinaryExpression", + "start": 544, + "end": 553, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 50 + } + }, + "left": { + "type": "Identifier", + "start": 544, + "end": 547, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 44 + }, + "identifierName": "max" + }, + "name": "max" + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 550, + "end": 553, + "loc": { + "start": { + "line": 16, + "column": 47 + }, + "end": { + "line": 16, + "column": 50 + }, + "identifierName": "min" + }, + "name": "min" + }, + "extra": { + "parenthesized": true, + "parenStart": 543 + } + } + } + ] + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 558, + "end": 561, + "loc": { + "start": { + "line": 16, + "column": 55 + }, + "end": { + "line": 16, + "column": 58 + }, + "identifierName": "min" + }, + "name": "min" + } + } + } + ], + "kind": "let" + }, + { + "type": "ReturnStatement", + "start": 565, + "end": 630, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 19, + "column": 5 + } + }, + "argument": { + "type": "CallExpression", + "start": 572, + "end": 629, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 19, + "column": 4 + } + }, + "callee": { + "type": "MemberExpression", + "start": 572, + "end": 591, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 28 + } + }, + "object": { + "type": "NewExpression", + "start": 572, + "end": 587, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 24 + } + }, + "callee": { + "type": "Identifier", + "start": 576, + "end": 581, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 18 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 582, + "end": 586, + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 23 + }, + "identifierName": "size" + }, + "name": "size" + } + ] + }, + "property": { + "type": "Identifier", + "start": 588, + "end": 591, + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 28 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 592, + "end": 628, + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 19, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 598, + "end": 628, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 19, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 604, + "end": 624, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 24 + } + }, + "argument": { + "type": "CallExpression", + "start": 611, + "end": 623, + "loc": { + "start": { + "line": 18, + "column": 11 + }, + "end": { + "line": 18, + "column": 23 + } + }, + "callee": { + "type": "Identifier", + "start": 611, + "end": 621, + "loc": { + "start": { + "line": 18, + "column": 11 + }, + "end": { + "line": 18, + "column": 21 + }, + "identifierName": "randomByte" + }, + "name": "randomByte" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} min - the fewest number of bytes in the array\n * @param {number} max - the array must be smaller than this number in size\n * @return {number[]} an array of between {@link min} and {@link max}−1\n * numbers, each of which is in the range [0,256)\n ", + "start": 199, + "end": 469, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {number} a pseudo-random number between [0,256)\n ", + "start": 634, + "end": 700, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 701, + "end": 768, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 710, + "end": 720, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 19 + }, + "identifierName": "randomByte" + }, + "name": "randomByte", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 723, + "end": 768, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 727, + "end": 766, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 41 + } + }, + "argument": { + "type": "CallExpression", + "start": 734, + "end": 765, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 734, + "end": 744, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 734, + "end": 738, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 13 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 739, + "end": 744, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 19 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 745, + "end": 764, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 39 + } + }, + "left": { + "type": "CallExpression", + "start": 745, + "end": 758, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 745, + "end": 756, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 745, + "end": 749, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 24 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 750, + "end": 756, + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 31 + }, + "identifierName": "random" + }, + "name": "random" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 761, + "end": 764, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 39 + } + }, + "extra": { + "rawValue": 256, + "raw": "256" + }, + "value": 256 + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {number} a pseudo-random number between [0,256)\n ", + "start": 634, + "end": 700, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test\n ", + "start": 770, + "end": 786, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 787, + "end": 1815, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 787, + "end": 1814, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 59, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 787, + "end": 795, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe", + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 796, + "end": 806, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 19 + } + }, + "extra": { + "rawValue": "METADATA", + "raw": "'METADATA'" + }, + "value": "METADATA" + }, + { + "type": "ArrowFunctionExpression", + "start": 808, + "end": 1813, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 59, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 814, + "end": 1813, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 59, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 818, + "end": 1290, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 818, + "end": 1289, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 44, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 818, + "end": 820, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 4 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 821, + "end": 866, + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 50 + } + }, + "extra": { + "rawValue": "serializes/deserializes metadata NO TRACING", + "raw": "'serializes/deserializes metadata NO TRACING'" + }, + "value": "serializes/deserializes metadata NO TRACING" + }, + { + "type": "ArrowFunctionExpression", + "start": 868, + "end": 1288, + "loc": { + "start": { + "line": 33, + "column": 52 + }, + "end": { + "line": 44, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 874, + "end": 1288, + "loc": { + "start": { + "line": 33, + "column": 58 + }, + "end": { + "line": 44, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 880, + "end": 906, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 886, + "end": 905, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 886, + "end": 893, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 17 + }, + "identifierName": "service" + }, + "name": "service" + }, + "init": { + "type": "StringLiteral", + "start": 896, + "end": 905, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 29 + } + }, + "extra": { + "rawValue": "service", + "raw": "'service'" + }, + "value": "service" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 911, + "end": 932, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 917, + "end": 931, + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 917, + "end": 923, + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 16 + }, + "identifierName": "method" + }, + "name": "method" + }, + "init": { + "type": "StringLiteral", + "start": 926, + "end": 931, + "loc": { + "start": { + "line": 35, + "column": 19 + }, + "end": { + "line": 35, + "column": 24 + } + }, + "extra": { + "rawValue": "foo", + "raw": "'foo'" + }, + "value": "foo" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 937, + "end": 986, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 943, + "end": 985, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 943, + "end": 951, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 18 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "init": { + "type": "CallExpression", + "start": 954, + "end": 985, + "loc": { + "start": { + "line": 36, + "column": 21 + }, + "end": { + "line": 36, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 954, + "end": 965, + "loc": { + "start": { + "line": 36, + "column": 21 + }, + "end": { + "line": 36, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 954, + "end": 960, + "loc": { + "start": { + "line": 36, + "column": 21 + }, + "end": { + "line": 36, + "column": 27 + }, + "identifierName": "Buffer" + }, + "name": "Buffer" + }, + "property": { + "type": "Identifier", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 36, + "column": 28 + }, + "end": { + "line": 36, + "column": 32 + }, + "identifierName": "from" + }, + "name": "from" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 966, + "end": 984, + "loc": { + "start": { + "line": 36, + "column": 33 + }, + "end": { + "line": 36, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 966, + "end": 977, + "loc": { + "start": { + "line": 36, + "column": 33 + }, + "end": { + "line": 36, + "column": 44 + }, + "identifierName": "randomBytes" + }, + "name": "randomBytes" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 978, + "end": 979, + "loc": { + "start": { + "line": 36, + "column": 45 + }, + "end": { + "line": 36, + "column": 46 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + { + "type": "NumericLiteral", + "start": 981, + "end": 983, + "loc": { + "start": { + "line": 36, + "column": 48 + }, + "end": { + "line": 36, + "column": 50 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 992, + "end": 1061, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 73 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 998, + "end": 1060, + "loc": { + "start": { + "line": 38, + "column": 10 + }, + "end": { + "line": 38, + "column": 72 + } + }, + "id": { + "type": "Identifier", + "start": 998, + "end": 1005, + "loc": { + "start": { + "line": 38, + "column": 10 + }, + "end": { + "line": 38, + "column": 17 + }, + "identifierName": "encoded" + }, + "name": "encoded" + }, + "init": { + "type": "CallExpression", + "start": 1008, + "end": 1060, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 72 + } + }, + "callee": { + "type": "Identifier", + "start": 1008, + "end": 1022, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 34 + }, + "identifierName": "encodeMetadata" + }, + "name": "encodeMetadata" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1023, + "end": 1030, + "loc": { + "start": { + "line": 38, + "column": 35 + }, + "end": { + "line": 38, + "column": 42 + }, + "identifierName": "service" + }, + "name": "service" + }, + { + "type": "Identifier", + "start": 1032, + "end": 1038, + "loc": { + "start": { + "line": 38, + "column": 44 + }, + "end": { + "line": 38, + "column": 50 + }, + "identifierName": "method" + }, + "name": "method" + }, + { + "type": "Identifier", + "start": 1040, + "end": 1049, + "loc": { + "start": { + "line": 38, + "column": 52 + }, + "end": { + "line": 38, + "column": 61 + }, + "identifierName": "undefined" + }, + "name": "undefined" + }, + { + "type": "Identifier", + "start": 1051, + "end": 1059, + "loc": { + "start": { + "line": 38, + "column": 63 + }, + "end": { + "line": 38, + "column": 71 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1067, + "end": 1113, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 1067, + "end": 1112, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1067, + "end": 1091, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 1067, + "end": 1085, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 1067, + "end": 1082, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 1067, + "end": 1073, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1074, + "end": 1081, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 18 + }, + "identifierName": "service" + }, + "name": "service" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1083, + "end": 1085, + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1086, + "end": 1091, + "loc": { + "start": { + "line": 40, + "column": 23 + }, + "end": { + "line": 40, + "column": 28 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1092, + "end": 1111, + "loc": { + "start": { + "line": 40, + "column": 29 + }, + "end": { + "line": 40, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 1092, + "end": 1102, + "loc": { + "start": { + "line": 40, + "column": 29 + }, + "end": { + "line": 40, + "column": 39 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1103, + "end": 1110, + "loc": { + "start": { + "line": 40, + "column": 40 + }, + "end": { + "line": 40, + "column": 47 + }, + "identifierName": "encoded" + }, + "name": "encoded" + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1118, + "end": 1162, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 1118, + "end": 1161, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1118, + "end": 1141, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 1118, + "end": 1135, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 1118, + "end": 1132, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 1118, + "end": 1124, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1125, + "end": 1131, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 17 + }, + "identifierName": "method" + }, + "name": "method" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1133, + "end": 1135, + "loc": { + "start": { + "line": 41, + "column": 19 + }, + "end": { + "line": 41, + "column": 21 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1136, + "end": 1141, + "loc": { + "start": { + "line": 41, + "column": 22 + }, + "end": { + "line": 41, + "column": 27 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1142, + "end": 1160, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 1142, + "end": 1151, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 37 + }, + "identifierName": "getMethod" + }, + "name": "getMethod" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1152, + "end": 1159, + "loc": { + "start": { + "line": 41, + "column": 38 + }, + "end": { + "line": 41, + "column": 45 + }, + "identifierName": "encoded" + }, + "name": "encoded" + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1167, + "end": 1226, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 1167, + "end": 1225, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1167, + "end": 1208, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 1167, + "end": 1202, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 1167, + "end": 1197, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 1167, + "end": 1194, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 1167, + "end": 1173, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1174, + "end": 1193, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 1174, + "end": 1184, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 21 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1185, + "end": 1192, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 29 + }, + "identifierName": "encoded" + }, + "name": "encoded" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 1195, + "end": 1197, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 34 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1198, + "end": 1202, + "loc": { + "start": { + "line": 42, + "column": 35 + }, + "end": { + "line": 42, + "column": 39 + }, + "identifierName": "deep" + }, + "name": "deep" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1203, + "end": 1208, + "loc": { + "start": { + "line": 42, + "column": 40 + }, + "end": { + "line": 42, + "column": 45 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1209, + "end": 1224, + "loc": { + "start": { + "line": 42, + "column": 46 + }, + "end": { + "line": 42, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1209, + "end": 1220, + "loc": { + "start": { + "line": 42, + "column": 46 + }, + "end": { + "line": 42, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 1209, + "end": 1215, + "loc": { + "start": { + "line": 42, + "column": 46 + }, + "end": { + "line": 42, + "column": 52 + }, + "identifierName": "Buffer" + }, + "name": "Buffer" + }, + "property": { + "type": "Identifier", + "start": 1216, + "end": 1220, + "loc": { + "start": { + "line": 42, + "column": 53 + }, + "end": { + "line": 42, + "column": 57 + }, + "identifierName": "from" + }, + "name": "from" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 1221, + "end": 1223, + "loc": { + "start": { + "line": 42, + "column": 58 + }, + "end": { + "line": 42, + "column": 60 + } + }, + "elements": [] + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1231, + "end": 1284, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 57 + } + }, + "expression": { + "type": "CallExpression", + "start": 1231, + "end": 1283, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1231, + "end": 1261, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 1231, + "end": 1255, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 1231, + "end": 1250, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 23 + } + }, + "object": { + "type": "CallExpression", + "start": 1231, + "end": 1247, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 20 + } + }, + "callee": { + "type": "Identifier", + "start": 1231, + "end": 1237, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1238, + "end": 1246, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 19 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1248, + "end": 1250, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 23 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1251, + "end": 1255, + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 28 + }, + "identifierName": "deep" + }, + "name": "deep" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1256, + "end": 1261, + "loc": { + "start": { + "line": 43, + "column": 29 + }, + "end": { + "line": 43, + "column": 34 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1262, + "end": 1282, + "loc": { + "start": { + "line": 43, + "column": 35 + }, + "end": { + "line": 43, + "column": 55 + } + }, + "callee": { + "type": "Identifier", + "start": 1262, + "end": 1273, + "loc": { + "start": { + "line": 43, + "column": 35 + }, + "end": { + "line": 43, + "column": 46 + }, + "identifierName": "getMetadata" + }, + "name": "getMetadata" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1274, + "end": 1281, + "loc": { + "start": { + "line": 43, + "column": 47 + }, + "end": { + "line": 43, + "column": 54 + }, + "identifierName": "encoded" + }, + "name": "encoded" + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1294, + "end": 1811, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 58, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 1294, + "end": 1810, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 58, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 1294, + "end": 1296, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 4 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1297, + "end": 1344, + "loc": { + "start": { + "line": 46, + "column": 5 + }, + "end": { + "line": 46, + "column": 52 + } + }, + "extra": { + "rawValue": "serializes/deserializes metadata WITH TRACING", + "raw": "'serializes/deserializes metadata WITH TRACING'" + }, + "value": "serializes/deserializes metadata WITH TRACING" + }, + { + "type": "ArrowFunctionExpression", + "start": 1346, + "end": 1809, + "loc": { + "start": { + "line": 46, + "column": 54 + }, + "end": { + "line": 58, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1352, + "end": 1809, + "loc": { + "start": { + "line": 46, + "column": 60 + }, + "end": { + "line": 58, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1358, + "end": 1384, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1364, + "end": 1383, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 1364, + "end": 1371, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 17 + }, + "identifierName": "service" + }, + "name": "service" + }, + "init": { + "type": "StringLiteral", + "start": 1374, + "end": 1383, + "loc": { + "start": { + "line": 47, + "column": 20 + }, + "end": { + "line": 47, + "column": 29 + } + }, + "extra": { + "rawValue": "service", + "raw": "'service'" + }, + "value": "service" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1389, + "end": 1410, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1395, + "end": 1409, + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 1395, + "end": 1401, + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 16 + }, + "identifierName": "method" + }, + "name": "method" + }, + "init": { + "type": "StringLiteral", + "start": 1404, + "end": 1409, + "loc": { + "start": { + "line": 48, + "column": 19 + }, + "end": { + "line": 48, + "column": 24 + } + }, + "extra": { + "rawValue": "foo", + "raw": "'foo'" + }, + "value": "foo" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1415, + "end": 1463, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1421, + "end": 1462, + "loc": { + "start": { + "line": 49, + "column": 10 + }, + "end": { + "line": 49, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 1421, + "end": 1428, + "loc": { + "start": { + "line": 49, + "column": 10 + }, + "end": { + "line": 49, + "column": 17 + }, + "identifierName": "tracing" + }, + "name": "tracing" + }, + "init": { + "type": "CallExpression", + "start": 1431, + "end": 1462, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1431, + "end": 1442, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 1431, + "end": 1437, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 26 + }, + "identifierName": "Buffer" + }, + "name": "Buffer" + }, + "property": { + "type": "Identifier", + "start": 1438, + "end": 1442, + "loc": { + "start": { + "line": 49, + "column": 27 + }, + "end": { + "line": 49, + "column": 31 + }, + "identifierName": "from" + }, + "name": "from" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1443, + "end": 1461, + "loc": { + "start": { + "line": 49, + "column": 32 + }, + "end": { + "line": 49, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 1443, + "end": 1454, + "loc": { + "start": { + "line": 49, + "column": 32 + }, + "end": { + "line": 49, + "column": 43 + }, + "identifierName": "randomBytes" + }, + "name": "randomBytes" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1455, + "end": 1456, + "loc": { + "start": { + "line": 49, + "column": 44 + }, + "end": { + "line": 49, + "column": 45 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + { + "type": "NumericLiteral", + "start": 1458, + "end": 1460, + "loc": { + "start": { + "line": 49, + "column": 47 + }, + "end": { + "line": 49, + "column": 49 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1468, + "end": 1517, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1474, + "end": 1516, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 1474, + "end": 1482, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 18 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "init": { + "type": "CallExpression", + "start": 1485, + "end": 1516, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1485, + "end": 1496, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 1485, + "end": 1491, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 27 + }, + "identifierName": "Buffer" + }, + "name": "Buffer" + }, + "property": { + "type": "Identifier", + "start": 1492, + "end": 1496, + "loc": { + "start": { + "line": 50, + "column": 28 + }, + "end": { + "line": 50, + "column": 32 + }, + "identifierName": "from" + }, + "name": "from" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1497, + "end": 1515, + "loc": { + "start": { + "line": 50, + "column": 33 + }, + "end": { + "line": 50, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 1497, + "end": 1508, + "loc": { + "start": { + "line": 50, + "column": 33 + }, + "end": { + "line": 50, + "column": 44 + }, + "identifierName": "randomBytes" + }, + "name": "randomBytes" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1509, + "end": 1510, + "loc": { + "start": { + "line": 50, + "column": 45 + }, + "end": { + "line": 50, + "column": 46 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + { + "type": "NumericLiteral", + "start": 1512, + "end": 1514, + "loc": { + "start": { + "line": 50, + "column": 48 + }, + "end": { + "line": 50, + "column": 50 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1523, + "end": 1590, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 71 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1529, + "end": 1589, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 70 + } + }, + "id": { + "type": "Identifier", + "start": 1529, + "end": 1536, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 17 + }, + "identifierName": "encoded" + }, + "name": "encoded" + }, + "init": { + "type": "CallExpression", + "start": 1539, + "end": 1589, + "loc": { + "start": { + "line": 52, + "column": 20 + }, + "end": { + "line": 52, + "column": 70 + } + }, + "callee": { + "type": "Identifier", + "start": 1539, + "end": 1553, + "loc": { + "start": { + "line": 52, + "column": 20 + }, + "end": { + "line": 52, + "column": 34 + }, + "identifierName": "encodeMetadata" + }, + "name": "encodeMetadata" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1554, + "end": 1561, + "loc": { + "start": { + "line": 52, + "column": 35 + }, + "end": { + "line": 52, + "column": 42 + }, + "identifierName": "service" + }, + "name": "service" + }, + { + "type": "Identifier", + "start": 1563, + "end": 1569, + "loc": { + "start": { + "line": 52, + "column": 44 + }, + "end": { + "line": 52, + "column": 50 + }, + "identifierName": "method" + }, + "name": "method" + }, + { + "type": "Identifier", + "start": 1571, + "end": 1578, + "loc": { + "start": { + "line": 52, + "column": 52 + }, + "end": { + "line": 52, + "column": 59 + }, + "identifierName": "tracing" + }, + "name": "tracing" + }, + { + "type": "Identifier", + "start": 1580, + "end": 1588, + "loc": { + "start": { + "line": 52, + "column": 61 + }, + "end": { + "line": 52, + "column": 69 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1596, + "end": 1642, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 1596, + "end": 1641, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1596, + "end": 1620, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 1596, + "end": 1614, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 1596, + "end": 1611, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 1596, + "end": 1602, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1603, + "end": 1610, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 18 + }, + "identifierName": "service" + }, + "name": "service" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1612, + "end": 1614, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1615, + "end": 1620, + "loc": { + "start": { + "line": 54, + "column": 23 + }, + "end": { + "line": 54, + "column": 28 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1621, + "end": 1640, + "loc": { + "start": { + "line": 54, + "column": 29 + }, + "end": { + "line": 54, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 1621, + "end": 1631, + "loc": { + "start": { + "line": 54, + "column": 29 + }, + "end": { + "line": 54, + "column": 39 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1632, + "end": 1639, + "loc": { + "start": { + "line": 54, + "column": 40 + }, + "end": { + "line": 54, + "column": 47 + }, + "identifierName": "encoded" + }, + "name": "encoded" + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1647, + "end": 1691, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 1647, + "end": 1690, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1647, + "end": 1670, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 1647, + "end": 1664, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 1647, + "end": 1661, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 1647, + "end": 1653, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1654, + "end": 1660, + "loc": { + "start": { + "line": 55, + "column": 11 + }, + "end": { + "line": 55, + "column": 17 + }, + "identifierName": "method" + }, + "name": "method" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1662, + "end": 1664, + "loc": { + "start": { + "line": 55, + "column": 19 + }, + "end": { + "line": 55, + "column": 21 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1665, + "end": 1670, + "loc": { + "start": { + "line": 55, + "column": 22 + }, + "end": { + "line": 55, + "column": 27 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1671, + "end": 1689, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 1671, + "end": 1680, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 37 + }, + "identifierName": "getMethod" + }, + "name": "getMethod" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1681, + "end": 1688, + "loc": { + "start": { + "line": 55, + "column": 38 + }, + "end": { + "line": 55, + "column": 45 + }, + "identifierName": "encoded" + }, + "name": "encoded" + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1696, + "end": 1747, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 55 + } + }, + "expression": { + "type": "CallExpression", + "start": 1696, + "end": 1746, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1696, + "end": 1725, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 1696, + "end": 1719, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 1696, + "end": 1714, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 1696, + "end": 1711, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 1696, + "end": 1702, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1703, + "end": 1710, + "loc": { + "start": { + "line": 56, + "column": 11 + }, + "end": { + "line": 56, + "column": 18 + }, + "identifierName": "tracing" + }, + "name": "tracing" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1712, + "end": 1714, + "loc": { + "start": { + "line": 56, + "column": 20 + }, + "end": { + "line": 56, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1715, + "end": 1719, + "loc": { + "start": { + "line": 56, + "column": 23 + }, + "end": { + "line": 56, + "column": 27 + }, + "identifierName": "deep" + }, + "name": "deep" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1720, + "end": 1725, + "loc": { + "start": { + "line": 56, + "column": 28 + }, + "end": { + "line": 56, + "column": 33 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1726, + "end": 1745, + "loc": { + "start": { + "line": 56, + "column": 34 + }, + "end": { + "line": 56, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 1726, + "end": 1736, + "loc": { + "start": { + "line": 56, + "column": 34 + }, + "end": { + "line": 56, + "column": 44 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1737, + "end": 1744, + "loc": { + "start": { + "line": 56, + "column": 45 + }, + "end": { + "line": 56, + "column": 52 + }, + "identifierName": "encoded" + }, + "name": "encoded" + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1752, + "end": 1805, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 57 + } + }, + "expression": { + "type": "CallExpression", + "start": 1752, + "end": 1804, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1752, + "end": 1782, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 1752, + "end": 1776, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 1752, + "end": 1771, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 23 + } + }, + "object": { + "type": "CallExpression", + "start": 1752, + "end": 1768, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 20 + } + }, + "callee": { + "type": "Identifier", + "start": 1752, + "end": 1758, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1759, + "end": 1767, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 19 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1769, + "end": 1771, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 23 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1772, + "end": 1776, + "loc": { + "start": { + "line": 57, + "column": 24 + }, + "end": { + "line": 57, + "column": 28 + }, + "identifierName": "deep" + }, + "name": "deep" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1777, + "end": 1782, + "loc": { + "start": { + "line": 57, + "column": 29 + }, + "end": { + "line": 57, + "column": 34 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1783, + "end": 1803, + "loc": { + "start": { + "line": 57, + "column": 35 + }, + "end": { + "line": 57, + "column": 55 + } + }, + "callee": { + "type": "Identifier", + "start": 1783, + "end": 1794, + "loc": { + "start": { + "line": 57, + "column": 35 + }, + "end": { + "line": 57, + "column": 46 + }, + "identifierName": "getMetadata" + }, + "name": "getMetadata" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1795, + "end": 1802, + "loc": { + "start": { + "line": 57, + "column": 47 + }, + "end": { + "line": 57, + "column": 54 + }, + "identifierName": "encoded" + }, + "name": "encoded" + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test\n ", + "start": 770, + "end": 786, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metadata-test.js\n ", + "start": 0, + "end": 33, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} min - the fewest number of bytes in the array\n * @param {number} max - the array must be smaller than this number in size\n * @return {number[]} an array of between {@link min} and {@link max}−1\n * numbers, each of which is in the range [0,256)\n ", + "start": 199, + "end": 469, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {number} a pseudo-random number between [0,256)\n ", + "start": 634, + "end": 700, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @test\n ", + "start": 770, + "end": 786, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metadata-test.js\n ", + "start": 0, + "end": 33, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 34, + "end": 40, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 41, + "end": 42, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 43, + "end": 49, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 50, + "end": 51, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 52, + "end": 56, + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "chai", + "start": 57, + "end": 63, + "loc": { + "start": { + "line": 4, + "column": 23 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 63, + "end": 64, + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 65, + "end": 71, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 72, + "end": 73, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 74, + "end": 82, + "loc": { + "start": { + "line": 5, + "column": 9 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 82, + "end": 83, + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 84, + "end": 86, + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 87, + "end": 88, + "loc": { + "start": { + "line": 5, + "column": 22 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 89, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 24 + }, + "end": { + "line": 5, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 94, + "end": 101, + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 101, + "end": 102, + "loc": { + "start": { + "line": 5, + "column": 36 + }, + "end": { + "line": 5, + "column": 37 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 104, + "end": 110, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 111, + "end": 112, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encodeMetadata", + "start": 113, + "end": 127, + "loc": { + "start": { + "line": 7, + "column": 9 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 127, + "end": 128, + "loc": { + "start": { + "line": 7, + "column": 23 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 129, + "end": 139, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 139, + "end": 140, + "loc": { + "start": { + "line": 7, + "column": 35 + }, + "end": { + "line": 7, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMethod", + "start": 141, + "end": 150, + "loc": { + "start": { + "line": 7, + "column": 37 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 150, + "end": 151, + "loc": { + "start": { + "line": 7, + "column": 46 + }, + "end": { + "line": 7, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTracing", + "start": 152, + "end": 162, + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 162, + "end": 163, + "loc": { + "start": { + "line": 7, + "column": 58 + }, + "end": { + "line": 7, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMetadata", + "start": 164, + "end": 175, + "loc": { + "start": { + "line": 7, + "column": 60 + }, + "end": { + "line": 7, + "column": 71 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 176, + "end": 177, + "loc": { + "start": { + "line": 7, + "column": 72 + }, + "end": { + "line": 7, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 178, + "end": 182, + "loc": { + "start": { + "line": 7, + "column": 74 + }, + "end": { + "line": 7, + "column": 78 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../Metadata", + "start": 183, + "end": 196, + "loc": { + "start": { + "line": 7, + "column": 79 + }, + "end": { + "line": 7, + "column": 92 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 196, + "end": 197, + "loc": { + "start": { + "line": 7, + "column": 92 + }, + "end": { + "line": 7, + "column": 93 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} min - the fewest number of bytes in the array\n * @param {number} max - the array must be smaller than this number in size\n * @return {number[]} an array of between {@link min} and {@link max}−1\n * numbers, each of which is in the range [0,256)\n ", + "start": 199, + "end": 469, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 470, + "end": 478, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "randomBytes", + "start": 479, + "end": 490, + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 490, + "end": 491, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 491, + "end": 494, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 494, + "end": 495, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 496, + "end": 499, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 499, + "end": 500, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 501, + "end": 502, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 505, + "end": 508, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 509, + "end": 513, + "loc": { + "start": { + "line": 16, + "column": 6 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 514, + "end": 515, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 516, + "end": 520, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 521, + "end": 526, + "loc": { + "start": { + "line": 16, + "column": 18 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 526, + "end": 527, + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 527, + "end": 531, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 531, + "end": 532, + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "random", + "start": 532, + "end": 538, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 16, + "column": 35 + }, + "end": { + "line": 16, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 539, + "end": 540, + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 16, + "column": 37 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 541, + "end": 542, + "loc": { + "start": { + "line": 16, + "column": 38 + }, + "end": { + "line": 16, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 543, + "end": 544, + "loc": { + "start": { + "line": 16, + "column": 40 + }, + "end": { + "line": 16, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 544, + "end": 547, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 548, + "end": 549, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 550, + "end": 553, + "loc": { + "start": { + "line": 16, + "column": 47 + }, + "end": { + "line": 16, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 553, + "end": 554, + "loc": { + "start": { + "line": 16, + "column": 50 + }, + "end": { + "line": 16, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 554, + "end": 555, + "loc": { + "start": { + "line": 16, + "column": 51 + }, + "end": { + "line": 16, + "column": 52 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 556, + "end": 557, + "loc": { + "start": { + "line": 16, + "column": 53 + }, + "end": { + "line": 16, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 558, + "end": 561, + "loc": { + "start": { + "line": 16, + "column": 55 + }, + "end": { + "line": 16, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 16, + "column": 58 + }, + "end": { + "line": 16, + "column": 59 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 565, + "end": 571, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 572, + "end": 575, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 576, + "end": 581, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 581, + "end": 582, + "loc": { + "start": { + "line": 17, + "column": 18 + }, + "end": { + "line": 17, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 582, + "end": 586, + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 586, + "end": 587, + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 587, + "end": 588, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 588, + "end": 591, + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 591, + "end": 592, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 592, + "end": 593, + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 31 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 595, + "end": 597, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 17, + "column": 36 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 604, + "end": 610, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "randomByte", + "start": 611, + "end": 621, + "loc": { + "start": { + "line": 18, + "column": 11 + }, + "end": { + "line": 18, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 621, + "end": 622, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 623, + "end": 624, + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 627, + "end": 628, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 628, + "end": 629, + "loc": { + "start": { + "line": 19, + "column": 3 + }, + "end": { + "line": 19, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {number} a pseudo-random number between [0,256)\n ", + "start": 634, + "end": 700, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 701, + "end": 709, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "randomByte", + "start": 710, + "end": 720, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 25, + "column": 19 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 721, + "end": 722, + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 723, + "end": 724, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 727, + "end": 733, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 734, + "end": 738, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 738, + "end": 739, + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 739, + "end": 744, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 744, + "end": 745, + "loc": { + "start": { + "line": 26, + "column": 19 + }, + "end": { + "line": 26, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 745, + "end": 749, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 749, + "end": 750, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "random", + "start": 750, + "end": 756, + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 756, + "end": 757, + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 757, + "end": 758, + "loc": { + "start": { + "line": 26, + "column": 32 + }, + "end": { + "line": 26, + "column": 33 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 759, + "end": 760, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 256, + "start": 761, + "end": 764, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 764, + "end": 765, + "loc": { + "start": { + "line": 26, + "column": 39 + }, + "end": { + "line": 26, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 765, + "end": 766, + "loc": { + "start": { + "line": 26, + "column": 40 + }, + "end": { + "line": 26, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 767, + "end": 768, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @test\n ", + "start": 770, + "end": 786, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 787, + "end": 795, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 795, + "end": 796, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "METADATA", + "start": 796, + "end": 806, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 806, + "end": 807, + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 808, + "end": 809, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 809, + "end": 810, + "loc": { + "start": { + "line": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 811, + "end": 813, + "loc": { + "start": { + "line": 32, + "column": 24 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 814, + "end": 815, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 818, + "end": 820, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 820, + "end": 821, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "serializes/deserializes metadata NO TRACING", + "start": 821, + "end": 866, + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 866, + "end": 867, + "loc": { + "start": { + "line": 33, + "column": 50 + }, + "end": { + "line": 33, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 868, + "end": 869, + "loc": { + "start": { + "line": 33, + "column": 52 + }, + "end": { + "line": 33, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 33, + "column": 53 + }, + "end": { + "line": 33, + "column": 54 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 871, + "end": 873, + "loc": { + "start": { + "line": 33, + "column": 55 + }, + "end": { + "line": 33, + "column": 57 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 874, + "end": 875, + "loc": { + "start": { + "line": 33, + "column": 58 + }, + "end": { + "line": 33, + "column": 59 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 880, + "end": 885, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 886, + "end": 893, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 894, + "end": 895, + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "service", + "start": 896, + "end": 905, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 905, + "end": 906, + "loc": { + "start": { + "line": 34, + "column": 29 + }, + "end": { + "line": 34, + "column": 30 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 911, + "end": 916, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 917, + "end": 923, + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 924, + "end": 925, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "foo", + "start": 926, + "end": 931, + "loc": { + "start": { + "line": 35, + "column": 19 + }, + "end": { + "line": 35, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 931, + "end": 932, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 25 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 937, + "end": 942, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 943, + "end": 951, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 952, + "end": 953, + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Buffer", + "start": 954, + "end": 960, + "loc": { + "start": { + "line": 36, + "column": 21 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 960, + "end": 961, + "loc": { + "start": { + "line": 36, + "column": 27 + }, + "end": { + "line": 36, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 36, + "column": 28 + }, + "end": { + "line": 36, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 36, + "column": 32 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "randomBytes", + "start": 966, + "end": 977, + "loc": { + "start": { + "line": 36, + "column": 33 + }, + "end": { + "line": 36, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 977, + "end": 978, + "loc": { + "start": { + "line": 36, + "column": 44 + }, + "end": { + "line": 36, + "column": 45 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 978, + "end": 979, + "loc": { + "start": { + "line": 36, + "column": 45 + }, + "end": { + "line": 36, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 979, + "end": 980, + "loc": { + "start": { + "line": 36, + "column": 46 + }, + "end": { + "line": 36, + "column": 47 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 981, + "end": 983, + "loc": { + "start": { + "line": 36, + "column": 48 + }, + "end": { + "line": 36, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 983, + "end": 984, + "loc": { + "start": { + "line": 36, + "column": 50 + }, + "end": { + "line": 36, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 984, + "end": 985, + "loc": { + "start": { + "line": 36, + "column": 51 + }, + "end": { + "line": 36, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 985, + "end": 986, + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 36, + "column": 53 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 992, + "end": 997, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 998, + "end": 1005, + "loc": { + "start": { + "line": 38, + "column": 10 + }, + "end": { + "line": 38, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1006, + "end": 1007, + "loc": { + "start": { + "line": 38, + "column": 18 + }, + "end": { + "line": 38, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encodeMetadata", + "start": 1008, + "end": 1022, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1022, + "end": 1023, + "loc": { + "start": { + "line": 38, + "column": 34 + }, + "end": { + "line": 38, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 1023, + "end": 1030, + "loc": { + "start": { + "line": 38, + "column": 35 + }, + "end": { + "line": 38, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1030, + "end": 1031, + "loc": { + "start": { + "line": 38, + "column": 42 + }, + "end": { + "line": 38, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 1032, + "end": 1038, + "loc": { + "start": { + "line": 38, + "column": 44 + }, + "end": { + "line": 38, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1038, + "end": 1039, + "loc": { + "start": { + "line": 38, + "column": 50 + }, + "end": { + "line": 38, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 1040, + "end": 1049, + "loc": { + "start": { + "line": 38, + "column": 52 + }, + "end": { + "line": 38, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1049, + "end": 1050, + "loc": { + "start": { + "line": 38, + "column": 61 + }, + "end": { + "line": 38, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1051, + "end": 1059, + "loc": { + "start": { + "line": 38, + "column": 63 + }, + "end": { + "line": 38, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1059, + "end": 1060, + "loc": { + "start": { + "line": 38, + "column": 71 + }, + "end": { + "line": 38, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1060, + "end": 1061, + "loc": { + "start": { + "line": 38, + "column": 72 + }, + "end": { + "line": 38, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1067, + "end": 1073, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1073, + "end": 1074, + "loc": { + "start": { + "line": 40, + "column": 10 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 1074, + "end": 1081, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1081, + "end": 1082, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1082, + "end": 1083, + "loc": { + "start": { + "line": 40, + "column": 19 + }, + "end": { + "line": 40, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1083, + "end": 1085, + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1085, + "end": 1086, + "loc": { + "start": { + "line": 40, + "column": 22 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1086, + "end": 1091, + "loc": { + "start": { + "line": 40, + "column": 23 + }, + "end": { + "line": 40, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1091, + "end": 1092, + "loc": { + "start": { + "line": 40, + "column": 28 + }, + "end": { + "line": 40, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 1092, + "end": 1102, + "loc": { + "start": { + "line": 40, + "column": 29 + }, + "end": { + "line": 40, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1102, + "end": 1103, + "loc": { + "start": { + "line": 40, + "column": 39 + }, + "end": { + "line": 40, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1103, + "end": 1110, + "loc": { + "start": { + "line": 40, + "column": 40 + }, + "end": { + "line": 40, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1110, + "end": 1111, + "loc": { + "start": { + "line": 40, + "column": 47 + }, + "end": { + "line": 40, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1111, + "end": 1112, + "loc": { + "start": { + "line": 40, + "column": 48 + }, + "end": { + "line": 40, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1112, + "end": 1113, + "loc": { + "start": { + "line": 40, + "column": 49 + }, + "end": { + "line": 40, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1118, + "end": 1124, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1124, + "end": 1125, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 1125, + "end": 1131, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1131, + "end": 1132, + "loc": { + "start": { + "line": 41, + "column": 17 + }, + "end": { + "line": 41, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1132, + "end": 1133, + "loc": { + "start": { + "line": 41, + "column": 18 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1133, + "end": 1135, + "loc": { + "start": { + "line": 41, + "column": 19 + }, + "end": { + "line": 41, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1135, + "end": 1136, + "loc": { + "start": { + "line": 41, + "column": 21 + }, + "end": { + "line": 41, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1136, + "end": 1141, + "loc": { + "start": { + "line": 41, + "column": 22 + }, + "end": { + "line": 41, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1141, + "end": 1142, + "loc": { + "start": { + "line": 41, + "column": 27 + }, + "end": { + "line": 41, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMethod", + "start": 1142, + "end": 1151, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1151, + "end": 1152, + "loc": { + "start": { + "line": 41, + "column": 37 + }, + "end": { + "line": 41, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1152, + "end": 1159, + "loc": { + "start": { + "line": 41, + "column": 38 + }, + "end": { + "line": 41, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1159, + "end": 1160, + "loc": { + "start": { + "line": 41, + "column": 45 + }, + "end": { + "line": 41, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1160, + "end": 1161, + "loc": { + "start": { + "line": 41, + "column": 46 + }, + "end": { + "line": 41, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1161, + "end": 1162, + "loc": { + "start": { + "line": 41, + "column": 47 + }, + "end": { + "line": 41, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1167, + "end": 1173, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1173, + "end": 1174, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTracing", + "start": 1174, + "end": 1184, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1184, + "end": 1185, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1185, + "end": 1192, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1192, + "end": 1193, + "loc": { + "start": { + "line": 42, + "column": 29 + }, + "end": { + "line": 42, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1193, + "end": 1194, + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1194, + "end": 1195, + "loc": { + "start": { + "line": 42, + "column": 31 + }, + "end": { + "line": 42, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1195, + "end": 1197, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1197, + "end": 1198, + "loc": { + "start": { + "line": 42, + "column": 34 + }, + "end": { + "line": 42, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deep", + "start": 1198, + "end": 1202, + "loc": { + "start": { + "line": 42, + "column": 35 + }, + "end": { + "line": 42, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1202, + "end": 1203, + "loc": { + "start": { + "line": 42, + "column": 39 + }, + "end": { + "line": 42, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1203, + "end": 1208, + "loc": { + "start": { + "line": 42, + "column": 40 + }, + "end": { + "line": 42, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1208, + "end": 1209, + "loc": { + "start": { + "line": 42, + "column": 45 + }, + "end": { + "line": 42, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Buffer", + "start": 1209, + "end": 1215, + "loc": { + "start": { + "line": 42, + "column": 46 + }, + "end": { + "line": 42, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1215, + "end": 1216, + "loc": { + "start": { + "line": 42, + "column": 52 + }, + "end": { + "line": 42, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1216, + "end": 1220, + "loc": { + "start": { + "line": 42, + "column": 53 + }, + "end": { + "line": 42, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1220, + "end": 1221, + "loc": { + "start": { + "line": 42, + "column": 57 + }, + "end": { + "line": 42, + "column": 58 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1221, + "end": 1222, + "loc": { + "start": { + "line": 42, + "column": 58 + }, + "end": { + "line": 42, + "column": 59 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1222, + "end": 1223, + "loc": { + "start": { + "line": 42, + "column": 59 + }, + "end": { + "line": 42, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1223, + "end": 1224, + "loc": { + "start": { + "line": 42, + "column": 60 + }, + "end": { + "line": 42, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1224, + "end": 1225, + "loc": { + "start": { + "line": 42, + "column": 61 + }, + "end": { + "line": 42, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1225, + "end": 1226, + "loc": { + "start": { + "line": 42, + "column": 62 + }, + "end": { + "line": 42, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1231, + "end": 1237, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1237, + "end": 1238, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 43, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1238, + "end": 1246, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1247, + "end": 1248, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1248, + "end": 1250, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1250, + "end": 1251, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deep", + "start": 1251, + "end": 1255, + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1255, + "end": 1256, + "loc": { + "start": { + "line": 43, + "column": 28 + }, + "end": { + "line": 43, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1256, + "end": 1261, + "loc": { + "start": { + "line": 43, + "column": 29 + }, + "end": { + "line": 43, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1261, + "end": 1262, + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 43, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMetadata", + "start": 1262, + "end": 1273, + "loc": { + "start": { + "line": 43, + "column": 35 + }, + "end": { + "line": 43, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1273, + "end": 1274, + "loc": { + "start": { + "line": 43, + "column": 46 + }, + "end": { + "line": 43, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1274, + "end": 1281, + "loc": { + "start": { + "line": 43, + "column": 47 + }, + "end": { + "line": 43, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1281, + "end": 1282, + "loc": { + "start": { + "line": 43, + "column": 54 + }, + "end": { + "line": 43, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1282, + "end": 1283, + "loc": { + "start": { + "line": 43, + "column": 55 + }, + "end": { + "line": 43, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1283, + "end": 1284, + "loc": { + "start": { + "line": 43, + "column": 56 + }, + "end": { + "line": 43, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1287, + "end": 1288, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1288, + "end": 1289, + "loc": { + "start": { + "line": 44, + "column": 3 + }, + "end": { + "line": 44, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1289, + "end": 1290, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 1294, + "end": 1296, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1296, + "end": 1297, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "serializes/deserializes metadata WITH TRACING", + "start": 1297, + "end": 1344, + "loc": { + "start": { + "line": 46, + "column": 5 + }, + "end": { + "line": 46, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1344, + "end": 1345, + "loc": { + "start": { + "line": 46, + "column": 52 + }, + "end": { + "line": 46, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1346, + "end": 1347, + "loc": { + "start": { + "line": 46, + "column": 54 + }, + "end": { + "line": 46, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1347, + "end": 1348, + "loc": { + "start": { + "line": 46, + "column": 55 + }, + "end": { + "line": 46, + "column": 56 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1349, + "end": 1351, + "loc": { + "start": { + "line": 46, + "column": 57 + }, + "end": { + "line": 46, + "column": 59 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1352, + "end": 1353, + "loc": { + "start": { + "line": 46, + "column": 60 + }, + "end": { + "line": 46, + "column": 61 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1358, + "end": 1363, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 1364, + "end": 1371, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1372, + "end": 1373, + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "service", + "start": 1374, + "end": 1383, + "loc": { + "start": { + "line": 47, + "column": 20 + }, + "end": { + "line": 47, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1383, + "end": 1384, + "loc": { + "start": { + "line": 47, + "column": 29 + }, + "end": { + "line": 47, + "column": 30 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1389, + "end": 1394, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 1395, + "end": 1401, + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1402, + "end": 1403, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "foo", + "start": 1404, + "end": 1409, + "loc": { + "start": { + "line": 48, + "column": 19 + }, + "end": { + "line": 48, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1409, + "end": 1410, + "loc": { + "start": { + "line": 48, + "column": 24 + }, + "end": { + "line": 48, + "column": 25 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1415, + "end": 1420, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracing", + "start": 1421, + "end": 1428, + "loc": { + "start": { + "line": 49, + "column": 10 + }, + "end": { + "line": 49, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1429, + "end": 1430, + "loc": { + "start": { + "line": 49, + "column": 18 + }, + "end": { + "line": 49, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Buffer", + "start": 1431, + "end": 1437, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1437, + "end": 1438, + "loc": { + "start": { + "line": 49, + "column": 26 + }, + "end": { + "line": 49, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1438, + "end": 1442, + "loc": { + "start": { + "line": 49, + "column": 27 + }, + "end": { + "line": 49, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1442, + "end": 1443, + "loc": { + "start": { + "line": 49, + "column": 31 + }, + "end": { + "line": 49, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "randomBytes", + "start": 1443, + "end": 1454, + "loc": { + "start": { + "line": 49, + "column": 32 + }, + "end": { + "line": 49, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1454, + "end": 1455, + "loc": { + "start": { + "line": 49, + "column": 43 + }, + "end": { + "line": 49, + "column": 44 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 1455, + "end": 1456, + "loc": { + "start": { + "line": 49, + "column": 44 + }, + "end": { + "line": 49, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1456, + "end": 1457, + "loc": { + "start": { + "line": 49, + "column": 45 + }, + "end": { + "line": 49, + "column": 46 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 1458, + "end": 1460, + "loc": { + "start": { + "line": 49, + "column": 47 + }, + "end": { + "line": 49, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1460, + "end": 1461, + "loc": { + "start": { + "line": 49, + "column": 49 + }, + "end": { + "line": 49, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1461, + "end": 1462, + "loc": { + "start": { + "line": 49, + "column": 50 + }, + "end": { + "line": 49, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1462, + "end": 1463, + "loc": { + "start": { + "line": 49, + "column": 51 + }, + "end": { + "line": 49, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1468, + "end": 1473, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1474, + "end": 1482, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1483, + "end": 1484, + "loc": { + "start": { + "line": 50, + "column": 19 + }, + "end": { + "line": 50, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Buffer", + "start": 1485, + "end": 1491, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1491, + "end": 1492, + "loc": { + "start": { + "line": 50, + "column": 27 + }, + "end": { + "line": 50, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1492, + "end": 1496, + "loc": { + "start": { + "line": 50, + "column": 28 + }, + "end": { + "line": 50, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1496, + "end": 1497, + "loc": { + "start": { + "line": 50, + "column": 32 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "randomBytes", + "start": 1497, + "end": 1508, + "loc": { + "start": { + "line": 50, + "column": 33 + }, + "end": { + "line": 50, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1508, + "end": 1509, + "loc": { + "start": { + "line": 50, + "column": 44 + }, + "end": { + "line": 50, + "column": 45 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 1509, + "end": 1510, + "loc": { + "start": { + "line": 50, + "column": 45 + }, + "end": { + "line": 50, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1510, + "end": 1511, + "loc": { + "start": { + "line": 50, + "column": 46 + }, + "end": { + "line": 50, + "column": 47 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 1512, + "end": 1514, + "loc": { + "start": { + "line": 50, + "column": 48 + }, + "end": { + "line": 50, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1514, + "end": 1515, + "loc": { + "start": { + "line": 50, + "column": 50 + }, + "end": { + "line": 50, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1515, + "end": 1516, + "loc": { + "start": { + "line": 50, + "column": 51 + }, + "end": { + "line": 50, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1516, + "end": 1517, + "loc": { + "start": { + "line": 50, + "column": 52 + }, + "end": { + "line": 50, + "column": 53 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1523, + "end": 1528, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1529, + "end": 1536, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1537, + "end": 1538, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encodeMetadata", + "start": 1539, + "end": 1553, + "loc": { + "start": { + "line": 52, + "column": 20 + }, + "end": { + "line": 52, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1553, + "end": 1554, + "loc": { + "start": { + "line": 52, + "column": 34 + }, + "end": { + "line": 52, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 1554, + "end": 1561, + "loc": { + "start": { + "line": 52, + "column": 35 + }, + "end": { + "line": 52, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1561, + "end": 1562, + "loc": { + "start": { + "line": 52, + "column": 42 + }, + "end": { + "line": 52, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 1563, + "end": 1569, + "loc": { + "start": { + "line": 52, + "column": 44 + }, + "end": { + "line": 52, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1569, + "end": 1570, + "loc": { + "start": { + "line": 52, + "column": 50 + }, + "end": { + "line": 52, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracing", + "start": 1571, + "end": 1578, + "loc": { + "start": { + "line": 52, + "column": 52 + }, + "end": { + "line": 52, + "column": 59 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1578, + "end": 1579, + "loc": { + "start": { + "line": 52, + "column": 59 + }, + "end": { + "line": 52, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1580, + "end": 1588, + "loc": { + "start": { + "line": 52, + "column": 61 + }, + "end": { + "line": 52, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1588, + "end": 1589, + "loc": { + "start": { + "line": 52, + "column": 69 + }, + "end": { + "line": 52, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1589, + "end": 1590, + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1596, + "end": 1602, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1602, + "end": 1603, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 54, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "service", + "start": 1603, + "end": 1610, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1610, + "end": 1611, + "loc": { + "start": { + "line": 54, + "column": 18 + }, + "end": { + "line": 54, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1611, + "end": 1612, + "loc": { + "start": { + "line": 54, + "column": 19 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1612, + "end": 1614, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1614, + "end": 1615, + "loc": { + "start": { + "line": 54, + "column": 22 + }, + "end": { + "line": 54, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1615, + "end": 1620, + "loc": { + "start": { + "line": 54, + "column": 23 + }, + "end": { + "line": 54, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1620, + "end": 1621, + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 1621, + "end": 1631, + "loc": { + "start": { + "line": 54, + "column": 29 + }, + "end": { + "line": 54, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1631, + "end": 1632, + "loc": { + "start": { + "line": 54, + "column": 39 + }, + "end": { + "line": 54, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1632, + "end": 1639, + "loc": { + "start": { + "line": 54, + "column": 40 + }, + "end": { + "line": 54, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1639, + "end": 1640, + "loc": { + "start": { + "line": 54, + "column": 47 + }, + "end": { + "line": 54, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1640, + "end": 1641, + "loc": { + "start": { + "line": 54, + "column": 48 + }, + "end": { + "line": 54, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1641, + "end": 1642, + "loc": { + "start": { + "line": 54, + "column": 49 + }, + "end": { + "line": 54, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1647, + "end": 1653, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1653, + "end": 1654, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 1654, + "end": 1660, + "loc": { + "start": { + "line": 55, + "column": 11 + }, + "end": { + "line": 55, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1660, + "end": 1661, + "loc": { + "start": { + "line": 55, + "column": 17 + }, + "end": { + "line": 55, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1661, + "end": 1662, + "loc": { + "start": { + "line": 55, + "column": 18 + }, + "end": { + "line": 55, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1662, + "end": 1664, + "loc": { + "start": { + "line": 55, + "column": 19 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1664, + "end": 1665, + "loc": { + "start": { + "line": 55, + "column": 21 + }, + "end": { + "line": 55, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1665, + "end": 1670, + "loc": { + "start": { + "line": 55, + "column": 22 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1670, + "end": 1671, + "loc": { + "start": { + "line": 55, + "column": 27 + }, + "end": { + "line": 55, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMethod", + "start": 1671, + "end": 1680, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1680, + "end": 1681, + "loc": { + "start": { + "line": 55, + "column": 37 + }, + "end": { + "line": 55, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1681, + "end": 1688, + "loc": { + "start": { + "line": 55, + "column": 38 + }, + "end": { + "line": 55, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1688, + "end": 1689, + "loc": { + "start": { + "line": 55, + "column": 45 + }, + "end": { + "line": 55, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1689, + "end": 1690, + "loc": { + "start": { + "line": 55, + "column": 46 + }, + "end": { + "line": 55, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1690, + "end": 1691, + "loc": { + "start": { + "line": 55, + "column": 47 + }, + "end": { + "line": 55, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1696, + "end": 1702, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1702, + "end": 1703, + "loc": { + "start": { + "line": 56, + "column": 10 + }, + "end": { + "line": 56, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracing", + "start": 1703, + "end": 1710, + "loc": { + "start": { + "line": 56, + "column": 11 + }, + "end": { + "line": 56, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1710, + "end": 1711, + "loc": { + "start": { + "line": 56, + "column": 18 + }, + "end": { + "line": 56, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1711, + "end": 1712, + "loc": { + "start": { + "line": 56, + "column": 19 + }, + "end": { + "line": 56, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1712, + "end": 1714, + "loc": { + "start": { + "line": 56, + "column": 20 + }, + "end": { + "line": 56, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1714, + "end": 1715, + "loc": { + "start": { + "line": 56, + "column": 22 + }, + "end": { + "line": 56, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deep", + "start": 1715, + "end": 1719, + "loc": { + "start": { + "line": 56, + "column": 23 + }, + "end": { + "line": 56, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1719, + "end": 1720, + "loc": { + "start": { + "line": 56, + "column": 27 + }, + "end": { + "line": 56, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1720, + "end": 1725, + "loc": { + "start": { + "line": 56, + "column": 28 + }, + "end": { + "line": 56, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1725, + "end": 1726, + "loc": { + "start": { + "line": 56, + "column": 33 + }, + "end": { + "line": 56, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTracing", + "start": 1726, + "end": 1736, + "loc": { + "start": { + "line": 56, + "column": 34 + }, + "end": { + "line": 56, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1736, + "end": 1737, + "loc": { + "start": { + "line": 56, + "column": 44 + }, + "end": { + "line": 56, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1737, + "end": 1744, + "loc": { + "start": { + "line": 56, + "column": 45 + }, + "end": { + "line": 56, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1744, + "end": 1745, + "loc": { + "start": { + "line": 56, + "column": 52 + }, + "end": { + "line": 56, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1745, + "end": 1746, + "loc": { + "start": { + "line": 56, + "column": 53 + }, + "end": { + "line": 56, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1746, + "end": 1747, + "loc": { + "start": { + "line": 56, + "column": 54 + }, + "end": { + "line": 56, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1752, + "end": 1758, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1758, + "end": 1759, + "loc": { + "start": { + "line": 57, + "column": 10 + }, + "end": { + "line": 57, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1759, + "end": 1767, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1767, + "end": 1768, + "loc": { + "start": { + "line": 57, + "column": 19 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1768, + "end": 1769, + "loc": { + "start": { + "line": 57, + "column": 20 + }, + "end": { + "line": 57, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1769, + "end": 1771, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1771, + "end": 1772, + "loc": { + "start": { + "line": 57, + "column": 23 + }, + "end": { + "line": 57, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deep", + "start": 1772, + "end": 1776, + "loc": { + "start": { + "line": 57, + "column": 24 + }, + "end": { + "line": 57, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1776, + "end": 1777, + "loc": { + "start": { + "line": 57, + "column": 28 + }, + "end": { + "line": 57, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1777, + "end": 1782, + "loc": { + "start": { + "line": 57, + "column": 29 + }, + "end": { + "line": 57, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1782, + "end": 1783, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMetadata", + "start": 1783, + "end": 1794, + "loc": { + "start": { + "line": 57, + "column": 35 + }, + "end": { + "line": 57, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1794, + "end": 1795, + "loc": { + "start": { + "line": 57, + "column": 46 + }, + "end": { + "line": 57, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoded", + "start": 1795, + "end": 1802, + "loc": { + "start": { + "line": 57, + "column": 47 + }, + "end": { + "line": 57, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1802, + "end": 1803, + "loc": { + "start": { + "line": 57, + "column": 54 + }, + "end": { + "line": 57, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1803, + "end": 1804, + "loc": { + "start": { + "line": 57, + "column": 55 + }, + "end": { + "line": 57, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1804, + "end": 1805, + "loc": { + "start": { + "line": 57, + "column": 56 + }, + "end": { + "line": 57, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1808, + "end": 1809, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1809, + "end": 1810, + "loc": { + "start": { + "line": 58, + "column": 3 + }, + "end": { + "line": 58, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1810, + "end": 1811, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1812, + "end": 1813, + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 59, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1813, + "end": 1814, + "loc": { + "start": { + "line": 59, + "column": 1 + }, + "end": { + "line": 59, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1814, + "end": 1815, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1815, + "end": 1815, + "loc": { + "start": { + "line": 59, + "column": 3 + }, + "end": { + "line": 59, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/frames/src/index.js.json b/rsocket-rpc-js/docs/ast/source/frames/src/index.js.json new file mode 100644 index 0000000..2faf4de --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/frames/src/index.js.json @@ -0,0 +1,891 @@ +{ + "type": "File", + "start": 0, + "end": 1022, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 104 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1022, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 104 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExportNamedDeclaration", + "start": 918, + "end": 1022, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 104 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 927, + "end": 941, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 23 + } + }, + "local": { + "type": "Identifier", + "start": 927, + "end": 941, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 23 + }, + "identifierName": "encodeMetadata" + }, + "name": "encodeMetadata", + "leadingComments": null + }, + "exported": { + "type": "Identifier", + "start": 927, + "end": 941, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 23 + }, + "identifierName": "encodeMetadata" + }, + "name": "encodeMetadata" + }, + "leadingComments": null + }, + { + "type": "ExportSpecifier", + "start": 943, + "end": 953, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 35 + } + }, + "local": { + "type": "Identifier", + "start": 943, + "end": 953, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 35 + }, + "identifierName": "getVersion" + }, + "name": "getVersion" + }, + "exported": { + "type": "Identifier", + "start": 943, + "end": 953, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 35 + }, + "identifierName": "getVersion" + }, + "name": "getVersion" + } + }, + { + "type": "ExportSpecifier", + "start": 955, + "end": 965, + "loc": { + "start": { + "line": 30, + "column": 37 + }, + "end": { + "line": 30, + "column": 47 + } + }, + "local": { + "type": "Identifier", + "start": 955, + "end": 965, + "loc": { + "start": { + "line": 30, + "column": 37 + }, + "end": { + "line": 30, + "column": 47 + }, + "identifierName": "getService" + }, + "name": "getService" + }, + "exported": { + "type": "Identifier", + "start": 955, + "end": 965, + "loc": { + "start": { + "line": 30, + "column": 37 + }, + "end": { + "line": 30, + "column": 47 + }, + "identifierName": "getService" + }, + "name": "getService" + } + }, + { + "type": "ExportSpecifier", + "start": 967, + "end": 976, + "loc": { + "start": { + "line": 30, + "column": 49 + }, + "end": { + "line": 30, + "column": 58 + } + }, + "local": { + "type": "Identifier", + "start": 967, + "end": 976, + "loc": { + "start": { + "line": 30, + "column": 49 + }, + "end": { + "line": 30, + "column": 58 + }, + "identifierName": "getMethod" + }, + "name": "getMethod" + }, + "exported": { + "type": "Identifier", + "start": 967, + "end": 976, + "loc": { + "start": { + "line": 30, + "column": 49 + }, + "end": { + "line": 30, + "column": 58 + }, + "identifierName": "getMethod" + }, + "name": "getMethod" + } + }, + { + "type": "ExportSpecifier", + "start": 978, + "end": 989, + "loc": { + "start": { + "line": 30, + "column": 60 + }, + "end": { + "line": 30, + "column": 71 + } + }, + "local": { + "type": "Identifier", + "start": 978, + "end": 989, + "loc": { + "start": { + "line": 30, + "column": 60 + }, + "end": { + "line": 30, + "column": 71 + }, + "identifierName": "getMetadata" + }, + "name": "getMetadata" + }, + "exported": { + "type": "Identifier", + "start": 978, + "end": 989, + "loc": { + "start": { + "line": 30, + "column": 60 + }, + "end": { + "line": 30, + "column": 71 + }, + "identifierName": "getMetadata" + }, + "name": "getMetadata" + } + }, + { + "type": "ExportSpecifier", + "start": 991, + "end": 1001, + "loc": { + "start": { + "line": 30, + "column": 73 + }, + "end": { + "line": 30, + "column": 83 + } + }, + "local": { + "type": "Identifier", + "start": 991, + "end": 1001, + "loc": { + "start": { + "line": 30, + "column": 73 + }, + "end": { + "line": 30, + "column": 83 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + }, + "exported": { + "type": "Identifier", + "start": 991, + "end": 1001, + "loc": { + "start": { + "line": 30, + "column": 73 + }, + "end": { + "line": 30, + "column": 83 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1009, + "end": 1021, + "loc": { + "start": { + "line": 30, + "column": 91 + }, + "end": { + "line": 30, + "column": 103 + } + }, + "extra": { + "rawValue": "./Metadata", + "raw": "'./Metadata'" + }, + "value": "./Metadata" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/frames\n * @fileoverview The public API for the \"frames\" package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Metadata\n * @exports encodeMetadata\n * @exports getVersion\n * @exports getService\n * @exports getMethod\n * @exports getMetadata\n * @exports getTracing\n ", + "start": 0, + "end": 916, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/frames\n * @fileoverview The public API for the \"frames\" package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Metadata\n * @exports encodeMetadata\n * @exports getVersion\n * @exports getService\n * @exports getMethod\n * @exports getMetadata\n * @exports getTracing\n ", + "start": 0, + "end": 916, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/frames\n * @fileoverview The public API for the \"frames\" package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Metadata\n * @exports encodeMetadata\n * @exports getVersion\n * @exports getService\n * @exports getMethod\n * @exports getMetadata\n * @exports getTracing\n ", + "start": 0, + "end": 916, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 918, + "end": 924, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 925, + "end": 926, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encodeMetadata", + "start": 927, + "end": 941, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 941, + "end": 942, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getVersion", + "start": 943, + "end": 953, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 953, + "end": 954, + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getService", + "start": 955, + "end": 965, + "loc": { + "start": { + "line": 30, + "column": 37 + }, + "end": { + "line": 30, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 30, + "column": 47 + }, + "end": { + "line": 30, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMethod", + "start": 967, + "end": 976, + "loc": { + "start": { + "line": 30, + "column": 49 + }, + "end": { + "line": 30, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 976, + "end": 977, + "loc": { + "start": { + "line": 30, + "column": 58 + }, + "end": { + "line": 30, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMetadata", + "start": 978, + "end": 989, + "loc": { + "start": { + "line": 30, + "column": 60 + }, + "end": { + "line": 30, + "column": 71 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 989, + "end": 990, + "loc": { + "start": { + "line": 30, + "column": 71 + }, + "end": { + "line": 30, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTracing", + "start": 991, + "end": 1001, + "loc": { + "start": { + "line": 30, + "column": 73 + }, + "end": { + "line": 30, + "column": 83 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1002, + "end": 1003, + "loc": { + "start": { + "line": 30, + "column": 84 + }, + "end": { + "line": 30, + "column": 85 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1004, + "end": 1008, + "loc": { + "start": { + "line": 30, + "column": 86 + }, + "end": { + "line": 30, + "column": 90 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Metadata", + "start": 1009, + "end": 1021, + "loc": { + "start": { + "line": 30, + "column": 91 + }, + "end": { + "line": 30, + "column": 103 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1021, + "end": 1022, + "loc": { + "start": { + "line": 30, + "column": 103 + }, + "end": { + "line": 30, + "column": 104 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1022, + "end": 1022, + "loc": { + "start": { + "line": 30, + "column": 104 + }, + "end": { + "line": 30, + "column": 104 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/BaseMeter.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/BaseMeter.js.json new file mode 100644 index 0000000..673c8f1 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/BaseMeter.js.json @@ -0,0 +1,17614 @@ +{ + "type": "File", + "start": 0, + "end": 3724, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 173, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 3724, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 173, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 214, + "end": 257, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 43 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 223, + "end": 228, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 14 + } + }, + "imported": { + "type": "Identifier", + "start": 223, + "end": 228, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 14 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "local": { + "type": "Identifier", + "start": 223, + "end": 228, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 14 + }, + "identifierName": "Meter" + }, + "name": "Meter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 236, + "end": 256, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 42 + } + }, + "extra": { + "rawValue": "./proto/metrics_pb", + "raw": "'./proto/metrics_pb'" + }, + "value": "./proto/metrics_pb" + } + }, + { + "type": "ImportDeclaration", + "start": 258, + "end": 298, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 265, + "end": 276, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 265, + "end": 276, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 18 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 282, + "end": 297, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 39 + } + }, + "extra": { + "rawValue": "./RawMeterTag", + "raw": "'./RawMeterTag'" + }, + "value": "./RawMeterTag" + } + }, + { + "type": "ImportDeclaration", + "start": 299, + "end": 330, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 31 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 308, + "end": 312, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 13 + } + }, + "imported": { + "type": "Identifier", + "start": 308, + "end": 312, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 13 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + }, + "local": { + "type": "Identifier", + "start": 308, + "end": 312, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 13 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 320, + "end": 329, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 30 + } + }, + "extra": { + "rawValue": "./stats", + "raw": "'./stats'" + }, + "value": "./stats" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name MAX_COUNTER_VALUE\n * @summary 4294967296\n *\n * @desc JavaScript uses double-precision FP for all numeric types.\n * Perhaps someday we'll have native 64-bit integers that can safely be\n * transported via JSON without additional code, but not today.\n *\n * @constant\n ", + "start": 332, + "end": 612, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 613, + "end": 655, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 42 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 619, + "end": 654, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 41 + } + }, + "id": { + "type": "Identifier", + "start": 619, + "end": 636, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 23 + }, + "identifierName": "MAX_COUNTER_VALUE" + }, + "name": "MAX_COUNTER_VALUE", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 639, + "end": 654, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 639, + "end": 647, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 639, + "end": 643, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 30 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 644, + "end": 647, + "loc": { + "start": { + "line": 30, + "column": 31 + }, + "end": { + "line": 30, + "column": 34 + }, + "identifierName": "pow" + }, + "name": "pow" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 36 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + { + "type": "NumericLiteral", + "start": 651, + "end": 653, + "loc": { + "start": { + "line": 30, + "column": 38 + }, + "end": { + "line": 30, + "column": 40 + } + }, + "extra": { + "rawValue": 32, + "raw": "32" + }, + "value": 32 + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name MAX_COUNTER_VALUE\n * @summary 4294967296\n *\n * @desc JavaScript uses double-precision FP for all numeric types.\n * Perhaps someday we'll have native 64-bit integers that can safely be\n * transported via JSON without additional code, but not today.\n *\n * @constant\n ", + "start": 332, + "end": 612, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " 4294967296", + "start": 656, + "end": 669, + "loc": { + "start": { + "line": 30, + "column": 43 + }, + "end": { + "line": 30, + "column": 56 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 671, + "end": 678, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 679, + "end": 3724, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 173, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 694, + "end": 3724, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 173, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 700, + "end": 709, + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 30 + }, + "identifierName": "BaseMeter" + }, + "name": "BaseMeter", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 710, + "end": 3724, + "loc": { + "start": { + "line": 34, + "column": 31 + }, + "end": { + "line": 173, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 828, + "end": 1458, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 828, + "end": 839, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 840, + "end": 844, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 18 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 846, + "end": 857, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 31 + }, + "identifierName": "description" + }, + "name": "description" + }, + { + "type": "Identifier", + "start": 859, + "end": 863, + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 37 + }, + "identifierName": "tags" + }, + "name": "tags" + } + ], + "body": { + "type": "BlockStatement", + "start": 865, + "end": 1458, + "loc": { + "start": { + "line": 41, + "column": 39 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 895, + "end": 929, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 38 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 895, + "end": 928, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 37 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 895, + "end": 906, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 895, + "end": 899, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 900, + "end": 906, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 15 + }, + "identifierName": "m1Rate" + }, + "name": "m1Rate" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 909, + "end": 928, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 909, + "end": 926, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 909, + "end": 913, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 22 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + }, + "property": { + "type": "Identifier", + "start": 914, + "end": 926, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 35 + }, + "identifierName": "createM1EWMA" + }, + "name": "createM1EWMA" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 871, + "end": 890, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 23 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 934, + "end": 953, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 23 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 958, + "end": 992, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 38 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 958, + "end": 991, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 37 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 958, + "end": 969, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 958, + "end": 962, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 963, + "end": 969, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 15 + }, + "identifierName": "m5Rate" + }, + "name": "m5Rate" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 972, + "end": 991, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 972, + "end": 989, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 972, + "end": 976, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 22 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + }, + "property": { + "type": "Identifier", + "start": 977, + "end": 989, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 35 + }, + "identifierName": "createM5EWMA" + }, + "name": "createM5EWMA" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 934, + "end": 953, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 23 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 997, + "end": 1016, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 23 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1021, + "end": 1057, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 40 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1021, + "end": 1056, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 39 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1021, + "end": 1033, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1021, + "end": 1025, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1026, + "end": 1033, + "loc": { + "start": { + "line": 47, + "column": 9 + }, + "end": { + "line": 47, + "column": 16 + }, + "identifierName": "m15Rate" + }, + "name": "m15Rate" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 1036, + "end": 1056, + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1036, + "end": 1054, + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 1036, + "end": 1040, + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 23 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + }, + "property": { + "type": "Identifier", + "start": 1041, + "end": 1054, + "loc": { + "start": { + "line": 47, + "column": 24 + }, + "end": { + "line": 47, + "column": 37 + }, + "identifierName": "createM15EWMA" + }, + "name": "createM15EWMA" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 997, + "end": 1016, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 23 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1062, + "end": 1083, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1088, + "end": 1103, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1088, + "end": 1102, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1088, + "end": 1098, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1088, + "end": 1092, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1093, + "end": 1098, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NumericLiteral", + "start": 1101, + "end": 1102, + "loc": { + "start": { + "line": 49, + "column": 17 + }, + "end": { + "line": 49, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1062, + "end": 1083, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?RawMeterTag[]} ", + "start": 1108, + "end": 1137, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 33 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1142, + "end": 1165, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1142, + "end": 1164, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1142, + "end": 1151, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1142, + "end": 1146, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1147, + "end": 1151, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 13 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "LogicalExpression", + "start": 1154, + "end": 1164, + "loc": { + "start": { + "line": 51, + "column": 16 + }, + "end": { + "line": 51, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 1154, + "end": 1158, + "loc": { + "start": { + "line": 51, + "column": 16 + }, + "end": { + "line": 51, + "column": 20 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "operator": "||", + "right": { + "type": "ArrayExpression", + "start": 1162, + "end": 1164, + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 26 + } + }, + "elements": [] + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?RawMeterTag[]} ", + "start": 1108, + "end": 1137, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 33 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1170, + "end": 1191, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1196, + "end": 1234, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 42 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1196, + "end": 1233, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1196, + "end": 1210, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1196, + "end": 1200, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1201, + "end": 1210, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 18 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 1213, + "end": 1233, + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1213, + "end": 1231, + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 39 + } + }, + "object": { + "type": "NewExpression", + "start": 1213, + "end": 1223, + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 1217, + "end": 1221, + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 29 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 1224, + "end": 1231, + "loc": { + "start": { + "line": 53, + "column": 32 + }, + "end": { + "line": 53, + "column": 39 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1170, + "end": 1191, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1239, + "end": 1260, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1265, + "end": 1285, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1265, + "end": 1284, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1265, + "end": 1274, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1265, + "end": 1269, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1270, + "end": 1274, + "loc": { + "start": { + "line": 55, + "column": 9 + }, + "end": { + "line": 55, + "column": 13 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 1277, + "end": 1284, + "loc": { + "start": { + "line": 55, + "column": 16 + }, + "end": { + "line": 55, + "column": 23 + } + }, + "extra": { + "rawValue": "meter", + "raw": "'meter'" + }, + "value": "meter" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1239, + "end": 1260, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1290, + "end": 1311, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1316, + "end": 1333, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1316, + "end": 1332, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1316, + "end": 1325, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1316, + "end": 1320, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1321, + "end": 1325, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 13 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1328, + "end": 1332, + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 20 + }, + "identifierName": "name" + }, + "name": "name" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1290, + "end": 1311, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?string} ", + "start": 1338, + "end": 1360, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1365, + "end": 1396, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1365, + "end": 1395, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1365, + "end": 1381, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 1365, + "end": 1369, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1370, + "end": 1381, + "loc": { + "start": { + "line": 59, + "column": 9 + }, + "end": { + "line": 59, + "column": 20 + }, + "identifierName": "description" + }, + "name": "description" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1384, + "end": 1395, + "loc": { + "start": { + "line": 59, + "column": 23 + }, + "end": { + "line": 59, + "column": 34 + }, + "identifierName": "description" + }, + "name": "description" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?string} ", + "start": 1338, + "end": 1360, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1401, + "end": 1422, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1427, + "end": 1454, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1427, + "end": 1453, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1427, + "end": 1441, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1427, + "end": 1431, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1432, + "end": 1441, + "loc": { + "start": { + "line": 61, + "column": 9 + }, + "end": { + "line": 61, + "column": 18 + }, + "identifierName": "statistic" + }, + "name": "statistic" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 1444, + "end": 1453, + "loc": { + "start": { + "line": 61, + "column": 21 + }, + "end": { + "line": 61, + "column": 30 + } + }, + "extra": { + "rawValue": "unknown", + "raw": "'unknown'" + }, + "value": "unknown" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1401, + "end": 1422, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 25 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {string} name -\n * @param {?string} description - \n * @param {?RawMeterTag[]} tags -\n ", + "start": 715, + "end": 825, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {function} converter -\n * @return {Meter[]}\n ", + "start": 1462, + "end": 1529, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1532, + "end": 1584, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 70, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1532, + "end": 1539, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 9 + }, + "identifierName": "convert" + }, + "name": "convert", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1540, + "end": 1549, + "loc": { + "start": { + "line": 68, + "column": 10 + }, + "end": { + "line": 68, + "column": 19 + }, + "identifierName": "converter" + }, + "name": "converter" + } + ], + "body": { + "type": "BlockStatement", + "start": 1551, + "end": 1584, + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 70, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1557, + "end": 1580, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 27 + } + }, + "argument": { + "type": "CallExpression", + "start": 1564, + "end": 1579, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 26 + } + }, + "callee": { + "type": "Identifier", + "start": 1564, + "end": 1573, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 20 + }, + "identifierName": "converter" + }, + "name": "converter" + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 1574, + "end": 1578, + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 25 + } + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {function} converter -\n * @return {Meter[]}\n ", + "start": 1462, + "end": 1529, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Mark the occurence of n events\n *\n * @param {?number} [n=1] - the number of events to mark the occurence of\n * @return {number} the number of events marked\n ", + "start": 1588, + "end": 1764, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1767, + "end": 2164, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 99, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1767, + "end": 1771, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 6 + }, + "identifierName": "mark" + }, + "name": "mark", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1772, + "end": 1773, + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 8 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 1775, + "end": 2164, + "loc": { + "start": { + "line": 78, + "column": 10 + }, + "end": { + "line": 99, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1781, + "end": 1809, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 1785, + "end": 1787, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 10 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 1786, + "end": 1787, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 10 + }, + "identifierName": "n" + }, + "name": "n" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1789, + "end": 1809, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1797, + "end": 1803, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 12 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1797, + "end": 1802, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 11 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1797, + "end": 1798, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 7 + }, + "identifierName": "n" + }, + "name": "n" + }, + "right": { + "type": "NumericLiteral", + "start": 1801, + "end": 1802, + "loc": { + "start": { + "line": 80, + "column": 10 + }, + "end": { + "line": 80, + "column": 11 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 1814, + "end": 1830, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1814, + "end": 1829, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 19 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 1814, + "end": 1824, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1814, + "end": 1818, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1819, + "end": 1824, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1828, + "end": 1829, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 19 + }, + "identifierName": "n" + }, + "name": "n" + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Check for wrap around", + "start": 1836, + "end": 1860, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 28 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 1865, + "end": 1951, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 87, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1869, + "end": 1899, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 38 + } + }, + "left": { + "type": "MemberExpression", + "start": 1869, + "end": 1879, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1869, + "end": 1873, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1874, + "end": 1879, + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 18 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "operator": ">", + "right": { + "type": "Identifier", + "start": 1882, + "end": 1899, + "loc": { + "start": { + "line": 85, + "column": 21 + }, + "end": { + "line": 85, + "column": 38 + }, + "identifierName": "MAX_COUNTER_VALUE" + }, + "name": "MAX_COUNTER_VALUE" + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 1901, + "end": 1951, + "loc": { + "start": { + "line": 85, + "column": 40 + }, + "end": { + "line": 87, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1909, + "end": 1945, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 42 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1909, + "end": 1944, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 41 + } + }, + "operator": "-=", + "left": { + "type": "MemberExpression", + "start": 1909, + "end": 1919, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1909, + "end": 1913, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1914, + "end": 1919, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 16 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 1923, + "end": 1944, + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 41 + } + }, + "left": { + "type": "Identifier", + "start": 1923, + "end": 1940, + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 37 + }, + "identifierName": "MAX_COUNTER_VALUE" + }, + "name": "MAX_COUNTER_VALUE" + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 1943, + "end": 1944, + "loc": { + "start": { + "line": 86, + "column": 40 + }, + "end": { + "line": 86, + "column": 41 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Check for wrap around", + "start": 1836, + "end": 1860, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 28 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Check for negative count (e.g. from a decrement)", + "start": 1957, + "end": 2008, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 55 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 2013, + "end": 2062, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 92, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2017, + "end": 2031, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 22 + } + }, + "left": { + "type": "MemberExpression", + "start": 2017, + "end": 2027, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2017, + "end": 2021, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2022, + "end": 2027, + "loc": { + "start": { + "line": 90, + "column": 13 + }, + "end": { + "line": 90, + "column": 18 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 2030, + "end": 2031, + "loc": { + "start": { + "line": 90, + "column": 21 + }, + "end": { + "line": 90, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 2033, + "end": 2062, + "loc": { + "start": { + "line": 90, + "column": 24 + }, + "end": { + "line": 92, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2041, + "end": 2056, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2041, + "end": 2055, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2041, + "end": 2051, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2041, + "end": 2045, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2046, + "end": 2051, + "loc": { + "start": { + "line": 91, + "column": 11 + }, + "end": { + "line": 91, + "column": 16 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 2054, + "end": 2055, + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 20 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Check for negative count (e.g. from a decrement)", + "start": 1957, + "end": 2008, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 55 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2068, + "end": 2090, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 2068, + "end": 2089, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2068, + "end": 2086, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2068, + "end": 2079, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2068, + "end": 2072, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2073, + "end": 2079, + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 94, + "column": 15 + }, + "identifierName": "m1Rate" + }, + "name": "m1Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2080, + "end": 2086, + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 94, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2087, + "end": 2088, + "loc": { + "start": { + "line": 94, + "column": 23 + }, + "end": { + "line": 94, + "column": 24 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2095, + "end": 2117, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 2095, + "end": 2116, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2095, + "end": 2113, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2095, + "end": 2106, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2095, + "end": 2099, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2100, + "end": 2106, + "loc": { + "start": { + "line": 95, + "column": 9 + }, + "end": { + "line": 95, + "column": 15 + }, + "identifierName": "m5Rate" + }, + "name": "m5Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2107, + "end": 2113, + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 95, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2114, + "end": 2115, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 24 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2122, + "end": 2145, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 2122, + "end": 2144, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2122, + "end": 2141, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 2122, + "end": 2134, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2122, + "end": 2126, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2127, + "end": 2134, + "loc": { + "start": { + "line": 96, + "column": 9 + }, + "end": { + "line": 96, + "column": 16 + }, + "identifierName": "m15Rate" + }, + "name": "m15Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2135, + "end": 2141, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 23 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2142, + "end": 2143, + "loc": { + "start": { + "line": 96, + "column": 24 + }, + "end": { + "line": 96, + "column": 25 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 2151, + "end": 2160, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 13 + } + }, + "argument": { + "type": "Identifier", + "start": 2158, + "end": 2159, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 12 + }, + "identifierName": "n" + }, + "name": "n" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Mark the occurence of n events\n *\n * @param {?number} [n=1] - the number of events to mark the occurence of\n * @return {number} the number of events marked\n ", + "start": 1588, + "end": 1764, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return an object containing the rate values.\n *\n * @return {Object}\n * @property {number} '1' the one-minute rate\n * @property {number} '5' the five-minute rate\n * @property {number} '15' the fifteen-minute rate\n * @property {number} mean the over-all mean per-second rate\n ", + "start": 2168, + "end": 2467, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 109, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2470, + "end": 2636, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 117, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2470, + "end": 2475, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 110, + "column": 7 + }, + "identifierName": "rates" + }, + "name": "rates", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2478, + "end": 2636, + "loc": { + "start": { + "line": 110, + "column": 10 + }, + "end": { + "line": 117, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2484, + "end": 2632, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 116, + "column": 6 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 2491, + "end": 2631, + "loc": { + "start": { + "line": 111, + "column": 11 + }, + "end": { + "line": 116, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2499, + "end": 2524, + "loc": { + "start": { + "line": 112, + "column": 6 + }, + "end": { + "line": 112, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 2499, + "end": 2502, + "loc": { + "start": { + "line": 112, + "column": 6 + }, + "end": { + "line": 112, + "column": 9 + } + }, + "extra": { + "rawValue": "1", + "raw": "'1'" + }, + "value": "1" + }, + "value": { + "type": "CallExpression", + "start": 2504, + "end": 2524, + "loc": { + "start": { + "line": 112, + "column": 11 + }, + "end": { + "line": 112, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2504, + "end": 2522, + "loc": { + "start": { + "line": 112, + "column": 11 + }, + "end": { + "line": 112, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 2504, + "end": 2508, + "loc": { + "start": { + "line": 112, + "column": 11 + }, + "end": { + "line": 112, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2509, + "end": 2522, + "loc": { + "start": { + "line": 112, + "column": 16 + }, + "end": { + "line": 112, + "column": 29 + }, + "identifierName": "oneMinuteRate" + }, + "name": "oneMinuteRate" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ObjectProperty", + "start": 2532, + "end": 2558, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 32 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 2532, + "end": 2535, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 9 + } + }, + "extra": { + "rawValue": "5", + "raw": "'5'" + }, + "value": "5" + }, + "value": { + "type": "CallExpression", + "start": 2537, + "end": 2558, + "loc": { + "start": { + "line": 113, + "column": 11 + }, + "end": { + "line": 113, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2537, + "end": 2556, + "loc": { + "start": { + "line": 113, + "column": 11 + }, + "end": { + "line": 113, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2537, + "end": 2541, + "loc": { + "start": { + "line": 113, + "column": 11 + }, + "end": { + "line": 113, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2542, + "end": 2556, + "loc": { + "start": { + "line": 113, + "column": 16 + }, + "end": { + "line": 113, + "column": 30 + }, + "identifierName": "fiveMinuteRate" + }, + "name": "fiveMinuteRate" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ObjectProperty", + "start": 2566, + "end": 2596, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 36 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 2566, + "end": 2570, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 10 + } + }, + "extra": { + "rawValue": "15", + "raw": "'15'" + }, + "value": "15" + }, + "value": { + "type": "CallExpression", + "start": 2572, + "end": 2596, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2572, + "end": 2594, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 2572, + "end": 2576, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2577, + "end": 2594, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 34 + }, + "identifierName": "fifteenMinuteRate" + }, + "name": "fifteenMinuteRate" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ObjectProperty", + "start": 2604, + "end": 2625, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 27 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2604, + "end": 2608, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 10 + }, + "identifierName": "mean" + }, + "name": "mean" + }, + "value": { + "type": "CallExpression", + "start": 2610, + "end": 2625, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2610, + "end": 2623, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 2610, + "end": 2614, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2615, + "end": 2623, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 115, + "column": 25 + }, + "identifierName": "meanRate" + }, + "name": "meanRate" + }, + "computed": false + }, + "arguments": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return an object containing the rate values.\n *\n * @return {Object}\n * @property {number} '1' the one-minute rate\n * @property {number} '5' the five-minute rate\n * @property {number} '15' the fifteen-minute rate\n * @property {number} mean the over-all mean per-second rate\n ", + "start": 2168, + "end": 2467, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 109, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the fifteen-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2640, + "end": 2728, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 122, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2731, + "end": 2788, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 125, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2731, + "end": 2748, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 123, + "column": 19 + }, + "identifierName": "fifteenMinuteRate" + }, + "name": "fifteenMinuteRate", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2751, + "end": 2788, + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 125, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2757, + "end": 2784, + "loc": { + "start": { + "line": 124, + "column": 4 + }, + "end": { + "line": 124, + "column": 31 + } + }, + "argument": { + "type": "CallExpression", + "start": 2764, + "end": 2783, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2764, + "end": 2781, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 2764, + "end": 2776, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 2764, + "end": 2768, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2769, + "end": 2776, + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 23 + }, + "identifierName": "m15Rate" + }, + "name": "m15Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2777, + "end": 2781, + "loc": { + "start": { + "line": 124, + "column": 24 + }, + "end": { + "line": 124, + "column": 28 + }, + "identifierName": "rate" + }, + "name": "rate" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the fifteen-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2640, + "end": 2728, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 122, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the five-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2792, + "end": 2877, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 130, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2880, + "end": 2933, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 133, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2880, + "end": 2894, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 131, + "column": 16 + }, + "identifierName": "fiveMinuteRate" + }, + "name": "fiveMinuteRate", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2897, + "end": 2933, + "loc": { + "start": { + "line": 131, + "column": 19 + }, + "end": { + "line": 133, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2903, + "end": 2929, + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 132, + "column": 30 + } + }, + "argument": { + "type": "CallExpression", + "start": 2910, + "end": 2928, + "loc": { + "start": { + "line": 132, + "column": 11 + }, + "end": { + "line": 132, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2910, + "end": 2926, + "loc": { + "start": { + "line": 132, + "column": 11 + }, + "end": { + "line": 132, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 2910, + "end": 2921, + "loc": { + "start": { + "line": 132, + "column": 11 + }, + "end": { + "line": 132, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2910, + "end": 2914, + "loc": { + "start": { + "line": 132, + "column": 11 + }, + "end": { + "line": 132, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2915, + "end": 2921, + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 132, + "column": 22 + }, + "identifierName": "m5Rate" + }, + "name": "m5Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2922, + "end": 2926, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 27 + }, + "identifierName": "rate" + }, + "name": "rate" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the five-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2792, + "end": 2877, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 130, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the one-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2937, + "end": 3021, + "loc": { + "start": { + "line": 135, + "column": 2 + }, + "end": { + "line": 138, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3024, + "end": 3076, + "loc": { + "start": { + "line": 139, + "column": 2 + }, + "end": { + "line": 141, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3024, + "end": 3037, + "loc": { + "start": { + "line": 139, + "column": 2 + }, + "end": { + "line": 139, + "column": 15 + }, + "identifierName": "oneMinuteRate" + }, + "name": "oneMinuteRate", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3040, + "end": 3076, + "loc": { + "start": { + "line": 139, + "column": 18 + }, + "end": { + "line": 141, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3046, + "end": 3072, + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 30 + } + }, + "argument": { + "type": "CallExpression", + "start": 3053, + "end": 3071, + "loc": { + "start": { + "line": 140, + "column": 11 + }, + "end": { + "line": 140, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3053, + "end": 3069, + "loc": { + "start": { + "line": 140, + "column": 11 + }, + "end": { + "line": 140, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 3053, + "end": 3064, + "loc": { + "start": { + "line": 140, + "column": 11 + }, + "end": { + "line": 140, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 3053, + "end": 3057, + "loc": { + "start": { + "line": 140, + "column": 11 + }, + "end": { + "line": 140, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 3058, + "end": 3064, + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 22 + }, + "identifierName": "m1Rate" + }, + "name": "m1Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3065, + "end": 3069, + "loc": { + "start": { + "line": 140, + "column": 23 + }, + "end": { + "line": 140, + "column": 27 + }, + "identifierName": "rate" + }, + "name": "rate" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the one-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2937, + "end": 3021, + "loc": { + "start": { + "line": 135, + "column": 2 + }, + "end": { + "line": 138, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the per-second rate over the complete lifetime of the meter.\n * @return {number} the rate\n ", + "start": 3080, + "end": 3193, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 146, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3196, + "end": 3284, + "loc": { + "start": { + "line": 147, + "column": 2 + }, + "end": { + "line": 149, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3196, + "end": 3204, + "loc": { + "start": { + "line": 147, + "column": 2 + }, + "end": { + "line": 147, + "column": 10 + }, + "identifierName": "meanRate" + }, + "name": "meanRate", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3207, + "end": 3284, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 149, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3213, + "end": 3280, + "loc": { + "start": { + "line": 148, + "column": 4 + }, + "end": { + "line": 148, + "column": 71 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 3220, + "end": 3279, + "loc": { + "start": { + "line": 148, + "column": 11 + }, + "end": { + "line": 148, + "column": 70 + } + }, + "left": { + "type": "BinaryExpression", + "start": 3220, + "end": 3272, + "loc": { + "start": { + "line": 148, + "column": 11 + }, + "end": { + "line": 148, + "column": 63 + } + }, + "left": { + "type": "MemberExpression", + "start": 3220, + "end": 3230, + "loc": { + "start": { + "line": 148, + "column": 11 + }, + "end": { + "line": 148, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3220, + "end": 3224, + "loc": { + "start": { + "line": 148, + "column": 11 + }, + "end": { + "line": 148, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 3225, + "end": 3230, + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 21 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "operator": "/", + "right": { + "type": "BinaryExpression", + "start": 3234, + "end": 3271, + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 62 + } + }, + "left": { + "type": "CallExpression", + "start": 3234, + "end": 3254, + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3234, + "end": 3252, + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 43 + } + }, + "object": { + "type": "NewExpression", + "start": 3234, + "end": 3244, + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 3238, + "end": 3242, + "loc": { + "start": { + "line": 148, + "column": 29 + }, + "end": { + "line": 148, + "column": 33 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 3245, + "end": 3252, + "loc": { + "start": { + "line": 148, + "column": 36 + }, + "end": { + "line": 148, + "column": 43 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 3257, + "end": 3271, + "loc": { + "start": { + "line": 148, + "column": 48 + }, + "end": { + "line": 148, + "column": 62 + } + }, + "object": { + "type": "ThisExpression", + "start": 3257, + "end": 3261, + "loc": { + "start": { + "line": 148, + "column": 48 + }, + "end": { + "line": 148, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "start": 3262, + "end": 3271, + "loc": { + "start": { + "line": 148, + "column": 53 + }, + "end": { + "line": 148, + "column": 62 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false + }, + "extra": { + "parenthesized": true, + "parenStart": 3233 + } + } + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 3275, + "end": 3279, + "loc": { + "start": { + "line": 148, + "column": 66 + }, + "end": { + "line": 148, + "column": 70 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the per-second rate over the complete lifetime of the meter.\n * @return {number} the rate\n ", + "start": 3080, + "end": 3193, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 146, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Tick the one-, five-, and fifteen-minute rates.\n ", + "start": 3288, + "end": 3350, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 153, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3353, + "end": 3438, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 158, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3353, + "end": 3357, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 154, + "column": 6 + }, + "identifierName": "tick" + }, + "name": "tick", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3360, + "end": 3438, + "loc": { + "start": { + "line": 154, + "column": 9 + }, + "end": { + "line": 158, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3366, + "end": 3385, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 3366, + "end": 3384, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3366, + "end": 3382, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 3366, + "end": 3377, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 3366, + "end": 3370, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3371, + "end": 3377, + "loc": { + "start": { + "line": 155, + "column": 9 + }, + "end": { + "line": 155, + "column": 15 + }, + "identifierName": "m1Rate" + }, + "name": "m1Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3378, + "end": 3382, + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 20 + }, + "identifierName": "tick" + }, + "name": "tick" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 3390, + "end": 3409, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 3390, + "end": 3408, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3390, + "end": 3406, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 3390, + "end": 3401, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 3390, + "end": 3394, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3395, + "end": 3401, + "loc": { + "start": { + "line": 156, + "column": 9 + }, + "end": { + "line": 156, + "column": 15 + }, + "identifierName": "m5Rate" + }, + "name": "m5Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3402, + "end": 3406, + "loc": { + "start": { + "line": 156, + "column": 16 + }, + "end": { + "line": 156, + "column": 20 + }, + "identifierName": "tick" + }, + "name": "tick" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 3414, + "end": 3434, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 3414, + "end": 3433, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3414, + "end": 3431, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 3414, + "end": 3426, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 3414, + "end": 3418, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3419, + "end": 3426, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 157, + "column": 16 + }, + "identifierName": "m15Rate" + }, + "name": "m15Rate" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3427, + "end": 3431, + "loc": { + "start": { + "line": 157, + "column": 17 + }, + "end": { + "line": 157, + "column": 21 + }, + "identifierName": "tick" + }, + "name": "tick" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Tick the one-, five-, and fifteen-minute rates.\n ", + "start": 3288, + "end": 3350, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 153, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @return {Object}\n * @property {string} type \n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name ", + "start": 3442, + "end": 3590, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 164, + "column": 31 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3593, + "end": 3722, + "loc": { + "start": { + "line": 165, + "column": 2 + }, + "end": { + "line": 172, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3593, + "end": 3601, + "loc": { + "start": { + "line": 165, + "column": 2 + }, + "end": { + "line": 165, + "column": 10 + }, + "identifierName": "toObject" + }, + "name": "toObject", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3604, + "end": 3722, + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 172, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3610, + "end": 3718, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 171, + "column": 6 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 3617, + "end": 3717, + "loc": { + "start": { + "line": 166, + "column": 11 + }, + "end": { + "line": 171, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3625, + "end": 3640, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3625, + "end": 3629, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 10 + }, + "identifierName": "type" + }, + "name": "type" + }, + "value": { + "type": "MemberExpression", + "start": 3631, + "end": 3640, + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3631, + "end": 3635, + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 3636, + "end": 3640, + "loc": { + "start": { + "line": 167, + "column": 17 + }, + "end": { + "line": 167, + "column": 21 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 3648, + "end": 3665, + "loc": { + "start": { + "line": 168, + "column": 6 + }, + "end": { + "line": 168, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3648, + "end": 3653, + "loc": { + "start": { + "line": 168, + "column": 6 + }, + "end": { + "line": 168, + "column": 11 + }, + "identifierName": "count" + }, + "name": "count" + }, + "value": { + "type": "MemberExpression", + "start": 3655, + "end": 3665, + "loc": { + "start": { + "line": 168, + "column": 13 + }, + "end": { + "line": 168, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 3655, + "end": 3659, + "loc": { + "start": { + "line": 168, + "column": 13 + }, + "end": { + "line": 168, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 3660, + "end": 3665, + "loc": { + "start": { + "line": 168, + "column": 18 + }, + "end": { + "line": 168, + "column": 23 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 3673, + "end": 3688, + "loc": { + "start": { + "line": 169, + "column": 6 + }, + "end": { + "line": 169, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3673, + "end": 3677, + "loc": { + "start": { + "line": 169, + "column": 6 + }, + "end": { + "line": 169, + "column": 10 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "value": { + "type": "MemberExpression", + "start": 3679, + "end": 3688, + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3679, + "end": 3683, + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 3684, + "end": 3688, + "loc": { + "start": { + "line": 169, + "column": 17 + }, + "end": { + "line": 169, + "column": 21 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 3696, + "end": 3711, + "loc": { + "start": { + "line": 170, + "column": 6 + }, + "end": { + "line": 170, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3696, + "end": 3700, + "loc": { + "start": { + "line": 170, + "column": 6 + }, + "end": { + "line": 170, + "column": 10 + }, + "identifierName": "name" + }, + "name": "name" + }, + "value": { + "type": "MemberExpression", + "start": 3702, + "end": 3711, + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3702, + "end": 3706, + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 3707, + "end": 3711, + "loc": { + "start": { + "line": 170, + "column": 17 + }, + "end": { + "line": 170, + "column": 21 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @return {Object}\n * @property {string} type \n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name ", + "start": 3442, + "end": 3590, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 164, + "column": 31 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " 4294967296", + "start": 656, + "end": 669, + "loc": { + "start": { + "line": 30, + "column": 43 + }, + "end": { + "line": 30, + "column": 56 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 671, + "end": 678, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " 4294967296", + "start": 656, + "end": 669, + "loc": { + "start": { + "line": 30, + "column": 43 + }, + "end": { + "line": 30, + "column": 56 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 671, + "end": 678, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 199, + "end": 212, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 199, + "end": 211, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name BaseMeter.js\n * @fileoverview Defines the \"BaseMeter\" class.\n *\n * \n *\n * @requires IMeter\n * @requires metrics_pb\n * @requires RawMeterTag\n * @requires stats\n * @exports BaseMeter\n ", + "start": 0, + "end": 197, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name BaseMeter.js\n * @fileoverview Defines the \"BaseMeter\" class.\n *\n * \n *\n * @requires IMeter\n * @requires metrics_pb\n * @requires RawMeterTag\n * @requires stats\n * @exports BaseMeter\n ", + "start": 0, + "end": 197, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name MAX_COUNTER_VALUE\n * @summary 4294967296\n *\n * @desc JavaScript uses double-precision FP for all numeric types.\n * Perhaps someday we'll have native 64-bit integers that can safely be\n * transported via JSON without additional code, but not today.\n *\n * @constant\n ", + "start": 332, + "end": 612, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " 4294967296", + "start": 656, + "end": 669, + "loc": { + "start": { + "line": 30, + "column": 43 + }, + "end": { + "line": 30, + "column": 56 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 671, + "end": 678, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} name -\n * @param {?string} description - \n * @param {?RawMeterTag[]} tags -\n ", + "start": 715, + "end": 825, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 871, + "end": 890, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 934, + "end": 953, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 997, + "end": 1016, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1062, + "end": 1083, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?RawMeterTag[]} ", + "start": 1108, + "end": 1137, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1170, + "end": 1191, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1239, + "end": 1260, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1290, + "end": 1311, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?string} ", + "start": 1338, + "end": 1360, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1401, + "end": 1422, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {function} converter -\n * @return {Meter[]}\n ", + "start": 1462, + "end": 1529, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Mark the occurence of n events\n *\n * @param {?number} [n=1] - the number of events to mark the occurence of\n * @return {number} the number of events marked\n ", + "start": 1588, + "end": 1764, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Check for wrap around", + "start": 1836, + "end": 1860, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + { + "type": "CommentLine", + "value": " Check for negative count (e.g. from a decrement)", + "start": 1957, + "end": 2008, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 55 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return an object containing the rate values.\n *\n * @return {Object}\n * @property {number} '1' the one-minute rate\n * @property {number} '5' the five-minute rate\n * @property {number} '15' the fifteen-minute rate\n * @property {number} mean the over-all mean per-second rate\n ", + "start": 2168, + "end": 2467, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 109, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the fifteen-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2640, + "end": 2728, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 122, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the five-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2792, + "end": 2877, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 130, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the one-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2937, + "end": 3021, + "loc": { + "start": { + "line": 135, + "column": 2 + }, + "end": { + "line": 138, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the per-second rate over the complete lifetime of the meter.\n * @return {number} the rate\n ", + "start": 3080, + "end": 3193, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 146, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Tick the one-, five-, and fifteen-minute rates.\n ", + "start": 3288, + "end": 3350, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 153, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @return {Object}\n * @property {string} type \n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name ", + "start": 3442, + "end": 3590, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 164, + "column": 31 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name BaseMeter.js\n * @fileoverview Defines the \"BaseMeter\" class.\n *\n * \n *\n * @requires IMeter\n * @requires metrics_pb\n * @requires RawMeterTag\n * @requires stats\n * @exports BaseMeter\n ", + "start": 0, + "end": 197, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 199, + "end": 211, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 211, + "end": 212, + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 214, + "end": 220, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 223, + "end": 228, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 229, + "end": 230, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 231, + "end": 235, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./proto/metrics_pb", + "start": 236, + "end": 256, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 256, + "end": 257, + "loc": { + "start": { + "line": 16, + "column": 42 + }, + "end": { + "line": 16, + "column": 43 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 258, + "end": 264, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 265, + "end": 276, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 277, + "end": 281, + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RawMeterTag", + "start": 282, + "end": 297, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 297, + "end": 298, + "loc": { + "start": { + "line": 17, + "column": 39 + }, + "end": { + "line": 17, + "column": 40 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 299, + "end": 305, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 306, + "end": 307, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 308, + "end": 312, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 313, + "end": 314, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 315, + "end": 319, + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./stats", + "start": 320, + "end": 329, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @name MAX_COUNTER_VALUE\n * @summary 4294967296\n *\n * @desc JavaScript uses double-precision FP for all numeric types.\n * Perhaps someday we'll have native 64-bit integers that can safely be\n * transported via JSON without additional code, but not today.\n *\n * @constant\n ", + "start": 332, + "end": 612, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 613, + "end": 618, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_COUNTER_VALUE", + "start": 619, + "end": 636, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 637, + "end": 638, + "loc": { + "start": { + "line": 30, + "column": 24 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 639, + "end": 643, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 643, + "end": 644, + "loc": { + "start": { + "line": 30, + "column": 30 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pow", + "start": 644, + "end": 647, + "loc": { + "start": { + "line": 30, + "column": 31 + }, + "end": { + "line": 30, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 647, + "end": 648, + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 649, + "end": 650, + "loc": { + "start": { + "line": 30, + "column": 36 + }, + "end": { + "line": 30, + "column": 37 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 32, + "start": 651, + "end": 653, + "loc": { + "start": { + "line": 30, + "column": 38 + }, + "end": { + "line": 30, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 653, + "end": 654, + "loc": { + "start": { + "line": 30, + "column": 40 + }, + "end": { + "line": 30, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 654, + "end": 655, + "loc": { + "start": { + "line": 30, + "column": 41 + }, + "end": { + "line": 30, + "column": 42 + } + } + }, + { + "type": "CommentLine", + "value": " 4294967296", + "start": 656, + "end": 669, + "loc": { + "start": { + "line": 30, + "column": 43 + }, + "end": { + "line": 30, + "column": 56 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 671, + "end": 678, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 679, + "end": 685, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 686, + "end": 693, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 694, + "end": 699, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BaseMeter", + "start": 700, + "end": 709, + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 710, + "end": 711, + "loc": { + "start": { + "line": 34, + "column": 31 + }, + "end": { + "line": 34, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} name -\n * @param {?string} description - \n * @param {?RawMeterTag[]} tags -\n ", + "start": 715, + "end": 825, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 828, + "end": 839, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 839, + "end": 840, + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 840, + "end": 844, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 844, + "end": 845, + "loc": { + "start": { + "line": 41, + "column": 18 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 846, + "end": 857, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 41, + "column": 31 + }, + "end": { + "line": 41, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 859, + "end": 863, + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 863, + "end": 864, + "loc": { + "start": { + "line": 41, + "column": 37 + }, + "end": { + "line": 41, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 41, + "column": 39 + }, + "end": { + "line": 41, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 871, + "end": 890, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 895, + "end": 899, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 899, + "end": 900, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m1Rate", + "start": 900, + "end": 906, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 907, + "end": 908, + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 909, + "end": 913, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 43, + "column": 22 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createM1EWMA", + "start": 914, + "end": 926, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 926, + "end": 927, + "loc": { + "start": { + "line": 43, + "column": 35 + }, + "end": { + "line": 43, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 927, + "end": 928, + "loc": { + "start": { + "line": 43, + "column": 36 + }, + "end": { + "line": 43, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 928, + "end": 929, + "loc": { + "start": { + "line": 43, + "column": 37 + }, + "end": { + "line": 43, + "column": 38 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 934, + "end": 953, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 958, + "end": 962, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 962, + "end": 963, + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m5Rate", + "start": 963, + "end": 969, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 970, + "end": 971, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 972, + "end": 976, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 976, + "end": 977, + "loc": { + "start": { + "line": 45, + "column": 22 + }, + "end": { + "line": 45, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createM5EWMA", + "start": 977, + "end": 989, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 989, + "end": 990, + "loc": { + "start": { + "line": 45, + "column": 35 + }, + "end": { + "line": 45, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 990, + "end": 991, + "loc": { + "start": { + "line": 45, + "column": 36 + }, + "end": { + "line": 45, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 991, + "end": 992, + "loc": { + "start": { + "line": 45, + "column": 37 + }, + "end": { + "line": 45, + "column": 38 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {EWMA} ", + "start": 997, + "end": 1016, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1021, + "end": 1025, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1025, + "end": 1026, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m15Rate", + "start": 1026, + "end": 1033, + "loc": { + "start": { + "line": 47, + "column": 9 + }, + "end": { + "line": 47, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1034, + "end": 1035, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 1036, + "end": 1040, + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1040, + "end": 1041, + "loc": { + "start": { + "line": 47, + "column": 23 + }, + "end": { + "line": 47, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createM15EWMA", + "start": 1041, + "end": 1054, + "loc": { + "start": { + "line": 47, + "column": 24 + }, + "end": { + "line": 47, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1054, + "end": 1055, + "loc": { + "start": { + "line": 47, + "column": 37 + }, + "end": { + "line": 47, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1055, + "end": 1056, + "loc": { + "start": { + "line": 47, + "column": 38 + }, + "end": { + "line": 47, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1056, + "end": 1057, + "loc": { + "start": { + "line": 47, + "column": 39 + }, + "end": { + "line": 47, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1062, + "end": 1083, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1088, + "end": 1092, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1092, + "end": 1093, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1093, + "end": 1098, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1099, + "end": 1100, + "loc": { + "start": { + "line": 49, + "column": 15 + }, + "end": { + "line": 49, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1101, + "end": 1102, + "loc": { + "start": { + "line": 49, + "column": 17 + }, + "end": { + "line": 49, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1102, + "end": 1103, + "loc": { + "start": { + "line": 49, + "column": 18 + }, + "end": { + "line": 49, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?RawMeterTag[]} ", + "start": 1108, + "end": 1137, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1142, + "end": 1146, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1146, + "end": 1147, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1147, + "end": 1151, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1152, + "end": 1153, + "loc": { + "start": { + "line": 51, + "column": 14 + }, + "end": { + "line": 51, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1154, + "end": 1158, + "loc": { + "start": { + "line": 51, + "column": 16 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1159, + "end": 1161, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1162, + "end": 1163, + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1163, + "end": 1164, + "loc": { + "start": { + "line": 51, + "column": 25 + }, + "end": { + "line": 51, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1164, + "end": 1165, + "loc": { + "start": { + "line": 51, + "column": 26 + }, + "end": { + "line": 51, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1170, + "end": 1191, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1196, + "end": 1200, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1200, + "end": 1201, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 1201, + "end": 1210, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1211, + "end": 1212, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1213, + "end": 1216, + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 1217, + "end": 1221, + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1221, + "end": 1222, + "loc": { + "start": { + "line": 53, + "column": 29 + }, + "end": { + "line": 53, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1222, + "end": 1223, + "loc": { + "start": { + "line": 53, + "column": 30 + }, + "end": { + "line": 53, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1223, + "end": 1224, + "loc": { + "start": { + "line": 53, + "column": 31 + }, + "end": { + "line": 53, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 1224, + "end": 1231, + "loc": { + "start": { + "line": 53, + "column": 32 + }, + "end": { + "line": 53, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1231, + "end": 1232, + "loc": { + "start": { + "line": 53, + "column": 39 + }, + "end": { + "line": 53, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1232, + "end": 1233, + "loc": { + "start": { + "line": 53, + "column": 40 + }, + "end": { + "line": 53, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1233, + "end": 1234, + "loc": { + "start": { + "line": 53, + "column": 41 + }, + "end": { + "line": 53, + "column": 42 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1239, + "end": 1260, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1265, + "end": 1269, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1269, + "end": 1270, + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 1270, + "end": 1274, + "loc": { + "start": { + "line": 55, + "column": 9 + }, + "end": { + "line": 55, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1275, + "end": 1276, + "loc": { + "start": { + "line": 55, + "column": 14 + }, + "end": { + "line": 55, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "meter", + "start": 1277, + "end": 1284, + "loc": { + "start": { + "line": 55, + "column": 16 + }, + "end": { + "line": 55, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1284, + "end": 1285, + "loc": { + "start": { + "line": 55, + "column": 23 + }, + "end": { + "line": 55, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1290, + "end": 1311, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1316, + "end": 1320, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1320, + "end": 1321, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1321, + "end": 1325, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1326, + "end": 1327, + "loc": { + "start": { + "line": 57, + "column": 14 + }, + "end": { + "line": 57, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1328, + "end": 1332, + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1332, + "end": 1333, + "loc": { + "start": { + "line": 57, + "column": 20 + }, + "end": { + "line": 57, + "column": 21 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?string} ", + "start": 1338, + "end": 1360, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1365, + "end": 1369, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1369, + "end": 1370, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 1370, + "end": 1381, + "loc": { + "start": { + "line": 59, + "column": 9 + }, + "end": { + "line": 59, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1382, + "end": 1383, + "loc": { + "start": { + "line": 59, + "column": 21 + }, + "end": { + "line": 59, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 1384, + "end": 1395, + "loc": { + "start": { + "line": 59, + "column": 23 + }, + "end": { + "line": 59, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1395, + "end": 1396, + "loc": { + "start": { + "line": 59, + "column": 34 + }, + "end": { + "line": 59, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1401, + "end": 1422, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1427, + "end": 1431, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statistic", + "start": 1432, + "end": 1441, + "loc": { + "start": { + "line": 61, + "column": 9 + }, + "end": { + "line": 61, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1442, + "end": 1443, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "unknown", + "start": 1444, + "end": 1453, + "loc": { + "start": { + "line": 61, + "column": 21 + }, + "end": { + "line": 61, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1453, + "end": 1454, + "loc": { + "start": { + "line": 61, + "column": 30 + }, + "end": { + "line": 61, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1457, + "end": 1458, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {function} converter -\n * @return {Meter[]}\n ", + "start": 1462, + "end": 1529, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 1532, + "end": 1539, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1539, + "end": 1540, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "converter", + "start": 1540, + "end": 1549, + "loc": { + "start": { + "line": 68, + "column": 10 + }, + "end": { + "line": 68, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1549, + "end": 1550, + "loc": { + "start": { + "line": 68, + "column": 19 + }, + "end": { + "line": 68, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1551, + "end": 1552, + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 68, + "column": 22 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1557, + "end": 1563, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "converter", + "start": 1564, + "end": 1573, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1573, + "end": 1574, + "loc": { + "start": { + "line": 69, + "column": 20 + }, + "end": { + "line": 69, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1574, + "end": 1578, + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1578, + "end": 1579, + "loc": { + "start": { + "line": 69, + "column": 25 + }, + "end": { + "line": 69, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1579, + "end": 1580, + "loc": { + "start": { + "line": 69, + "column": 26 + }, + "end": { + "line": 69, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1583, + "end": 1584, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 70, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Mark the occurence of n events\n *\n * @param {?number} [n=1] - the number of events to mark the occurence of\n * @return {number} the number of events marked\n ", + "start": 1588, + "end": 1764, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mark", + "start": 1767, + "end": 1771, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1771, + "end": 1772, + "loc": { + "start": { + "line": 78, + "column": 6 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 1772, + "end": 1773, + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1773, + "end": 1774, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1775, + "end": 1776, + "loc": { + "start": { + "line": 78, + "column": 10 + }, + "end": { + "line": 78, + "column": 11 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1781, + "end": 1783, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1784, + "end": 1785, + "loc": { + "start": { + "line": 79, + "column": 7 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1785, + "end": 1786, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 1786, + "end": 1787, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1787, + "end": 1788, + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1789, + "end": 1790, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 1797, + "end": 1798, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 7 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 9 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1801, + "end": 1802, + "loc": { + "start": { + "line": 80, + "column": 10 + }, + "end": { + "line": 80, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1802, + "end": 1803, + "loc": { + "start": { + "line": 80, + "column": 11 + }, + "end": { + "line": 80, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1808, + "end": 1809, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1814, + "end": 1818, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1818, + "end": 1819, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1819, + "end": 1824, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 14 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 1825, + "end": 1827, + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 82, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 1828, + "end": 1829, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1829, + "end": 1830, + "loc": { + "start": { + "line": 82, + "column": 19 + }, + "end": { + "line": 82, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": " Check for wrap around", + "start": 1836, + "end": 1860, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1865, + "end": 1867, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1868, + "end": 1869, + "loc": { + "start": { + "line": 85, + "column": 7 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1869, + "end": 1873, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1873, + "end": 1874, + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1874, + "end": 1879, + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 18 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 1880, + "end": 1881, + "loc": { + "start": { + "line": 85, + "column": 19 + }, + "end": { + "line": 85, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_COUNTER_VALUE", + "start": 1882, + "end": 1899, + "loc": { + "start": { + "line": 85, + "column": 21 + }, + "end": { + "line": 85, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1899, + "end": 1900, + "loc": { + "start": { + "line": 85, + "column": 38 + }, + "end": { + "line": 85, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1901, + "end": 1902, + "loc": { + "start": { + "line": 85, + "column": 40 + }, + "end": { + "line": 85, + "column": 41 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1909, + "end": 1913, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1913, + "end": 1914, + "loc": { + "start": { + "line": 86, + "column": 10 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1914, + "end": 1919, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 16 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-=", + "start": 1920, + "end": 1922, + "loc": { + "start": { + "line": 86, + "column": 17 + }, + "end": { + "line": 86, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX_COUNTER_VALUE", + "start": 1923, + "end": 1940, + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 37 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1941, + "end": 1942, + "loc": { + "start": { + "line": 86, + "column": 38 + }, + "end": { + "line": 86, + "column": 39 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1943, + "end": 1944, + "loc": { + "start": { + "line": 86, + "column": 40 + }, + "end": { + "line": 86, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1944, + "end": 1945, + "loc": { + "start": { + "line": 86, + "column": 41 + }, + "end": { + "line": 86, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1950, + "end": 1951, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Check for negative count (e.g. from a decrement)", + "start": 1957, + "end": 2008, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 55 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2013, + "end": 2015, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2016, + "end": 2017, + "loc": { + "start": { + "line": 90, + "column": 7 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2017, + "end": 2021, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2021, + "end": 2022, + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2022, + "end": 2027, + "loc": { + "start": { + "line": 90, + "column": 13 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 2028, + "end": 2029, + "loc": { + "start": { + "line": 90, + "column": 19 + }, + "end": { + "line": 90, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2030, + "end": 2031, + "loc": { + "start": { + "line": 90, + "column": 21 + }, + "end": { + "line": 90, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2031, + "end": 2032, + "loc": { + "start": { + "line": 90, + "column": 22 + }, + "end": { + "line": 90, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2033, + "end": 2034, + "loc": { + "start": { + "line": 90, + "column": 24 + }, + "end": { + "line": 90, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2041, + "end": 2045, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2045, + "end": 2046, + "loc": { + "start": { + "line": 91, + "column": 10 + }, + "end": { + "line": 91, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2046, + "end": 2051, + "loc": { + "start": { + "line": 91, + "column": 11 + }, + "end": { + "line": 91, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2052, + "end": 2053, + "loc": { + "start": { + "line": 91, + "column": 17 + }, + "end": { + "line": 91, + "column": 18 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2054, + "end": 2055, + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2055, + "end": 2056, + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2061, + "end": 2062, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2068, + "end": 2072, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2072, + "end": 2073, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m1Rate", + "start": 2073, + "end": 2079, + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 94, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2079, + "end": 2080, + "loc": { + "start": { + "line": 94, + "column": 15 + }, + "end": { + "line": 94, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2080, + "end": 2086, + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 94, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2086, + "end": 2087, + "loc": { + "start": { + "line": 94, + "column": 22 + }, + "end": { + "line": 94, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2087, + "end": 2088, + "loc": { + "start": { + "line": 94, + "column": 23 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2088, + "end": 2089, + "loc": { + "start": { + "line": 94, + "column": 24 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2089, + "end": 2090, + "loc": { + "start": { + "line": 94, + "column": 25 + }, + "end": { + "line": 94, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2095, + "end": 2099, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2099, + "end": 2100, + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m5Rate", + "start": 2100, + "end": 2106, + "loc": { + "start": { + "line": 95, + "column": 9 + }, + "end": { + "line": 95, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2106, + "end": 2107, + "loc": { + "start": { + "line": 95, + "column": 15 + }, + "end": { + "line": 95, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2107, + "end": 2113, + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 95, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2113, + "end": 2114, + "loc": { + "start": { + "line": 95, + "column": 22 + }, + "end": { + "line": 95, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2114, + "end": 2115, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2115, + "end": 2116, + "loc": { + "start": { + "line": 95, + "column": 24 + }, + "end": { + "line": 95, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2116, + "end": 2117, + "loc": { + "start": { + "line": 95, + "column": 25 + }, + "end": { + "line": 95, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2122, + "end": 2126, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2126, + "end": 2127, + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m15Rate", + "start": 2127, + "end": 2134, + "loc": { + "start": { + "line": 96, + "column": 9 + }, + "end": { + "line": 96, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2134, + "end": 2135, + "loc": { + "start": { + "line": 96, + "column": 16 + }, + "end": { + "line": 96, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2135, + "end": 2141, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2141, + "end": 2142, + "loc": { + "start": { + "line": 96, + "column": 23 + }, + "end": { + "line": 96, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2142, + "end": 2143, + "loc": { + "start": { + "line": 96, + "column": 24 + }, + "end": { + "line": 96, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2143, + "end": 2144, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2144, + "end": 2145, + "loc": { + "start": { + "line": 96, + "column": 26 + }, + "end": { + "line": 96, + "column": 27 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2151, + "end": 2157, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2158, + "end": 2159, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2159, + "end": 2160, + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2163, + "end": 2164, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 99, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return an object containing the rate values.\n *\n * @return {Object}\n * @property {number} '1' the one-minute rate\n * @property {number} '5' the five-minute rate\n * @property {number} '15' the fifteen-minute rate\n * @property {number} mean the over-all mean per-second rate\n ", + "start": 2168, + "end": 2467, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 109, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rates", + "start": 2470, + "end": 2475, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 110, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2475, + "end": 2476, + "loc": { + "start": { + "line": 110, + "column": 7 + }, + "end": { + "line": 110, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2476, + "end": 2477, + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2478, + "end": 2479, + "loc": { + "start": { + "line": 110, + "column": 10 + }, + "end": { + "line": 110, + "column": 11 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2484, + "end": 2490, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2491, + "end": 2492, + "loc": { + "start": { + "line": 111, + "column": 11 + }, + "end": { + "line": 111, + "column": 12 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "1", + "start": 2499, + "end": 2502, + "loc": { + "start": { + "line": 112, + "column": 6 + }, + "end": { + "line": 112, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2502, + "end": 2503, + "loc": { + "start": { + "line": 112, + "column": 9 + }, + "end": { + "line": 112, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2504, + "end": 2508, + "loc": { + "start": { + "line": 112, + "column": 11 + }, + "end": { + "line": 112, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2508, + "end": 2509, + "loc": { + "start": { + "line": 112, + "column": 15 + }, + "end": { + "line": 112, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oneMinuteRate", + "start": 2509, + "end": 2522, + "loc": { + "start": { + "line": 112, + "column": 16 + }, + "end": { + "line": 112, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2522, + "end": 2523, + "loc": { + "start": { + "line": 112, + "column": 29 + }, + "end": { + "line": 112, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2523, + "end": 2524, + "loc": { + "start": { + "line": 112, + "column": 30 + }, + "end": { + "line": 112, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2524, + "end": 2525, + "loc": { + "start": { + "line": 112, + "column": 31 + }, + "end": { + "line": 112, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "5", + "start": 2532, + "end": 2535, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2535, + "end": 2536, + "loc": { + "start": { + "line": 113, + "column": 9 + }, + "end": { + "line": 113, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2537, + "end": 2541, + "loc": { + "start": { + "line": 113, + "column": 11 + }, + "end": { + "line": 113, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2541, + "end": 2542, + "loc": { + "start": { + "line": 113, + "column": 15 + }, + "end": { + "line": 113, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fiveMinuteRate", + "start": 2542, + "end": 2556, + "loc": { + "start": { + "line": 113, + "column": 16 + }, + "end": { + "line": 113, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2556, + "end": 2557, + "loc": { + "start": { + "line": 113, + "column": 30 + }, + "end": { + "line": 113, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2557, + "end": 2558, + "loc": { + "start": { + "line": 113, + "column": 31 + }, + "end": { + "line": 113, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2558, + "end": 2559, + "loc": { + "start": { + "line": 113, + "column": 32 + }, + "end": { + "line": 113, + "column": 33 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "15", + "start": 2566, + "end": 2570, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2570, + "end": 2571, + "loc": { + "start": { + "line": 114, + "column": 10 + }, + "end": { + "line": 114, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2572, + "end": 2576, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2576, + "end": 2577, + "loc": { + "start": { + "line": 114, + "column": 16 + }, + "end": { + "line": 114, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fifteenMinuteRate", + "start": 2577, + "end": 2594, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2594, + "end": 2595, + "loc": { + "start": { + "line": 114, + "column": 34 + }, + "end": { + "line": 114, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2595, + "end": 2596, + "loc": { + "start": { + "line": 114, + "column": 35 + }, + "end": { + "line": 114, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2596, + "end": 2597, + "loc": { + "start": { + "line": 114, + "column": 36 + }, + "end": { + "line": 114, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 2604, + "end": 2608, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2608, + "end": 2609, + "loc": { + "start": { + "line": 115, + "column": 10 + }, + "end": { + "line": 115, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2610, + "end": 2614, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2614, + "end": 2615, + "loc": { + "start": { + "line": 115, + "column": 16 + }, + "end": { + "line": 115, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meanRate", + "start": 2615, + "end": 2623, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 115, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2623, + "end": 2624, + "loc": { + "start": { + "line": 115, + "column": 25 + }, + "end": { + "line": 115, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2624, + "end": 2625, + "loc": { + "start": { + "line": 115, + "column": 26 + }, + "end": { + "line": 115, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2630, + "end": 2631, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2631, + "end": 2632, + "loc": { + "start": { + "line": 116, + "column": 5 + }, + "end": { + "line": 116, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2635, + "end": 2636, + "loc": { + "start": { + "line": 117, + "column": 2 + }, + "end": { + "line": 117, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the fifteen-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2640, + "end": 2728, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 122, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fifteenMinuteRate", + "start": 2731, + "end": 2748, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 123, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2748, + "end": 2749, + "loc": { + "start": { + "line": 123, + "column": 19 + }, + "end": { + "line": 123, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2749, + "end": 2750, + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 123, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2751, + "end": 2752, + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 123, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2757, + "end": 2763, + "loc": { + "start": { + "line": 124, + "column": 4 + }, + "end": { + "line": 124, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2764, + "end": 2768, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2768, + "end": 2769, + "loc": { + "start": { + "line": 124, + "column": 15 + }, + "end": { + "line": 124, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m15Rate", + "start": 2769, + "end": 2776, + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2776, + "end": 2777, + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rate", + "start": 2777, + "end": 2781, + "loc": { + "start": { + "line": 124, + "column": 24 + }, + "end": { + "line": 124, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2781, + "end": 2782, + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2782, + "end": 2783, + "loc": { + "start": { + "line": 124, + "column": 29 + }, + "end": { + "line": 124, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2783, + "end": 2784, + "loc": { + "start": { + "line": 124, + "column": 30 + }, + "end": { + "line": 124, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2787, + "end": 2788, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 125, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the five-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2792, + "end": 2877, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 130, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fiveMinuteRate", + "start": 2880, + "end": 2894, + "loc": { + "start": { + "line": 131, + "column": 2 + }, + "end": { + "line": 131, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2894, + "end": 2895, + "loc": { + "start": { + "line": 131, + "column": 16 + }, + "end": { + "line": 131, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2895, + "end": 2896, + "loc": { + "start": { + "line": 131, + "column": 17 + }, + "end": { + "line": 131, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2897, + "end": 2898, + "loc": { + "start": { + "line": 131, + "column": 19 + }, + "end": { + "line": 131, + "column": 20 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2903, + "end": 2909, + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 132, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2910, + "end": 2914, + "loc": { + "start": { + "line": 132, + "column": 11 + }, + "end": { + "line": 132, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2914, + "end": 2915, + "loc": { + "start": { + "line": 132, + "column": 15 + }, + "end": { + "line": 132, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m5Rate", + "start": 2915, + "end": 2921, + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 132, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2921, + "end": 2922, + "loc": { + "start": { + "line": 132, + "column": 22 + }, + "end": { + "line": 132, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rate", + "start": 2922, + "end": 2926, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2926, + "end": 2927, + "loc": { + "start": { + "line": 132, + "column": 27 + }, + "end": { + "line": 132, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2927, + "end": 2928, + "loc": { + "start": { + "line": 132, + "column": 28 + }, + "end": { + "line": 132, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2928, + "end": 2929, + "loc": { + "start": { + "line": 132, + "column": 29 + }, + "end": { + "line": 132, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2932, + "end": 2933, + "loc": { + "start": { + "line": 133, + "column": 2 + }, + "end": { + "line": 133, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the one-minute per-second rate.\n * @return {number} the rate\n ", + "start": 2937, + "end": 3021, + "loc": { + "start": { + "line": 135, + "column": 2 + }, + "end": { + "line": 138, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oneMinuteRate", + "start": 3024, + "end": 3037, + "loc": { + "start": { + "line": 139, + "column": 2 + }, + "end": { + "line": 139, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3037, + "end": 3038, + "loc": { + "start": { + "line": 139, + "column": 15 + }, + "end": { + "line": 139, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3038, + "end": 3039, + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 139, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3040, + "end": 3041, + "loc": { + "start": { + "line": 139, + "column": 18 + }, + "end": { + "line": 139, + "column": 19 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3046, + "end": 3052, + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3053, + "end": 3057, + "loc": { + "start": { + "line": 140, + "column": 11 + }, + "end": { + "line": 140, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3057, + "end": 3058, + "loc": { + "start": { + "line": 140, + "column": 15 + }, + "end": { + "line": 140, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m1Rate", + "start": 3058, + "end": 3064, + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3064, + "end": 3065, + "loc": { + "start": { + "line": 140, + "column": 22 + }, + "end": { + "line": 140, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rate", + "start": 3065, + "end": 3069, + "loc": { + "start": { + "line": 140, + "column": 23 + }, + "end": { + "line": 140, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3069, + "end": 3070, + "loc": { + "start": { + "line": 140, + "column": 27 + }, + "end": { + "line": 140, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3070, + "end": 3071, + "loc": { + "start": { + "line": 140, + "column": 28 + }, + "end": { + "line": 140, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3071, + "end": 3072, + "loc": { + "start": { + "line": 140, + "column": 29 + }, + "end": { + "line": 140, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3075, + "end": 3076, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 141, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the per-second rate over the complete lifetime of the meter.\n * @return {number} the rate\n ", + "start": 3080, + "end": 3193, + "loc": { + "start": { + "line": 143, + "column": 2 + }, + "end": { + "line": 146, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meanRate", + "start": 3196, + "end": 3204, + "loc": { + "start": { + "line": 147, + "column": 2 + }, + "end": { + "line": 147, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3204, + "end": 3205, + "loc": { + "start": { + "line": 147, + "column": 10 + }, + "end": { + "line": 147, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3205, + "end": 3206, + "loc": { + "start": { + "line": 147, + "column": 11 + }, + "end": { + "line": 147, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3207, + "end": 3208, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 14 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3213, + "end": 3219, + "loc": { + "start": { + "line": 148, + "column": 4 + }, + "end": { + "line": 148, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3220, + "end": 3224, + "loc": { + "start": { + "line": 148, + "column": 11 + }, + "end": { + "line": 148, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3224, + "end": 3225, + "loc": { + "start": { + "line": 148, + "column": 15 + }, + "end": { + "line": 148, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 3225, + "end": 3230, + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 21 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 3231, + "end": 3232, + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3233, + "end": 3234, + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 148, + "column": 25 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3234, + "end": 3237, + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 3238, + "end": 3242, + "loc": { + "start": { + "line": 148, + "column": 29 + }, + "end": { + "line": 148, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3242, + "end": 3243, + "loc": { + "start": { + "line": 148, + "column": 33 + }, + "end": { + "line": 148, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3243, + "end": 3244, + "loc": { + "start": { + "line": 148, + "column": 34 + }, + "end": { + "line": 148, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3244, + "end": 3245, + "loc": { + "start": { + "line": 148, + "column": 35 + }, + "end": { + "line": 148, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 3245, + "end": 3252, + "loc": { + "start": { + "line": 148, + "column": 36 + }, + "end": { + "line": 148, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3252, + "end": 3253, + "loc": { + "start": { + "line": 148, + "column": 43 + }, + "end": { + "line": 148, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3253, + "end": 3254, + "loc": { + "start": { + "line": 148, + "column": 44 + }, + "end": { + "line": 148, + "column": 45 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 3255, + "end": 3256, + "loc": { + "start": { + "line": 148, + "column": 46 + }, + "end": { + "line": 148, + "column": 47 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3257, + "end": 3261, + "loc": { + "start": { + "line": 148, + "column": 48 + }, + "end": { + "line": 148, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3261, + "end": 3262, + "loc": { + "start": { + "line": 148, + "column": 52 + }, + "end": { + "line": 148, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 3262, + "end": 3271, + "loc": { + "start": { + "line": 148, + "column": 53 + }, + "end": { + "line": 148, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3271, + "end": 3272, + "loc": { + "start": { + "line": 148, + "column": 62 + }, + "end": { + "line": 148, + "column": 63 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 3273, + "end": 3274, + "loc": { + "start": { + "line": 148, + "column": 64 + }, + "end": { + "line": 148, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 3275, + "end": 3279, + "loc": { + "start": { + "line": 148, + "column": 66 + }, + "end": { + "line": 148, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3279, + "end": 3280, + "loc": { + "start": { + "line": 148, + "column": 70 + }, + "end": { + "line": 148, + "column": 71 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3283, + "end": 3284, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Tick the one-, five-, and fifteen-minute rates.\n ", + "start": 3288, + "end": 3350, + "loc": { + "start": { + "line": 151, + "column": 2 + }, + "end": { + "line": 153, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 3353, + "end": 3357, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 154, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3357, + "end": 3358, + "loc": { + "start": { + "line": 154, + "column": 6 + }, + "end": { + "line": 154, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3358, + "end": 3359, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3360, + "end": 3361, + "loc": { + "start": { + "line": 154, + "column": 9 + }, + "end": { + "line": 154, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3366, + "end": 3370, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3370, + "end": 3371, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m1Rate", + "start": 3371, + "end": 3377, + "loc": { + "start": { + "line": 155, + "column": 9 + }, + "end": { + "line": 155, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3377, + "end": 3378, + "loc": { + "start": { + "line": 155, + "column": 15 + }, + "end": { + "line": 155, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 3378, + "end": 3382, + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3382, + "end": 3383, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3383, + "end": 3384, + "loc": { + "start": { + "line": 155, + "column": 21 + }, + "end": { + "line": 155, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3384, + "end": 3385, + "loc": { + "start": { + "line": 155, + "column": 22 + }, + "end": { + "line": 155, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3390, + "end": 3394, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3394, + "end": 3395, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m5Rate", + "start": 3395, + "end": 3401, + "loc": { + "start": { + "line": 156, + "column": 9 + }, + "end": { + "line": 156, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3401, + "end": 3402, + "loc": { + "start": { + "line": 156, + "column": 15 + }, + "end": { + "line": 156, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 3402, + "end": 3406, + "loc": { + "start": { + "line": 156, + "column": 16 + }, + "end": { + "line": 156, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3406, + "end": 3407, + "loc": { + "start": { + "line": 156, + "column": 20 + }, + "end": { + "line": 156, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3407, + "end": 3408, + "loc": { + "start": { + "line": 156, + "column": 21 + }, + "end": { + "line": 156, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3408, + "end": 3409, + "loc": { + "start": { + "line": 156, + "column": 22 + }, + "end": { + "line": 156, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3414, + "end": 3418, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3418, + "end": 3419, + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "m15Rate", + "start": 3419, + "end": 3426, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 157, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3426, + "end": 3427, + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 157, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 3427, + "end": 3431, + "loc": { + "start": { + "line": 157, + "column": 17 + }, + "end": { + "line": 157, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3431, + "end": 3432, + "loc": { + "start": { + "line": 157, + "column": 21 + }, + "end": { + "line": 157, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3432, + "end": 3433, + "loc": { + "start": { + "line": 157, + "column": 22 + }, + "end": { + "line": 157, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3433, + "end": 3434, + "loc": { + "start": { + "line": 157, + "column": 23 + }, + "end": { + "line": 157, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3437, + "end": 3438, + "loc": { + "start": { + "line": 158, + "column": 2 + }, + "end": { + "line": 158, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* @return {Object}\n * @property {string} type \n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name ", + "start": 3442, + "end": 3590, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 164, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toObject", + "start": 3593, + "end": 3601, + "loc": { + "start": { + "line": 165, + "column": 2 + }, + "end": { + "line": 165, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3601, + "end": 3602, + "loc": { + "start": { + "line": 165, + "column": 10 + }, + "end": { + "line": 165, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3602, + "end": 3603, + "loc": { + "start": { + "line": 165, + "column": 11 + }, + "end": { + "line": 165, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3604, + "end": 3605, + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 14 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3610, + "end": 3616, + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3617, + "end": 3618, + "loc": { + "start": { + "line": 166, + "column": 11 + }, + "end": { + "line": 166, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 3625, + "end": 3629, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3629, + "end": 3630, + "loc": { + "start": { + "line": 167, + "column": 10 + }, + "end": { + "line": 167, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3631, + "end": 3635, + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3635, + "end": 3636, + "loc": { + "start": { + "line": 167, + "column": 16 + }, + "end": { + "line": 167, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 3636, + "end": 3640, + "loc": { + "start": { + "line": 167, + "column": 17 + }, + "end": { + "line": 167, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3640, + "end": 3641, + "loc": { + "start": { + "line": 167, + "column": 21 + }, + "end": { + "line": 167, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 3648, + "end": 3653, + "loc": { + "start": { + "line": 168, + "column": 6 + }, + "end": { + "line": 168, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3653, + "end": 3654, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3655, + "end": 3659, + "loc": { + "start": { + "line": 168, + "column": 13 + }, + "end": { + "line": 168, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3659, + "end": 3660, + "loc": { + "start": { + "line": 168, + "column": 17 + }, + "end": { + "line": 168, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 3660, + "end": 3665, + "loc": { + "start": { + "line": 168, + "column": 18 + }, + "end": { + "line": 168, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3665, + "end": 3666, + "loc": { + "start": { + "line": 168, + "column": 23 + }, + "end": { + "line": 168, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 3673, + "end": 3677, + "loc": { + "start": { + "line": 169, + "column": 6 + }, + "end": { + "line": 169, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3677, + "end": 3678, + "loc": { + "start": { + "line": 169, + "column": 10 + }, + "end": { + "line": 169, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3679, + "end": 3683, + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3683, + "end": 3684, + "loc": { + "start": { + "line": 169, + "column": 16 + }, + "end": { + "line": 169, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 3684, + "end": 3688, + "loc": { + "start": { + "line": 169, + "column": 17 + }, + "end": { + "line": 169, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3688, + "end": 3689, + "loc": { + "start": { + "line": 169, + "column": 21 + }, + "end": { + "line": 169, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 3696, + "end": 3700, + "loc": { + "start": { + "line": 170, + "column": 6 + }, + "end": { + "line": 170, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3700, + "end": 3701, + "loc": { + "start": { + "line": 170, + "column": 10 + }, + "end": { + "line": 170, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3702, + "end": 3706, + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3706, + "end": 3707, + "loc": { + "start": { + "line": 170, + "column": 16 + }, + "end": { + "line": 170, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 3707, + "end": 3711, + "loc": { + "start": { + "line": 170, + "column": 17 + }, + "end": { + "line": 170, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3716, + "end": 3717, + "loc": { + "start": { + "line": 171, + "column": 4 + }, + "end": { + "line": 171, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3717, + "end": 3718, + "loc": { + "start": { + "line": 171, + "column": 5 + }, + "end": { + "line": 171, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3721, + "end": 3722, + "loc": { + "start": { + "line": 172, + "column": 2 + }, + "end": { + "line": 172, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3723, + "end": 3724, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 173, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3724, + "end": 3724, + "loc": { + "start": { + "line": 173, + "column": 1 + }, + "end": { + "line": 173, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/Counter.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/Counter.js.json new file mode 100644 index 0000000..00fc1f8 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/Counter.js.json @@ -0,0 +1,4883 @@ +{ + "type": "File", + "start": 0, + "end": 1148, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 62, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1148, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 62, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 164, + "end": 200, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 36 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 171, + "end": 180, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 171, + "end": 180, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 16 + }, + "identifierName": "BaseMeter" + }, + "name": "BaseMeter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 186, + "end": 199, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 35 + } + }, + "extra": { + "rawValue": "./BaseMeter", + "raw": "'./BaseMeter'" + }, + "value": "./BaseMeter" + } + }, + { + "type": "ImportDeclaration", + "start": 201, + "end": 241, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 208, + "end": 219, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 208, + "end": 219, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 18 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 225, + "end": 240, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 39 + } + }, + "extra": { + "rawValue": "./RawMeterTag", + "raw": "'./RawMeterTag'" + }, + "value": "./RawMeterTag" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @extends {BaseMeter}\n ", + "start": 243, + "end": 274, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 275, + "end": 1148, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 62, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 290, + "end": 1148, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 62, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 296, + "end": 303, + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 28 + }, + "identifierName": "Counter" + }, + "name": "Counter", + "leadingComments": null + }, + "superClass": { + "type": "Identifier", + "start": 312, + "end": 321, + "loc": { + "start": { + "line": 20, + "column": 37 + }, + "end": { + "line": 20, + "column": 46 + }, + "identifierName": "BaseMeter" + }, + "name": "BaseMeter" + }, + "body": { + "type": "ClassBody", + "start": 322, + "end": 1148, + "loc": { + "start": { + "line": 20, + "column": 47 + }, + "end": { + "line": 62, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 465, + "end": 658, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 33, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 465, + "end": 476, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 477, + "end": 481, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 18 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 483, + "end": 494, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 31 + }, + "identifierName": "description" + }, + "name": "description" + }, + { + "type": "Identifier", + "start": 496, + "end": 501, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 38 + }, + "identifierName": "units" + }, + "name": "units" + }, + { + "type": "Identifier", + "start": 503, + "end": 507, + "loc": { + "start": { + "line": 27, + "column": 40 + }, + "end": { + "line": 27, + "column": 44 + }, + "identifierName": "tags" + }, + "name": "tags" + } + ], + "body": { + "type": "BlockStatement", + "start": 509, + "end": 658, + "loc": { + "start": { + "line": 27, + "column": 46 + }, + "end": { + "line": 33, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 515, + "end": 546, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 515, + "end": 545, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 34 + } + }, + "callee": { + "type": "Super", + "start": 515, + "end": 520, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 9 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "start": 521, + "end": 525, + "loc": { + "start": { + "line": 28, + "column": 10 + }, + "end": { + "line": 28, + "column": 14 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 527, + "end": 538, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 27 + }, + "identifierName": "description" + }, + "name": "description" + }, + { + "type": "Identifier", + "start": 540, + "end": 544, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 33 + }, + "identifierName": "tags" + }, + "name": "tags" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 551, + "end": 573, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 551, + "end": 572, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 551, + "end": 560, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 551, + "end": 555, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 556, + "end": 560, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 13 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 563, + "end": 572, + "loc": { + "start": { + "line": 29, + "column": 16 + }, + "end": { + "line": 29, + "column": 25 + } + }, + "extra": { + "rawValue": "counter", + "raw": "'counter'" + }, + "value": "counter" + } + } + }, + { + "type": "ExpressionStatement", + "start": 578, + "end": 603, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 578, + "end": 602, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 578, + "end": 592, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 578, + "end": 582, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 583, + "end": 592, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 18 + }, + "identifierName": "statistic" + }, + "name": "statistic" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 595, + "end": 602, + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 28 + } + }, + "extra": { + "rawValue": "count", + "raw": "'count'" + }, + "value": "count" + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} *", + "start": 608, + "end": 630, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 635, + "end": 654, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 635, + "end": 653, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 635, + "end": 645, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 635, + "end": 639, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 640, + "end": 645, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 14 + }, + "identifierName": "units" + }, + "name": "units" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 648, + "end": 653, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 22 + }, + "identifierName": "units" + }, + "name": "units" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} *", + "start": 608, + "end": 630, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 26 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {string} name\n * @param {?string} [description]\n * @param {string} units\n * @param {?RawMeterTag[]} [tags] -\n ", + "start": 326, + "end": 462, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Increment the count by a certain number of items.\n *\n * @param {?number} [val] the number of items to increment\n ", + "start": 662, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 39, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 795, + "end": 829, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 795, + "end": 798, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + }, + "identifierName": "inc" + }, + "name": "inc", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 799, + "end": 802, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 9 + }, + "identifierName": "val" + }, + "name": "val" + } + ], + "body": { + "type": "BlockStatement", + "start": 804, + "end": 829, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 810, + "end": 825, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 810, + "end": 824, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 810, + "end": 819, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 810, + "end": 814, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 815, + "end": 819, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 13 + }, + "identifierName": "mark" + }, + "name": "mark" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 820, + "end": 823, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 17 + }, + "identifierName": "val" + }, + "name": "val" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Increment the count by a certain number of items.\n *\n * @param {?number} [val] the number of items to increment\n ", + "start": 662, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 39, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Decrement the count by a certain number of items.\n *\n * @param {?number} [val=1] the number of items to decrement\n ", + "start": 833, + "end": 965, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 48, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 968, + "end": 1044, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 54, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 968, + "end": 971, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 + }, + "identifierName": "dec" + }, + "name": "dec", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 972, + "end": 975, + "loc": { + "start": { + "line": 49, + "column": 6 + }, + "end": { + "line": 49, + "column": 9 + }, + "identifierName": "val" + }, + "name": "val" + } + ], + "body": { + "type": "BlockStatement", + "start": 977, + "end": 1044, + "loc": { + "start": { + "line": 49, + "column": 11 + }, + "end": { + "line": 54, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 983, + "end": 1015, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 987, + "end": 991, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 988, + "end": 991, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 12 + }, + "identifierName": "val" + }, + "name": "val" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 993, + "end": 1015, + "loc": { + "start": { + "line": 50, + "column": 14 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1001, + "end": 1009, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 14 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1001, + "end": 1008, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 13 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1001, + "end": 1004, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 9 + }, + "identifierName": "val" + }, + "name": "val" + }, + "right": { + "type": "NumericLiteral", + "start": 1007, + "end": 1008, + "loc": { + "start": { + "line": 51, + "column": 12 + }, + "end": { + "line": 51, + "column": 13 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 1020, + "end": 1040, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 1020, + "end": 1039, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1020, + "end": 1029, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1020, + "end": 1024, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1025, + "end": 1029, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 13 + }, + "identifierName": "mark" + }, + "name": "mark" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 1030, + "end": 1038, + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 22 + } + }, + "left": { + "type": "UnaryExpression", + "start": 1030, + "end": 1032, + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 16 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 1031, + "end": 1032, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 16 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "*", + "right": { + "type": "Identifier", + "start": 1035, + "end": 1038, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 22 + }, + "identifierName": "val" + }, + "name": "val" + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Decrement the count by a certain number of items.\n *\n * @param {?number} [val=1] the number of items to decrement\n ", + "start": 833, + "end": 965, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 48, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Reset the number of items in the count to zero.\n ", + "start": 1048, + "end": 1110, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 58, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1113, + "end": 1146, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1113, + "end": 1118, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 7 + }, + "identifierName": "clear" + }, + "name": "clear", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1121, + "end": 1146, + "loc": { + "start": { + "line": 59, + "column": 10 + }, + "end": { + "line": 61, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1127, + "end": 1142, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1127, + "end": 1141, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1127, + "end": 1137, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1127, + "end": 1131, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1132, + "end": 1137, + "loc": { + "start": { + "line": 60, + "column": 9 + }, + "end": { + "line": 60, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 1140, + "end": 1141, + "loc": { + "start": { + "line": 60, + "column": 17 + }, + "end": { + "line": 60, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Reset the number of items in the count to zero.\n ", + "start": 1048, + "end": 1110, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 58, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @extends {BaseMeter}\n ", + "start": 243, + "end": 274, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @extends {BaseMeter}\n ", + "start": 243, + "end": 274, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 149, + "end": 162, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 149, + "end": 161, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Counter.js\n * @fileoverview A simple counter object.\n *\n * \n *\n * @requires BaseMeter\n * @requires RawMeterTag\n * @exports Counter\n ", + "start": 0, + "end": 147, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Counter.js\n * @fileoverview A simple counter object.\n *\n * \n *\n * @requires BaseMeter\n * @requires RawMeterTag\n * @exports Counter\n ", + "start": 0, + "end": 147, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @extends {BaseMeter}\n ", + "start": 243, + "end": 274, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} name\n * @param {?string} [description]\n * @param {string} units\n * @param {?RawMeterTag[]} [tags] -\n ", + "start": 326, + "end": 462, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} *", + "start": 608, + "end": 630, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Increment the count by a certain number of items.\n *\n * @param {?number} [val] the number of items to increment\n ", + "start": 662, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 39, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Decrement the count by a certain number of items.\n *\n * @param {?number} [val=1] the number of items to decrement\n ", + "start": 833, + "end": 965, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Reset the number of items in the count to zero.\n ", + "start": 1048, + "end": 1110, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 58, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name Counter.js\n * @fileoverview A simple counter object.\n *\n * \n *\n * @requires BaseMeter\n * @requires RawMeterTag\n * @exports Counter\n ", + "start": 0, + "end": 147, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 149, + "end": 161, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 161, + "end": 162, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 164, + "end": 170, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BaseMeter", + "start": 171, + "end": 180, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 181, + "end": 185, + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./BaseMeter", + "start": 186, + "end": 199, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 199, + "end": 200, + "loc": { + "start": { + "line": 14, + "column": 35 + }, + "end": { + "line": 14, + "column": 36 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 201, + "end": 207, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 208, + "end": 219, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 220, + "end": 224, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RawMeterTag", + "start": 225, + "end": 240, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 15, + "column": 39 + }, + "end": { + "line": 15, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @extends {BaseMeter}\n ", + "start": 243, + "end": 274, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 275, + "end": 281, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 282, + "end": 289, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 290, + "end": 295, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 296, + "end": 303, + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 28 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 304, + "end": 311, + "loc": { + "start": { + "line": 20, + "column": 29 + }, + "end": { + "line": 20, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BaseMeter", + "start": 312, + "end": 321, + "loc": { + "start": { + "line": 20, + "column": 37 + }, + "end": { + "line": 20, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 322, + "end": 323, + "loc": { + "start": { + "line": 20, + "column": 47 + }, + "end": { + "line": 20, + "column": 48 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} name\n * @param {?string} [description]\n * @param {string} units\n * @param {?RawMeterTag[]} [tags] -\n ", + "start": 326, + "end": 462, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 465, + "end": 476, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 476, + "end": 477, + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 477, + "end": 481, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 481, + "end": 482, + "loc": { + "start": { + "line": 27, + "column": 18 + }, + "end": { + "line": 27, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 483, + "end": 494, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 494, + "end": 495, + "loc": { + "start": { + "line": 27, + "column": 31 + }, + "end": { + "line": 27, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "units", + "start": 496, + "end": 501, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 501, + "end": 502, + "loc": { + "start": { + "line": 27, + "column": 38 + }, + "end": { + "line": 27, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 503, + "end": 507, + "loc": { + "start": { + "line": 27, + "column": 40 + }, + "end": { + "line": 27, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 507, + "end": 508, + "loc": { + "start": { + "line": 27, + "column": 44 + }, + "end": { + "line": 27, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 509, + "end": 510, + "loc": { + "start": { + "line": 27, + "column": 46 + }, + "end": { + "line": 27, + "column": 47 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 515, + "end": 520, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 521, + "end": 525, + "loc": { + "start": { + "line": 28, + "column": 10 + }, + "end": { + "line": 28, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 525, + "end": 526, + "loc": { + "start": { + "line": 28, + "column": 14 + }, + "end": { + "line": 28, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 527, + "end": 538, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 28, + "column": 27 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 540, + "end": 544, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 544, + "end": 545, + "loc": { + "start": { + "line": 28, + "column": 33 + }, + "end": { + "line": 28, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 545, + "end": 546, + "loc": { + "start": { + "line": 28, + "column": 34 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 551, + "end": 555, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 556, + "end": 560, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 29, + "column": 14 + }, + "end": { + "line": 29, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "counter", + "start": 563, + "end": 572, + "loc": { + "start": { + "line": 29, + "column": 16 + }, + "end": { + "line": 29, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 572, + "end": 573, + "loc": { + "start": { + "line": 29, + "column": 25 + }, + "end": { + "line": 29, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 578, + "end": 582, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 582, + "end": 583, + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statistic", + "start": 583, + "end": 592, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 30, + "column": 19 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "count", + "start": 595, + "end": 602, + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 602, + "end": 603, + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 30, + "column": 29 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} *", + "start": 608, + "end": 630, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 635, + "end": 639, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 639, + "end": 640, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "units", + "start": 640, + "end": 645, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 646, + "end": 647, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "units", + "start": 648, + "end": 653, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 653, + "end": 654, + "loc": { + "start": { + "line": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 657, + "end": 658, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Increment the count by a certain number of items.\n *\n * @param {?number} [val] the number of items to increment\n ", + "start": 662, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 39, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 795, + "end": 798, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 798, + "end": 799, + "loc": { + "start": { + "line": 40, + "column": 5 + }, + "end": { + "line": 40, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 799, + "end": 802, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 802, + "end": 803, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 804, + "end": 805, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 810, + "end": 814, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 814, + "end": 815, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mark", + "start": 815, + "end": 819, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 819, + "end": 820, + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 820, + "end": 823, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 823, + "end": 824, + "loc": { + "start": { + "line": 41, + "column": 17 + }, + "end": { + "line": 41, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 824, + "end": 825, + "loc": { + "start": { + "line": 41, + "column": 18 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 828, + "end": 829, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Decrement the count by a certain number of items.\n *\n * @param {?number} [val=1] the number of items to decrement\n ", + "start": 833, + "end": 965, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dec", + "start": 968, + "end": 971, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 971, + "end": 972, + "loc": { + "start": { + "line": 49, + "column": 5 + }, + "end": { + "line": 49, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 972, + "end": 975, + "loc": { + "start": { + "line": 49, + "column": 6 + }, + "end": { + "line": 49, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 975, + "end": 976, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 977, + "end": 978, + "loc": { + "start": { + "line": 49, + "column": 11 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 983, + "end": 985, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 986, + "end": 987, + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 987, + "end": 988, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 988, + "end": 991, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 991, + "end": 992, + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 993, + "end": 994, + "loc": { + "start": { + "line": 50, + "column": 14 + }, + "end": { + "line": 50, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1001, + "end": 1004, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1005, + "end": 1006, + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 51, + "column": 11 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1007, + "end": 1008, + "loc": { + "start": { + "line": 51, + "column": 12 + }, + "end": { + "line": 51, + "column": 13 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1008, + "end": 1009, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1014, + "end": 1015, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1020, + "end": 1024, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1024, + "end": 1025, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mark", + "start": 1025, + "end": 1029, + "loc": { + "start": { + "line": 53, + "column": 9 + }, + "end": { + "line": 53, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1029, + "end": 1030, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 14 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 1030, + "end": 1031, + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1031, + "end": 1032, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 16 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 1033, + "end": 1034, + "loc": { + "start": { + "line": 53, + "column": 17 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1035, + "end": 1038, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1038, + "end": 1039, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1039, + "end": 1040, + "loc": { + "start": { + "line": 53, + "column": 23 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 54, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Reset the number of items in the count to zero.\n ", + "start": 1048, + "end": 1110, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 58, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 1113, + "end": 1118, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1118, + "end": 1119, + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1119, + "end": 1120, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1121, + "end": 1122, + "loc": { + "start": { + "line": 59, + "column": 10 + }, + "end": { + "line": 59, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1127, + "end": 1131, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1131, + "end": 1132, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1132, + "end": 1137, + "loc": { + "start": { + "line": 60, + "column": 9 + }, + "end": { + "line": 60, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1138, + "end": 1139, + "loc": { + "start": { + "line": 60, + "column": 15 + }, + "end": { + "line": 60, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1140, + "end": 1141, + "loc": { + "start": { + "line": 60, + "column": 17 + }, + "end": { + "line": 60, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1141, + "end": 1142, + "loc": { + "start": { + "line": 60, + "column": 18 + }, + "end": { + "line": 60, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1145, + "end": 1146, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1147, + "end": 1148, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 62, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1148, + "end": 1148, + "loc": { + "start": { + "line": 62, + "column": 1 + }, + "end": { + "line": 62, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/Histogram.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/Histogram.js.json new file mode 100644 index 0000000..bcfddad --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/Histogram.js.json @@ -0,0 +1,34001 @@ +{ + "type": "File", + "start": 0, + "end": 6186, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 236, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 6186, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 236, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 121, + "end": 207, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 86 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 130, + "end": 157, + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 36 + } + }, + "imported": { + "type": "Identifier", + "start": 130, + "end": 157, + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 36 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "local": { + "type": "Identifier", + "start": 130, + "end": 157, + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 36 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + } + }, + { + "type": "ImportSpecifier", + "start": 159, + "end": 172, + "loc": { + "start": { + "line": 12, + "column": 38 + }, + "end": { + "line": 12, + "column": 51 + } + }, + "imported": { + "type": "Identifier", + "start": 159, + "end": 172, + "loc": { + "start": { + "line": 12, + "column": 38 + }, + "end": { + "line": 12, + "column": 51 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + }, + "local": { + "type": "Identifier", + "start": 159, + "end": 172, + "loc": { + "start": { + "line": 12, + "column": 38 + }, + "end": { + "line": 12, + "column": 51 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + } + }, + { + "type": "ImportSpecifier", + "start": 174, + "end": 181, + "loc": { + "start": { + "line": 12, + "column": 53 + }, + "end": { + "line": 12, + "column": 60 + } + }, + "imported": { + "type": "Identifier", + "start": 174, + "end": 181, + "loc": { + "start": { + "line": 12, + "column": 53 + }, + "end": { + "line": 12, + "column": 60 + }, + "identifierName": "ISample" + }, + "name": "ISample" + }, + "local": { + "type": "Identifier", + "start": 174, + "end": 181, + "loc": { + "start": { + "line": 12, + "column": 53 + }, + "end": { + "line": 12, + "column": 60 + }, + "identifierName": "ISample" + }, + "name": "ISample" + } + }, + { + "type": "ImportSpecifier", + "start": 183, + "end": 189, + "loc": { + "start": { + "line": 12, + "column": 62 + }, + "end": { + "line": 12, + "column": 68 + } + }, + "imported": { + "type": "Identifier", + "start": 183, + "end": 189, + "loc": { + "start": { + "line": 12, + "column": 62 + }, + "end": { + "line": 12, + "column": 68 + }, + "identifierName": "Sample" + }, + "name": "Sample" + }, + "local": { + "type": "Identifier", + "start": 183, + "end": 189, + "loc": { + "start": { + "line": 12, + "column": 62 + }, + "end": { + "line": 12, + "column": 68 + }, + "identifierName": "Sample" + }, + "name": "Sample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 197, + "end": 206, + "loc": { + "start": { + "line": 12, + "column": 76 + }, + "end": { + "line": 12, + "column": 85 + } + }, + "extra": { + "rawValue": "./stats", + "raw": "'./stats'" + }, + "value": "./stats" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The default set of percentiles to use in the Histogram.\n ", + "start": 209, + "end": 275, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 276, + "end": 383, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 107 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 283, + "end": 383, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 107 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 289, + "end": 382, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 106 + } + }, + "id": { + "type": "Identifier", + "start": 289, + "end": 308, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 32 + }, + "identifierName": "DEFAULT_PERCENTILES" + }, + "name": "DEFAULT_PERCENTILES", + "leadingComments": null + }, + "init": { + "type": "ArrayExpression", + "start": 311, + "end": 382, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 17, + "column": 106 + } + }, + "elements": [ + { + "type": "NumericLiteral", + "start": 312, + "end": 317, + "loc": { + "start": { + "line": 17, + "column": 36 + }, + "end": { + "line": 17, + "column": 41 + } + }, + "extra": { + "rawValue": 0.001, + "raw": "0.001" + }, + "value": 0.001 + }, + { + "type": "NumericLiteral", + "start": 319, + "end": 323, + "loc": { + "start": { + "line": 17, + "column": 43 + }, + "end": { + "line": 17, + "column": 47 + } + }, + "extra": { + "rawValue": 0.01, + "raw": "0.01" + }, + "value": 0.01 + }, + { + "type": "NumericLiteral", + "start": 325, + "end": 329, + "loc": { + "start": { + "line": 17, + "column": 49 + }, + "end": { + "line": 17, + "column": 53 + } + }, + "extra": { + "rawValue": 0.05, + "raw": "0.05" + }, + "value": 0.05 + }, + { + "type": "NumericLiteral", + "start": 331, + "end": 334, + "loc": { + "start": { + "line": 17, + "column": 55 + }, + "end": { + "line": 17, + "column": 58 + } + }, + "extra": { + "rawValue": 0.1, + "raw": "0.1" + }, + "value": 0.1 + }, + { + "type": "NumericLiteral", + "start": 336, + "end": 340, + "loc": { + "start": { + "line": 17, + "column": 60 + }, + "end": { + "line": 17, + "column": 64 + } + }, + "extra": { + "rawValue": 0.25, + "raw": "0.25" + }, + "value": 0.25 + }, + { + "type": "NumericLiteral", + "start": 342, + "end": 345, + "loc": { + "start": { + "line": 17, + "column": 66 + }, + "end": { + "line": 17, + "column": 69 + } + }, + "extra": { + "rawValue": 0.5, + "raw": "0.5" + }, + "value": 0.5 + }, + { + "type": "NumericLiteral", + "start": 347, + "end": 351, + "loc": { + "start": { + "line": 17, + "column": 71 + }, + "end": { + "line": 17, + "column": 75 + } + }, + "extra": { + "rawValue": 0.75, + "raw": "0.75" + }, + "value": 0.75 + }, + { + "type": "NumericLiteral", + "start": 353, + "end": 356, + "loc": { + "start": { + "line": 17, + "column": 77 + }, + "end": { + "line": 17, + "column": 80 + } + }, + "extra": { + "rawValue": 0.9, + "raw": "0.9" + }, + "value": 0.9 + }, + { + "type": "NumericLiteral", + "start": 358, + "end": 362, + "loc": { + "start": { + "line": 17, + "column": 82 + }, + "end": { + "line": 17, + "column": 86 + } + }, + "extra": { + "rawValue": 0.95, + "raw": "0.95" + }, + "value": 0.95 + }, + { + "type": "NumericLiteral", + "start": 364, + "end": 368, + "loc": { + "start": { + "line": 17, + "column": 88 + }, + "end": { + "line": 17, + "column": 92 + } + }, + "extra": { + "rawValue": 0.98, + "raw": "0.98" + }, + "value": 0.98 + }, + { + "type": "NumericLiteral", + "start": 370, + "end": 374, + "loc": { + "start": { + "line": 17, + "column": 94 + }, + "end": { + "line": 17, + "column": 98 + } + }, + "extra": { + "rawValue": 0.99, + "raw": "0.99" + }, + "value": 0.99 + }, + { + "type": "NumericLiteral", + "start": 376, + "end": 381, + "loc": { + "start": { + "line": 17, + "column": 100 + }, + "end": { + "line": 17, + "column": 105 + } + }, + "extra": { + "rawValue": 0.999, + "raw": "0.999" + }, + "value": 0.999 + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The default set of percentiles to use in the Histogram.\n ", + "start": 209, + "end": 275, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * A histogram tracks the distribution of items, given a sample type.\n ", + "start": 385, + "end": 462, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The default set of percentiles to use in the Histogram.\n ", + "start": 209, + "end": 275, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * A histogram tracks the distribution of items, given a sample type.\n ", + "start": 385, + "end": 462, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 463, + "end": 6186, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 236, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 470, + "end": 6186, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 236, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 476, + "end": 485, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 22 + }, + "identifierName": "Histogram" + }, + "name": "Histogram", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 486, + "end": 6186, + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 236, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 534, + "end": 1126, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 534, + "end": 545, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 546, + "end": 552, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 20 + }, + "identifierName": "sample" + }, + "name": "sample" + } + ], + "body": { + "type": "BlockStatement", + "start": 554, + "end": 1126, + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 587, + "end": 656, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 73 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 587, + "end": 655, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 72 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 587, + "end": 598, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 587, + "end": 591, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 592, + "end": 598, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 15 + }, + "identifierName": "sample" + }, + "name": "sample" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "LogicalExpression", + "start": 601, + "end": 655, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 72 + } + }, + "left": { + "type": "Identifier", + "start": 601, + "end": 607, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 24 + }, + "identifierName": "sample" + }, + "name": "sample" + }, + "operator": "||", + "right": { + "type": "NewExpression", + "start": 611, + "end": 655, + "loc": { + "start": { + "line": 29, + "column": 28 + }, + "end": { + "line": 29, + "column": 72 + } + }, + "callee": { + "type": "Identifier", + "start": 615, + "end": 642, + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 59 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 643, + "end": 647, + "loc": { + "start": { + "line": 29, + "column": 60 + }, + "end": { + "line": 29, + "column": 64 + } + }, + "extra": { + "rawValue": 1028, + "raw": "1028" + }, + "value": 1028 + }, + { + "type": "NumericLiteral", + "start": 649, + "end": 654, + "loc": { + "start": { + "line": 29, + "column": 66 + }, + "end": { + "line": 29, + "column": 71 + } + }, + "extra": { + "rawValue": 0.015, + "raw": "0.015" + }, + "value": 0.015 + } + ] + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {ISample} ", + "start": 560, + "end": 582, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 661, + "end": 683, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 688, + "end": 704, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 688, + "end": 703, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 688, + "end": 696, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 688, + "end": 692, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 693, + "end": 696, + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 12 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 699, + "end": 703, + "loc": { + "start": { + "line": 31, + "column": 15 + }, + "end": { + "line": 31, + "column": 19 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 661, + "end": 683, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 709, + "end": 731, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 736, + "end": 752, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 736, + "end": 751, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 736, + "end": 744, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 736, + "end": 740, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 741, + "end": 744, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 12 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 747, + "end": 751, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 709, + "end": 731, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 757, + "end": 779, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 784, + "end": 800, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 784, + "end": 799, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 784, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 784, + "end": 788, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 789, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 12 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 795, + "end": 799, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 19 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 757, + "end": 779, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " These are for the Welford algorithm for calculating running variance", + "start": 805, + "end": 876, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 75 + } + } + }, + { + "type": "CommentLine", + "value": " without floating-point doom.", + "start": 881, + "end": 912, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 917, + "end": 939, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 944, + "end": 966, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 944, + "end": 965, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 944, + "end": 958, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 944, + "end": 948, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 949, + "end": 958, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 18 + }, + "identifierName": "varianceM" + }, + "name": "varianceM" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " These are for the Welford algorithm for calculating running variance", + "start": 805, + "end": 876, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 75 + } + } + }, + { + "type": "CommentLine", + "value": " without floating-point doom.", + "start": 881, + "end": 912, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 917, + "end": 939, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 971, + "end": 993, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 998, + "end": 1020, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 998, + "end": 1019, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 998, + "end": 1012, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 998, + "end": 1002, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1003, + "end": 1012, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 18 + }, + "identifierName": "varianceS" + }, + "name": "varianceS" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 1015, + "end": 1019, + "loc": { + "start": { + "line": 41, + "column": 21 + }, + "end": { + "line": 41, + "column": 25 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 971, + "end": 993, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 1025, + "end": 1047, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1052, + "end": 1067, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1052, + "end": 1066, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1052, + "end": 1062, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1052, + "end": 1056, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1057, + "end": 1062, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NumericLiteral", + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 43, + "column": 17 + }, + "end": { + "line": 43, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 1025, + "end": 1047, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1072, + "end": 1093, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1098, + "end": 1122, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1098, + "end": 1121, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1098, + "end": 1107, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1098, + "end": 1102, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1103, + "end": 1107, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 13 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 1110, + "end": 1121, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 27 + } + }, + "extra": { + "rawValue": "histogram", + "raw": "'histogram'" + }, + "value": "histogram" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1072, + "end": 1093, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 25 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ISample} sample -\n ", + "start": 491, + "end": 531, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create an exponentially decaying histogram.\n *\n * @param {number} [size=1028]\n * @param {number} [alpha=0.015]\n * @return {Histogram}\n ", + "start": 1130, + "end": 1286, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1289, + "end": 1435, + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "static": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1296, + "end": 1327, + "loc": { + "start": { + "line": 55, + "column": 9 + }, + "end": { + "line": 55, + "column": 40 + }, + "identifierName": "createExponentialDecayHistogram" + }, + "name": "createExponentialDecayHistogram" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1328, + "end": 1332, + "loc": { + "start": { + "line": 55, + "column": 41 + }, + "end": { + "line": 55, + "column": 45 + }, + "identifierName": "size" + }, + "name": "size" + }, + { + "type": "Identifier", + "start": 1334, + "end": 1339, + "loc": { + "start": { + "line": 55, + "column": 47 + }, + "end": { + "line": 55, + "column": 52 + }, + "identifierName": "alpha" + }, + "name": "alpha" + } + ], + "body": { + "type": "BlockStatement", + "start": 1341, + "end": 1435, + "loc": { + "start": { + "line": 55, + "column": 54 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1347, + "end": 1431, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 88 + } + }, + "argument": { + "type": "NewExpression", + "start": 1354, + "end": 1430, + "loc": { + "start": { + "line": 56, + "column": 11 + }, + "end": { + "line": 56, + "column": 87 + } + }, + "callee": { + "type": "Identifier", + "start": 1358, + "end": 1367, + "loc": { + "start": { + "line": 56, + "column": 15 + }, + "end": { + "line": 56, + "column": 24 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "arguments": [ + { + "type": "NewExpression", + "start": 1368, + "end": 1429, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 86 + } + }, + "callee": { + "type": "Identifier", + "start": 1372, + "end": 1399, + "loc": { + "start": { + "line": 56, + "column": 29 + }, + "end": { + "line": 56, + "column": 56 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "arguments": [ + { + "type": "LogicalExpression", + "start": 1400, + "end": 1412, + "loc": { + "start": { + "line": 56, + "column": 57 + }, + "end": { + "line": 56, + "column": 69 + } + }, + "left": { + "type": "Identifier", + "start": 1400, + "end": 1404, + "loc": { + "start": { + "line": 56, + "column": 57 + }, + "end": { + "line": 56, + "column": 61 + }, + "identifierName": "size" + }, + "name": "size" + }, + "operator": "||", + "right": { + "type": "NumericLiteral", + "start": 1408, + "end": 1412, + "loc": { + "start": { + "line": 56, + "column": 65 + }, + "end": { + "line": 56, + "column": 69 + } + }, + "extra": { + "rawValue": 1028, + "raw": "1028" + }, + "value": 1028 + } + }, + { + "type": "LogicalExpression", + "start": 1414, + "end": 1428, + "loc": { + "start": { + "line": 56, + "column": 71 + }, + "end": { + "line": 56, + "column": 85 + } + }, + "left": { + "type": "Identifier", + "start": 1414, + "end": 1419, + "loc": { + "start": { + "line": 56, + "column": 71 + }, + "end": { + "line": 56, + "column": 76 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "operator": "||", + "right": { + "type": "NumericLiteral", + "start": 1423, + "end": 1428, + "loc": { + "start": { + "line": 56, + "column": 80 + }, + "end": { + "line": 56, + "column": 85 + } + }, + "extra": { + "rawValue": 0.015, + "raw": "0.015" + }, + "value": 0.015 + } + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create an exponentially decaying histogram.\n *\n * @param {number} [size=1028]\n * @param {number} [alpha=0.015]\n * @return {Histogram}\n ", + "start": 1130, + "end": 1286, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create a uniformly-sampled histogram.\n *\n * @param {number} [size=1028]\n * @return {Histogram}\n ", + "start": 1439, + "end": 1554, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1557, + "end": 1657, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 3 + } + }, + "static": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1564, + "end": 1586, + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 31 + }, + "identifierName": "createUniformHistogram" + }, + "name": "createUniformHistogram" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1587, + "end": 1591, + "loc": { + "start": { + "line": 65, + "column": 32 + }, + "end": { + "line": 65, + "column": 36 + }, + "identifierName": "size" + }, + "name": "size" + } + ], + "body": { + "type": "BlockStatement", + "start": 1593, + "end": 1657, + "loc": { + "start": { + "line": 65, + "column": 38 + }, + "end": { + "line": 67, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1599, + "end": 1653, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 58 + } + }, + "argument": { + "type": "NewExpression", + "start": 1606, + "end": 1652, + "loc": { + "start": { + "line": 66, + "column": 11 + }, + "end": { + "line": 66, + "column": 57 + } + }, + "callee": { + "type": "Identifier", + "start": 1610, + "end": 1619, + "loc": { + "start": { + "line": 66, + "column": 15 + }, + "end": { + "line": 66, + "column": 24 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "arguments": [ + { + "type": "NewExpression", + "start": 1620, + "end": 1651, + "loc": { + "start": { + "line": 66, + "column": 25 + }, + "end": { + "line": 66, + "column": 56 + } + }, + "callee": { + "type": "Identifier", + "start": 1624, + "end": 1637, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 42 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + }, + "arguments": [ + { + "type": "LogicalExpression", + "start": 1638, + "end": 1650, + "loc": { + "start": { + "line": 66, + "column": 43 + }, + "end": { + "line": 66, + "column": 55 + } + }, + "left": { + "type": "Identifier", + "start": 1638, + "end": 1642, + "loc": { + "start": { + "line": 66, + "column": 43 + }, + "end": { + "line": 66, + "column": 47 + }, + "identifierName": "size" + }, + "name": "size" + }, + "operator": "||", + "right": { + "type": "NumericLiteral", + "start": 1646, + "end": 1650, + "loc": { + "start": { + "line": 66, + "column": 51 + }, + "end": { + "line": 66, + "column": 55 + } + }, + "extra": { + "rawValue": 1028, + "raw": "1028" + }, + "value": 1028 + } + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create a uniformly-sampled histogram.\n *\n * @param {number} [size=1028]\n * @return {Histogram}\n ", + "start": 1439, + "end": 1554, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the histogram to its default values.\n ", + "start": 1661, + "end": 1719, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 71, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1722, + "end": 1913, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 80, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1722, + "end": 1727, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 72, + "column": 7 + }, + "identifierName": "clear" + }, + "name": "clear", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 1728, + "end": 1743, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 23 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1746, + "end": 1913, + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 80, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1752, + "end": 1772, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 1752, + "end": 1771, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1752, + "end": 1769, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 1752, + "end": 1763, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1752, + "end": 1756, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1757, + "end": 1763, + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 15 + }, + "identifierName": "sample" + }, + "name": "sample" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1764, + "end": 1769, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 21 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": null + }, + { + "type": "ExpressionStatement", + "start": 1777, + "end": 1793, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1777, + "end": 1792, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1777, + "end": 1785, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 1777, + "end": 1781, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1782, + "end": 1785, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 12 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 1788, + "end": 1792, + "loc": { + "start": { + "line": 74, + "column": 15 + }, + "end": { + "line": 74, + "column": 19 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 1798, + "end": 1814, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1798, + "end": 1813, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1798, + "end": 1806, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 1798, + "end": 1802, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1803, + "end": 1806, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 12 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 1809, + "end": 1813, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 19 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 1819, + "end": 1835, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1819, + "end": 1834, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1819, + "end": 1827, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 1819, + "end": 1823, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1824, + "end": 1827, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 12 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 1830, + "end": 1834, + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 19 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 1840, + "end": 1862, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1840, + "end": 1861, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1840, + "end": 1854, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1840, + "end": 1844, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1845, + "end": 1854, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 18 + }, + "identifierName": "varianceM" + }, + "name": "varianceM" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 1857, + "end": 1861, + "loc": { + "start": { + "line": 77, + "column": 21 + }, + "end": { + "line": 77, + "column": 25 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 1867, + "end": 1889, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1867, + "end": 1888, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1867, + "end": 1881, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1867, + "end": 1871, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1872, + "end": 1881, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 18 + }, + "identifierName": "varianceS" + }, + "name": "varianceS" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 1884, + "end": 1888, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 25 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 1894, + "end": 1909, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1894, + "end": 1908, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1894, + "end": 1904, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1894, + "end": 1898, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1899, + "end": 1904, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 1907, + "end": 1908, + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 1728, + "end": 1743, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 23 + } + } + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the histogram to its default values.\n ", + "start": 1661, + "end": 1719, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 71, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * timestamp param primarily used for testing\n *\n * @function\n * @param {number} val\n * @param {?number} [timestamp]\n ", + "start": 1917, + "end": 2053, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2056, + "end": 2485, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 104, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2056, + "end": 2062, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 8 + }, + "identifierName": "update" + }, + "name": "update", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 2063, + "end": 2078, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 24 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2079, + "end": 2082, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 28 + }, + "identifierName": "val" + }, + "name": "val", + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 2063, + "end": 2078, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 24 + } + } + } + ] + }, + { + "type": "Identifier", + "start": 2084, + "end": 2093, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 39 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + } + ], + "body": { + "type": "BlockStatement", + "start": 2095, + "end": 2485, + "loc": { + "start": { + "line": 89, + "column": 41 + }, + "end": { + "line": 104, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2101, + "end": 2114, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 17 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 2101, + "end": 2113, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 16 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 2101, + "end": 2111, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2101, + "end": 2105, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2106, + "end": 2111, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 90, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 2119, + "end": 2154, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 2119, + "end": 2153, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2119, + "end": 2137, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2119, + "end": 2130, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2119, + "end": 2123, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2124, + "end": 2130, + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 15 + }, + "identifierName": "sample" + }, + "name": "sample" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2131, + "end": 2137, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2138, + "end": 2141, + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 26 + }, + "identifierName": "val" + }, + "name": "val" + }, + { + "type": "Identifier", + "start": 2143, + "end": 2152, + "loc": { + "start": { + "line": 91, + "column": 28 + }, + "end": { + "line": 91, + "column": 37 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + } + ] + } + }, + { + "type": "IfStatement", + "start": 2159, + "end": 2274, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2163, + "end": 2180, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 25 + } + }, + "left": { + "type": "MemberExpression", + "start": 2163, + "end": 2171, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2163, + "end": 2167, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2168, + "end": 2171, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 16 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 2176, + "end": 2180, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 25 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2182, + "end": 2211, + "loc": { + "start": { + "line": 92, + "column": 27 + }, + "end": { + "line": 94, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2190, + "end": 2205, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2190, + "end": 2204, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2190, + "end": 2198, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2190, + "end": 2194, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2195, + "end": 2198, + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 93, + "column": 14 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 2201, + "end": 2204, + "loc": { + "start": { + "line": 93, + "column": 17 + }, + "end": { + "line": 93, + "column": 20 + }, + "identifierName": "val" + }, + "name": "val" + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2217, + "end": 2274, + "loc": { + "start": { + "line": 94, + "column": 11 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2225, + "end": 2268, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2225, + "end": 2267, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2225, + "end": 2233, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2225, + "end": 2229, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2230, + "end": 2233, + "loc": { + "start": { + "line": 95, + "column": 11 + }, + "end": { + "line": 95, + "column": 14 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + }, + "right": { + "type": "ConditionalExpression", + "start": 2236, + "end": 2267, + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 48 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2236, + "end": 2250, + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 2236, + "end": 2239, + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 20 + }, + "identifierName": "val" + }, + "name": "val" + }, + "operator": ">", + "right": { + "type": "MemberExpression", + "start": 2242, + "end": 2250, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 2242, + "end": 2246, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 2247, + "end": 2250, + "loc": { + "start": { + "line": 95, + "column": 28 + }, + "end": { + "line": 95, + "column": 31 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + } + }, + "consequent": { + "type": "Identifier", + "start": 2253, + "end": 2256, + "loc": { + "start": { + "line": 95, + "column": 34 + }, + "end": { + "line": 95, + "column": 37 + }, + "identifierName": "val" + }, + "name": "val" + }, + "alternate": { + "type": "MemberExpression", + "start": 2259, + "end": 2267, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 2259, + "end": 2263, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "start": 2264, + "end": 2267, + "loc": { + "start": { + "line": 95, + "column": 45 + }, + "end": { + "line": 95, + "column": 48 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + } + } + } + } + ], + "directives": [] + } + }, + { + "type": "IfStatement", + "start": 2279, + "end": 2394, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 101, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2283, + "end": 2300, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 25 + } + }, + "left": { + "type": "MemberExpression", + "start": 2283, + "end": 2291, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2283, + "end": 2287, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2288, + "end": 2291, + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 16 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 2296, + "end": 2300, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 97, + "column": 25 + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2302, + "end": 2331, + "loc": { + "start": { + "line": 97, + "column": 27 + }, + "end": { + "line": 99, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2310, + "end": 2325, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2310, + "end": 2324, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2310, + "end": 2318, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2310, + "end": 2314, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2315, + "end": 2318, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 14 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 2321, + "end": 2324, + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 20 + }, + "identifierName": "val" + }, + "name": "val" + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2337, + "end": 2394, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 101, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2345, + "end": 2388, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2345, + "end": 2387, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2345, + "end": 2353, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2345, + "end": 2349, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2350, + "end": 2353, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 14 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + }, + "right": { + "type": "ConditionalExpression", + "start": 2356, + "end": 2387, + "loc": { + "start": { + "line": 100, + "column": 17 + }, + "end": { + "line": 100, + "column": 48 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2356, + "end": 2370, + "loc": { + "start": { + "line": 100, + "column": 17 + }, + "end": { + "line": 100, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 2356, + "end": 2359, + "loc": { + "start": { + "line": 100, + "column": 17 + }, + "end": { + "line": 100, + "column": 20 + }, + "identifierName": "val" + }, + "name": "val" + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 2362, + "end": 2370, + "loc": { + "start": { + "line": 100, + "column": 23 + }, + "end": { + "line": 100, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 2362, + "end": 2366, + "loc": { + "start": { + "line": 100, + "column": 23 + }, + "end": { + "line": 100, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 2367, + "end": 2370, + "loc": { + "start": { + "line": 100, + "column": 28 + }, + "end": { + "line": 100, + "column": 31 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + } + }, + "consequent": { + "type": "Identifier", + "start": 2373, + "end": 2376, + "loc": { + "start": { + "line": 100, + "column": 34 + }, + "end": { + "line": 100, + "column": 37 + }, + "identifierName": "val" + }, + "name": "val" + }, + "alternate": { + "type": "MemberExpression", + "start": 2379, + "end": 2387, + "loc": { + "start": { + "line": 100, + "column": 40 + }, + "end": { + "line": 100, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 2379, + "end": 2383, + "loc": { + "start": { + "line": 100, + "column": 40 + }, + "end": { + "line": 100, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "start": 2384, + "end": 2387, + "loc": { + "start": { + "line": 100, + "column": 45 + }, + "end": { + "line": 100, + "column": 48 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + } + } + } + } + ], + "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2399, + "end": 2451, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2399, + "end": 2450, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2399, + "end": 2407, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 2399, + "end": 2403, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2404, + "end": 2407, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 102, + "column": 12 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "computed": false + }, + "right": { + "type": "ConditionalExpression", + "start": 2410, + "end": 2450, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 55 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2410, + "end": 2427, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 32 + } + }, + "left": { + "type": "MemberExpression", + "start": 2410, + "end": 2418, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 2410, + "end": 2414, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 2415, + "end": 2418, + "loc": { + "start": { + "line": 102, + "column": 20 + }, + "end": { + "line": 102, + "column": 23 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 2423, + "end": 2427, + "loc": { + "start": { + "line": 102, + "column": 28 + }, + "end": { + "line": 102, + "column": 32 + } + } + } + }, + "consequent": { + "type": "Identifier", + "start": 2430, + "end": 2433, + "loc": { + "start": { + "line": 102, + "column": 35 + }, + "end": { + "line": 102, + "column": 38 + }, + "identifierName": "val" + }, + "name": "val" + }, + "alternate": { + "type": "BinaryExpression", + "start": 2436, + "end": 2450, + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 55 + } + }, + "left": { + "type": "MemberExpression", + "start": 2436, + "end": 2444, + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 2436, + "end": 2440, + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "start": 2441, + "end": 2444, + "loc": { + "start": { + "line": 102, + "column": 46 + }, + "end": { + "line": 102, + "column": 49 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2447, + "end": 2450, + "loc": { + "start": { + "line": 102, + "column": 52 + }, + "end": { + "line": 102, + "column": 55 + }, + "identifierName": "val" + }, + "name": "val" + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 2456, + "end": 2481, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 2456, + "end": 2480, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 28 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2456, + "end": 2475, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 2456, + "end": 2460, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2461, + "end": 2475, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 23 + }, + "identifierName": "updateVariance" + }, + "name": "updateVariance" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2476, + "end": 2479, + "loc": { + "start": { + "line": 103, + "column": 24 + }, + "end": { + "line": 103, + "column": 27 + }, + "identifierName": "val" + }, + "name": "val" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * timestamp param primarily used for testing\n *\n * @function\n * @param {number} val\n * @param {?number} [timestamp]\n ", + "start": 1917, + "end": 2053, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the value of the Welford algorithm variance.\n *\n * @function\n * @param {number} val\n ", + "start": 2489, + "end": 2597, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 111, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2600, + "end": 2909, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 121, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2600, + "end": 2614, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 112, + "column": 16 + }, + "identifierName": "updateVariance" + }, + "name": "updateVariance", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 2615, + "end": 2630, + "loc": { + "start": { + "line": 112, + "column": 17 + }, + "end": { + "line": 112, + "column": 32 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2631, + "end": 2634, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 36 + }, + "identifierName": "val" + }, + "name": "val", + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 2615, + "end": 2630, + "loc": { + "start": { + "line": 112, + "column": 17 + }, + "end": { + "line": 112, + "column": 32 + } + } + } + ] + } + ], + "body": { + "type": "BlockStatement", + "start": 2636, + "end": 2909, + "loc": { + "start": { + "line": 112, + "column": 38 + }, + "end": { + "line": 121, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2642, + "end": 2701, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 114, + "column": 31 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2646, + "end": 2668, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 30 + } + }, + "id": { + "type": "Identifier", + "start": 2646, + "end": 2651, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 13 + }, + "identifierName": "oldVM" + }, + "name": "oldVM" + }, + "init": { + "type": "MemberExpression", + "start": 2654, + "end": 2668, + "loc": { + "start": { + "line": 113, + "column": 16 + }, + "end": { + "line": 113, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2654, + "end": 2658, + "loc": { + "start": { + "line": 113, + "column": 16 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 2659, + "end": 2668, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 30 + }, + "identifierName": "varianceM" + }, + "name": "varianceM" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 2678, + "end": 2700, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 30 + } + }, + "id": { + "type": "Identifier", + "start": 2678, + "end": 2683, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 13 + }, + "identifierName": "oldVS" + }, + "name": "oldVS" + }, + "init": { + "type": "MemberExpression", + "start": 2686, + "end": 2700, + "loc": { + "start": { + "line": 114, + "column": 16 + }, + "end": { + "line": 114, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2686, + "end": 2690, + "loc": { + "start": { + "line": 114, + "column": 16 + }, + "end": { + "line": 114, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 2691, + "end": 2700, + "loc": { + "start": { + "line": 114, + "column": 21 + }, + "end": { + "line": 114, + "column": 30 + }, + "identifierName": "varianceS" + }, + "name": "varianceS" + }, + "computed": false + } + } + ], + "kind": "var" + }, + { + "type": "IfStatement", + "start": 2706, + "end": 2905, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 120, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2710, + "end": 2725, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 23 + } + }, + "left": { + "type": "MemberExpression", + "start": 2710, + "end": 2720, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2710, + "end": 2714, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2715, + "end": 2720, + "loc": { + "start": { + "line": 115, + "column": 13 + }, + "end": { + "line": 115, + "column": 18 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "operator": "==", + "right": { + "type": "NumericLiteral", + "start": 2724, + "end": 2725, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 23 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2727, + "end": 2762, + "loc": { + "start": { + "line": 115, + "column": 25 + }, + "end": { + "line": 117, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2735, + "end": 2756, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2735, + "end": 2755, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2735, + "end": 2749, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2735, + "end": 2739, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2740, + "end": 2749, + "loc": { + "start": { + "line": 116, + "column": 11 + }, + "end": { + "line": 116, + "column": 20 + }, + "identifierName": "varianceM" + }, + "name": "varianceM" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 2752, + "end": 2755, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 26 + }, + "identifierName": "val" + }, + "name": "val" + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2768, + "end": 2905, + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 120, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2776, + "end": 2828, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 58 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2776, + "end": 2827, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 57 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2776, + "end": 2790, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2776, + "end": 2780, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2781, + "end": 2790, + "loc": { + "start": { + "line": 118, + "column": 11 + }, + "end": { + "line": 118, + "column": 20 + }, + "identifierName": "varianceM" + }, + "name": "varianceM" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 2793, + "end": 2827, + "loc": { + "start": { + "line": 118, + "column": 23 + }, + "end": { + "line": 118, + "column": 57 + } + }, + "left": { + "type": "Identifier", + "start": 2793, + "end": 2798, + "loc": { + "start": { + "line": 118, + "column": 23 + }, + "end": { + "line": 118, + "column": 28 + }, + "identifierName": "oldVM" + }, + "name": "oldVM" + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 2801, + "end": 2827, + "loc": { + "start": { + "line": 118, + "column": 31 + }, + "end": { + "line": 118, + "column": 57 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2802, + "end": 2813, + "loc": { + "start": { + "line": 118, + "column": 32 + }, + "end": { + "line": 118, + "column": 43 + } + }, + "left": { + "type": "Identifier", + "start": 2802, + "end": 2805, + "loc": { + "start": { + "line": 118, + "column": 32 + }, + "end": { + "line": 118, + "column": 35 + }, + "identifierName": "val" + }, + "name": "val" + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 2808, + "end": 2813, + "loc": { + "start": { + "line": 118, + "column": 38 + }, + "end": { + "line": 118, + "column": 43 + }, + "identifierName": "oldVM" + }, + "name": "oldVM" + }, + "extra": { + "parenthesized": true, + "parenStart": 2801 + } + }, + "operator": "/", + "right": { + "type": "MemberExpression", + "start": 2817, + "end": 2827, + "loc": { + "start": { + "line": 118, + "column": 47 + }, + "end": { + "line": 118, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2817, + "end": 2821, + "loc": { + "start": { + "line": 118, + "column": 47 + }, + "end": { + "line": 118, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "start": 2822, + "end": 2827, + "loc": { + "start": { + "line": 118, + "column": 52 + }, + "end": { + "line": 118, + "column": 57 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 2835, + "end": 2899, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 70 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2835, + "end": 2898, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 69 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2835, + "end": 2849, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2835, + "end": 2839, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2840, + "end": 2849, + "loc": { + "start": { + "line": 119, + "column": 11 + }, + "end": { + "line": 119, + "column": 20 + }, + "identifierName": "varianceS" + }, + "name": "varianceS" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 2852, + "end": 2898, + "loc": { + "start": { + "line": 119, + "column": 23 + }, + "end": { + "line": 119, + "column": 69 + } + }, + "left": { + "type": "Identifier", + "start": 2852, + "end": 2857, + "loc": { + "start": { + "line": 119, + "column": 23 + }, + "end": { + "line": 119, + "column": 28 + }, + "identifierName": "oldVS" + }, + "name": "oldVS" + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 2860, + "end": 2898, + "loc": { + "start": { + "line": 119, + "column": 31 + }, + "end": { + "line": 119, + "column": 69 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2861, + "end": 2872, + "loc": { + "start": { + "line": 119, + "column": 32 + }, + "end": { + "line": 119, + "column": 43 + } + }, + "left": { + "type": "Identifier", + "start": 2861, + "end": 2864, + "loc": { + "start": { + "line": 119, + "column": 32 + }, + "end": { + "line": 119, + "column": 35 + }, + "identifierName": "val" + }, + "name": "val" + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 2867, + "end": 2872, + "loc": { + "start": { + "line": 119, + "column": 38 + }, + "end": { + "line": 119, + "column": 43 + }, + "identifierName": "oldVM" + }, + "name": "oldVM" + }, + "extra": { + "parenthesized": true, + "parenStart": 2860 + } + }, + "operator": "*", + "right": { + "type": "BinaryExpression", + "start": 2877, + "end": 2897, + "loc": { + "start": { + "line": 119, + "column": 48 + }, + "end": { + "line": 119, + "column": 68 + } + }, + "left": { + "type": "Identifier", + "start": 2877, + "end": 2880, + "loc": { + "start": { + "line": 119, + "column": 48 + }, + "end": { + "line": 119, + "column": 51 + }, + "identifierName": "val" + }, + "name": "val" + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 2883, + "end": 2897, + "loc": { + "start": { + "line": 119, + "column": 54 + }, + "end": { + "line": 119, + "column": 68 + } + }, + "object": { + "type": "ThisExpression", + "start": 2883, + "end": 2887, + "loc": { + "start": { + "line": 119, + "column": 54 + }, + "end": { + "line": 119, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "start": 2888, + "end": 2897, + "loc": { + "start": { + "line": 119, + "column": 59 + }, + "end": { + "line": 119, + "column": 68 + }, + "identifierName": "varianceM" + }, + "name": "varianceM" + }, + "computed": false + }, + "extra": { + "parenthesized": true, + "parenStart": 2876 + } + } + } + } + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the value of the Welford algorithm variance.\n *\n * @function\n * @param {number} val\n ", + "start": 2489, + "end": 2597, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 111, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the values for a set of percentiles.\n *\n * @function\n * @param {?number[]} [percentiles] An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is {@link DEFAULT_PERCENTILES}.\n * @return {number[]} the values for each percentile level\n ", + "start": 2913, + "end": 3233, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 129, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3236, + "end": 4094, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 158, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3236, + "end": 3247, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, + "column": 13 + }, + "identifierName": "percentiles" + }, + "name": "percentiles", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 3248, + "end": 3263, + "loc": { + "start": { + "line": 130, + "column": 14 + }, + "end": { + "line": 130, + "column": 29 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3264, + "end": 3275, + "loc": { + "start": { + "line": 130, + "column": 30 + }, + "end": { + "line": 130, + "column": 41 + }, + "identifierName": "percentiles" + }, + "name": "percentiles", + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 3248, + "end": 3263, + "loc": { + "start": { + "line": 130, + "column": 14 + }, + "end": { + "line": 130, + "column": 29 + } + } + } + ] + } + ], + "body": { + "type": "BlockStatement", + "start": 3277, + "end": 4094, + "loc": { + "start": { + "line": 130, + "column": 43 + }, + "end": { + "line": 158, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3283, + "end": 3349, + "loc": { + "start": { + "line": 131, + "column": 4 + }, + "end": { + "line": 133, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 3287, + "end": 3299, + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 20 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 3288, + "end": 3299, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 20 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3301, + "end": 3349, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 133, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3309, + "end": 3343, + "loc": { + "start": { + "line": 132, + "column": 6 + }, + "end": { + "line": 132, + "column": 40 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3309, + "end": 3342, + "loc": { + "start": { + "line": 132, + "column": 6 + }, + "end": { + "line": 132, + "column": 39 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3309, + "end": 3320, + "loc": { + "start": { + "line": 132, + "column": 6 + }, + "end": { + "line": 132, + "column": 17 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "right": { + "type": "Identifier", + "start": 3323, + "end": 3342, + "loc": { + "start": { + "line": 132, + "column": 20 + }, + "end": { + "line": 132, + "column": 39 + }, + "identifierName": "DEFAULT_PERCENTILES" + }, + "name": "DEFAULT_PERCENTILES" + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 3354, + "end": 3579, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 143, + "column": 14 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3358, + "end": 3494, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 138, + "column": 6 + } + }, + "id": { + "type": "Identifier", + "start": 3358, + "end": 3364, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 14 + }, + "identifierName": "values" + }, + "name": "values" + }, + "init": { + "type": "CallExpression", + "start": 3367, + "end": 3494, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 138, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3367, + "end": 3449, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 136, + "column": 11 + } + }, + "object": { + "type": "CallExpression", + "start": 3367, + "end": 3444, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 136, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3367, + "end": 3394, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 134, + "column": 44 + } + }, + "object": { + "type": "CallExpression", + "start": 3367, + "end": 3390, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 134, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3367, + "end": 3388, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 134, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 3367, + "end": 3378, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 134, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 3367, + "end": 3371, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 134, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 3372, + "end": 3378, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 28 + }, + "identifierName": "sample" + }, + "name": "sample" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3379, + "end": 3388, + "loc": { + "start": { + "line": 134, + "column": 29 + }, + "end": { + "line": 134, + "column": 38 + }, + "identifierName": "getValues" + }, + "name": "getValues" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 3391, + "end": 3394, + "loc": { + "start": { + "line": 134, + "column": 41 + }, + "end": { + "line": 134, + "column": 44 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 3395, + "end": 3443, + "loc": { + "start": { + "line": 134, + "column": 45 + }, + "end": { + "line": 136, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3405, + "end": 3406, + "loc": { + "start": { + "line": 134, + "column": 55 + }, + "end": { + "line": 134, + "column": 56 + }, + "identifierName": "v" + }, + "name": "v" + } + ], + "body": { + "type": "BlockStatement", + "start": 3408, + "end": 3443, + "loc": { + "start": { + "line": 134, + "column": 58 + }, + "end": { + "line": 136, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3416, + "end": 3437, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 135, + "column": 27 + } + }, + "argument": { + "type": "CallExpression", + "start": 3423, + "end": 3436, + "loc": { + "start": { + "line": 135, + "column": 13 + }, + "end": { + "line": 135, + "column": 26 + } + }, + "callee": { + "type": "Identifier", + "start": 3423, + "end": 3433, + "loc": { + "start": { + "line": 135, + "column": 13 + }, + "end": { + "line": 135, + "column": 23 + }, + "identifierName": "parseFloat" + }, + "name": "parseFloat" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3434, + "end": 3435, + "loc": { + "start": { + "line": 135, + "column": 24 + }, + "end": { + "line": 135, + "column": 25 + }, + "identifierName": "v" + }, + "name": "v" + } + ] + } + } + ], + "directives": [] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 3445, + "end": 3449, + "loc": { + "start": { + "line": 136, + "column": 7 + }, + "end": { + "line": 136, + "column": 11 + }, + "identifierName": "sort" + }, + "name": "sort" + }, + "computed": false + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 3450, + "end": 3493, + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 138, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3460, + "end": 3461, + "loc": { + "start": { + "line": 136, + "column": 22 + }, + "end": { + "line": 136, + "column": 23 + }, + "identifierName": "a" + }, + "name": "a" + }, + { + "type": "Identifier", + "start": 3463, + "end": 3464, + "loc": { + "start": { + "line": 136, + "column": 25 + }, + "end": { + "line": 136, + "column": 26 + }, + "identifierName": "b" + }, + "name": "b" + } + ], + "body": { + "type": "BlockStatement", + "start": 3466, + "end": 3493, + "loc": { + "start": { + "line": 136, + "column": 28 + }, + "end": { + "line": 138, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3474, + "end": 3487, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 19 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 3481, + "end": 3486, + "loc": { + "start": { + "line": 137, + "column": 13 + }, + "end": { + "line": 137, + "column": 18 + } + }, + "left": { + "type": "Identifier", + "start": 3481, + "end": 3482, + "loc": { + "start": { + "line": 137, + "column": 13 + }, + "end": { + "line": 137, + "column": 14 + }, + "identifierName": "a" + }, + "name": "a" + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 3485, + "end": 3486, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 18 + }, + "identifierName": "b" + }, + "name": "b" + } + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "VariableDeclarator", + "start": 3504, + "end": 3515, + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 3504, + "end": 3510, + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 14 + }, + "identifierName": "scores" + }, + "name": "scores" + }, + "init": { + "type": "ObjectExpression", + "start": 3513, + "end": 3515, + "loc": { + "start": { + "line": 139, + "column": 17 + }, + "end": { + "line": 139, + "column": 19 + } + }, + "properties": [] + } + }, + { + "type": "VariableDeclarator", + "start": 3525, + "end": 3535, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 3525, + "end": 3535, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 18 + }, + "identifierName": "percentile" + }, + "name": "percentile" + }, + "init": null + }, + { + "type": "VariableDeclarator", + "start": 3545, + "end": 3548, + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 11 + } + }, + "id": { + "type": "Identifier", + "start": 3545, + "end": 3548, + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 11 + }, + "identifierName": "pos" + }, + "name": "pos" + }, + "init": null + }, + { + "type": "VariableDeclarator", + "start": 3558, + "end": 3563, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 13 + } + }, + "id": { + "type": "Identifier", + "start": 3558, + "end": 3563, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 13 + }, + "identifierName": "lower" + }, + "name": "lower" + }, + "init": null + }, + { + "type": "VariableDeclarator", + "start": 3573, + "end": 3578, + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 13 + } + }, + "id": { + "type": "Identifier", + "start": 3573, + "end": 3578, + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 13 + }, + "identifierName": "upper" + }, + "name": "upper" + }, + "init": null + } + ], + "kind": "var" + }, + { + "type": "ForStatement", + "start": 3584, + "end": 4071, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 156, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 3589, + "end": 3598, + "loc": { + "start": { + "line": 144, + "column": 9 + }, + "end": { + "line": 144, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3593, + "end": 3598, + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 3593, + "end": 3594, + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 3597, + "end": 3598, + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 3600, + "end": 3622, + "loc": { + "start": { + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 42 + } + }, + "left": { + "type": "Identifier", + "start": 3600, + "end": 3601, + "loc": { + "start": { + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 3604, + "end": 3622, + "loc": { + "start": { + "line": 144, + "column": 24 + }, + "end": { + "line": 144, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 3604, + "end": 3615, + "loc": { + "start": { + "line": 144, + "column": 24 + }, + "end": { + "line": 144, + "column": 35 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "property": { + "type": "Identifier", + "start": 3616, + "end": 3622, + "loc": { + "start": { + "line": 144, + "column": 36 + }, + "end": { + "line": 144, + "column": 42 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "update": { + "type": "UpdateExpression", + "start": 3624, + "end": 3627, + "loc": { + "start": { + "line": 144, + "column": 44 + }, + "end": { + "line": 144, + "column": 47 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 3624, + "end": 3625, + "loc": { + "start": { + "line": 144, + "column": 44 + }, + "end": { + "line": 144, + "column": 45 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 3629, + "end": 4071, + "loc": { + "start": { + "line": 144, + "column": 49 + }, + "end": { + "line": 156, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3637, + "end": 3680, + "loc": { + "start": { + "line": 145, + "column": 6 + }, + "end": { + "line": 145, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3637, + "end": 3679, + "loc": { + "start": { + "line": 145, + "column": 6 + }, + "end": { + "line": 145, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3637, + "end": 3640, + "loc": { + "start": { + "line": 145, + "column": 6 + }, + "end": { + "line": 145, + "column": 9 + }, + "identifierName": "pos" + }, + "name": "pos" + }, + "right": { + "type": "BinaryExpression", + "start": 3643, + "end": 3679, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 48 + } + }, + "left": { + "type": "MemberExpression", + "start": 3643, + "end": 3657, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 3643, + "end": 3654, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 23 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "property": { + "type": "Identifier", + "start": 3655, + "end": 3656, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 25 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "operator": "*", + "right": { + "type": "BinaryExpression", + "start": 3661, + "end": 3678, + "loc": { + "start": { + "line": 145, + "column": 30 + }, + "end": { + "line": 145, + "column": 47 + } + }, + "left": { + "type": "MemberExpression", + "start": 3661, + "end": 3674, + "loc": { + "start": { + "line": 145, + "column": 30 + }, + "end": { + "line": 145, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 3661, + "end": 3667, + "loc": { + "start": { + "line": 145, + "column": 30 + }, + "end": { + "line": 145, + "column": 36 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "Identifier", + "start": 3668, + "end": 3674, + "loc": { + "start": { + "line": 145, + "column": 37 + }, + "end": { + "line": 145, + "column": 43 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 3677, + "end": 3678, + "loc": { + "start": { + "line": 145, + "column": 46 + }, + "end": { + "line": 145, + "column": 47 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 3660 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 3687, + "end": 3715, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3687, + "end": 3714, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3687, + "end": 3697, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 16 + }, + "identifierName": "percentile" + }, + "name": "percentile" + }, + "right": { + "type": "MemberExpression", + "start": 3700, + "end": 3714, + "loc": { + "start": { + "line": 146, + "column": 19 + }, + "end": { + "line": 146, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 3700, + "end": 3711, + "loc": { + "start": { + "line": 146, + "column": 19 + }, + "end": { + "line": 146, + "column": 30 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "property": { + "type": "Identifier", + "start": 3712, + "end": 3713, + "loc": { + "start": { + "line": 146, + "column": 31 + }, + "end": { + "line": 146, + "column": 32 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + } + } + }, + { + "type": "IfStatement", + "start": 3722, + "end": 4065, + "loc": { + "start": { + "line": 147, + "column": 6 + }, + "end": { + "line": 155, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3726, + "end": 3733, + "loc": { + "start": { + "line": 147, + "column": 10 + }, + "end": { + "line": 147, + "column": 17 + } + }, + "left": { + "type": "Identifier", + "start": 3726, + "end": 3729, + "loc": { + "start": { + "line": 147, + "column": 10 + }, + "end": { + "line": 147, + "column": 13 + }, + "identifierName": "pos" + }, + "name": "pos" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 3732, + "end": 3733, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, + "column": 17 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3735, + "end": 3784, + "loc": { + "start": { + "line": 147, + "column": 19 + }, + "end": { + "line": 149, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3745, + "end": 3776, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 39 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3745, + "end": 3775, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 38 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3745, + "end": 3763, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 3745, + "end": 3751, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 14 + }, + "identifierName": "scores" + }, + "name": "scores" + }, + "property": { + "type": "Identifier", + "start": 3752, + "end": 3762, + "loc": { + "start": { + "line": 148, + "column": 15 + }, + "end": { + "line": 148, + "column": 25 + }, + "identifierName": "percentile" + }, + "name": "percentile" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 3766, + "end": 3775, + "loc": { + "start": { + "line": 148, + "column": 29 + }, + "end": { + "line": 148, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 3766, + "end": 3772, + "loc": { + "start": { + "line": 148, + "column": 29 + }, + "end": { + "line": 148, + "column": 35 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "NumericLiteral", + "start": 3773, + "end": 3774, + "loc": { + "start": { + "line": 148, + "column": 36 + }, + "end": { + "line": 148, + "column": 37 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 3790, + "end": 4065, + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 155, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3794, + "end": 3814, + "loc": { + "start": { + "line": 149, + "column": 17 + }, + "end": { + "line": 149, + "column": 37 + } + }, + "left": { + "type": "Identifier", + "start": 3794, + "end": 3797, + "loc": { + "start": { + "line": 149, + "column": 17 + }, + "end": { + "line": 149, + "column": 20 + }, + "identifierName": "pos" + }, + "name": "pos" + }, + "operator": ">=", + "right": { + "type": "MemberExpression", + "start": 3801, + "end": 3814, + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 3801, + "end": 3807, + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 30 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "Identifier", + "start": 3808, + "end": 3814, + "loc": { + "start": { + "line": 149, + "column": 31 + }, + "end": { + "line": 149, + "column": 37 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3816, + "end": 3881, + "loc": { + "start": { + "line": 149, + "column": 39 + }, + "end": { + "line": 151, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3826, + "end": 3873, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3826, + "end": 3872, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3826, + "end": 3844, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 3826, + "end": 3832, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 14 + }, + "identifierName": "scores" + }, + "name": "scores" + }, + "property": { + "type": "Identifier", + "start": 3833, + "end": 3843, + "loc": { + "start": { + "line": 150, + "column": 15 + }, + "end": { + "line": 150, + "column": 25 + }, + "identifierName": "percentile" + }, + "name": "percentile" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 3847, + "end": 3872, + "loc": { + "start": { + "line": 150, + "column": 29 + }, + "end": { + "line": 150, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 3847, + "end": 3853, + "loc": { + "start": { + "line": 150, + "column": 29 + }, + "end": { + "line": 150, + "column": 35 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "BinaryExpression", + "start": 3854, + "end": 3871, + "loc": { + "start": { + "line": 150, + "column": 36 + }, + "end": { + "line": 150, + "column": 53 + } + }, + "left": { + "type": "MemberExpression", + "start": 3854, + "end": 3867, + "loc": { + "start": { + "line": 150, + "column": 36 + }, + "end": { + "line": 150, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 3854, + "end": 3860, + "loc": { + "start": { + "line": 150, + "column": 36 + }, + "end": { + "line": 150, + "column": 42 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "Identifier", + "start": 3861, + "end": 3867, + "loc": { + "start": { + "line": 150, + "column": 43 + }, + "end": { + "line": 150, + "column": 49 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 3870, + "end": 3871, + "loc": { + "start": { + "line": 150, + "column": 52 + }, + "end": { + "line": 150, + "column": 53 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "computed": true + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 3887, + "end": 4065, + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 155, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3897, + "end": 3933, + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 44 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3897, + "end": 3932, + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 43 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3897, + "end": 3902, + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 13 + }, + "identifierName": "lower" + }, + "name": "lower" + }, + "right": { + "type": "MemberExpression", + "start": 3905, + "end": 3932, + "loc": { + "start": { + "line": 152, + "column": 16 + }, + "end": { + "line": 152, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 3905, + "end": 3911, + "loc": { + "start": { + "line": 152, + "column": 16 + }, + "end": { + "line": 152, + "column": 22 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "BinaryExpression", + "start": 3912, + "end": 3931, + "loc": { + "start": { + "line": 152, + "column": 23 + }, + "end": { + "line": 152, + "column": 42 + } + }, + "left": { + "type": "CallExpression", + "start": 3912, + "end": 3927, + "loc": { + "start": { + "line": 152, + "column": 23 + }, + "end": { + "line": 152, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3912, + "end": 3922, + "loc": { + "start": { + "line": 152, + "column": 23 + }, + "end": { + "line": 152, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 3912, + "end": 3916, + "loc": { + "start": { + "line": 152, + "column": 23 + }, + "end": { + "line": 152, + "column": 27 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 3917, + "end": 3922, + "loc": { + "start": { + "line": 152, + "column": 28 + }, + "end": { + "line": 152, + "column": 33 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3923, + "end": 3926, + "loc": { + "start": { + "line": 152, + "column": 34 + }, + "end": { + "line": 152, + "column": 37 + }, + "identifierName": "pos" + }, + "name": "pos" + } + ] + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 3930, + "end": 3931, + "loc": { + "start": { + "line": 152, + "column": 41 + }, + "end": { + "line": 152, + "column": 42 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "computed": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 3942, + "end": 3977, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3942, + "end": 3976, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3942, + "end": 3947, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 13 + }, + "identifierName": "upper" + }, + "name": "upper" + }, + "right": { + "type": "MemberExpression", + "start": 3950, + "end": 3976, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 3950, + "end": 3956, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 22 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "BinaryExpression", + "start": 3957, + "end": 3975, + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 41 + } + }, + "left": { + "type": "CallExpression", + "start": 3957, + "end": 3971, + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3957, + "end": 3966, + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 3957, + "end": 3961, + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 27 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 3962, + "end": 3966, + "loc": { + "start": { + "line": 153, + "column": 28 + }, + "end": { + "line": 153, + "column": 32 + }, + "identifierName": "ceil" + }, + "name": "ceil" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3967, + "end": 3970, + "loc": { + "start": { + "line": 153, + "column": 33 + }, + "end": { + "line": 153, + "column": 36 + }, + "identifierName": "pos" + }, + "name": "pos" + } + ] + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 3974, + "end": 3975, + "loc": { + "start": { + "line": 153, + "column": 40 + }, + "end": { + "line": 153, + "column": 41 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "computed": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 3986, + "end": 4057, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 79 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3986, + "end": 4056, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 78 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3986, + "end": 4004, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 3986, + "end": 3992, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 14 + }, + "identifierName": "scores" + }, + "name": "scores" + }, + "property": { + "type": "Identifier", + "start": 3993, + "end": 4003, + "loc": { + "start": { + "line": 154, + "column": 15 + }, + "end": { + "line": 154, + "column": 25 + }, + "identifierName": "percentile" + }, + "name": "percentile" + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 4007, + "end": 4056, + "loc": { + "start": { + "line": 154, + "column": 29 + }, + "end": { + "line": 154, + "column": 78 + } + }, + "left": { + "type": "Identifier", + "start": 4007, + "end": 4012, + "loc": { + "start": { + "line": 154, + "column": 29 + }, + "end": { + "line": 154, + "column": 34 + }, + "identifierName": "lower" + }, + "name": "lower" + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 4015, + "end": 4056, + "loc": { + "start": { + "line": 154, + "column": 37 + }, + "end": { + "line": 154, + "column": 78 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4016, + "end": 4037, + "loc": { + "start": { + "line": 154, + "column": 38 + }, + "end": { + "line": 154, + "column": 59 + } + }, + "left": { + "type": "Identifier", + "start": 4016, + "end": 4019, + "loc": { + "start": { + "line": 154, + "column": 38 + }, + "end": { + "line": 154, + "column": 41 + }, + "identifierName": "pos" + }, + "name": "pos" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 4022, + "end": 4037, + "loc": { + "start": { + "line": 154, + "column": 44 + }, + "end": { + "line": 154, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4022, + "end": 4032, + "loc": { + "start": { + "line": 154, + "column": 44 + }, + "end": { + "line": 154, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 4022, + "end": 4026, + "loc": { + "start": { + "line": 154, + "column": 44 + }, + "end": { + "line": 154, + "column": 48 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 4027, + "end": 4032, + "loc": { + "start": { + "line": 154, + "column": 49 + }, + "end": { + "line": 154, + "column": 54 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4033, + "end": 4036, + "loc": { + "start": { + "line": 154, + "column": 55 + }, + "end": { + "line": 154, + "column": 58 + }, + "identifierName": "pos" + }, + "name": "pos" + } + ] + }, + "extra": { + "parenthesized": true, + "parenStart": 4015 + } + }, + "operator": "*", + "right": { + "type": "BinaryExpression", + "start": 4042, + "end": 4055, + "loc": { + "start": { + "line": 154, + "column": 64 + }, + "end": { + "line": 154, + "column": 77 + } + }, + "left": { + "type": "Identifier", + "start": 4042, + "end": 4047, + "loc": { + "start": { + "line": 154, + "column": 64 + }, + "end": { + "line": 154, + "column": 69 + }, + "identifierName": "upper" + }, + "name": "upper" + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 4050, + "end": 4055, + "loc": { + "start": { + "line": 154, + "column": 72 + }, + "end": { + "line": 154, + "column": 77 + }, + "identifierName": "lower" + }, + "name": "lower" + }, + "extra": { + "parenthesized": true, + "parenStart": 4041 + } + } + } + } + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 4076, + "end": 4090, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 4083, + "end": 4089, + "loc": { + "start": { + "line": 157, + "column": 11 + }, + "end": { + "line": 157, + "column": 17 + }, + "identifierName": "scores" + }, + "name": "scores" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the values for a set of percentiles.\n *\n * @function\n * @param {?number[]} [percentiles] An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is {@link DEFAULT_PERCENTILES}.\n * @return {number[]} the values for each percentile level\n ", + "start": 2913, + "end": 3233, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 129, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the average variance using the Welford algorithm.\n *\n * @function\n * @return {?number} the average variance, or null if this is undefined because the count is zero.\n * @throws {Error} a divide by zero error if this.count==1\n ", + "start": 4098, + "end": 4351, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 166, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4354, + "end": 4456, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 169, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4354, + "end": 4362, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 167, + "column": 10 + }, + "identifierName": "variance" + }, + "name": "variance", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 4363, + "end": 4378, + "loc": { + "start": { + "line": 167, + "column": 11 + }, + "end": { + "line": 167, + "column": 26 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4381, + "end": 4456, + "loc": { + "start": { + "line": 167, + "column": 29 + }, + "end": { + "line": 169, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4387, + "end": 4452, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 69 + } + }, + "argument": { + "type": "ConditionalExpression", + "start": 4394, + "end": 4451, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 68 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4394, + "end": 4408, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 25 + } + }, + "left": { + "type": "MemberExpression", + "start": 4394, + "end": 4404, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 4394, + "end": 4398, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 15 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4399, + "end": 4404, + "loc": { + "start": { + "line": 168, + "column": 16 + }, + "end": { + "line": 168, + "column": 21 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 4407, + "end": 4408, + "loc": { + "start": { + "line": 168, + "column": 24 + }, + "end": { + "line": 168, + "column": 25 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "leadingComments": null + }, + "consequent": { + "type": "NullLiteral", + "start": 4411, + "end": 4415, + "loc": { + "start": { + "line": 168, + "column": 28 + }, + "end": { + "line": 168, + "column": 32 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "start": 4418, + "end": 4451, + "loc": { + "start": { + "line": 168, + "column": 35 + }, + "end": { + "line": 168, + "column": 68 + } + }, + "left": { + "type": "MemberExpression", + "start": 4418, + "end": 4432, + "loc": { + "start": { + "line": 168, + "column": 35 + }, + "end": { + "line": 168, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 4418, + "end": 4422, + "loc": { + "start": { + "line": 168, + "column": 35 + }, + "end": { + "line": 168, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 4423, + "end": 4432, + "loc": { + "start": { + "line": 168, + "column": 40 + }, + "end": { + "line": 168, + "column": 49 + }, + "identifierName": "varianceS" + }, + "name": "varianceS" + }, + "computed": false + }, + "operator": "/", + "right": { + "type": "BinaryExpression", + "start": 4436, + "end": 4450, + "loc": { + "start": { + "line": 168, + "column": 53 + }, + "end": { + "line": 168, + "column": 67 + } + }, + "left": { + "type": "MemberExpression", + "start": 4436, + "end": 4446, + "loc": { + "start": { + "line": 168, + "column": 53 + }, + "end": { + "line": 168, + "column": 63 + } + }, + "object": { + "type": "ThisExpression", + "start": 4436, + "end": 4440, + "loc": { + "start": { + "line": 168, + "column": 53 + }, + "end": { + "line": 168, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "start": 4441, + "end": 4446, + "loc": { + "start": { + "line": 168, + "column": 58 + }, + "end": { + "line": 168, + "column": 63 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 4449, + "end": 4450, + "loc": { + "start": { + "line": 168, + "column": 66 + }, + "end": { + "line": 168, + "column": 67 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 4435 + } + } + }, + "leadingComments": null + }, + "leadingComments": null + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 4363, + "end": 4378, + "loc": { + "start": { + "line": 167, + "column": 11 + }, + "end": { + "line": 167, + "column": 26 + } + } + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the average variance using the Welford algorithm.\n *\n * @function\n * @return {?number} the average variance, or null if this is undefined because the count is zero.\n * @throws {Error} a divide by zero error if this.count==1\n ", + "start": 4098, + "end": 4351, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 166, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the sum of squares of differences from the current mean.\n *\n * @function\n * @return {?number} the sum of squares of differences from the current mean, or null if this is undefined because the count is zero.\n ", + "start": 4460, + "end": 4694, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 176, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4697, + "end": 4777, + "loc": { + "start": { + "line": 177, + "column": 2 + }, + "end": { + "line": 179, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4697, + "end": 4701, + "loc": { + "start": { + "line": 177, + "column": 2 + }, + "end": { + "line": 177, + "column": 6 + }, + "identifierName": "mean" + }, + "name": "mean", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 4702, + "end": 4717, + "loc": { + "start": { + "line": 177, + "column": 7 + }, + "end": { + "line": 177, + "column": 22 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4720, + "end": 4777, + "loc": { + "start": { + "line": 177, + "column": 25 + }, + "end": { + "line": 179, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4726, + "end": 4773, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 178, + "column": 51 + } + }, + "argument": { + "type": "ConditionalExpression", + "start": 4733, + "end": 4772, + "loc": { + "start": { + "line": 178, + "column": 11 + }, + "end": { + "line": 178, + "column": 50 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4733, + "end": 4748, + "loc": { + "start": { + "line": 178, + "column": 11 + }, + "end": { + "line": 178, + "column": 26 + } + }, + "left": { + "type": "MemberExpression", + "start": 4733, + "end": 4743, + "loc": { + "start": { + "line": 178, + "column": 11 + }, + "end": { + "line": 178, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 4733, + "end": 4737, + "loc": { + "start": { + "line": 178, + "column": 11 + }, + "end": { + "line": 178, + "column": 15 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4738, + "end": 4743, + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 21 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "operator": "==", + "right": { + "type": "NumericLiteral", + "start": 4747, + "end": 4748, + "loc": { + "start": { + "line": 178, + "column": 25 + }, + "end": { + "line": 178, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "consequent": { + "type": "NullLiteral", + "start": 4751, + "end": 4755, + "loc": { + "start": { + "line": 178, + "column": 29 + }, + "end": { + "line": 178, + "column": 33 + } + } + }, + "alternate": { + "type": "MemberExpression", + "start": 4758, + "end": 4772, + "loc": { + "start": { + "line": 178, + "column": 36 + }, + "end": { + "line": 178, + "column": 50 + } + }, + "object": { + "type": "ThisExpression", + "start": 4758, + "end": 4762, + "loc": { + "start": { + "line": 178, + "column": 36 + }, + "end": { + "line": 178, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "start": 4763, + "end": 4772, + "loc": { + "start": { + "line": 178, + "column": 41 + }, + "end": { + "line": 178, + "column": 50 + }, + "identifierName": "varianceM" + }, + "name": "varianceM" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": null + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 4702, + "end": 4717, + "loc": { + "start": { + "line": 177, + "column": 7 + }, + "end": { + "line": 177, + "column": 22 + } + } + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the sum of squares of differences from the current mean.\n *\n * @function\n * @return {?number} the sum of squares of differences from the current mean, or null if this is undefined because the count is zero.\n ", + "start": 4460, + "end": 4694, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 176, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the standard deviation, the square root of the average variance.\n *\n * @function\n * @return {?number} the standard deviation, or null if this is undefined because the count is zero.\n ", + "start": 4781, + "end": 4990, + "loc": { + "start": { + "line": 181, + "column": 2 + }, + "end": { + "line": 186, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4993, + "end": 5086, + "loc": { + "start": { + "line": 187, + "column": 2 + }, + "end": { + "line": 189, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4993, + "end": 4999, + "loc": { + "start": { + "line": 187, + "column": 2 + }, + "end": { + "line": 187, + "column": 8 + }, + "identifierName": "stdDev" + }, + "name": "stdDev", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 5000, + "end": 5015, + "loc": { + "start": { + "line": 187, + "column": 9 + }, + "end": { + "line": 187, + "column": 24 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5018, + "end": 5086, + "loc": { + "start": { + "line": 187, + "column": 27 + }, + "end": { + "line": 189, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5024, + "end": 5082, + "loc": { + "start": { + "line": 188, + "column": 4 + }, + "end": { + "line": 188, + "column": 62 + } + }, + "argument": { + "type": "ConditionalExpression", + "start": 5031, + "end": 5081, + "loc": { + "start": { + "line": 188, + "column": 11 + }, + "end": { + "line": 188, + "column": 61 + } + }, + "test": { + "type": "BinaryExpression", + "start": 5031, + "end": 5045, + "loc": { + "start": { + "line": 188, + "column": 11 + }, + "end": { + "line": 188, + "column": 25 + } + }, + "left": { + "type": "MemberExpression", + "start": 5031, + "end": 5041, + "loc": { + "start": { + "line": 188, + "column": 11 + }, + "end": { + "line": 188, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 5031, + "end": 5035, + "loc": { + "start": { + "line": 188, + "column": 11 + }, + "end": { + "line": 188, + "column": 15 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 5036, + "end": 5041, + "loc": { + "start": { + "line": 188, + "column": 16 + }, + "end": { + "line": 188, + "column": 21 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 5044, + "end": 5045, + "loc": { + "start": { + "line": 188, + "column": 24 + }, + "end": { + "line": 188, + "column": 25 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "leadingComments": null + }, + "consequent": { + "type": "NullLiteral", + "start": 5048, + "end": 5052, + "loc": { + "start": { + "line": 188, + "column": 28 + }, + "end": { + "line": 188, + "column": 32 + } + } + }, + "alternate": { + "type": "CallExpression", + "start": 5055, + "end": 5081, + "loc": { + "start": { + "line": 188, + "column": 35 + }, + "end": { + "line": 188, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5055, + "end": 5064, + "loc": { + "start": { + "line": 188, + "column": 35 + }, + "end": { + "line": 188, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 5055, + "end": 5059, + "loc": { + "start": { + "line": 188, + "column": 35 + }, + "end": { + "line": 188, + "column": 39 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 5060, + "end": 5064, + "loc": { + "start": { + "line": 188, + "column": 40 + }, + "end": { + "line": 188, + "column": 44 + }, + "identifierName": "sqrt" + }, + "name": "sqrt" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 5065, + "end": 5080, + "loc": { + "start": { + "line": 188, + "column": 45 + }, + "end": { + "line": 188, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5065, + "end": 5078, + "loc": { + "start": { + "line": 188, + "column": 45 + }, + "end": { + "line": 188, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 5065, + "end": 5069, + "loc": { + "start": { + "line": 188, + "column": 45 + }, + "end": { + "line": 188, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "start": 5070, + "end": 5078, + "loc": { + "start": { + "line": 188, + "column": 50 + }, + "end": { + "line": 188, + "column": 58 + }, + "identifierName": "variance" + }, + "name": "variance" + }, + "computed": false + }, + "arguments": [] + } + ] + }, + "leadingComments": null + }, + "leadingComments": null + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 5000, + "end": 5015, + "loc": { + "start": { + "line": 187, + "column": 9 + }, + "end": { + "line": 187, + "column": 24 + } + } + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the standard deviation, the square root of the average variance.\n *\n * @function\n * @return {?number} the standard deviation, or null if this is undefined because the count is zero.\n ", + "start": 4781, + "end": 4990, + "loc": { + "start": { + "line": 181, + "column": 2 + }, + "end": { + "line": 186, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the set of values in the sample.\n *\n * @function\n * @return {any[]} an array of the values in the sample\n ", + "start": 5090, + "end": 5222, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 196, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5225, + "end": 5291, + "loc": { + "start": { + "line": 197, + "column": 2 + }, + "end": { + "line": 199, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5225, + "end": 5231, + "loc": { + "start": { + "line": 197, + "column": 2 + }, + "end": { + "line": 197, + "column": 8 + }, + "identifierName": "values" + }, + "name": "values", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 5232, + "end": 5247, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 24 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5250, + "end": 5291, + "loc": { + "start": { + "line": 197, + "column": 27 + }, + "end": { + "line": 199, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5256, + "end": 5287, + "loc": { + "start": { + "line": 198, + "column": 4 + }, + "end": { + "line": 198, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 5263, + "end": 5286, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5263, + "end": 5284, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 5263, + "end": 5274, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 5263, + "end": 5267, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 15 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 5268, + "end": 5274, + "loc": { + "start": { + "line": 198, + "column": 16 + }, + "end": { + "line": 198, + "column": 22 + }, + "identifierName": "sample" + }, + "name": "sample" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 5275, + "end": 5284, + "loc": { + "start": { + "line": 198, + "column": 23 + }, + "end": { + "line": 198, + "column": 32 + }, + "identifierName": "getValues" + }, + "name": "getValues" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": null + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 5232, + "end": 5247, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 24 + } + } + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the set of values in the sample.\n *\n * @function\n * @return {any[]} an array of the values in the sample\n ", + "start": 5090, + "end": 5222, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 196, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @function\n * @return {Object}\n * @property {string} type \"histogram\"\n * @property {number} min\n * @property {number} max\n * @property {number} sum\n * @property {number} variance\n * @property {number} mean\n * @property {number} stdDev\n * @property {number} count\n * @property {number} median\n * @property {number} p75\n * @property {number} p95\n * @property {number} p99\n * @property {number} p999\n ", + "start": 5295, + "end": 5733, + "loc": { + "start": { + "line": 201, + "column": 2 + }, + "end": { + "line": 217, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5736, + "end": 6184, + "loc": { + "start": { + "line": 218, + "column": 2 + }, + "end": { + "line": 235, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5736, + "end": 5744, + "loc": { + "start": { + "line": 218, + "column": 2 + }, + "end": { + "line": 218, + "column": 10 + }, + "identifierName": "toObject" + }, + "name": "toObject", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 5745, + "end": 5760, + "loc": { + "start": { + "line": 218, + "column": 11 + }, + "end": { + "line": 218, + "column": 26 + } + } + } + ] + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5763, + "end": 6184, + "loc": { + "start": { + "line": 218, + "column": 29 + }, + "end": { + "line": 235, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 5769, + "end": 5806, + "loc": { + "start": { + "line": 219, + "column": 4 + }, + "end": { + "line": 219, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5773, + "end": 5805, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 5773, + "end": 5784, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 19 + }, + "identifierName": "percentiles" + }, + "name": "percentiles", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 5787, + "end": 5805, + "loc": { + "start": { + "line": 219, + "column": 22 + }, + "end": { + "line": 219, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5787, + "end": 5803, + "loc": { + "start": { + "line": 219, + "column": 22 + }, + "end": { + "line": 219, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 5787, + "end": 5791, + "loc": { + "start": { + "line": 219, + "column": 22 + }, + "end": { + "line": 219, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 5792, + "end": 5803, + "loc": { + "start": { + "line": 219, + "column": 27 + }, + "end": { + "line": 219, + "column": 38 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": null + }, + { + "type": "ReturnStatement", + "start": 5811, + "end": 6180, + "loc": { + "start": { + "line": 220, + "column": 4 + }, + "end": { + "line": 234, + "column": 6 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 5818, + "end": 6179, + "loc": { + "start": { + "line": 220, + "column": 11 + }, + "end": { + "line": 234, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 5826, + "end": 5843, + "loc": { + "start": { + "line": 221, + "column": 6 + }, + "end": { + "line": 221, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5826, + "end": 5830, + "loc": { + "start": { + "line": 221, + "column": 6 + }, + "end": { + "line": 221, + "column": 10 + }, + "identifierName": "type" + }, + "name": "type" + }, + "value": { + "type": "StringLiteral", + "start": 5832, + "end": 5843, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 23 + } + }, + "extra": { + "rawValue": "histogram", + "raw": "'histogram'" + }, + "value": "histogram" + } + }, + { + "type": "ObjectProperty", + "start": 5851, + "end": 5864, + "loc": { + "start": { + "line": 222, + "column": 6 + }, + "end": { + "line": 222, + "column": 19 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5851, + "end": 5854, + "loc": { + "start": { + "line": 222, + "column": 6 + }, + "end": { + "line": 222, + "column": 9 + }, + "identifierName": "min" + }, + "name": "min" + }, + "value": { + "type": "MemberExpression", + "start": 5856, + "end": 5864, + "loc": { + "start": { + "line": 222, + "column": 11 + }, + "end": { + "line": 222, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 5856, + "end": 5860, + "loc": { + "start": { + "line": 222, + "column": 11 + }, + "end": { + "line": 222, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 5861, + "end": 5864, + "loc": { + "start": { + "line": 222, + "column": 16 + }, + "end": { + "line": 222, + "column": 19 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 5872, + "end": 5885, + "loc": { + "start": { + "line": 223, + "column": 6 + }, + "end": { + "line": 223, + "column": 19 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5872, + "end": 5875, + "loc": { + "start": { + "line": 223, + "column": 6 + }, + "end": { + "line": 223, + "column": 9 + }, + "identifierName": "max" + }, + "name": "max" + }, + "value": { + "type": "MemberExpression", + "start": 5877, + "end": 5885, + "loc": { + "start": { + "line": 223, + "column": 11 + }, + "end": { + "line": 223, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 5877, + "end": 5881, + "loc": { + "start": { + "line": 223, + "column": 11 + }, + "end": { + "line": 223, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 5882, + "end": 5885, + "loc": { + "start": { + "line": 223, + "column": 16 + }, + "end": { + "line": 223, + "column": 19 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 5893, + "end": 5906, + "loc": { + "start": { + "line": 224, + "column": 6 + }, + "end": { + "line": 224, + "column": 19 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5893, + "end": 5896, + "loc": { + "start": { + "line": 224, + "column": 6 + }, + "end": { + "line": 224, + "column": 9 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "value": { + "type": "MemberExpression", + "start": 5898, + "end": 5906, + "loc": { + "start": { + "line": 224, + "column": 11 + }, + "end": { + "line": 224, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 5898, + "end": 5902, + "loc": { + "start": { + "line": 224, + "column": 11 + }, + "end": { + "line": 224, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 5903, + "end": 5906, + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 19 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 5914, + "end": 5939, + "loc": { + "start": { + "line": 225, + "column": 6 + }, + "end": { + "line": 225, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5914, + "end": 5922, + "loc": { + "start": { + "line": 225, + "column": 6 + }, + "end": { + "line": 225, + "column": 14 + }, + "identifierName": "variance" + }, + "name": "variance" + }, + "value": { + "type": "CallExpression", + "start": 5924, + "end": 5939, + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 225, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5924, + "end": 5937, + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 225, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 5924, + "end": 5928, + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 225, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 5929, + "end": 5937, + "loc": { + "start": { + "line": 225, + "column": 21 + }, + "end": { + "line": 225, + "column": 29 + }, + "identifierName": "variance" + }, + "name": "variance" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ObjectProperty", + "start": 5947, + "end": 5964, + "loc": { + "start": { + "line": 226, + "column": 6 + }, + "end": { + "line": 226, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5947, + "end": 5951, + "loc": { + "start": { + "line": 226, + "column": 6 + }, + "end": { + "line": 226, + "column": 10 + }, + "identifierName": "mean" + }, + "name": "mean" + }, + "value": { + "type": "CallExpression", + "start": 5953, + "end": 5964, + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5953, + "end": 5962, + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 5953, + "end": 5957, + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 5958, + "end": 5962, + "loc": { + "start": { + "line": 226, + "column": 17 + }, + "end": { + "line": 226, + "column": 21 + }, + "identifierName": "mean" + }, + "name": "mean" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ObjectProperty", + "start": 5972, + "end": 5994, + "loc": { + "start": { + "line": 227, + "column": 6 + }, + "end": { + "line": 227, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5972, + "end": 5979, + "loc": { + "start": { + "line": 227, + "column": 6 + }, + "end": { + "line": 227, + "column": 13 + }, + "identifierName": "std_dev" + }, + "name": "std_dev" + }, + "value": { + "type": "CallExpression", + "start": 5981, + "end": 5994, + "loc": { + "start": { + "line": 227, + "column": 15 + }, + "end": { + "line": 227, + "column": 28 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5981, + "end": 5992, + "loc": { + "start": { + "line": 227, + "column": 15 + }, + "end": { + "line": 227, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 5981, + "end": 5985, + "loc": { + "start": { + "line": 227, + "column": 15 + }, + "end": { + "line": 227, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 5986, + "end": 5992, + "loc": { + "start": { + "line": 227, + "column": 20 + }, + "end": { + "line": 227, + "column": 26 + }, + "identifierName": "stdDev" + }, + "name": "stdDev" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ObjectProperty", + "start": 6002, + "end": 6019, + "loc": { + "start": { + "line": 228, + "column": 6 + }, + "end": { + "line": 228, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6002, + "end": 6007, + "loc": { + "start": { + "line": 228, + "column": 6 + }, + "end": { + "line": 228, + "column": 11 + }, + "identifierName": "count" + }, + "name": "count" + }, + "value": { + "type": "MemberExpression", + "start": 6009, + "end": 6019, + "loc": { + "start": { + "line": 228, + "column": 13 + }, + "end": { + "line": 228, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 6009, + "end": 6013, + "loc": { + "start": { + "line": 228, + "column": 13 + }, + "end": { + "line": 228, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 6014, + "end": 6019, + "loc": { + "start": { + "line": 228, + "column": 18 + }, + "end": { + "line": 228, + "column": 23 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 6027, + "end": 6051, + "loc": { + "start": { + "line": 229, + "column": 6 + }, + "end": { + "line": 229, + "column": 30 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6027, + "end": 6033, + "loc": { + "start": { + "line": 229, + "column": 6 + }, + "end": { + "line": 229, + "column": 12 + }, + "identifierName": "median" + }, + "name": "median" + }, + "value": { + "type": "MemberExpression", + "start": 6035, + "end": 6051, + "loc": { + "start": { + "line": 229, + "column": 14 + }, + "end": { + "line": 229, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 6035, + "end": 6046, + "loc": { + "start": { + "line": 229, + "column": 14 + }, + "end": { + "line": 229, + "column": 25 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "property": { + "type": "NumericLiteral", + "start": 6047, + "end": 6050, + "loc": { + "start": { + "line": 229, + "column": 26 + }, + "end": { + "line": 229, + "column": 29 + } + }, + "extra": { + "rawValue": 0.5, + "raw": "0.5" + }, + "value": 0.5 + }, + "computed": true + } + }, + { + "type": "ObjectProperty", + "start": 6059, + "end": 6081, + "loc": { + "start": { + "line": 230, + "column": 6 + }, + "end": { + "line": 230, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6059, + "end": 6062, + "loc": { + "start": { + "line": 230, + "column": 6 + }, + "end": { + "line": 230, + "column": 9 + }, + "identifierName": "p75" + }, + "name": "p75" + }, + "value": { + "type": "MemberExpression", + "start": 6064, + "end": 6081, + "loc": { + "start": { + "line": 230, + "column": 11 + }, + "end": { + "line": 230, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 6064, + "end": 6075, + "loc": { + "start": { + "line": 230, + "column": 11 + }, + "end": { + "line": 230, + "column": 22 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "property": { + "type": "NumericLiteral", + "start": 6076, + "end": 6080, + "loc": { + "start": { + "line": 230, + "column": 23 + }, + "end": { + "line": 230, + "column": 27 + } + }, + "extra": { + "rawValue": 0.75, + "raw": "0.75" + }, + "value": 0.75 + }, + "computed": true + } + }, + { + "type": "ObjectProperty", + "start": 6089, + "end": 6111, + "loc": { + "start": { + "line": 231, + "column": 6 + }, + "end": { + "line": 231, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6089, + "end": 6092, + "loc": { + "start": { + "line": 231, + "column": 6 + }, + "end": { + "line": 231, + "column": 9 + }, + "identifierName": "p95" + }, + "name": "p95" + }, + "value": { + "type": "MemberExpression", + "start": 6094, + "end": 6111, + "loc": { + "start": { + "line": 231, + "column": 11 + }, + "end": { + "line": 231, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 6094, + "end": 6105, + "loc": { + "start": { + "line": 231, + "column": 11 + }, + "end": { + "line": 231, + "column": 22 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "property": { + "type": "NumericLiteral", + "start": 6106, + "end": 6110, + "loc": { + "start": { + "line": 231, + "column": 23 + }, + "end": { + "line": 231, + "column": 27 + } + }, + "extra": { + "rawValue": 0.95, + "raw": "0.95" + }, + "value": 0.95 + }, + "computed": true + } + }, + { + "type": "ObjectProperty", + "start": 6119, + "end": 6141, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6119, + "end": 6122, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 9 + }, + "identifierName": "p99" + }, + "name": "p99" + }, + "value": { + "type": "MemberExpression", + "start": 6124, + "end": 6141, + "loc": { + "start": { + "line": 232, + "column": 11 + }, + "end": { + "line": 232, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 6124, + "end": 6135, + "loc": { + "start": { + "line": 232, + "column": 11 + }, + "end": { + "line": 232, + "column": 22 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "property": { + "type": "NumericLiteral", + "start": 6136, + "end": 6140, + "loc": { + "start": { + "line": 232, + "column": 23 + }, + "end": { + "line": 232, + "column": 27 + } + }, + "extra": { + "rawValue": 0.99, + "raw": "0.99" + }, + "value": 0.99 + }, + "computed": true + } + }, + { + "type": "ObjectProperty", + "start": 6149, + "end": 6173, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 30 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6149, + "end": 6153, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 10 + }, + "identifierName": "p999" + }, + "name": "p999" + }, + "value": { + "type": "MemberExpression", + "start": 6155, + "end": 6173, + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 6155, + "end": 6166, + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 23 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "property": { + "type": "NumericLiteral", + "start": 6167, + "end": 6172, + "loc": { + "start": { + "line": 233, + "column": 24 + }, + "end": { + "line": 233, + "column": 29 + } + }, + "extra": { + "rawValue": 0.999, + "raw": "0.999" + }, + "value": 0.999 + }, + "computed": true + } + } + ] + } + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": " = function", + "start": 5745, + "end": 5760, + "loc": { + "start": { + "line": 218, + "column": 11 + }, + "end": { + "line": 218, + "column": 26 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @function\n * @return {Object}\n * @property {string} type \"histogram\"\n * @property {number} min\n * @property {number} max\n * @property {number} sum\n * @property {number} variance\n * @property {number} mean\n * @property {number} stdDev\n * @property {number} count\n * @property {number} median\n * @property {number} p75\n * @property {number} p95\n * @property {number} p99\n * @property {number} p999\n ", + "start": 5295, + "end": 5733, + "loc": { + "start": { + "line": 201, + "column": 2 + }, + "end": { + "line": 217, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * A histogram tracks the distribution of items, given a sample type.\n ", + "start": 385, + "end": 462, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * A histogram tracks the distribution of items, given a sample type.\n ", + "start": 385, + "end": 462, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 106, + "end": 119, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 106, + "end": 118, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Histogram.js\n * @fileoverview Defines the Histogram class.\n *\n * \n *\n * @requires stats\n ", + "start": 0, + "end": 104, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Histogram.js\n * @fileoverview Defines the Histogram class.\n *\n * \n *\n * @requires stats\n ", + "start": 0, + "end": 104, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The default set of percentiles to use in the Histogram.\n ", + "start": 209, + "end": 275, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A histogram tracks the distribution of items, given a sample type.\n ", + "start": 385, + "end": 462, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISample} sample -\n ", + "start": 491, + "end": 531, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISample} ", + "start": 560, + "end": 582, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 661, + "end": 683, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 709, + "end": 731, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 757, + "end": 779, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 26 + } + } + }, + { + "type": "CommentLine", + "value": " These are for the Welford algorithm for calculating running variance", + "start": 805, + "end": 876, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 75 + } + } + }, + { + "type": "CommentLine", + "value": " without floating-point doom.", + "start": 881, + "end": 912, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 917, + "end": 939, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 971, + "end": 993, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 1025, + "end": 1047, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1072, + "end": 1093, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Create an exponentially decaying histogram.\n *\n * @param {number} [size=1028]\n * @param {number} [alpha=0.015]\n * @return {Histogram}\n ", + "start": 1130, + "end": 1286, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Create a uniformly-sampled histogram.\n *\n * @param {number} [size=1028]\n * @return {Histogram}\n ", + "start": 1439, + "end": 1554, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the histogram to its default values.\n ", + "start": 1661, + "end": 1719, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 1728, + "end": 1743, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * timestamp param primarily used for testing\n *\n * @function\n * @param {number} val\n * @param {?number} [timestamp]\n ", + "start": 1917, + "end": 2053, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 2063, + "end": 2078, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the value of the Welford algorithm variance.\n *\n * @function\n * @param {number} val\n ", + "start": 2489, + "end": 2597, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 111, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 2615, + "end": 2630, + "loc": { + "start": { + "line": 112, + "column": 17 + }, + "end": { + "line": 112, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the values for a set of percentiles.\n *\n * @function\n * @param {?number[]} [percentiles] An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is {@link DEFAULT_PERCENTILES}.\n * @return {number[]} the values for each percentile level\n ", + "start": 2913, + "end": 3233, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 129, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 3248, + "end": 3263, + "loc": { + "start": { + "line": 130, + "column": 14 + }, + "end": { + "line": 130, + "column": 29 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the average variance using the Welford algorithm.\n *\n * @function\n * @return {?number} the average variance, or null if this is undefined because the count is zero.\n * @throws {Error} a divide by zero error if this.count==1\n ", + "start": 4098, + "end": 4351, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 166, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 4363, + "end": 4378, + "loc": { + "start": { + "line": 167, + "column": 11 + }, + "end": { + "line": 167, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the sum of squares of differences from the current mean.\n *\n * @function\n * @return {?number} the sum of squares of differences from the current mean, or null if this is undefined because the count is zero.\n ", + "start": 4460, + "end": 4694, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 176, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 4702, + "end": 4717, + "loc": { + "start": { + "line": 177, + "column": 7 + }, + "end": { + "line": 177, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the standard deviation, the square root of the average variance.\n *\n * @function\n * @return {?number} the standard deviation, or null if this is undefined because the count is zero.\n ", + "start": 4781, + "end": 4990, + "loc": { + "start": { + "line": 181, + "column": 2 + }, + "end": { + "line": 186, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 5000, + "end": 5015, + "loc": { + "start": { + "line": 187, + "column": 9 + }, + "end": { + "line": 187, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the set of values in the sample.\n *\n * @function\n * @return {any[]} an array of the values in the sample\n ", + "start": 5090, + "end": 5222, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 196, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 5232, + "end": 5247, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @function\n * @return {Object}\n * @property {string} type \"histogram\"\n * @property {number} min\n * @property {number} max\n * @property {number} sum\n * @property {number} variance\n * @property {number} mean\n * @property {number} stdDev\n * @property {number} count\n * @property {number} median\n * @property {number} p75\n * @property {number} p95\n * @property {number} p99\n * @property {number} p999\n ", + "start": 5295, + "end": 5733, + "loc": { + "start": { + "line": 201, + "column": 2 + }, + "end": { + "line": 217, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 5745, + "end": 5760, + "loc": { + "start": { + "line": 218, + "column": 11 + }, + "end": { + "line": 218, + "column": 26 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name Histogram.js\n * @fileoverview Defines the Histogram class.\n *\n * \n *\n * @requires stats\n ", + "start": 0, + "end": 104, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 106, + "end": 118, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 118, + "end": 119, + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 121, + "end": 127, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 128, + "end": 129, + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 130, + "end": 157, + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 157, + "end": 158, + "loc": { + "start": { + "line": 12, + "column": 36 + }, + "end": { + "line": 12, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 159, + "end": 172, + "loc": { + "start": { + "line": 12, + "column": 38 + }, + "end": { + "line": 12, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 172, + "end": 173, + "loc": { + "start": { + "line": 12, + "column": 51 + }, + "end": { + "line": 12, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISample", + "start": 174, + "end": 181, + "loc": { + "start": { + "line": 12, + "column": 53 + }, + "end": { + "line": 12, + "column": 60 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 181, + "end": 182, + "loc": { + "start": { + "line": 12, + "column": 60 + }, + "end": { + "line": 12, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 183, + "end": 189, + "loc": { + "start": { + "line": 12, + "column": 62 + }, + "end": { + "line": 12, + "column": 68 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 190, + "end": 191, + "loc": { + "start": { + "line": 12, + "column": 69 + }, + "end": { + "line": 12, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 192, + "end": 196, + "loc": { + "start": { + "line": 12, + "column": 71 + }, + "end": { + "line": 12, + "column": 75 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./stats", + "start": 197, + "end": 206, + "loc": { + "start": { + "line": 12, + "column": 76 + }, + "end": { + "line": 12, + "column": 85 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 206, + "end": 207, + "loc": { + "start": { + "line": 12, + "column": 85 + }, + "end": { + "line": 12, + "column": 86 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The default set of percentiles to use in the Histogram.\n ", + "start": 209, + "end": 275, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 276, + "end": 282, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 283, + "end": 288, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_PERCENTILES", + "start": 289, + "end": 308, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 309, + "end": 310, + "loc": { + "start": { + "line": 17, + "column": 33 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 311, + "end": 312, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 17, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.001, + "start": 312, + "end": 317, + "loc": { + "start": { + "line": 17, + "column": 36 + }, + "end": { + "line": 17, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 317, + "end": 318, + "loc": { + "start": { + "line": 17, + "column": 41 + }, + "end": { + "line": 17, + "column": 42 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.01, + "start": 319, + "end": 323, + "loc": { + "start": { + "line": 17, + "column": 43 + }, + "end": { + "line": 17, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 323, + "end": 324, + "loc": { + "start": { + "line": 17, + "column": 47 + }, + "end": { + "line": 17, + "column": 48 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.05, + "start": 325, + "end": 329, + "loc": { + "start": { + "line": 17, + "column": 49 + }, + "end": { + "line": 17, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 17, + "column": 53 + }, + "end": { + "line": 17, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.1, + "start": 331, + "end": 334, + "loc": { + "start": { + "line": 17, + "column": 55 + }, + "end": { + "line": 17, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 334, + "end": 335, + "loc": { + "start": { + "line": 17, + "column": 58 + }, + "end": { + "line": 17, + "column": 59 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.25, + "start": 336, + "end": 340, + "loc": { + "start": { + "line": 17, + "column": 60 + }, + "end": { + "line": 17, + "column": 64 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 340, + "end": 341, + "loc": { + "start": { + "line": 17, + "column": 64 + }, + "end": { + "line": 17, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.5, + "start": 342, + "end": 345, + "loc": { + "start": { + "line": 17, + "column": 66 + }, + "end": { + "line": 17, + "column": 69 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 345, + "end": 346, + "loc": { + "start": { + "line": 17, + "column": 69 + }, + "end": { + "line": 17, + "column": 70 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.75, + "start": 347, + "end": 351, + "loc": { + "start": { + "line": 17, + "column": 71 + }, + "end": { + "line": 17, + "column": 75 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 351, + "end": 352, + "loc": { + "start": { + "line": 17, + "column": 75 + }, + "end": { + "line": 17, + "column": 76 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.9, + "start": 353, + "end": 356, + "loc": { + "start": { + "line": 17, + "column": 77 + }, + "end": { + "line": 17, + "column": 80 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 356, + "end": 357, + "loc": { + "start": { + "line": 17, + "column": 80 + }, + "end": { + "line": 17, + "column": 81 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.95, + "start": 358, + "end": 362, + "loc": { + "start": { + "line": 17, + "column": 82 + }, + "end": { + "line": 17, + "column": 86 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 362, + "end": 363, + "loc": { + "start": { + "line": 17, + "column": 86 + }, + "end": { + "line": 17, + "column": 87 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.98, + "start": 364, + "end": 368, + "loc": { + "start": { + "line": 17, + "column": 88 + }, + "end": { + "line": 17, + "column": 92 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 368, + "end": 369, + "loc": { + "start": { + "line": 17, + "column": 92 + }, + "end": { + "line": 17, + "column": 93 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.99, + "start": 370, + "end": 374, + "loc": { + "start": { + "line": 17, + "column": 94 + }, + "end": { + "line": 17, + "column": 98 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 374, + "end": 375, + "loc": { + "start": { + "line": 17, + "column": 98 + }, + "end": { + "line": 17, + "column": 99 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.999, + "start": 376, + "end": 381, + "loc": { + "start": { + "line": 17, + "column": 100 + }, + "end": { + "line": 17, + "column": 105 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 381, + "end": 382, + "loc": { + "start": { + "line": 17, + "column": 105 + }, + "end": { + "line": 17, + "column": 106 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 382, + "end": 383, + "loc": { + "start": { + "line": 17, + "column": 106 + }, + "end": { + "line": 17, + "column": 107 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A histogram tracks the distribution of items, given a sample type.\n ", + "start": 385, + "end": 462, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 463, + "end": 469, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 470, + "end": 475, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 476, + "end": 485, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 486, + "end": 487, + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 22, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISample} sample -\n ", + "start": 491, + "end": 531, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 534, + "end": 545, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 545, + "end": 546, + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sample", + "start": 546, + "end": 552, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 552, + "end": 553, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 554, + "end": 555, + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISample} ", + "start": 560, + "end": 582, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 587, + "end": 591, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 591, + "end": 592, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sample", + "start": 592, + "end": 598, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 599, + "end": 600, + "loc": { + "start": { + "line": 29, + "column": 16 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sample", + "start": 601, + "end": 607, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 24 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 608, + "end": 610, + "loc": { + "start": { + "line": 29, + "column": 25 + }, + "end": { + "line": 29, + "column": 27 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 611, + "end": 614, + "loc": { + "start": { + "line": 29, + "column": 28 + }, + "end": { + "line": 29, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 615, + "end": 642, + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 59 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 642, + "end": 643, + "loc": { + "start": { + "line": 29, + "column": 59 + }, + "end": { + "line": 29, + "column": 60 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1028, + "start": 643, + "end": 647, + "loc": { + "start": { + "line": 29, + "column": 60 + }, + "end": { + "line": 29, + "column": 64 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 647, + "end": 648, + "loc": { + "start": { + "line": 29, + "column": 64 + }, + "end": { + "line": 29, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.015, + "start": 649, + "end": 654, + "loc": { + "start": { + "line": 29, + "column": 66 + }, + "end": { + "line": 29, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 654, + "end": 655, + "loc": { + "start": { + "line": 29, + "column": 71 + }, + "end": { + "line": 29, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 655, + "end": 656, + "loc": { + "start": { + "line": 29, + "column": 72 + }, + "end": { + "line": 29, + "column": 73 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 661, + "end": 683, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 688, + "end": 692, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 692, + "end": 693, + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 693, + "end": 696, + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 697, + "end": 698, + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 14 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 699, + "end": 703, + "loc": { + "start": { + "line": 31, + "column": 15 + }, + "end": { + "line": 31, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 703, + "end": 704, + "loc": { + "start": { + "line": 31, + "column": 19 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 709, + "end": 731, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 736, + "end": 740, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 740, + "end": 741, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 741, + "end": 744, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 745, + "end": 746, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 747, + "end": 751, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 751, + "end": 752, + "loc": { + "start": { + "line": 33, + "column": 19 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 757, + "end": 779, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 784, + "end": 788, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 788, + "end": 789, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 789, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 793, + "end": 794, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 14 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 795, + "end": 799, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 799, + "end": 800, + "loc": { + "start": { + "line": 35, + "column": 19 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": " These are for the Welford algorithm for calculating running variance", + "start": 805, + "end": 876, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 75 + } + } + }, + { + "type": "CommentLine", + "value": " without floating-point doom.", + "start": 881, + "end": 912, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 917, + "end": 939, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 944, + "end": 948, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 948, + "end": 949, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 39, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceM", + "start": 949, + "end": 958, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 959, + "end": 960, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 39, + "column": 25 + }, + "end": { + "line": 39, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 971, + "end": 993, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 998, + "end": 1002, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1002, + "end": 1003, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceS", + "start": 1003, + "end": 1012, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1013, + "end": 1014, + "loc": { + "start": { + "line": 41, + "column": 19 + }, + "end": { + "line": 41, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1015, + "end": 1019, + "loc": { + "start": { + "line": 41, + "column": 21 + }, + "end": { + "line": 41, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1019, + "end": 1020, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {?number} ", + "start": 1025, + "end": 1047, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1052, + "end": 1056, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1056, + "end": 1057, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1057, + "end": 1062, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1063, + "end": 1064, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 43, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 43, + "column": 17 + }, + "end": { + "line": 43, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1066, + "end": 1067, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 1072, + "end": 1093, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1098, + "end": 1102, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1102, + "end": 1103, + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 1103, + "end": 1107, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1108, + "end": 1109, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "histogram", + "start": 1110, + "end": 1121, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1121, + "end": 1122, + "loc": { + "start": { + "line": 45, + "column": 27 + }, + "end": { + "line": 45, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1125, + "end": 1126, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Create an exponentially decaying histogram.\n *\n * @param {number} [size=1028]\n * @param {number} [alpha=0.015]\n * @return {Histogram}\n ", + "start": 1130, + "end": 1286, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1289, + "end": 1295, + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createExponentialDecayHistogram", + "start": 1296, + "end": 1327, + "loc": { + "start": { + "line": 55, + "column": 9 + }, + "end": { + "line": 55, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1327, + "end": 1328, + "loc": { + "start": { + "line": 55, + "column": 40 + }, + "end": { + "line": 55, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 1328, + "end": 1332, + "loc": { + "start": { + "line": 55, + "column": 41 + }, + "end": { + "line": 55, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1332, + "end": 1333, + "loc": { + "start": { + "line": 55, + "column": 45 + }, + "end": { + "line": 55, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 1334, + "end": 1339, + "loc": { + "start": { + "line": 55, + "column": 47 + }, + "end": { + "line": 55, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1339, + "end": 1340, + "loc": { + "start": { + "line": 55, + "column": 52 + }, + "end": { + "line": 55, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1341, + "end": 1342, + "loc": { + "start": { + "line": 55, + "column": 54 + }, + "end": { + "line": 55, + "column": 55 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1347, + "end": 1353, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1354, + "end": 1357, + "loc": { + "start": { + "line": 56, + "column": 11 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 1358, + "end": 1367, + "loc": { + "start": { + "line": 56, + "column": 15 + }, + "end": { + "line": 56, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1367, + "end": 1368, + "loc": { + "start": { + "line": 56, + "column": 24 + }, + "end": { + "line": 56, + "column": 25 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1368, + "end": 1371, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 1372, + "end": 1399, + "loc": { + "start": { + "line": 56, + "column": 29 + }, + "end": { + "line": 56, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1399, + "end": 1400, + "loc": { + "start": { + "line": 56, + "column": 56 + }, + "end": { + "line": 56, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 1400, + "end": 1404, + "loc": { + "start": { + "line": 56, + "column": 57 + }, + "end": { + "line": 56, + "column": 61 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1405, + "end": 1407, + "loc": { + "start": { + "line": 56, + "column": 62 + }, + "end": { + "line": 56, + "column": 64 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1028, + "start": 1408, + "end": 1412, + "loc": { + "start": { + "line": 56, + "column": 65 + }, + "end": { + "line": 56, + "column": 69 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1412, + "end": 1413, + "loc": { + "start": { + "line": 56, + "column": 69 + }, + "end": { + "line": 56, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 1414, + "end": 1419, + "loc": { + "start": { + "line": 56, + "column": 71 + }, + "end": { + "line": 56, + "column": 76 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1420, + "end": 1422, + "loc": { + "start": { + "line": 56, + "column": 77 + }, + "end": { + "line": 56, + "column": 79 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.015, + "start": 1423, + "end": 1428, + "loc": { + "start": { + "line": 56, + "column": 80 + }, + "end": { + "line": 56, + "column": 85 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1428, + "end": 1429, + "loc": { + "start": { + "line": 56, + "column": 85 + }, + "end": { + "line": 56, + "column": 86 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1429, + "end": 1430, + "loc": { + "start": { + "line": 56, + "column": 86 + }, + "end": { + "line": 56, + "column": 87 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1430, + "end": 1431, + "loc": { + "start": { + "line": 56, + "column": 87 + }, + "end": { + "line": 56, + "column": 88 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1434, + "end": 1435, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Create a uniformly-sampled histogram.\n *\n * @param {number} [size=1028]\n * @return {Histogram}\n ", + "start": 1439, + "end": 1554, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1557, + "end": 1563, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createUniformHistogram", + "start": 1564, + "end": 1586, + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1586, + "end": 1587, + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 1587, + "end": 1591, + "loc": { + "start": { + "line": 65, + "column": 32 + }, + "end": { + "line": 65, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1591, + "end": 1592, + "loc": { + "start": { + "line": 65, + "column": 36 + }, + "end": { + "line": 65, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1593, + "end": 1594, + "loc": { + "start": { + "line": 65, + "column": 38 + }, + "end": { + "line": 65, + "column": 39 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1599, + "end": 1605, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1606, + "end": 1609, + "loc": { + "start": { + "line": 66, + "column": 11 + }, + "end": { + "line": 66, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 1610, + "end": 1619, + "loc": { + "start": { + "line": 66, + "column": 15 + }, + "end": { + "line": 66, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1619, + "end": 1620, + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 25 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1620, + "end": 1623, + "loc": { + "start": { + "line": 66, + "column": 25 + }, + "end": { + "line": 66, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 1624, + "end": 1637, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1637, + "end": 1638, + "loc": { + "start": { + "line": 66, + "column": 42 + }, + "end": { + "line": 66, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 1638, + "end": 1642, + "loc": { + "start": { + "line": 66, + "column": 43 + }, + "end": { + "line": 66, + "column": 47 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1643, + "end": 1645, + "loc": { + "start": { + "line": 66, + "column": 48 + }, + "end": { + "line": 66, + "column": 50 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1028, + "start": 1646, + "end": 1650, + "loc": { + "start": { + "line": 66, + "column": 51 + }, + "end": { + "line": 66, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1650, + "end": 1651, + "loc": { + "start": { + "line": 66, + "column": 55 + }, + "end": { + "line": 66, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1651, + "end": 1652, + "loc": { + "start": { + "line": 66, + "column": 56 + }, + "end": { + "line": 66, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1652, + "end": 1653, + "loc": { + "start": { + "line": 66, + "column": 57 + }, + "end": { + "line": 66, + "column": 58 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1656, + "end": 1657, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the histogram to its default values.\n ", + "start": 1661, + "end": 1719, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 1722, + "end": 1727, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 72, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 1728, + "end": 1743, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1743, + "end": 1744, + "loc": { + "start": { + "line": 72, + "column": 23 + }, + "end": { + "line": 72, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1744, + "end": 1745, + "loc": { + "start": { + "line": 72, + "column": 24 + }, + "end": { + "line": 72, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1746, + "end": 1747, + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1752, + "end": 1756, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1756, + "end": 1757, + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sample", + "start": 1757, + "end": 1763, + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 73, + "column": 15 + }, + "end": { + "line": 73, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 1764, + "end": 1769, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1769, + "end": 1770, + "loc": { + "start": { + "line": 73, + "column": 21 + }, + "end": { + "line": 73, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1770, + "end": 1771, + "loc": { + "start": { + "line": 73, + "column": 22 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1771, + "end": 1772, + "loc": { + "start": { + "line": 73, + "column": 23 + }, + "end": { + "line": 73, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1777, + "end": 1781, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1781, + "end": 1782, + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 1782, + "end": 1785, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1786, + "end": 1787, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 14 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1788, + "end": 1792, + "loc": { + "start": { + "line": 74, + "column": 15 + }, + "end": { + "line": 74, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1792, + "end": 1793, + "loc": { + "start": { + "line": 74, + "column": 19 + }, + "end": { + "line": 74, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1798, + "end": 1802, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1802, + "end": 1803, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 1803, + "end": 1806, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1807, + "end": 1808, + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1809, + "end": 1813, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1813, + "end": 1814, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1819, + "end": 1823, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1823, + "end": 1824, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 1824, + "end": 1827, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1828, + "end": 1829, + "loc": { + "start": { + "line": 76, + "column": 13 + }, + "end": { + "line": 76, + "column": 14 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1830, + "end": 1834, + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1834, + "end": 1835, + "loc": { + "start": { + "line": 76, + "column": 19 + }, + "end": { + "line": 76, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1840, + "end": 1844, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1844, + "end": 1845, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceM", + "start": 1845, + "end": 1854, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1855, + "end": 1856, + "loc": { + "start": { + "line": 77, + "column": 19 + }, + "end": { + "line": 77, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1857, + "end": 1861, + "loc": { + "start": { + "line": 77, + "column": 21 + }, + "end": { + "line": 77, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1861, + "end": 1862, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1867, + "end": 1871, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1871, + "end": 1872, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceS", + "start": 1872, + "end": 1881, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1882, + "end": 1883, + "loc": { + "start": { + "line": 78, + "column": 19 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1884, + "end": 1888, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1888, + "end": 1889, + "loc": { + "start": { + "line": 78, + "column": 25 + }, + "end": { + "line": 78, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1894, + "end": 1898, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1898, + "end": 1899, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1899, + "end": 1904, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1905, + "end": 1906, + "loc": { + "start": { + "line": 79, + "column": 15 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1907, + "end": 1908, + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1908, + "end": 1909, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1912, + "end": 1913, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * timestamp param primarily used for testing\n *\n * @function\n * @param {number} val\n * @param {?number} [timestamp]\n ", + "start": 1917, + "end": 2053, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2056, + "end": 2062, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 2063, + "end": 2078, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2078, + "end": 2079, + "loc": { + "start": { + "line": 89, + "column": 24 + }, + "end": { + "line": 89, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2079, + "end": 2082, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2082, + "end": 2083, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 2084, + "end": 2093, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2093, + "end": 2094, + "loc": { + "start": { + "line": 89, + "column": 39 + }, + "end": { + "line": 89, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2095, + "end": 2096, + "loc": { + "start": { + "line": 89, + "column": 41 + }, + "end": { + "line": 89, + "column": 42 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2101, + "end": 2105, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2105, + "end": 2106, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2106, + "end": 2111, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 90, + "column": 14 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 2111, + "end": 2113, + "loc": { + "start": { + "line": 90, + "column": 14 + }, + "end": { + "line": 90, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2113, + "end": 2114, + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2119, + "end": 2123, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2123, + "end": 2124, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sample", + "start": 2124, + "end": 2130, + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2130, + "end": 2131, + "loc": { + "start": { + "line": 91, + "column": 15 + }, + "end": { + "line": 91, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2131, + "end": 2137, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2137, + "end": 2138, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2138, + "end": 2141, + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2141, + "end": 2142, + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 2143, + "end": 2152, + "loc": { + "start": { + "line": 91, + "column": 28 + }, + "end": { + "line": 91, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 91, + "column": 37 + }, + "end": { + "line": 91, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2153, + "end": 2154, + "loc": { + "start": { + "line": 91, + "column": 38 + }, + "end": { + "line": 91, + "column": 39 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2159, + "end": 2161, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2162, + "end": 2163, + "loc": { + "start": { + "line": 92, + "column": 7 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2163, + "end": 2167, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2167, + "end": 2168, + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 2168, + "end": 2171, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2172, + "end": 2175, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 2176, + "end": 2180, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2180, + "end": 2181, + "loc": { + "start": { + "line": 92, + "column": 25 + }, + "end": { + "line": 92, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2182, + "end": 2183, + "loc": { + "start": { + "line": 92, + "column": 27 + }, + "end": { + "line": 92, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2190, + "end": 2194, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2194, + "end": 2195, + "loc": { + "start": { + "line": 93, + "column": 10 + }, + "end": { + "line": 93, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 2195, + "end": 2198, + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 93, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2199, + "end": 2200, + "loc": { + "start": { + "line": 93, + "column": 15 + }, + "end": { + "line": 93, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2201, + "end": 2204, + "loc": { + "start": { + "line": 93, + "column": 17 + }, + "end": { + "line": 93, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2204, + "end": 2205, + "loc": { + "start": { + "line": 93, + "column": 20 + }, + "end": { + "line": 93, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2210, + "end": 2211, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2212, + "end": 2216, + "loc": { + "start": { + "line": 94, + "column": 6 + }, + "end": { + "line": 94, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2217, + "end": 2218, + "loc": { + "start": { + "line": 94, + "column": 11 + }, + "end": { + "line": 94, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2225, + "end": 2229, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2229, + "end": 2230, + "loc": { + "start": { + "line": 95, + "column": 10 + }, + "end": { + "line": 95, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 2230, + "end": 2233, + "loc": { + "start": { + "line": 95, + "column": 11 + }, + "end": { + "line": 95, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2234, + "end": 2235, + "loc": { + "start": { + "line": 95, + "column": 15 + }, + "end": { + "line": 95, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2236, + "end": 2239, + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 20 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 2240, + "end": 2241, + "loc": { + "start": { + "line": 95, + "column": 21 + }, + "end": { + "line": 95, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2242, + "end": 2246, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2246, + "end": 2247, + "loc": { + "start": { + "line": 95, + "column": 27 + }, + "end": { + "line": 95, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 2247, + "end": 2250, + "loc": { + "start": { + "line": 95, + "column": 28 + }, + "end": { + "line": 95, + "column": 31 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2251, + "end": 2252, + "loc": { + "start": { + "line": 95, + "column": 32 + }, + "end": { + "line": 95, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2253, + "end": 2256, + "loc": { + "start": { + "line": 95, + "column": 34 + }, + "end": { + "line": 95, + "column": 37 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2257, + "end": 2258, + "loc": { + "start": { + "line": 95, + "column": 38 + }, + "end": { + "line": 95, + "column": 39 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2259, + "end": 2263, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2263, + "end": 2264, + "loc": { + "start": { + "line": 95, + "column": 44 + }, + "end": { + "line": 95, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 2264, + "end": 2267, + "loc": { + "start": { + "line": 95, + "column": 45 + }, + "end": { + "line": 95, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2267, + "end": 2268, + "loc": { + "start": { + "line": 95, + "column": 48 + }, + "end": { + "line": 95, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2273, + "end": 2274, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2279, + "end": 2281, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2282, + "end": 2283, + "loc": { + "start": { + "line": 97, + "column": 7 + }, + "end": { + "line": 97, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2283, + "end": 2287, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2287, + "end": 2288, + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 2288, + "end": 2291, + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2292, + "end": 2295, + "loc": { + "start": { + "line": 97, + "column": 17 + }, + "end": { + "line": 97, + "column": 20 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 2296, + "end": 2300, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 97, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2300, + "end": 2301, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2302, + "end": 2303, + "loc": { + "start": { + "line": 97, + "column": 27 + }, + "end": { + "line": 97, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2310, + "end": 2314, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2314, + "end": 2315, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 2315, + "end": 2318, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2319, + "end": 2320, + "loc": { + "start": { + "line": 98, + "column": 15 + }, + "end": { + "line": 98, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2321, + "end": 2324, + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2324, + "end": 2325, + "loc": { + "start": { + "line": 98, + "column": 20 + }, + "end": { + "line": 98, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2330, + "end": 2331, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2332, + "end": 2336, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2337, + "end": 2338, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2345, + "end": 2349, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2349, + "end": 2350, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 2350, + "end": 2353, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2354, + "end": 2355, + "loc": { + "start": { + "line": 100, + "column": 15 + }, + "end": { + "line": 100, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2356, + "end": 2359, + "loc": { + "start": { + "line": 100, + "column": 17 + }, + "end": { + "line": 100, + "column": 20 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 2360, + "end": 2361, + "loc": { + "start": { + "line": 100, + "column": 21 + }, + "end": { + "line": 100, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2362, + "end": 2366, + "loc": { + "start": { + "line": 100, + "column": 23 + }, + "end": { + "line": 100, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2366, + "end": 2367, + "loc": { + "start": { + "line": 100, + "column": 27 + }, + "end": { + "line": 100, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 2367, + "end": 2370, + "loc": { + "start": { + "line": 100, + "column": 28 + }, + "end": { + "line": 100, + "column": 31 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2371, + "end": 2372, + "loc": { + "start": { + "line": 100, + "column": 32 + }, + "end": { + "line": 100, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2373, + "end": 2376, + "loc": { + "start": { + "line": 100, + "column": 34 + }, + "end": { + "line": 100, + "column": 37 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2377, + "end": 2378, + "loc": { + "start": { + "line": 100, + "column": 38 + }, + "end": { + "line": 100, + "column": 39 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2379, + "end": 2383, + "loc": { + "start": { + "line": 100, + "column": 40 + }, + "end": { + "line": 100, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2383, + "end": 2384, + "loc": { + "start": { + "line": 100, + "column": 44 + }, + "end": { + "line": 100, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 2384, + "end": 2387, + "loc": { + "start": { + "line": 100, + "column": 45 + }, + "end": { + "line": 100, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2387, + "end": 2388, + "loc": { + "start": { + "line": 100, + "column": 48 + }, + "end": { + "line": 100, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2393, + "end": 2394, + "loc": { + "start": { + "line": 101, + "column": 4 + }, + "end": { + "line": 101, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2399, + "end": 2403, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2403, + "end": 2404, + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 2404, + "end": 2407, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 102, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2408, + "end": 2409, + "loc": { + "start": { + "line": 102, + "column": 13 + }, + "end": { + "line": 102, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2410, + "end": 2414, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2414, + "end": 2415, + "loc": { + "start": { + "line": 102, + "column": 19 + }, + "end": { + "line": 102, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 2415, + "end": 2418, + "loc": { + "start": { + "line": 102, + "column": 20 + }, + "end": { + "line": 102, + "column": 23 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2419, + "end": 2422, + "loc": { + "start": { + "line": 102, + "column": 24 + }, + "end": { + "line": 102, + "column": 27 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 2423, + "end": 2427, + "loc": { + "start": { + "line": 102, + "column": 28 + }, + "end": { + "line": 102, + "column": 32 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2428, + "end": 2429, + "loc": { + "start": { + "line": 102, + "column": 33 + }, + "end": { + "line": 102, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2430, + "end": 2433, + "loc": { + "start": { + "line": 102, + "column": 35 + }, + "end": { + "line": 102, + "column": 38 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2434, + "end": 2435, + "loc": { + "start": { + "line": 102, + "column": 39 + }, + "end": { + "line": 102, + "column": 40 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2436, + "end": 2440, + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2440, + "end": 2441, + "loc": { + "start": { + "line": 102, + "column": 45 + }, + "end": { + "line": 102, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 2441, + "end": 2444, + "loc": { + "start": { + "line": 102, + "column": 46 + }, + "end": { + "line": 102, + "column": 49 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2445, + "end": 2446, + "loc": { + "start": { + "line": 102, + "column": 50 + }, + "end": { + "line": 102, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2447, + "end": 2450, + "loc": { + "start": { + "line": 102, + "column": 52 + }, + "end": { + "line": 102, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2450, + "end": 2451, + "loc": { + "start": { + "line": 102, + "column": 55 + }, + "end": { + "line": 102, + "column": 56 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2456, + "end": 2460, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2460, + "end": 2461, + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateVariance", + "start": 2461, + "end": 2475, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2475, + "end": 2476, + "loc": { + "start": { + "line": 103, + "column": 23 + }, + "end": { + "line": 103, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2476, + "end": 2479, + "loc": { + "start": { + "line": 103, + "column": 24 + }, + "end": { + "line": 103, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2479, + "end": 2480, + "loc": { + "start": { + "line": 103, + "column": 27 + }, + "end": { + "line": 103, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2480, + "end": 2481, + "loc": { + "start": { + "line": 103, + "column": 28 + }, + "end": { + "line": 103, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2484, + "end": 2485, + "loc": { + "start": { + "line": 104, + "column": 2 + }, + "end": { + "line": 104, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the value of the Welford algorithm variance.\n *\n * @function\n * @param {number} val\n ", + "start": 2489, + "end": 2597, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 111, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateVariance", + "start": 2600, + "end": 2614, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 112, + "column": 16 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 2615, + "end": 2630, + "loc": { + "start": { + "line": 112, + "column": 17 + }, + "end": { + "line": 112, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2630, + "end": 2631, + "loc": { + "start": { + "line": 112, + "column": 32 + }, + "end": { + "line": 112, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2631, + "end": 2634, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2634, + "end": 2635, + "loc": { + "start": { + "line": 112, + "column": 36 + }, + "end": { + "line": 112, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2636, + "end": 2637, + "loc": { + "start": { + "line": 112, + "column": 38 + }, + "end": { + "line": 112, + "column": 39 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 2642, + "end": 2645, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldVM", + "start": 2646, + "end": 2651, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2652, + "end": 2653, + "loc": { + "start": { + "line": 113, + "column": 14 + }, + "end": { + "line": 113, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2654, + "end": 2658, + "loc": { + "start": { + "line": 113, + "column": 16 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2658, + "end": 2659, + "loc": { + "start": { + "line": 113, + "column": 20 + }, + "end": { + "line": 113, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceM", + "start": 2659, + "end": 2668, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2668, + "end": 2669, + "loc": { + "start": { + "line": 113, + "column": 30 + }, + "end": { + "line": 113, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldVS", + "start": 2678, + "end": 2683, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2684, + "end": 2685, + "loc": { + "start": { + "line": 114, + "column": 14 + }, + "end": { + "line": 114, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2686, + "end": 2690, + "loc": { + "start": { + "line": 114, + "column": 16 + }, + "end": { + "line": 114, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2690, + "end": 2691, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceS", + "start": 2691, + "end": 2700, + "loc": { + "start": { + "line": 114, + "column": 21 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2700, + "end": 2701, + "loc": { + "start": { + "line": 114, + "column": 30 + }, + "end": { + "line": 114, + "column": 31 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2706, + "end": 2708, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2709, + "end": 2710, + "loc": { + "start": { + "line": 115, + "column": 7 + }, + "end": { + "line": 115, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2710, + "end": 2714, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2714, + "end": 2715, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2715, + "end": 2720, + "loc": { + "start": { + "line": 115, + "column": 13 + }, + "end": { + "line": 115, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 2721, + "end": 2723, + "loc": { + "start": { + "line": 115, + "column": 19 + }, + "end": { + "line": 115, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2724, + "end": 2725, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2725, + "end": 2726, + "loc": { + "start": { + "line": 115, + "column": 23 + }, + "end": { + "line": 115, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2727, + "end": 2728, + "loc": { + "start": { + "line": 115, + "column": 25 + }, + "end": { + "line": 115, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2735, + "end": 2739, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2739, + "end": 2740, + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceM", + "start": 2740, + "end": 2749, + "loc": { + "start": { + "line": 116, + "column": 11 + }, + "end": { + "line": 116, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2750, + "end": 2751, + "loc": { + "start": { + "line": 116, + "column": 21 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2752, + "end": 2755, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2755, + "end": 2756, + "loc": { + "start": { + "line": 116, + "column": 26 + }, + "end": { + "line": 116, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2761, + "end": 2762, + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 117, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2763, + "end": 2767, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2768, + "end": 2769, + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 117, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2776, + "end": 2780, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2780, + "end": 2781, + "loc": { + "start": { + "line": 118, + "column": 10 + }, + "end": { + "line": 118, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceM", + "start": 2781, + "end": 2790, + "loc": { + "start": { + "line": 118, + "column": 11 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2791, + "end": 2792, + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldVM", + "start": 2793, + "end": 2798, + "loc": { + "start": { + "line": 118, + "column": 23 + }, + "end": { + "line": 118, + "column": 28 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2799, + "end": 2800, + "loc": { + "start": { + "line": 118, + "column": 29 + }, + "end": { + "line": 118, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2801, + "end": 2802, + "loc": { + "start": { + "line": 118, + "column": 31 + }, + "end": { + "line": 118, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2802, + "end": 2805, + "loc": { + "start": { + "line": 118, + "column": 32 + }, + "end": { + "line": 118, + "column": 35 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2806, + "end": 2807, + "loc": { + "start": { + "line": 118, + "column": 36 + }, + "end": { + "line": 118, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldVM", + "start": 2808, + "end": 2813, + "loc": { + "start": { + "line": 118, + "column": 38 + }, + "end": { + "line": 118, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2813, + "end": 2814, + "loc": { + "start": { + "line": 118, + "column": 43 + }, + "end": { + "line": 118, + "column": 44 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2815, + "end": 2816, + "loc": { + "start": { + "line": 118, + "column": 45 + }, + "end": { + "line": 118, + "column": 46 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2817, + "end": 2821, + "loc": { + "start": { + "line": 118, + "column": 47 + }, + "end": { + "line": 118, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2821, + "end": 2822, + "loc": { + "start": { + "line": 118, + "column": 51 + }, + "end": { + "line": 118, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2822, + "end": 2827, + "loc": { + "start": { + "line": 118, + "column": 52 + }, + "end": { + "line": 118, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2827, + "end": 2828, + "loc": { + "start": { + "line": 118, + "column": 57 + }, + "end": { + "line": 118, + "column": 58 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2835, + "end": 2839, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2839, + "end": 2840, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceS", + "start": 2840, + "end": 2849, + "loc": { + "start": { + "line": 119, + "column": 11 + }, + "end": { + "line": 119, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2850, + "end": 2851, + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 119, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldVS", + "start": 2852, + "end": 2857, + "loc": { + "start": { + "line": 119, + "column": 23 + }, + "end": { + "line": 119, + "column": 28 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2858, + "end": 2859, + "loc": { + "start": { + "line": 119, + "column": 29 + }, + "end": { + "line": 119, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2860, + "end": 2861, + "loc": { + "start": { + "line": 119, + "column": 31 + }, + "end": { + "line": 119, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2861, + "end": 2864, + "loc": { + "start": { + "line": 119, + "column": 32 + }, + "end": { + "line": 119, + "column": 35 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2865, + "end": 2866, + "loc": { + "start": { + "line": 119, + "column": 36 + }, + "end": { + "line": 119, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldVM", + "start": 2867, + "end": 2872, + "loc": { + "start": { + "line": 119, + "column": 38 + }, + "end": { + "line": 119, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2872, + "end": 2873, + "loc": { + "start": { + "line": 119, + "column": 43 + }, + "end": { + "line": 119, + "column": 44 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2874, + "end": 2875, + "loc": { + "start": { + "line": 119, + "column": 45 + }, + "end": { + "line": 119, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2876, + "end": 2877, + "loc": { + "start": { + "line": 119, + "column": 47 + }, + "end": { + "line": 119, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2877, + "end": 2880, + "loc": { + "start": { + "line": 119, + "column": 48 + }, + "end": { + "line": 119, + "column": 51 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2881, + "end": 2882, + "loc": { + "start": { + "line": 119, + "column": 52 + }, + "end": { + "line": 119, + "column": 53 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2883, + "end": 2887, + "loc": { + "start": { + "line": 119, + "column": 54 + }, + "end": { + "line": 119, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2887, + "end": 2888, + "loc": { + "start": { + "line": 119, + "column": 58 + }, + "end": { + "line": 119, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceM", + "start": 2888, + "end": 2897, + "loc": { + "start": { + "line": 119, + "column": 59 + }, + "end": { + "line": 119, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2897, + "end": 2898, + "loc": { + "start": { + "line": 119, + "column": 68 + }, + "end": { + "line": 119, + "column": 69 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2898, + "end": 2899, + "loc": { + "start": { + "line": 119, + "column": 69 + }, + "end": { + "line": 119, + "column": 70 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2904, + "end": 2905, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2908, + "end": 2909, + "loc": { + "start": { + "line": 121, + "column": 2 + }, + "end": { + "line": 121, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the values for a set of percentiles.\n *\n * @function\n * @param {?number[]} [percentiles] An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is {@link DEFAULT_PERCENTILES}.\n * @return {number[]} the values for each percentile level\n ", + "start": 2913, + "end": 3233, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 129, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 3236, + "end": 3247, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 3248, + "end": 3263, + "loc": { + "start": { + "line": 130, + "column": 14 + }, + "end": { + "line": 130, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3263, + "end": 3264, + "loc": { + "start": { + "line": 130, + "column": 29 + }, + "end": { + "line": 130, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 3264, + "end": 3275, + "loc": { + "start": { + "line": 130, + "column": 30 + }, + "end": { + "line": 130, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3275, + "end": 3276, + "loc": { + "start": { + "line": 130, + "column": 41 + }, + "end": { + "line": 130, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3277, + "end": 3278, + "loc": { + "start": { + "line": 130, + "column": 43 + }, + "end": { + "line": 130, + "column": 44 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3283, + "end": 3285, + "loc": { + "start": { + "line": 131, + "column": 4 + }, + "end": { + "line": 131, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3286, + "end": 3287, + "loc": { + "start": { + "line": 131, + "column": 7 + }, + "end": { + "line": 131, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 3287, + "end": 3288, + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 3288, + "end": 3299, + "loc": { + "start": { + "line": 131, + "column": 9 + }, + "end": { + "line": 131, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3299, + "end": 3300, + "loc": { + "start": { + "line": 131, + "column": 20 + }, + "end": { + "line": 131, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3301, + "end": 3302, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 3309, + "end": 3320, + "loc": { + "start": { + "line": 132, + "column": 6 + }, + "end": { + "line": 132, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3321, + "end": 3322, + "loc": { + "start": { + "line": 132, + "column": 18 + }, + "end": { + "line": 132, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_PERCENTILES", + "start": 3323, + "end": 3342, + "loc": { + "start": { + "line": 132, + "column": 20 + }, + "end": { + "line": 132, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3342, + "end": 3343, + "loc": { + "start": { + "line": 132, + "column": 39 + }, + "end": { + "line": 132, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3348, + "end": 3349, + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 5 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 3354, + "end": 3357, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3358, + "end": 3364, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3365, + "end": 3366, + "loc": { + "start": { + "line": 134, + "column": 15 + }, + "end": { + "line": 134, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3367, + "end": 3371, + "loc": { + "start": { + "line": 134, + "column": 17 + }, + "end": { + "line": 134, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3371, + "end": 3372, + "loc": { + "start": { + "line": 134, + "column": 21 + }, + "end": { + "line": 134, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sample", + "start": 3372, + "end": 3378, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3378, + "end": 3379, + "loc": { + "start": { + "line": 134, + "column": 28 + }, + "end": { + "line": 134, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getValues", + "start": 3379, + "end": 3388, + "loc": { + "start": { + "line": 134, + "column": 29 + }, + "end": { + "line": 134, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3388, + "end": 3389, + "loc": { + "start": { + "line": 134, + "column": 38 + }, + "end": { + "line": 134, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3389, + "end": 3390, + "loc": { + "start": { + "line": 134, + "column": 39 + }, + "end": { + "line": 134, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3390, + "end": 3391, + "loc": { + "start": { + "line": 134, + "column": 40 + }, + "end": { + "line": 134, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 3391, + "end": 3394, + "loc": { + "start": { + "line": 134, + "column": 41 + }, + "end": { + "line": 134, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3394, + "end": 3395, + "loc": { + "start": { + "line": 134, + "column": 44 + }, + "end": { + "line": 134, + "column": 45 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3395, + "end": 3403, + "loc": { + "start": { + "line": 134, + "column": 45 + }, + "end": { + "line": 134, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3404, + "end": 3405, + "loc": { + "start": { + "line": 134, + "column": 54 + }, + "end": { + "line": 134, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "v", + "start": 3405, + "end": 3406, + "loc": { + "start": { + "line": 134, + "column": 55 + }, + "end": { + "line": 134, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3406, + "end": 3407, + "loc": { + "start": { + "line": 134, + "column": 56 + }, + "end": { + "line": 134, + "column": 57 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3408, + "end": 3409, + "loc": { + "start": { + "line": 134, + "column": 58 + }, + "end": { + "line": 134, + "column": 59 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3416, + "end": 3422, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 135, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseFloat", + "start": 3423, + "end": 3433, + "loc": { + "start": { + "line": 135, + "column": 13 + }, + "end": { + "line": 135, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3433, + "end": 3434, + "loc": { + "start": { + "line": 135, + "column": 23 + }, + "end": { + "line": 135, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "v", + "start": 3434, + "end": 3435, + "loc": { + "start": { + "line": 135, + "column": 24 + }, + "end": { + "line": 135, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3435, + "end": 3436, + "loc": { + "start": { + "line": 135, + "column": 25 + }, + "end": { + "line": 135, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3436, + "end": 3437, + "loc": { + "start": { + "line": 135, + "column": 26 + }, + "end": { + "line": 135, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3442, + "end": 3443, + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 136, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3443, + "end": 3444, + "loc": { + "start": { + "line": 136, + "column": 5 + }, + "end": { + "line": 136, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3444, + "end": 3445, + "loc": { + "start": { + "line": 136, + "column": 6 + }, + "end": { + "line": 136, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sort", + "start": 3445, + "end": 3449, + "loc": { + "start": { + "line": 136, + "column": 7 + }, + "end": { + "line": 136, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3449, + "end": 3450, + "loc": { + "start": { + "line": 136, + "column": 11 + }, + "end": { + "line": 136, + "column": 12 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3450, + "end": 3458, + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3459, + "end": 3460, + "loc": { + "start": { + "line": 136, + "column": 21 + }, + "end": { + "line": 136, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 3460, + "end": 3461, + "loc": { + "start": { + "line": 136, + "column": 22 + }, + "end": { + "line": 136, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3461, + "end": 3462, + "loc": { + "start": { + "line": 136, + "column": 23 + }, + "end": { + "line": 136, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 3463, + "end": 3464, + "loc": { + "start": { + "line": 136, + "column": 25 + }, + "end": { + "line": 136, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3464, + "end": 3465, + "loc": { + "start": { + "line": 136, + "column": 26 + }, + "end": { + "line": 136, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3466, + "end": 3467, + "loc": { + "start": { + "line": 136, + "column": 28 + }, + "end": { + "line": 136, + "column": 29 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3474, + "end": 3480, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "a", + "start": 3481, + "end": 3482, + "loc": { + "start": { + "line": 137, + "column": 13 + }, + "end": { + "line": 137, + "column": 14 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 3483, + "end": 3484, + "loc": { + "start": { + "line": 137, + "column": 15 + }, + "end": { + "line": 137, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 3485, + "end": 3486, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3486, + "end": 3487, + "loc": { + "start": { + "line": 137, + "column": 18 + }, + "end": { + "line": 137, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3492, + "end": 3493, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3493, + "end": 3494, + "loc": { + "start": { + "line": 138, + "column": 5 + }, + "end": { + "line": 138, + "column": 6 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3494, + "end": 3495, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scores", + "start": 3504, + "end": 3510, + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3511, + "end": 3512, + "loc": { + "start": { + "line": 139, + "column": 15 + }, + "end": { + "line": 139, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3513, + "end": 3514, + "loc": { + "start": { + "line": 139, + "column": 17 + }, + "end": { + "line": 139, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3514, + "end": 3515, + "loc": { + "start": { + "line": 139, + "column": 18 + }, + "end": { + "line": 139, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3515, + "end": 3516, + "loc": { + "start": { + "line": 139, + "column": 19 + }, + "end": { + "line": 139, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentile", + "start": 3525, + "end": 3535, + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3535, + "end": 3536, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 140, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pos", + "start": 3545, + "end": 3548, + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 11 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3548, + "end": 3549, + "loc": { + "start": { + "line": 141, + "column": 11 + }, + "end": { + "line": 141, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lower", + "start": 3558, + "end": 3563, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 13 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3563, + "end": 3564, + "loc": { + "start": { + "line": 142, + "column": 13 + }, + "end": { + "line": 142, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "upper", + "start": 3573, + "end": 3578, + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 13 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3578, + "end": 3579, + "loc": { + "start": { + "line": 143, + "column": 13 + }, + "end": { + "line": 143, + "column": 14 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 3584, + "end": 3587, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3588, + "end": 3589, + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 3589, + "end": 3592, + "loc": { + "start": { + "line": 144, + "column": 9 + }, + "end": { + "line": 144, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3593, + "end": 3594, + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3595, + "end": 3596, + "loc": { + "start": { + "line": 144, + "column": 15 + }, + "end": { + "line": 144, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3597, + "end": 3598, + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3598, + "end": 3599, + "loc": { + "start": { + "line": 144, + "column": 18 + }, + "end": { + "line": 144, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3600, + "end": 3601, + "loc": { + "start": { + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3602, + "end": 3603, + "loc": { + "start": { + "line": 144, + "column": 22 + }, + "end": { + "line": 144, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 3604, + "end": 3615, + "loc": { + "start": { + "line": 144, + "column": 24 + }, + "end": { + "line": 144, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3615, + "end": 3616, + "loc": { + "start": { + "line": 144, + "column": 35 + }, + "end": { + "line": 144, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3616, + "end": 3622, + "loc": { + "start": { + "line": 144, + "column": 36 + }, + "end": { + "line": 144, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3622, + "end": 3623, + "loc": { + "start": { + "line": 144, + "column": 42 + }, + "end": { + "line": 144, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3624, + "end": 3625, + "loc": { + "start": { + "line": 144, + "column": 44 + }, + "end": { + "line": 144, + "column": 45 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 3625, + "end": 3627, + "loc": { + "start": { + "line": 144, + "column": 45 + }, + "end": { + "line": 144, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3627, + "end": 3628, + "loc": { + "start": { + "line": 144, + "column": 47 + }, + "end": { + "line": 144, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3629, + "end": 3630, + "loc": { + "start": { + "line": 144, + "column": 49 + }, + "end": { + "line": 144, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pos", + "start": 3637, + "end": 3640, + "loc": { + "start": { + "line": 145, + "column": 6 + }, + "end": { + "line": 145, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3641, + "end": 3642, + "loc": { + "start": { + "line": 145, + "column": 10 + }, + "end": { + "line": 145, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 3643, + "end": 3654, + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3654, + "end": 3655, + "loc": { + "start": { + "line": 145, + "column": 23 + }, + "end": { + "line": 145, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3655, + "end": 3656, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3656, + "end": 3657, + "loc": { + "start": { + "line": 145, + "column": 25 + }, + "end": { + "line": 145, + "column": 26 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 3658, + "end": 3659, + "loc": { + "start": { + "line": 145, + "column": 27 + }, + "end": { + "line": 145, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3660, + "end": 3661, + "loc": { + "start": { + "line": 145, + "column": 29 + }, + "end": { + "line": 145, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3661, + "end": 3667, + "loc": { + "start": { + "line": 145, + "column": 30 + }, + "end": { + "line": 145, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3667, + "end": 3668, + "loc": { + "start": { + "line": 145, + "column": 36 + }, + "end": { + "line": 145, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3668, + "end": 3674, + "loc": { + "start": { + "line": 145, + "column": 37 + }, + "end": { + "line": 145, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3675, + "end": 3676, + "loc": { + "start": { + "line": 145, + "column": 44 + }, + "end": { + "line": 145, + "column": 45 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3677, + "end": 3678, + "loc": { + "start": { + "line": 145, + "column": 46 + }, + "end": { + "line": 145, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3678, + "end": 3679, + "loc": { + "start": { + "line": 145, + "column": 47 + }, + "end": { + "line": 145, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3679, + "end": 3680, + "loc": { + "start": { + "line": 145, + "column": 48 + }, + "end": { + "line": 145, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentile", + "start": 3687, + "end": 3697, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3698, + "end": 3699, + "loc": { + "start": { + "line": 146, + "column": 17 + }, + "end": { + "line": 146, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 3700, + "end": 3711, + "loc": { + "start": { + "line": 146, + "column": 19 + }, + "end": { + "line": 146, + "column": 30 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3711, + "end": 3712, + "loc": { + "start": { + "line": 146, + "column": 30 + }, + "end": { + "line": 146, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3712, + "end": 3713, + "loc": { + "start": { + "line": 146, + "column": 31 + }, + "end": { + "line": 146, + "column": 32 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3713, + "end": 3714, + "loc": { + "start": { + "line": 146, + "column": 32 + }, + "end": { + "line": 146, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3714, + "end": 3715, + "loc": { + "start": { + "line": 146, + "column": 33 + }, + "end": { + "line": 146, + "column": 34 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3722, + "end": 3724, + "loc": { + "start": { + "line": 147, + "column": 6 + }, + "end": { + "line": 147, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3725, + "end": 3726, + "loc": { + "start": { + "line": 147, + "column": 9 + }, + "end": { + "line": 147, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pos", + "start": 3726, + "end": 3729, + "loc": { + "start": { + "line": 147, + "column": 10 + }, + "end": { + "line": 147, + "column": 13 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3730, + "end": 3731, + "loc": { + "start": { + "line": 147, + "column": 14 + }, + "end": { + "line": 147, + "column": 15 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3732, + "end": 3733, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3733, + "end": 3734, + "loc": { + "start": { + "line": 147, + "column": 17 + }, + "end": { + "line": 147, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3735, + "end": 3736, + "loc": { + "start": { + "line": 147, + "column": 19 + }, + "end": { + "line": 147, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scores", + "start": 3745, + "end": 3751, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 14 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3751, + "end": 3752, + "loc": { + "start": { + "line": 148, + "column": 14 + }, + "end": { + "line": 148, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentile", + "start": 3752, + "end": 3762, + "loc": { + "start": { + "line": 148, + "column": 15 + }, + "end": { + "line": 148, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3762, + "end": 3763, + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 148, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3764, + "end": 3765, + "loc": { + "start": { + "line": 148, + "column": 27 + }, + "end": { + "line": 148, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3766, + "end": 3772, + "loc": { + "start": { + "line": 148, + "column": 29 + }, + "end": { + "line": 148, + "column": 35 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3772, + "end": 3773, + "loc": { + "start": { + "line": 148, + "column": 35 + }, + "end": { + "line": 148, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3773, + "end": 3774, + "loc": { + "start": { + "line": 148, + "column": 36 + }, + "end": { + "line": 148, + "column": 37 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3774, + "end": 3775, + "loc": { + "start": { + "line": 148, + "column": 37 + }, + "end": { + "line": 148, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3775, + "end": 3776, + "loc": { + "start": { + "line": 148, + "column": 38 + }, + "end": { + "line": 148, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3783, + "end": 3784, + "loc": { + "start": { + "line": 149, + "column": 6 + }, + "end": { + "line": 149, + "column": 7 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3785, + "end": 3789, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 12 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3790, + "end": 3792, + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3793, + "end": 3794, + "loc": { + "start": { + "line": 149, + "column": 16 + }, + "end": { + "line": 149, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pos", + "start": 3794, + "end": 3797, + "loc": { + "start": { + "line": 149, + "column": 17 + }, + "end": { + "line": 149, + "column": 20 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">=", + "start": 3798, + "end": 3800, + "loc": { + "start": { + "line": 149, + "column": 21 + }, + "end": { + "line": 149, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3801, + "end": 3807, + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3807, + "end": 3808, + "loc": { + "start": { + "line": 149, + "column": 30 + }, + "end": { + "line": 149, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3808, + "end": 3814, + "loc": { + "start": { + "line": 149, + "column": 31 + }, + "end": { + "line": 149, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3814, + "end": 3815, + "loc": { + "start": { + "line": 149, + "column": 37 + }, + "end": { + "line": 149, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3816, + "end": 3817, + "loc": { + "start": { + "line": 149, + "column": 39 + }, + "end": { + "line": 149, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scores", + "start": 3826, + "end": 3832, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 14 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3832, + "end": 3833, + "loc": { + "start": { + "line": 150, + "column": 14 + }, + "end": { + "line": 150, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentile", + "start": 3833, + "end": 3843, + "loc": { + "start": { + "line": 150, + "column": 15 + }, + "end": { + "line": 150, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3843, + "end": 3844, + "loc": { + "start": { + "line": 150, + "column": 25 + }, + "end": { + "line": 150, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3845, + "end": 3846, + "loc": { + "start": { + "line": 150, + "column": 27 + }, + "end": { + "line": 150, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3847, + "end": 3853, + "loc": { + "start": { + "line": 150, + "column": 29 + }, + "end": { + "line": 150, + "column": 35 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3853, + "end": 3854, + "loc": { + "start": { + "line": 150, + "column": 35 + }, + "end": { + "line": 150, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3854, + "end": 3860, + "loc": { + "start": { + "line": 150, + "column": 36 + }, + "end": { + "line": 150, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3860, + "end": 3861, + "loc": { + "start": { + "line": 150, + "column": 42 + }, + "end": { + "line": 150, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3861, + "end": 3867, + "loc": { + "start": { + "line": 150, + "column": 43 + }, + "end": { + "line": 150, + "column": 49 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 3868, + "end": 3869, + "loc": { + "start": { + "line": 150, + "column": 50 + }, + "end": { + "line": 150, + "column": 51 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3870, + "end": 3871, + "loc": { + "start": { + "line": 150, + "column": 52 + }, + "end": { + "line": 150, + "column": 53 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3871, + "end": 3872, + "loc": { + "start": { + "line": 150, + "column": 53 + }, + "end": { + "line": 150, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3872, + "end": 3873, + "loc": { + "start": { + "line": 150, + "column": 54 + }, + "end": { + "line": 150, + "column": 55 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3880, + "end": 3881, + "loc": { + "start": { + "line": 151, + "column": 6 + }, + "end": { + "line": 151, + "column": 7 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3882, + "end": 3886, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3887, + "end": 3888, + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 151, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lower", + "start": 3897, + "end": 3902, + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3903, + "end": 3904, + "loc": { + "start": { + "line": 152, + "column": 14 + }, + "end": { + "line": 152, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3905, + "end": 3911, + "loc": { + "start": { + "line": 152, + "column": 16 + }, + "end": { + "line": 152, + "column": 22 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3911, + "end": 3912, + "loc": { + "start": { + "line": 152, + "column": 22 + }, + "end": { + "line": 152, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 3912, + "end": 3916, + "loc": { + "start": { + "line": 152, + "column": 23 + }, + "end": { + "line": 152, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3916, + "end": 3917, + "loc": { + "start": { + "line": 152, + "column": 27 + }, + "end": { + "line": 152, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 3917, + "end": 3922, + "loc": { + "start": { + "line": 152, + "column": 28 + }, + "end": { + "line": 152, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3922, + "end": 3923, + "loc": { + "start": { + "line": 152, + "column": 33 + }, + "end": { + "line": 152, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pos", + "start": 3923, + "end": 3926, + "loc": { + "start": { + "line": 152, + "column": 34 + }, + "end": { + "line": 152, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3926, + "end": 3927, + "loc": { + "start": { + "line": 152, + "column": 37 + }, + "end": { + "line": 152, + "column": 38 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 3928, + "end": 3929, + "loc": { + "start": { + "line": 152, + "column": 39 + }, + "end": { + "line": 152, + "column": 40 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3930, + "end": 3931, + "loc": { + "start": { + "line": 152, + "column": 41 + }, + "end": { + "line": 152, + "column": 42 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3931, + "end": 3932, + "loc": { + "start": { + "line": 152, + "column": 42 + }, + "end": { + "line": 152, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3932, + "end": 3933, + "loc": { + "start": { + "line": 152, + "column": 43 + }, + "end": { + "line": 152, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "upper", + "start": 3942, + "end": 3947, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3948, + "end": 3949, + "loc": { + "start": { + "line": 153, + "column": 14 + }, + "end": { + "line": 153, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3950, + "end": 3956, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 22 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3956, + "end": 3957, + "loc": { + "start": { + "line": 153, + "column": 22 + }, + "end": { + "line": 153, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 3957, + "end": 3961, + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3961, + "end": 3962, + "loc": { + "start": { + "line": 153, + "column": 27 + }, + "end": { + "line": 153, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ceil", + "start": 3962, + "end": 3966, + "loc": { + "start": { + "line": 153, + "column": 28 + }, + "end": { + "line": 153, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3966, + "end": 3967, + "loc": { + "start": { + "line": 153, + "column": 32 + }, + "end": { + "line": 153, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pos", + "start": 3967, + "end": 3970, + "loc": { + "start": { + "line": 153, + "column": 33 + }, + "end": { + "line": 153, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3970, + "end": 3971, + "loc": { + "start": { + "line": 153, + "column": 36 + }, + "end": { + "line": 153, + "column": 37 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 3972, + "end": 3973, + "loc": { + "start": { + "line": 153, + "column": 38 + }, + "end": { + "line": 153, + "column": 39 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3974, + "end": 3975, + "loc": { + "start": { + "line": 153, + "column": 40 + }, + "end": { + "line": 153, + "column": 41 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3975, + "end": 3976, + "loc": { + "start": { + "line": 153, + "column": 41 + }, + "end": { + "line": 153, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3976, + "end": 3977, + "loc": { + "start": { + "line": 153, + "column": 42 + }, + "end": { + "line": 153, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scores", + "start": 3986, + "end": 3992, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 14 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3992, + "end": 3993, + "loc": { + "start": { + "line": 154, + "column": 14 + }, + "end": { + "line": 154, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentile", + "start": 3993, + "end": 4003, + "loc": { + "start": { + "line": 154, + "column": 15 + }, + "end": { + "line": 154, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4003, + "end": 4004, + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4005, + "end": 4006, + "loc": { + "start": { + "line": 154, + "column": 27 + }, + "end": { + "line": 154, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lower", + "start": 4007, + "end": 4012, + "loc": { + "start": { + "line": 154, + "column": 29 + }, + "end": { + "line": 154, + "column": 34 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4013, + "end": 4014, + "loc": { + "start": { + "line": 154, + "column": 35 + }, + "end": { + "line": 154, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4015, + "end": 4016, + "loc": { + "start": { + "line": 154, + "column": 37 + }, + "end": { + "line": 154, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pos", + "start": 4016, + "end": 4019, + "loc": { + "start": { + "line": 154, + "column": 38 + }, + "end": { + "line": 154, + "column": 41 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 4020, + "end": 4021, + "loc": { + "start": { + "line": 154, + "column": 42 + }, + "end": { + "line": 154, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 4022, + "end": 4026, + "loc": { + "start": { + "line": 154, + "column": 44 + }, + "end": { + "line": 154, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4026, + "end": 4027, + "loc": { + "start": { + "line": 154, + "column": 48 + }, + "end": { + "line": 154, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 4027, + "end": 4032, + "loc": { + "start": { + "line": 154, + "column": 49 + }, + "end": { + "line": 154, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4032, + "end": 4033, + "loc": { + "start": { + "line": 154, + "column": 54 + }, + "end": { + "line": 154, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pos", + "start": 4033, + "end": 4036, + "loc": { + "start": { + "line": 154, + "column": 55 + }, + "end": { + "line": 154, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4036, + "end": 4037, + "loc": { + "start": { + "line": 154, + "column": 58 + }, + "end": { + "line": 154, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4037, + "end": 4038, + "loc": { + "start": { + "line": 154, + "column": 59 + }, + "end": { + "line": 154, + "column": 60 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 4039, + "end": 4040, + "loc": { + "start": { + "line": 154, + "column": 61 + }, + "end": { + "line": 154, + "column": 62 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4041, + "end": 4042, + "loc": { + "start": { + "line": 154, + "column": 63 + }, + "end": { + "line": 154, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "upper", + "start": 4042, + "end": 4047, + "loc": { + "start": { + "line": 154, + "column": 64 + }, + "end": { + "line": 154, + "column": 69 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 4048, + "end": 4049, + "loc": { + "start": { + "line": 154, + "column": 70 + }, + "end": { + "line": 154, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lower", + "start": 4050, + "end": 4055, + "loc": { + "start": { + "line": 154, + "column": 72 + }, + "end": { + "line": 154, + "column": 77 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4055, + "end": 4056, + "loc": { + "start": { + "line": 154, + "column": 77 + }, + "end": { + "line": 154, + "column": 78 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4056, + "end": 4057, + "loc": { + "start": { + "line": 154, + "column": 78 + }, + "end": { + "line": 154, + "column": 79 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4064, + "end": 4065, + "loc": { + "start": { + "line": 155, + "column": 6 + }, + "end": { + "line": 155, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4070, + "end": 4071, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4076, + "end": 4082, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scores", + "start": 4083, + "end": 4089, + "loc": { + "start": { + "line": 157, + "column": 11 + }, + "end": { + "line": 157, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4089, + "end": 4090, + "loc": { + "start": { + "line": 157, + "column": 17 + }, + "end": { + "line": 157, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4093, + "end": 4094, + "loc": { + "start": { + "line": 158, + "column": 2 + }, + "end": { + "line": 158, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the average variance using the Welford algorithm.\n *\n * @function\n * @return {?number} the average variance, or null if this is undefined because the count is zero.\n * @throws {Error} a divide by zero error if this.count==1\n ", + "start": 4098, + "end": 4351, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 166, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "variance", + "start": 4354, + "end": 4362, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 167, + "column": 10 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 4363, + "end": 4378, + "loc": { + "start": { + "line": 167, + "column": 11 + }, + "end": { + "line": 167, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4378, + "end": 4379, + "loc": { + "start": { + "line": 167, + "column": 26 + }, + "end": { + "line": 167, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4379, + "end": 4380, + "loc": { + "start": { + "line": 167, + "column": 27 + }, + "end": { + "line": 167, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4381, + "end": 4382, + "loc": { + "start": { + "line": 167, + "column": 29 + }, + "end": { + "line": 167, + "column": 30 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4387, + "end": 4393, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4394, + "end": 4398, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4398, + "end": 4399, + "loc": { + "start": { + "line": 168, + "column": 15 + }, + "end": { + "line": 168, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 4399, + "end": 4404, + "loc": { + "start": { + "line": 168, + "column": 16 + }, + "end": { + "line": 168, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 4405, + "end": 4406, + "loc": { + "start": { + "line": 168, + "column": 22 + }, + "end": { + "line": 168, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 4407, + "end": 4408, + "loc": { + "start": { + "line": 168, + "column": 24 + }, + "end": { + "line": 168, + "column": 25 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4409, + "end": 4410, + "loc": { + "start": { + "line": 168, + "column": 26 + }, + "end": { + "line": 168, + "column": 27 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 4411, + "end": 4415, + "loc": { + "start": { + "line": 168, + "column": 28 + }, + "end": { + "line": 168, + "column": 32 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4416, + "end": 4417, + "loc": { + "start": { + "line": 168, + "column": 33 + }, + "end": { + "line": 168, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4418, + "end": 4422, + "loc": { + "start": { + "line": 168, + "column": 35 + }, + "end": { + "line": 168, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4422, + "end": 4423, + "loc": { + "start": { + "line": 168, + "column": 39 + }, + "end": { + "line": 168, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceS", + "start": 4423, + "end": 4432, + "loc": { + "start": { + "line": 168, + "column": 40 + }, + "end": { + "line": 168, + "column": 49 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 4433, + "end": 4434, + "loc": { + "start": { + "line": 168, + "column": 50 + }, + "end": { + "line": 168, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4435, + "end": 4436, + "loc": { + "start": { + "line": 168, + "column": 52 + }, + "end": { + "line": 168, + "column": 53 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4436, + "end": 4440, + "loc": { + "start": { + "line": 168, + "column": 53 + }, + "end": { + "line": 168, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4440, + "end": 4441, + "loc": { + "start": { + "line": 168, + "column": 57 + }, + "end": { + "line": 168, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 4441, + "end": 4446, + "loc": { + "start": { + "line": 168, + "column": 58 + }, + "end": { + "line": 168, + "column": 63 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 4447, + "end": 4448, + "loc": { + "start": { + "line": 168, + "column": 64 + }, + "end": { + "line": 168, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 4449, + "end": 4450, + "loc": { + "start": { + "line": 168, + "column": 66 + }, + "end": { + "line": 168, + "column": 67 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4450, + "end": 4451, + "loc": { + "start": { + "line": 168, + "column": 67 + }, + "end": { + "line": 168, + "column": 68 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4451, + "end": 4452, + "loc": { + "start": { + "line": 168, + "column": 68 + }, + "end": { + "line": 168, + "column": 69 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4455, + "end": 4456, + "loc": { + "start": { + "line": 169, + "column": 2 + }, + "end": { + "line": 169, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the sum of squares of differences from the current mean.\n *\n * @function\n * @return {?number} the sum of squares of differences from the current mean, or null if this is undefined because the count is zero.\n ", + "start": 4460, + "end": 4694, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 176, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 4697, + "end": 4701, + "loc": { + "start": { + "line": 177, + "column": 2 + }, + "end": { + "line": 177, + "column": 6 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 4702, + "end": 4717, + "loc": { + "start": { + "line": 177, + "column": 7 + }, + "end": { + "line": 177, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4717, + "end": 4718, + "loc": { + "start": { + "line": 177, + "column": 22 + }, + "end": { + "line": 177, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4718, + "end": 4719, + "loc": { + "start": { + "line": 177, + "column": 23 + }, + "end": { + "line": 177, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4720, + "end": 4721, + "loc": { + "start": { + "line": 177, + "column": 25 + }, + "end": { + "line": 177, + "column": 26 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4726, + "end": 4732, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 178, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4733, + "end": 4737, + "loc": { + "start": { + "line": 178, + "column": 11 + }, + "end": { + "line": 178, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4737, + "end": 4738, + "loc": { + "start": { + "line": 178, + "column": 15 + }, + "end": { + "line": 178, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 4738, + "end": 4743, + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 21 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 4744, + "end": 4746, + "loc": { + "start": { + "line": 178, + "column": 22 + }, + "end": { + "line": 178, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 4747, + "end": 4748, + "loc": { + "start": { + "line": 178, + "column": 25 + }, + "end": { + "line": 178, + "column": 26 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4749, + "end": 4750, + "loc": { + "start": { + "line": 178, + "column": 27 + }, + "end": { + "line": 178, + "column": 28 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 4751, + "end": 4755, + "loc": { + "start": { + "line": 178, + "column": 29 + }, + "end": { + "line": 178, + "column": 33 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4756, + "end": 4757, + "loc": { + "start": { + "line": 178, + "column": 34 + }, + "end": { + "line": 178, + "column": 35 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4758, + "end": 4762, + "loc": { + "start": { + "line": 178, + "column": 36 + }, + "end": { + "line": 178, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4762, + "end": 4763, + "loc": { + "start": { + "line": 178, + "column": 40 + }, + "end": { + "line": 178, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "varianceM", + "start": 4763, + "end": 4772, + "loc": { + "start": { + "line": 178, + "column": 41 + }, + "end": { + "line": 178, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4772, + "end": 4773, + "loc": { + "start": { + "line": 178, + "column": 50 + }, + "end": { + "line": 178, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4776, + "end": 4777, + "loc": { + "start": { + "line": 179, + "column": 2 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the standard deviation, the square root of the average variance.\n *\n * @function\n * @return {?number} the standard deviation, or null if this is undefined because the count is zero.\n ", + "start": 4781, + "end": 4990, + "loc": { + "start": { + "line": 181, + "column": 2 + }, + "end": { + "line": 186, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stdDev", + "start": 4993, + "end": 4999, + "loc": { + "start": { + "line": 187, + "column": 2 + }, + "end": { + "line": 187, + "column": 8 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 5000, + "end": 5015, + "loc": { + "start": { + "line": 187, + "column": 9 + }, + "end": { + "line": 187, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5015, + "end": 5016, + "loc": { + "start": { + "line": 187, + "column": 24 + }, + "end": { + "line": 187, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5016, + "end": 5017, + "loc": { + "start": { + "line": 187, + "column": 25 + }, + "end": { + "line": 187, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5018, + "end": 5019, + "loc": { + "start": { + "line": 187, + "column": 27 + }, + "end": { + "line": 187, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5024, + "end": 5030, + "loc": { + "start": { + "line": 188, + "column": 4 + }, + "end": { + "line": 188, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5031, + "end": 5035, + "loc": { + "start": { + "line": 188, + "column": 11 + }, + "end": { + "line": 188, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5035, + "end": 5036, + "loc": { + "start": { + "line": 188, + "column": 15 + }, + "end": { + "line": 188, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 5036, + "end": 5041, + "loc": { + "start": { + "line": 188, + "column": 16 + }, + "end": { + "line": 188, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 5042, + "end": 5043, + "loc": { + "start": { + "line": 188, + "column": 22 + }, + "end": { + "line": 188, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 5044, + "end": 5045, + "loc": { + "start": { + "line": 188, + "column": 24 + }, + "end": { + "line": 188, + "column": 25 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5046, + "end": 5047, + "loc": { + "start": { + "line": 188, + "column": 26 + }, + "end": { + "line": 188, + "column": 27 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 5048, + "end": 5052, + "loc": { + "start": { + "line": 188, + "column": 28 + }, + "end": { + "line": 188, + "column": 32 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5053, + "end": 5054, + "loc": { + "start": { + "line": 188, + "column": 33 + }, + "end": { + "line": 188, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 5055, + "end": 5059, + "loc": { + "start": { + "line": 188, + "column": 35 + }, + "end": { + "line": 188, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5059, + "end": 5060, + "loc": { + "start": { + "line": 188, + "column": 39 + }, + "end": { + "line": 188, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sqrt", + "start": 5060, + "end": 5064, + "loc": { + "start": { + "line": 188, + "column": 40 + }, + "end": { + "line": 188, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5064, + "end": 5065, + "loc": { + "start": { + "line": 188, + "column": 44 + }, + "end": { + "line": 188, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5065, + "end": 5069, + "loc": { + "start": { + "line": 188, + "column": 45 + }, + "end": { + "line": 188, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5069, + "end": 5070, + "loc": { + "start": { + "line": 188, + "column": 49 + }, + "end": { + "line": 188, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "variance", + "start": 5070, + "end": 5078, + "loc": { + "start": { + "line": 188, + "column": 50 + }, + "end": { + "line": 188, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5078, + "end": 5079, + "loc": { + "start": { + "line": 188, + "column": 58 + }, + "end": { + "line": 188, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5079, + "end": 5080, + "loc": { + "start": { + "line": 188, + "column": 59 + }, + "end": { + "line": 188, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5080, + "end": 5081, + "loc": { + "start": { + "line": 188, + "column": 60 + }, + "end": { + "line": 188, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5081, + "end": 5082, + "loc": { + "start": { + "line": 188, + "column": 61 + }, + "end": { + "line": 188, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5085, + "end": 5086, + "loc": { + "start": { + "line": 189, + "column": 2 + }, + "end": { + "line": 189, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the set of values in the sample.\n *\n * @function\n * @return {any[]} an array of the values in the sample\n ", + "start": 5090, + "end": 5222, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 196, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 5225, + "end": 5231, + "loc": { + "start": { + "line": 197, + "column": 2 + }, + "end": { + "line": 197, + "column": 8 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 5232, + "end": 5247, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5247, + "end": 5248, + "loc": { + "start": { + "line": 197, + "column": 24 + }, + "end": { + "line": 197, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5248, + "end": 5249, + "loc": { + "start": { + "line": 197, + "column": 25 + }, + "end": { + "line": 197, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5250, + "end": 5251, + "loc": { + "start": { + "line": 197, + "column": 27 + }, + "end": { + "line": 197, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5256, + "end": 5262, + "loc": { + "start": { + "line": 198, + "column": 4 + }, + "end": { + "line": 198, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5263, + "end": 5267, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5267, + "end": 5268, + "loc": { + "start": { + "line": 198, + "column": 15 + }, + "end": { + "line": 198, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sample", + "start": 5268, + "end": 5274, + "loc": { + "start": { + "line": 198, + "column": 16 + }, + "end": { + "line": 198, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5274, + "end": 5275, + "loc": { + "start": { + "line": 198, + "column": 22 + }, + "end": { + "line": 198, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getValues", + "start": 5275, + "end": 5284, + "loc": { + "start": { + "line": 198, + "column": 23 + }, + "end": { + "line": 198, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5284, + "end": 5285, + "loc": { + "start": { + "line": 198, + "column": 32 + }, + "end": { + "line": 198, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5285, + "end": 5286, + "loc": { + "start": { + "line": 198, + "column": 33 + }, + "end": { + "line": 198, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5286, + "end": 5287, + "loc": { + "start": { + "line": 198, + "column": 34 + }, + "end": { + "line": 198, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5290, + "end": 5291, + "loc": { + "start": { + "line": 199, + "column": 2 + }, + "end": { + "line": 199, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @function\n * @return {Object}\n * @property {string} type \"histogram\"\n * @property {number} min\n * @property {number} max\n * @property {number} sum\n * @property {number} variance\n * @property {number} mean\n * @property {number} stdDev\n * @property {number} count\n * @property {number} median\n * @property {number} p75\n * @property {number} p95\n * @property {number} p99\n * @property {number} p999\n ", + "start": 5295, + "end": 5733, + "loc": { + "start": { + "line": 201, + "column": 2 + }, + "end": { + "line": 217, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toObject", + "start": 5736, + "end": 5744, + "loc": { + "start": { + "line": 218, + "column": 2 + }, + "end": { + "line": 218, + "column": 10 + } + } + }, + { + "type": "CommentBlock", + "value": " = function", + "start": 5745, + "end": 5760, + "loc": { + "start": { + "line": 218, + "column": 11 + }, + "end": { + "line": 218, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5760, + "end": 5761, + "loc": { + "start": { + "line": 218, + "column": 26 + }, + "end": { + "line": 218, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5761, + "end": 5762, + "loc": { + "start": { + "line": 218, + "column": 27 + }, + "end": { + "line": 218, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5763, + "end": 5764, + "loc": { + "start": { + "line": 218, + "column": 29 + }, + "end": { + "line": 218, + "column": 30 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 5769, + "end": 5772, + "loc": { + "start": { + "line": 219, + "column": 4 + }, + "end": { + "line": 219, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 5773, + "end": 5784, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5785, + "end": 5786, + "loc": { + "start": { + "line": 219, + "column": 20 + }, + "end": { + "line": 219, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5787, + "end": 5791, + "loc": { + "start": { + "line": 219, + "column": 22 + }, + "end": { + "line": 219, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5791, + "end": 5792, + "loc": { + "start": { + "line": 219, + "column": 26 + }, + "end": { + "line": 219, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 5792, + "end": 5803, + "loc": { + "start": { + "line": 219, + "column": 27 + }, + "end": { + "line": 219, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5803, + "end": 5804, + "loc": { + "start": { + "line": 219, + "column": 38 + }, + "end": { + "line": 219, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5804, + "end": 5805, + "loc": { + "start": { + "line": 219, + "column": 39 + }, + "end": { + "line": 219, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5805, + "end": 5806, + "loc": { + "start": { + "line": 219, + "column": 40 + }, + "end": { + "line": 219, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5811, + "end": 5817, + "loc": { + "start": { + "line": 220, + "column": 4 + }, + "end": { + "line": 220, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5818, + "end": 5819, + "loc": { + "start": { + "line": 220, + "column": 11 + }, + "end": { + "line": 220, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 5826, + "end": 5830, + "loc": { + "start": { + "line": 221, + "column": 6 + }, + "end": { + "line": 221, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5830, + "end": 5831, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 221, + "column": 11 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "histogram", + "start": 5832, + "end": 5843, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5843, + "end": 5844, + "loc": { + "start": { + "line": 221, + "column": 23 + }, + "end": { + "line": 221, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 5851, + "end": 5854, + "loc": { + "start": { + "line": 222, + "column": 6 + }, + "end": { + "line": 222, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5854, + "end": 5855, + "loc": { + "start": { + "line": 222, + "column": 9 + }, + "end": { + "line": 222, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5856, + "end": 5860, + "loc": { + "start": { + "line": 222, + "column": 11 + }, + "end": { + "line": 222, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5860, + "end": 5861, + "loc": { + "start": { + "line": 222, + "column": 15 + }, + "end": { + "line": 222, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 5861, + "end": 5864, + "loc": { + "start": { + "line": 222, + "column": 16 + }, + "end": { + "line": 222, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5864, + "end": 5865, + "loc": { + "start": { + "line": 222, + "column": 19 + }, + "end": { + "line": 222, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 5872, + "end": 5875, + "loc": { + "start": { + "line": 223, + "column": 6 + }, + "end": { + "line": 223, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5875, + "end": 5876, + "loc": { + "start": { + "line": 223, + "column": 9 + }, + "end": { + "line": 223, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5877, + "end": 5881, + "loc": { + "start": { + "line": 223, + "column": 11 + }, + "end": { + "line": 223, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5881, + "end": 5882, + "loc": { + "start": { + "line": 223, + "column": 15 + }, + "end": { + "line": 223, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 5882, + "end": 5885, + "loc": { + "start": { + "line": 223, + "column": 16 + }, + "end": { + "line": 223, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5885, + "end": 5886, + "loc": { + "start": { + "line": 223, + "column": 19 + }, + "end": { + "line": 223, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 5893, + "end": 5896, + "loc": { + "start": { + "line": 224, + "column": 6 + }, + "end": { + "line": 224, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5896, + "end": 5897, + "loc": { + "start": { + "line": 224, + "column": 9 + }, + "end": { + "line": 224, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5898, + "end": 5902, + "loc": { + "start": { + "line": 224, + "column": 11 + }, + "end": { + "line": 224, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5902, + "end": 5903, + "loc": { + "start": { + "line": 224, + "column": 15 + }, + "end": { + "line": 224, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 5903, + "end": 5906, + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5906, + "end": 5907, + "loc": { + "start": { + "line": 224, + "column": 19 + }, + "end": { + "line": 224, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "variance", + "start": 5914, + "end": 5922, + "loc": { + "start": { + "line": 225, + "column": 6 + }, + "end": { + "line": 225, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5922, + "end": 5923, + "loc": { + "start": { + "line": 225, + "column": 14 + }, + "end": { + "line": 225, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5924, + "end": 5928, + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 225, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5928, + "end": 5929, + "loc": { + "start": { + "line": 225, + "column": 20 + }, + "end": { + "line": 225, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "variance", + "start": 5929, + "end": 5937, + "loc": { + "start": { + "line": 225, + "column": 21 + }, + "end": { + "line": 225, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5937, + "end": 5938, + "loc": { + "start": { + "line": 225, + "column": 29 + }, + "end": { + "line": 225, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5938, + "end": 5939, + "loc": { + "start": { + "line": 225, + "column": 30 + }, + "end": { + "line": 225, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5939, + "end": 5940, + "loc": { + "start": { + "line": 225, + "column": 31 + }, + "end": { + "line": 225, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 5947, + "end": 5951, + "loc": { + "start": { + "line": 226, + "column": 6 + }, + "end": { + "line": 226, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5951, + "end": 5952, + "loc": { + "start": { + "line": 226, + "column": 10 + }, + "end": { + "line": 226, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5953, + "end": 5957, + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5957, + "end": 5958, + "loc": { + "start": { + "line": 226, + "column": 16 + }, + "end": { + "line": 226, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 5958, + "end": 5962, + "loc": { + "start": { + "line": 226, + "column": 17 + }, + "end": { + "line": 226, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5962, + "end": 5963, + "loc": { + "start": { + "line": 226, + "column": 21 + }, + "end": { + "line": 226, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5963, + "end": 5964, + "loc": { + "start": { + "line": 226, + "column": 22 + }, + "end": { + "line": 226, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5964, + "end": 5965, + "loc": { + "start": { + "line": 226, + "column": 23 + }, + "end": { + "line": 226, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "std_dev", + "start": 5972, + "end": 5979, + "loc": { + "start": { + "line": 227, + "column": 6 + }, + "end": { + "line": 227, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5979, + "end": 5980, + "loc": { + "start": { + "line": 227, + "column": 13 + }, + "end": { + "line": 227, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5981, + "end": 5985, + "loc": { + "start": { + "line": 227, + "column": 15 + }, + "end": { + "line": 227, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5985, + "end": 5986, + "loc": { + "start": { + "line": 227, + "column": 19 + }, + "end": { + "line": 227, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stdDev", + "start": 5986, + "end": 5992, + "loc": { + "start": { + "line": 227, + "column": 20 + }, + "end": { + "line": 227, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5992, + "end": 5993, + "loc": { + "start": { + "line": 227, + "column": 26 + }, + "end": { + "line": 227, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5993, + "end": 5994, + "loc": { + "start": { + "line": 227, + "column": 27 + }, + "end": { + "line": 227, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5994, + "end": 5995, + "loc": { + "start": { + "line": 227, + "column": 28 + }, + "end": { + "line": 227, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 6002, + "end": 6007, + "loc": { + "start": { + "line": 228, + "column": 6 + }, + "end": { + "line": 228, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6007, + "end": 6008, + "loc": { + "start": { + "line": 228, + "column": 11 + }, + "end": { + "line": 228, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 6009, + "end": 6013, + "loc": { + "start": { + "line": 228, + "column": 13 + }, + "end": { + "line": 228, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6013, + "end": 6014, + "loc": { + "start": { + "line": 228, + "column": 17 + }, + "end": { + "line": 228, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 6014, + "end": 6019, + "loc": { + "start": { + "line": 228, + "column": 18 + }, + "end": { + "line": 228, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6019, + "end": 6020, + "loc": { + "start": { + "line": 228, + "column": 23 + }, + "end": { + "line": 228, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "median", + "start": 6027, + "end": 6033, + "loc": { + "start": { + "line": 229, + "column": 6 + }, + "end": { + "line": 229, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6033, + "end": 6034, + "loc": { + "start": { + "line": 229, + "column": 12 + }, + "end": { + "line": 229, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 6035, + "end": 6046, + "loc": { + "start": { + "line": 229, + "column": 14 + }, + "end": { + "line": 229, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6046, + "end": 6047, + "loc": { + "start": { + "line": 229, + "column": 25 + }, + "end": { + "line": 229, + "column": 26 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.5, + "start": 6047, + "end": 6050, + "loc": { + "start": { + "line": 229, + "column": 26 + }, + "end": { + "line": 229, + "column": 29 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6050, + "end": 6051, + "loc": { + "start": { + "line": 229, + "column": 29 + }, + "end": { + "line": 229, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6051, + "end": 6052, + "loc": { + "start": { + "line": 229, + "column": 30 + }, + "end": { + "line": 229, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p75", + "start": 6059, + "end": 6062, + "loc": { + "start": { + "line": 230, + "column": 6 + }, + "end": { + "line": 230, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6062, + "end": 6063, + "loc": { + "start": { + "line": 230, + "column": 9 + }, + "end": { + "line": 230, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 6064, + "end": 6075, + "loc": { + "start": { + "line": 230, + "column": 11 + }, + "end": { + "line": 230, + "column": 22 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6075, + "end": 6076, + "loc": { + "start": { + "line": 230, + "column": 22 + }, + "end": { + "line": 230, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.75, + "start": 6076, + "end": 6080, + "loc": { + "start": { + "line": 230, + "column": 23 + }, + "end": { + "line": 230, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6080, + "end": 6081, + "loc": { + "start": { + "line": 230, + "column": 27 + }, + "end": { + "line": 230, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6081, + "end": 6082, + "loc": { + "start": { + "line": 230, + "column": 28 + }, + "end": { + "line": 230, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p95", + "start": 6089, + "end": 6092, + "loc": { + "start": { + "line": 231, + "column": 6 + }, + "end": { + "line": 231, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6092, + "end": 6093, + "loc": { + "start": { + "line": 231, + "column": 9 + }, + "end": { + "line": 231, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 6094, + "end": 6105, + "loc": { + "start": { + "line": 231, + "column": 11 + }, + "end": { + "line": 231, + "column": 22 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6105, + "end": 6106, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.95, + "start": 6106, + "end": 6110, + "loc": { + "start": { + "line": 231, + "column": 23 + }, + "end": { + "line": 231, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6110, + "end": 6111, + "loc": { + "start": { + "line": 231, + "column": 27 + }, + "end": { + "line": 231, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6111, + "end": 6112, + "loc": { + "start": { + "line": 231, + "column": 28 + }, + "end": { + "line": 231, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p99", + "start": 6119, + "end": 6122, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6122, + "end": 6123, + "loc": { + "start": { + "line": 232, + "column": 9 + }, + "end": { + "line": 232, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 6124, + "end": 6135, + "loc": { + "start": { + "line": 232, + "column": 11 + }, + "end": { + "line": 232, + "column": 22 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6135, + "end": 6136, + "loc": { + "start": { + "line": 232, + "column": 22 + }, + "end": { + "line": 232, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.99, + "start": 6136, + "end": 6140, + "loc": { + "start": { + "line": 232, + "column": 23 + }, + "end": { + "line": 232, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6140, + "end": 6141, + "loc": { + "start": { + "line": 232, + "column": 27 + }, + "end": { + "line": 232, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6141, + "end": 6142, + "loc": { + "start": { + "line": 232, + "column": 28 + }, + "end": { + "line": 232, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p999", + "start": 6149, + "end": 6153, + "loc": { + "start": { + "line": 233, + "column": 6 + }, + "end": { + "line": 233, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6153, + "end": 6154, + "loc": { + "start": { + "line": 233, + "column": 10 + }, + "end": { + "line": 233, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 6155, + "end": 6166, + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6166, + "end": 6167, + "loc": { + "start": { + "line": 233, + "column": 23 + }, + "end": { + "line": 233, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.999, + "start": 6167, + "end": 6172, + "loc": { + "start": { + "line": 233, + "column": 24 + }, + "end": { + "line": 233, + "column": 29 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6172, + "end": 6173, + "loc": { + "start": { + "line": 233, + "column": 29 + }, + "end": { + "line": 233, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6178, + "end": 6179, + "loc": { + "start": { + "line": 234, + "column": 4 + }, + "end": { + "line": 234, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6179, + "end": 6180, + "loc": { + "start": { + "line": 234, + "column": 5 + }, + "end": { + "line": 234, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6183, + "end": 6184, + "loc": { + "start": { + "line": 235, + "column": 2 + }, + "end": { + "line": 235, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6185, + "end": 6186, + "loc": { + "start": { + "line": 236, + "column": 0 + }, + "end": { + "line": 236, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6186, + "end": 6186, + "loc": { + "start": { + "line": 236, + "column": 1 + }, + "end": { + "line": 236, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/IMeter.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/IMeter.js.json new file mode 100644 index 0000000..237a6a0 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/IMeter.js.json @@ -0,0 +1,725 @@ +{ + "type": "File", + "start": 0, + "end": 898, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 898, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 805, + "end": 845, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 812, + "end": 823, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 812, + "end": 823, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 18 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 829, + "end": 844, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 39 + } + }, + "extra": { + "rawValue": "./RawMeterTag", + "raw": "'./RawMeterTag'" + }, + "value": "./RawMeterTag" + } + }, + { + "type": "ImportDeclaration", + "start": 846, + "end": 889, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 43 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 855, + "end": 860, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 14 + } + }, + "imported": { + "type": "Identifier", + "start": 855, + "end": 860, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 14 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "local": { + "type": "Identifier", + "start": 855, + "end": 860, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 14 + }, + "identifierName": "Meter" + }, + "name": "Meter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 868, + "end": 888, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 42 + } + }, + "extra": { + "rawValue": "./proto/metrics_pb", + "raw": "'./proto/metrics_pb'" + }, + "value": "./proto/metrics_pb" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 891, + "end": 898, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 790, + "end": 803, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 790, + "end": 802, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name IMeter.js\n * @fileoverview Defines the IMeter interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires RawMeterTag\n * @requires metrics_pb\n * @exports IMeter\n ", + "start": 0, + "end": 788, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name IMeter.js\n * @fileoverview Defines the IMeter interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires RawMeterTag\n * @requires metrics_pb\n * @exports IMeter\n ", + "start": 0, + "end": 788, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 891, + "end": 898, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name IMeter.js\n * @fileoverview Defines the IMeter interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires RawMeterTag\n * @requires metrics_pb\n * @exports IMeter\n ", + "start": 0, + "end": 788, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 790, + "end": 802, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 802, + "end": 803, + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 805, + "end": 811, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 812, + "end": 823, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 824, + "end": 828, + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RawMeterTag", + "start": 829, + "end": 844, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 844, + "end": 845, + "loc": { + "start": { + "line": 28, + "column": 39 + }, + "end": { + "line": 28, + "column": 40 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 846, + "end": 852, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 855, + "end": 860, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 861, + "end": 862, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 863, + "end": 867, + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./proto/metrics_pb", + "start": 868, + "end": 888, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 888, + "end": 889, + "loc": { + "start": { + "line": 29, + "column": 42 + }, + "end": { + "line": 29, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 891, + "end": 898, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 898, + "end": 898, + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 32, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/IMeterRegistry.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/IMeterRegistry.js.json new file mode 100644 index 0000000..e75b3d5 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/IMeterRegistry.js.json @@ -0,0 +1,203 @@ +{ + "type": "File", + "start": 0, + "end": 800, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 25, + "column": 13 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 800, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 25, + "column": 13 + } + }, + "sourceType": "module", + "body": [], + "directives": [ + { + "type": "Directive", + "start": 787, + "end": 800, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 787, + "end": 799, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name IMeterRegistry.js\n * @fileoverview Defines the \"IMeterRegistry\" interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires IMeter\n * @exports IMeterRegistry\n ", + "start": 0, + "end": 785, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name IMeterRegistry.js\n * @fileoverview Defines the \"IMeterRegistry\" interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires IMeter\n * @exports IMeterRegistry\n ", + "start": 0, + "end": 785, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name IMeterRegistry.js\n * @fileoverview Defines the \"IMeterRegistry\" interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires IMeter\n * @exports IMeterRegistry\n ", + "start": 0, + "end": 785, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 787, + "end": 799, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 799, + "end": 800, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 800, + "end": 800, + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 13 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/Metrics.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/Metrics.js.json new file mode 100644 index 0000000..4deb9c7 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/Metrics.js.json @@ -0,0 +1,21369 @@ +{ + "type": "File", + "start": 0, + "end": 4653, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 117, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 4653, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 117, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 951, + "end": 983, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 32 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 958, + "end": 965, + "loc": { + "start": { + "line": 33, + "column": 7 + }, + "end": { + "line": 33, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 958, + "end": 965, + "loc": { + "start": { + "line": 33, + "column": 7 + }, + "end": { + "line": 33, + "column": 14 + }, + "identifierName": "Counter" + }, + "name": "Counter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 971, + "end": 982, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 31 + } + }, + "extra": { + "rawValue": "./Counter", + "raw": "'./Counter'" + }, + "value": "./Counter" + } + }, + { + "type": "ImportDeclaration", + "start": 984, + "end": 1012, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 28 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 991, + "end": 996, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 12 + } + }, + "local": { + "type": "Identifier", + "start": 991, + "end": 996, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 12 + }, + "identifierName": "Timer" + }, + "name": "Timer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1002, + "end": 1011, + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 27 + } + }, + "extra": { + "rawValue": "./Timer", + "raw": "'./Timer'" + }, + "value": "./Timer" + } + }, + { + "type": "ImportDeclaration", + "start": 1013, + "end": 1063, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 50 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1022, + "end": 1036, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 23 + } + }, + "imported": { + "type": "Identifier", + "start": 1022, + "end": 1036, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 23 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + }, + "local": { + "type": "Identifier", + "start": 1022, + "end": 1036, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 23 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1044, + "end": 1062, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 49 + } + }, + "extra": { + "rawValue": "./IMeterRegistry", + "raw": "'./IMeterRegistry'" + }, + "value": "./IMeterRegistry" + } + }, + { + "type": "ImportDeclaration", + "start": 1064, + "end": 1104, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1071, + "end": 1082, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 1071, + "end": 1082, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 18 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1088, + "end": 1103, + "loc": { + "start": { + "line": 36, + "column": 24 + }, + "end": { + "line": 36, + "column": 39 + } + }, + "extra": { + "rawValue": "./RawMeterTag", + "raw": "'./RawMeterTag'" + }, + "value": "./RawMeterTag" + } + }, + { + "type": "ImportDeclaration", + "start": 1105, + "end": 1174, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 69 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1112, + "end": 1140, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 35 + } + }, + "local": { + "type": "Identifier", + "start": 1112, + "end": 1140, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 35 + }, + "identifierName": "embedMetricsSingleSubscriber" + }, + "name": "embedMetricsSingleSubscriber" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1146, + "end": 1173, + "loc": { + "start": { + "line": 37, + "column": 41 + }, + "end": { + "line": 37, + "column": 68 + } + }, + "extra": { + "rawValue": "./MetricsSingleSubscriber", + "raw": "'./MetricsSingleSubscriber'" + }, + "value": "./MetricsSingleSubscriber" + } + }, + { + "type": "ImportDeclaration", + "start": 1175, + "end": 1227, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 52 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1182, + "end": 1199, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 24 + } + }, + "local": { + "type": "Identifier", + "start": 1182, + "end": 1199, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 24 + }, + "identifierName": "MetricsSubscriber" + }, + "name": "MetricsSubscriber" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1205, + "end": 1226, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 51 + } + }, + "extra": { + "rawValue": "./MetricsSubscriber", + "raw": "'./MetricsSubscriber'" + }, + "value": "./MetricsSubscriber" + } + }, + { + "type": "ImportDeclaration", + "start": 1228, + "end": 1280, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 52 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1237, + "end": 1245, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 1237, + "end": 1245, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "local": { + "type": "Identifier", + "start": 1237, + "end": 1245, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + } + }, + { + "type": "ImportSpecifier", + "start": 1247, + "end": 1253, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 25 + } + }, + "imported": { + "type": "Identifier", + "start": 1247, + "end": 1253, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 25 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "local": { + "type": "Identifier", + "start": 1247, + "end": 1253, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 25 + }, + "identifierName": "Single" + }, + "name": "Single" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1261, + "end": 1279, + "loc": { + "start": { + "line": 39, + "column": 33 + }, + "end": { + "line": 39, + "column": 51 + } + }, + "extra": { + "rawValue": "rsocket-flowable", + "raw": "'rsocket-flowable'" + }, + "value": "rsocket-flowable" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1282, + "end": 1289, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 1290, + "end": 4653, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 117, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 1305, + "end": 4653, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 117, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1311, + "end": 1318, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 28 + }, + "identifierName": "Metrics" + }, + "name": "Metrics", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 1319, + "end": 4653, + "loc": { + "start": { + "line": 43, + "column": 29 + }, + "end": { + "line": 117, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 1323, + "end": 1339, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 18 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1323, + "end": 1334, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1337, + "end": 1339, + "loc": { + "start": { + "line": 44, + "column": 16 + }, + "end": { + "line": 44, + "column": 18 + } + }, + "body": [], + "directives": [], + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timed(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n ", + "start": 1343, + "end": 1784, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 55, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1787, + "end": 3003, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 80, + "column": 3 + } + }, + "static": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1794, + "end": 1799, + "loc": { + "start": { + "line": 56, + "column": 9 + }, + "end": { + "line": 56, + "column": 14 + }, + "identifierName": "timed" + }, + "name": "timed" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1800, + "end": 1808, + "loc": { + "start": { + "line": 56, + "column": 15 + }, + "end": { + "line": 56, + "column": 23 + }, + "identifierName": "registry" + }, + "name": "registry" + }, + { + "type": "Identifier", + "start": 1810, + "end": 1814, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 29 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "RestElement", + "start": 1816, + "end": 1823, + "loc": { + "start": { + "line": 56, + "column": 31 + }, + "end": { + "line": 56, + "column": 38 + } + }, + "argument": { + "type": "Identifier", + "start": 1819, + "end": 1823, + "loc": { + "start": { + "line": 56, + "column": 34 + }, + "end": { + "line": 56, + "column": 38 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 1825, + "end": 3003, + "loc": { + "start": { + "line": 56, + "column": 40 + }, + "end": { + "line": 80, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1903, + "end": 1950, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 60, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 1907, + "end": 1916, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 17 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 1908, + "end": 1916, + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 17 + }, + "identifierName": "registry" + }, + "name": "registry", + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 1918, + "end": 1950, + "loc": { + "start": { + "line": 58, + "column": 19 + }, + "end": { + "line": 60, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1926, + "end": 1944, + "loc": { + "start": { + "line": 59, + "column": 6 + }, + "end": { + "line": 59, + "column": 24 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 1933, + "end": 1943, + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1933, + "end": 1936, + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 16 + }, + "identifierName": "any" + }, + "name": "any" + } + ], + "body": { + "type": "Identifier", + "start": 1940, + "end": 1943, + "loc": { + "start": { + "line": 59, + "column": 20 + }, + "end": { + "line": 59, + "column": 23 + }, + "identifierName": "any" + }, + "name": "any" + } + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Registry is optional - if not provided, return identity function", + "start": 1831, + "end": 1898, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 71 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 1956, + "end": 1981, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 29 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1962, + "end": 1980, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 1962, + "end": 1975, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 23 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + }, + "init": { + "type": "ArrayExpression", + "start": 1978, + "end": 1980, + "loc": { + "start": { + "line": 62, + "column": 26 + }, + "end": { + "line": 62, + "column": 28 + } + }, + "elements": [] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 1986, + "end": 2157, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 69, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 1990, + "end": 1994, + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 12 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "consequent": { + "type": "BlockStatement", + "start": 1996, + "end": 2157, + "loc": { + "start": { + "line": 63, + "column": 14 + }, + "end": { + "line": 69, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2004, + "end": 2151, + "loc": { + "start": { + "line": 64, + "column": 6 + }, + "end": { + "line": 68, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 2004, + "end": 2150, + "loc": { + "start": { + "line": 64, + "column": 6 + }, + "end": { + "line": 68, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2004, + "end": 2016, + "loc": { + "start": { + "line": 64, + "column": 6 + }, + "end": { + "line": 64, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 2004, + "end": 2008, + "loc": { + "start": { + "line": 64, + "column": 6 + }, + "end": { + "line": 64, + "column": 10 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "property": { + "type": "Identifier", + "start": 2009, + "end": 2016, + "loc": { + "start": { + "line": 64, + "column": 11 + }, + "end": { + "line": 64, + "column": 18 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2017, + "end": 2149, + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 68, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2017, + "end": 2020, + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 22 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ], + "body": { + "type": "BlockStatement", + "start": 2024, + "end": 2149, + "loc": { + "start": { + "line": 64, + "column": 26 + }, + "end": { + "line": 68, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2034, + "end": 2141, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 2034, + "end": 2140, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 67, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2034, + "end": 2058, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 2034, + "end": 2050, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2034, + "end": 2045, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 2034, + "end": 2040, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 14 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 2041, + "end": 2045, + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 19 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2046, + "end": 2049, + "loc": { + "start": { + "line": 65, + "column": 20 + }, + "end": { + "line": 65, + "column": 23 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ] + }, + "property": { + "type": "Identifier", + "start": 2051, + "end": 2058, + "loc": { + "start": { + "line": 65, + "column": 25 + }, + "end": { + "line": 65, + "column": 32 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2059, + "end": 2139, + "loc": { + "start": { + "line": 65, + "column": 33 + }, + "end": { + "line": 67, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2059, + "end": 2062, + "loc": { + "start": { + "line": 65, + "column": 33 + }, + "end": { + "line": 65, + "column": 36 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 2066, + "end": 2139, + "loc": { + "start": { + "line": 65, + "column": 40 + }, + "end": { + "line": 67, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2078, + "end": 2129, + "loc": { + "start": { + "line": 66, + "column": 10 + }, + "end": { + "line": 66, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 2078, + "end": 2128, + "loc": { + "start": { + "line": 66, + "column": 10 + }, + "end": { + "line": 66, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2078, + "end": 2096, + "loc": { + "start": { + "line": 66, + "column": 10 + }, + "end": { + "line": 66, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 2078, + "end": 2091, + "loc": { + "start": { + "line": 66, + "column": 10 + }, + "end": { + "line": 66, + "column": 23 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + }, + "property": { + "type": "Identifier", + "start": 2092, + "end": 2096, + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 28 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 2097, + "end": 2127, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 59 + } + }, + "callee": { + "type": "Identifier", + "start": 2101, + "end": 2112, + "loc": { + "start": { + "line": 66, + "column": 33 + }, + "end": { + "line": 66, + "column": 44 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2113, + "end": 2116, + "loc": { + "start": { + "line": 66, + "column": 45 + }, + "end": { + "line": 66, + "column": 48 + }, + "identifierName": "key" + }, + "name": "key" + }, + { + "type": "MemberExpression", + "start": 2118, + "end": 2126, + "loc": { + "start": { + "line": 66, + "column": 50 + }, + "end": { + "line": 66, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 2118, + "end": 2121, + "loc": { + "start": { + "line": 66, + "column": 50 + }, + "end": { + "line": 66, + "column": 53 + }, + "identifierName": "tag" + }, + "name": "tag" + }, + "property": { + "type": "Identifier", + "start": 2122, + "end": 2125, + "loc": { + "start": { + "line": 66, + "column": 54 + }, + "end": { + "line": 66, + "column": 57 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 2163, + "end": 2293, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 134 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2169, + "end": 2292, + "loc": { + "start": { + "line": 71, + "column": 10 + }, + "end": { + "line": 71, + "column": 133 + } + }, + "id": { + "type": "Identifier", + "start": 2169, + "end": 2173, + "loc": { + "start": { + "line": 71, + "column": 10 + }, + "end": { + "line": 71, + "column": 14 + }, + "identifierName": "next" + }, + "name": "next" + }, + "init": { + "type": "NewExpression", + "start": 2176, + "end": 2292, + "loc": { + "start": { + "line": 71, + "column": 17 + }, + "end": { + "line": 71, + "column": 133 + } + }, + "callee": { + "type": "Identifier", + "start": 2180, + "end": 2187, + "loc": { + "start": { + "line": 71, + "column": 21 + }, + "end": { + "line": 71, + "column": 28 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2188, + "end": 2205, + "loc": { + "start": { + "line": 71, + "column": 29 + }, + "end": { + "line": 71, + "column": 46 + } + }, + "left": { + "type": "Identifier", + "start": 2188, + "end": 2192, + "loc": { + "start": { + "line": 71, + "column": 29 + }, + "end": { + "line": 71, + "column": 33 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2195, + "end": 2205, + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 46 + } + }, + "extra": { + "rawValue": ".request", + "raw": "'.request'" + }, + "value": ".request" + } + }, + { + "type": "StringLiteral", + "start": 2207, + "end": 2221, + "loc": { + "start": { + "line": 71, + "column": 48 + }, + "end": { + "line": 71, + "column": 62 + } + }, + "extra": { + "rawValue": "onNext calls", + "raw": "'onNext calls'" + }, + "value": "onNext calls" + }, + { + "type": "StringLiteral", + "start": 2223, + "end": 2232, + "loc": { + "start": { + "line": 71, + "column": 64 + }, + "end": { + "line": 71, + "column": 73 + } + }, + "extra": { + "rawValue": "integer", + "raw": "'integer'" + }, + "value": "integer" + }, + { + "type": "CallExpression", + "start": 2234, + "end": 2291, + "loc": { + "start": { + "line": 71, + "column": 75 + }, + "end": { + "line": 71, + "column": 132 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2234, + "end": 2276, + "loc": { + "start": { + "line": 71, + "column": 75 + }, + "end": { + "line": 71, + "column": 117 + } + }, + "object": { + "type": "ArrayExpression", + "start": 2234, + "end": 2269, + "loc": { + "start": { + "line": 71, + "column": 75 + }, + "end": { + "line": 71, + "column": 110 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 2235, + "end": 2268, + "loc": { + "start": { + "line": 71, + "column": 76 + }, + "end": { + "line": 71, + "column": 109 + } + }, + "callee": { + "type": "Identifier", + "start": 2239, + "end": 2250, + "loc": { + "start": { + "line": 71, + "column": 80 + }, + "end": { + "line": 71, + "column": 91 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2251, + "end": 2259, + "loc": { + "start": { + "line": 71, + "column": 92 + }, + "end": { + "line": 71, + "column": 100 + } + }, + "extra": { + "rawValue": "status", + "raw": "'status'" + }, + "value": "status" + }, + { + "type": "StringLiteral", + "start": 2261, + "end": 2267, + "loc": { + "start": { + "line": 71, + "column": 102 + }, + "end": { + "line": 71, + "column": 108 + } + }, + "extra": { + "rawValue": "next", + "raw": "'next'" + }, + "value": "next" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 2270, + "end": 2276, + "loc": { + "start": { + "line": 71, + "column": 111 + }, + "end": { + "line": 71, + "column": 117 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2277, + "end": 2290, + "loc": { + "start": { + "line": 71, + "column": 118 + }, + "end": { + "line": 71, + "column": 131 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2298, + "end": 2440, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 146 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2304, + "end": 2439, + "loc": { + "start": { + "line": 72, + "column": 10 + }, + "end": { + "line": 72, + "column": 145 + } + }, + "id": { + "type": "Identifier", + "start": 2304, + "end": 2312, + "loc": { + "start": { + "line": 72, + "column": 10 + }, + "end": { + "line": 72, + "column": 18 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + "init": { + "type": "NewExpression", + "start": 2315, + "end": 2439, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 72, + "column": 145 + } + }, + "callee": { + "type": "Identifier", + "start": 2319, + "end": 2326, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 32 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2327, + "end": 2344, + "loc": { + "start": { + "line": 72, + "column": 33 + }, + "end": { + "line": 72, + "column": 50 + } + }, + "left": { + "type": "Identifier", + "start": 2327, + "end": 2331, + "loc": { + "start": { + "line": 72, + "column": 33 + }, + "end": { + "line": 72, + "column": 37 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2334, + "end": 2344, + "loc": { + "start": { + "line": 72, + "column": 40 + }, + "end": { + "line": 72, + "column": 50 + } + }, + "extra": { + "rawValue": ".request", + "raw": "'.request'" + }, + "value": ".request" + } + }, + { + "type": "StringLiteral", + "start": 2346, + "end": 2364, + "loc": { + "start": { + "line": 72, + "column": 52 + }, + "end": { + "line": 72, + "column": 70 + } + }, + "extra": { + "rawValue": "onComplete calls", + "raw": "'onComplete calls'" + }, + "value": "onComplete calls" + }, + { + "type": "StringLiteral", + "start": 2366, + "end": 2375, + "loc": { + "start": { + "line": 72, + "column": 72 + }, + "end": { + "line": 72, + "column": 81 + } + }, + "extra": { + "rawValue": "integer", + "raw": "'integer'" + }, + "value": "integer" + }, + { + "type": "CallExpression", + "start": 2377, + "end": 2438, + "loc": { + "start": { + "line": 72, + "column": 83 + }, + "end": { + "line": 72, + "column": 144 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2377, + "end": 2423, + "loc": { + "start": { + "line": 72, + "column": 83 + }, + "end": { + "line": 72, + "column": 129 + } + }, + "object": { + "type": "ArrayExpression", + "start": 2377, + "end": 2416, + "loc": { + "start": { + "line": 72, + "column": 83 + }, + "end": { + "line": 72, + "column": 122 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 2378, + "end": 2415, + "loc": { + "start": { + "line": 72, + "column": 84 + }, + "end": { + "line": 72, + "column": 121 + } + }, + "callee": { + "type": "Identifier", + "start": 2382, + "end": 2393, + "loc": { + "start": { + "line": 72, + "column": 88 + }, + "end": { + "line": 72, + "column": 99 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2394, + "end": 2402, + "loc": { + "start": { + "line": 72, + "column": 100 + }, + "end": { + "line": 72, + "column": 108 + } + }, + "extra": { + "rawValue": "status", + "raw": "'status'" + }, + "value": "status" + }, + { + "type": "StringLiteral", + "start": 2404, + "end": 2414, + "loc": { + "start": { + "line": 72, + "column": 110 + }, + "end": { + "line": 72, + "column": 120 + } + }, + "extra": { + "rawValue": "complete", + "raw": "'complete'" + }, + "value": "complete" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 2417, + "end": 2423, + "loc": { + "start": { + "line": 72, + "column": 123 + }, + "end": { + "line": 72, + "column": 129 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2424, + "end": 2437, + "loc": { + "start": { + "line": 72, + "column": 130 + }, + "end": { + "line": 72, + "column": 143 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2445, + "end": 2578, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 137 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2451, + "end": 2577, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 136 + } + }, + "id": { + "type": "Identifier", + "start": 2451, + "end": 2456, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 15 + }, + "identifierName": "error" + }, + "name": "error" + }, + "init": { + "type": "NewExpression", + "start": 2459, + "end": 2577, + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 136 + } + }, + "callee": { + "type": "Identifier", + "start": 2463, + "end": 2470, + "loc": { + "start": { + "line": 73, + "column": 22 + }, + "end": { + "line": 73, + "column": 29 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2471, + "end": 2488, + "loc": { + "start": { + "line": 73, + "column": 30 + }, + "end": { + "line": 73, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 2471, + "end": 2475, + "loc": { + "start": { + "line": 73, + "column": 30 + }, + "end": { + "line": 73, + "column": 34 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2478, + "end": 2488, + "loc": { + "start": { + "line": 73, + "column": 37 + }, + "end": { + "line": 73, + "column": 47 + } + }, + "extra": { + "rawValue": ".request", + "raw": "'.request'" + }, + "value": ".request" + } + }, + { + "type": "StringLiteral", + "start": 2490, + "end": 2505, + "loc": { + "start": { + "line": 73, + "column": 49 + }, + "end": { + "line": 73, + "column": 64 + } + }, + "extra": { + "rawValue": "onError calls", + "raw": "'onError calls'" + }, + "value": "onError calls" + }, + { + "type": "StringLiteral", + "start": 2507, + "end": 2516, + "loc": { + "start": { + "line": 73, + "column": 66 + }, + "end": { + "line": 73, + "column": 75 + } + }, + "extra": { + "rawValue": "integer", + "raw": "'integer'" + }, + "value": "integer" + }, + { + "type": "CallExpression", + "start": 2518, + "end": 2576, + "loc": { + "start": { + "line": 73, + "column": 77 + }, + "end": { + "line": 73, + "column": 135 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2518, + "end": 2561, + "loc": { + "start": { + "line": 73, + "column": 77 + }, + "end": { + "line": 73, + "column": 120 + } + }, + "object": { + "type": "ArrayExpression", + "start": 2518, + "end": 2554, + "loc": { + "start": { + "line": 73, + "column": 77 + }, + "end": { + "line": 73, + "column": 113 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 2519, + "end": 2553, + "loc": { + "start": { + "line": 73, + "column": 78 + }, + "end": { + "line": 73, + "column": 112 + } + }, + "callee": { + "type": "Identifier", + "start": 2523, + "end": 2534, + "loc": { + "start": { + "line": 73, + "column": 82 + }, + "end": { + "line": 73, + "column": 93 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2535, + "end": 2543, + "loc": { + "start": { + "line": 73, + "column": 94 + }, + "end": { + "line": 73, + "column": 102 + } + }, + "extra": { + "rawValue": "status", + "raw": "'status'" + }, + "value": "status" + }, + { + "type": "StringLiteral", + "start": 2545, + "end": 2552, + "loc": { + "start": { + "line": 73, + "column": 104 + }, + "end": { + "line": 73, + "column": 111 + } + }, + "extra": { + "rawValue": "error", + "raw": "'error'" + }, + "value": "error" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 2555, + "end": 2561, + "loc": { + "start": { + "line": 73, + "column": 114 + }, + "end": { + "line": 73, + "column": 120 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2562, + "end": 2575, + "loc": { + "start": { + "line": 73, + "column": 121 + }, + "end": { + "line": 73, + "column": 134 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2583, + "end": 2723, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 144 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2589, + "end": 2722, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 143 + } + }, + "id": { + "type": "Identifier", + "start": 2589, + "end": 2598, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 19 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + "init": { + "type": "NewExpression", + "start": 2601, + "end": 2722, + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 74, + "column": 143 + } + }, + "callee": { + "type": "Identifier", + "start": 2605, + "end": 2612, + "loc": { + "start": { + "line": 74, + "column": 26 + }, + "end": { + "line": 74, + "column": 33 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2613, + "end": 2630, + "loc": { + "start": { + "line": 74, + "column": 34 + }, + "end": { + "line": 74, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 2613, + "end": 2617, + "loc": { + "start": { + "line": 74, + "column": 34 + }, + "end": { + "line": 74, + "column": 38 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2620, + "end": 2630, + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 51 + } + }, + "extra": { + "rawValue": ".request", + "raw": "'.request'" + }, + "value": ".request" + } + }, + { + "type": "StringLiteral", + "start": 2632, + "end": 2646, + "loc": { + "start": { + "line": 74, + "column": 53 + }, + "end": { + "line": 74, + "column": 67 + } + }, + "extra": { + "rawValue": "cancel calls", + "raw": "'cancel calls'" + }, + "value": "cancel calls" + }, + { + "type": "StringLiteral", + "start": 2648, + "end": 2657, + "loc": { + "start": { + "line": 74, + "column": 69 + }, + "end": { + "line": 74, + "column": 78 + } + }, + "extra": { + "rawValue": "integer", + "raw": "'integer'" + }, + "value": "integer" + }, + { + "type": "CallExpression", + "start": 2659, + "end": 2721, + "loc": { + "start": { + "line": 74, + "column": 80 + }, + "end": { + "line": 74, + "column": 142 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2659, + "end": 2706, + "loc": { + "start": { + "line": 74, + "column": 80 + }, + "end": { + "line": 74, + "column": 127 + } + }, + "object": { + "type": "ArrayExpression", + "start": 2659, + "end": 2699, + "loc": { + "start": { + "line": 74, + "column": 80 + }, + "end": { + "line": 74, + "column": 120 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 2660, + "end": 2698, + "loc": { + "start": { + "line": 74, + "column": 81 + }, + "end": { + "line": 74, + "column": 119 + } + }, + "callee": { + "type": "Identifier", + "start": 2664, + "end": 2675, + "loc": { + "start": { + "line": 74, + "column": 85 + }, + "end": { + "line": 74, + "column": 96 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2676, + "end": 2684, + "loc": { + "start": { + "line": 74, + "column": 97 + }, + "end": { + "line": 74, + "column": 105 + } + }, + "extra": { + "rawValue": "status", + "raw": "'status'" + }, + "value": "status" + }, + { + "type": "StringLiteral", + "start": 2686, + "end": 2697, + "loc": { + "start": { + "line": 74, + "column": 107 + }, + "end": { + "line": 74, + "column": 118 + } + }, + "extra": { + "rawValue": "cancelled", + "raw": "'cancelled'" + }, + "value": "cancelled" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 2700, + "end": 2706, + "loc": { + "start": { + "line": 74, + "column": 121 + }, + "end": { + "line": 74, + "column": 127 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2707, + "end": 2720, + "loc": { + "start": { + "line": 74, + "column": 128 + }, + "end": { + "line": 74, + "column": 141 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2728, + "end": 2797, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 73 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2734, + "end": 2796, + "loc": { + "start": { + "line": 75, + "column": 10 + }, + "end": { + "line": 75, + "column": 72 + } + }, + "id": { + "type": "Identifier", + "start": 2734, + "end": 2739, + "loc": { + "start": { + "line": 75, + "column": 10 + }, + "end": { + "line": 75, + "column": 15 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "init": { + "type": "NewExpression", + "start": 2742, + "end": 2796, + "loc": { + "start": { + "line": 75, + "column": 18 + }, + "end": { + "line": 75, + "column": 72 + } + }, + "callee": { + "type": "Identifier", + "start": 2746, + "end": 2751, + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 27 + }, + "identifierName": "Timer" + }, + "name": "Timer" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2752, + "end": 2769, + "loc": { + "start": { + "line": 75, + "column": 28 + }, + "end": { + "line": 75, + "column": 45 + } + }, + "left": { + "type": "Identifier", + "start": 2752, + "end": 2756, + "loc": { + "start": { + "line": 75, + "column": 28 + }, + "end": { + "line": 75, + "column": 32 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2759, + "end": 2769, + "loc": { + "start": { + "line": 75, + "column": 35 + }, + "end": { + "line": 75, + "column": 45 + } + }, + "extra": { + "rawValue": ".latency", + "raw": "'.latency'" + }, + "value": ".latency" + } + }, + { + "type": "Identifier", + "start": 2771, + "end": 2780, + "loc": { + "start": { + "line": 75, + "column": 47 + }, + "end": { + "line": 75, + "column": 56 + }, + "identifierName": "undefined" + }, + "name": "undefined" + }, + { + "type": "Identifier", + "start": 2782, + "end": 2795, + "loc": { + "start": { + "line": 75, + "column": 58 + }, + "end": { + "line": 75, + "column": 71 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2803, + "end": 2870, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 71 + } + }, + "expression": { + "type": "CallExpression", + "start": 2803, + "end": 2869, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2803, + "end": 2826, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 2803, + "end": 2811, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 12 + }, + "identifierName": "registry" + }, + "name": "registry" + }, + "property": { + "type": "Identifier", + "start": 2812, + "end": 2826, + "loc": { + "start": { + "line": 77, + "column": 13 + }, + "end": { + "line": 77, + "column": 27 + }, + "identifierName": "registerMeters" + }, + "name": "registerMeters" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 2827, + "end": 2868, + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 69 + } + }, + "elements": [ + { + "type": "Identifier", + "start": 2828, + "end": 2832, + "loc": { + "start": { + "line": 77, + "column": 29 + }, + "end": { + "line": 77, + "column": 33 + }, + "identifierName": "next" + }, + "name": "next" + }, + { + "type": "Identifier", + "start": 2834, + "end": 2842, + "loc": { + "start": { + "line": 77, + "column": 35 + }, + "end": { + "line": 77, + "column": 43 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + { + "type": "Identifier", + "start": 2844, + "end": 2849, + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 50 + }, + "identifierName": "error" + }, + "name": "error" + }, + { + "type": "Identifier", + "start": 2851, + "end": 2860, + "loc": { + "start": { + "line": 77, + "column": 52 + }, + "end": { + "line": 77, + "column": 61 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + { + "type": "Identifier", + "start": 2862, + "end": 2867, + "loc": { + "start": { + "line": 77, + "column": 63 + }, + "end": { + "line": 77, + "column": 68 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 2876, + "end": 2999, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 127 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 2883, + "end": 2998, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 126 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2883, + "end": 2891, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 19 + }, + "identifierName": "flowable" + }, + "name": "flowable" + } + ], + "body": { + "type": "CallExpression", + "start": 2895, + "end": 2998, + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 126 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2895, + "end": 2908, + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 2895, + "end": 2903, + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 31 + }, + "identifierName": "flowable" + }, + "name": "flowable" + }, + "property": { + "type": "Identifier", + "start": 2904, + "end": 2908, + "loc": { + "start": { + "line": 79, + "column": 32 + }, + "end": { + "line": 79, + "column": 36 + }, + "identifierName": "lift" + }, + "name": "lift" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2909, + "end": 2997, + "loc": { + "start": { + "line": 79, + "column": 37 + }, + "end": { + "line": 79, + "column": 125 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2909, + "end": 2919, + "loc": { + "start": { + "line": 79, + "column": 37 + }, + "end": { + "line": 79, + "column": 47 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "NewExpression", + "start": 2923, + "end": 2997, + "loc": { + "start": { + "line": 79, + "column": 51 + }, + "end": { + "line": 79, + "column": 125 + } + }, + "callee": { + "type": "Identifier", + "start": 2927, + "end": 2944, + "loc": { + "start": { + "line": 79, + "column": 55 + }, + "end": { + "line": 79, + "column": 72 + }, + "identifierName": "MetricsSubscriber" + }, + "name": "MetricsSubscriber" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2945, + "end": 2955, + "loc": { + "start": { + "line": 79, + "column": 73 + }, + "end": { + "line": 79, + "column": 83 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + { + "type": "Identifier", + "start": 2957, + "end": 2961, + "loc": { + "start": { + "line": 79, + "column": 85 + }, + "end": { + "line": 79, + "column": 89 + }, + "identifierName": "next" + }, + "name": "next" + }, + { + "type": "Identifier", + "start": 2963, + "end": 2971, + "loc": { + "start": { + "line": 79, + "column": 91 + }, + "end": { + "line": 79, + "column": 99 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + { + "type": "Identifier", + "start": 2973, + "end": 2978, + "loc": { + "start": { + "line": 79, + "column": 101 + }, + "end": { + "line": 79, + "column": 106 + }, + "identifierName": "error" + }, + "name": "error" + }, + { + "type": "Identifier", + "start": 2980, + "end": 2989, + "loc": { + "start": { + "line": 79, + "column": 108 + }, + "end": { + "line": 79, + "column": 117 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + { + "type": "Identifier", + "start": 2991, + "end": 2996, + "loc": { + "start": { + "line": 79, + "column": 119 + }, + "end": { + "line": 79, + "column": 124 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + } + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timed(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n ", + "start": 1343, + "end": 1784, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 55, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timedSingle(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n ", + "start": 3007, + "end": 3454, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 91, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3457, + "end": 4651, + "loc": { + "start": { + "line": 92, + "column": 2 + }, + "end": { + "line": 116, + "column": 3 + } + }, + "static": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 3464, + "end": 3475, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 20 + }, + "identifierName": "timedSingle" + }, + "name": "timedSingle" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3476, + "end": 3484, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 29 + }, + "identifierName": "registry" + }, + "name": "registry" + }, + { + "type": "Identifier", + "start": 3486, + "end": 3490, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 35 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "RestElement", + "start": 3492, + "end": 3499, + "loc": { + "start": { + "line": 92, + "column": 37 + }, + "end": { + "line": 92, + "column": 44 + } + }, + "argument": { + "type": "Identifier", + "start": 3495, + "end": 3499, + "loc": { + "start": { + "line": 92, + "column": 40 + }, + "end": { + "line": 92, + "column": 44 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 3501, + "end": 4651, + "loc": { + "start": { + "line": 92, + "column": 46 + }, + "end": { + "line": 116, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3579, + "end": 3626, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 3583, + "end": 3592, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 17 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 3584, + "end": 3592, + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 94, + "column": 17 + }, + "identifierName": "registry" + }, + "name": "registry", + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 3594, + "end": 3626, + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3602, + "end": 3620, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 24 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 3609, + "end": 3619, + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3609, + "end": 3612, + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 16 + }, + "identifierName": "any" + }, + "name": "any" + } + ], + "body": { + "type": "Identifier", + "start": 3616, + "end": 3619, + "loc": { + "start": { + "line": 95, + "column": 20 + }, + "end": { + "line": 95, + "column": 23 + }, + "identifierName": "any" + }, + "name": "any" + } + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Registry is optional - if not provided, return identity function", + "start": 3507, + "end": 3574, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 71 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 3632, + "end": 3657, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 29 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3638, + "end": 3656, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 3638, + "end": 3651, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 23 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + }, + "init": { + "type": "ArrayExpression", + "start": 3654, + "end": 3656, + "loc": { + "start": { + "line": 98, + "column": 26 + }, + "end": { + "line": 98, + "column": 28 + } + }, + "elements": [] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 3662, + "end": 3833, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 3666, + "end": 3670, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 12 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "consequent": { + "type": "BlockStatement", + "start": 3672, + "end": 3833, + "loc": { + "start": { + "line": 99, + "column": 14 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3680, + "end": 3827, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 104, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 3680, + "end": 3826, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 104, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3680, + "end": 3692, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 3680, + "end": 3684, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 10 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "property": { + "type": "Identifier", + "start": 3685, + "end": 3692, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 18 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3693, + "end": 3825, + "loc": { + "start": { + "line": 100, + "column": 19 + }, + "end": { + "line": 104, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3693, + "end": 3696, + "loc": { + "start": { + "line": 100, + "column": 19 + }, + "end": { + "line": 100, + "column": 22 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ], + "body": { + "type": "BlockStatement", + "start": 3700, + "end": 3825, + "loc": { + "start": { + "line": 100, + "column": 26 + }, + "end": { + "line": 104, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3710, + "end": 3817, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 103, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 3710, + "end": 3816, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 103, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3710, + "end": 3734, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 3710, + "end": 3726, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3710, + "end": 3721, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 3710, + "end": 3716, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 14 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 3717, + "end": 3721, + "loc": { + "start": { + "line": 101, + "column": 15 + }, + "end": { + "line": 101, + "column": 19 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3722, + "end": 3725, + "loc": { + "start": { + "line": 101, + "column": 20 + }, + "end": { + "line": 101, + "column": 23 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ] + }, + "property": { + "type": "Identifier", + "start": 3727, + "end": 3734, + "loc": { + "start": { + "line": 101, + "column": 25 + }, + "end": { + "line": 101, + "column": 32 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3735, + "end": 3815, + "loc": { + "start": { + "line": 101, + "column": 33 + }, + "end": { + "line": 103, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3735, + "end": 3738, + "loc": { + "start": { + "line": 101, + "column": 33 + }, + "end": { + "line": 101, + "column": 36 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 3742, + "end": 3815, + "loc": { + "start": { + "line": 101, + "column": 40 + }, + "end": { + "line": 103, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3754, + "end": 3805, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 3754, + "end": 3804, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3754, + "end": 3772, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 3754, + "end": 3767, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 23 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + }, + "property": { + "type": "Identifier", + "start": 3768, + "end": 3772, + "loc": { + "start": { + "line": 102, + "column": 24 + }, + "end": { + "line": 102, + "column": 28 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 3773, + "end": 3803, + "loc": { + "start": { + "line": 102, + "column": 29 + }, + "end": { + "line": 102, + "column": 59 + } + }, + "callee": { + "type": "Identifier", + "start": 3777, + "end": 3788, + "loc": { + "start": { + "line": 102, + "column": 33 + }, + "end": { + "line": 102, + "column": 44 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3789, + "end": 3792, + "loc": { + "start": { + "line": 102, + "column": 45 + }, + "end": { + "line": 102, + "column": 48 + }, + "identifierName": "key" + }, + "name": "key" + }, + { + "type": "MemberExpression", + "start": 3794, + "end": 3802, + "loc": { + "start": { + "line": 102, + "column": 50 + }, + "end": { + "line": 102, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 3794, + "end": 3797, + "loc": { + "start": { + "line": 102, + "column": 50 + }, + "end": { + "line": 102, + "column": 53 + }, + "identifierName": "tag" + }, + "name": "tag" + }, + "property": { + "type": "Identifier", + "start": 3798, + "end": 3801, + "loc": { + "start": { + "line": 102, + "column": 54 + }, + "end": { + "line": 102, + "column": 57 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 3839, + "end": 3969, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 134 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3845, + "end": 3968, + "loc": { + "start": { + "line": 107, + "column": 10 + }, + "end": { + "line": 107, + "column": 133 + } + }, + "id": { + "type": "Identifier", + "start": 3845, + "end": 3849, + "loc": { + "start": { + "line": 107, + "column": 10 + }, + "end": { + "line": 107, + "column": 14 + }, + "identifierName": "next" + }, + "name": "next" + }, + "init": { + "type": "NewExpression", + "start": 3852, + "end": 3968, + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 133 + } + }, + "callee": { + "type": "Identifier", + "start": 3856, + "end": 3863, + "loc": { + "start": { + "line": 107, + "column": 21 + }, + "end": { + "line": 107, + "column": 28 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 3864, + "end": 3881, + "loc": { + "start": { + "line": 107, + "column": 29 + }, + "end": { + "line": 107, + "column": 46 + } + }, + "left": { + "type": "Identifier", + "start": 3864, + "end": 3868, + "loc": { + "start": { + "line": 107, + "column": 29 + }, + "end": { + "line": 107, + "column": 33 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 3871, + "end": 3881, + "loc": { + "start": { + "line": 107, + "column": 36 + }, + "end": { + "line": 107, + "column": 46 + } + }, + "extra": { + "rawValue": ".request", + "raw": "'.request'" + }, + "value": ".request" + } + }, + { + "type": "StringLiteral", + "start": 3883, + "end": 3897, + "loc": { + "start": { + "line": 107, + "column": 48 + }, + "end": { + "line": 107, + "column": 62 + } + }, + "extra": { + "rawValue": "onNext calls", + "raw": "'onNext calls'" + }, + "value": "onNext calls" + }, + { + "type": "StringLiteral", + "start": 3899, + "end": 3908, + "loc": { + "start": { + "line": 107, + "column": 64 + }, + "end": { + "line": 107, + "column": 73 + } + }, + "extra": { + "rawValue": "integer", + "raw": "'integer'" + }, + "value": "integer" + }, + { + "type": "CallExpression", + "start": 3910, + "end": 3967, + "loc": { + "start": { + "line": 107, + "column": 75 + }, + "end": { + "line": 107, + "column": 132 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3910, + "end": 3952, + "loc": { + "start": { + "line": 107, + "column": 75 + }, + "end": { + "line": 107, + "column": 117 + } + }, + "object": { + "type": "ArrayExpression", + "start": 3910, + "end": 3945, + "loc": { + "start": { + "line": 107, + "column": 75 + }, + "end": { + "line": 107, + "column": 110 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 3911, + "end": 3944, + "loc": { + "start": { + "line": 107, + "column": 76 + }, + "end": { + "line": 107, + "column": 109 + } + }, + "callee": { + "type": "Identifier", + "start": 3915, + "end": 3926, + "loc": { + "start": { + "line": 107, + "column": 80 + }, + "end": { + "line": 107, + "column": 91 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3927, + "end": 3935, + "loc": { + "start": { + "line": 107, + "column": 92 + }, + "end": { + "line": 107, + "column": 100 + } + }, + "extra": { + "rawValue": "status", + "raw": "'status'" + }, + "value": "status" + }, + { + "type": "StringLiteral", + "start": 3937, + "end": 3943, + "loc": { + "start": { + "line": 107, + "column": 102 + }, + "end": { + "line": 107, + "column": 108 + } + }, + "extra": { + "rawValue": "next", + "raw": "'next'" + }, + "value": "next" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 3946, + "end": 3952, + "loc": { + "start": { + "line": 107, + "column": 111 + }, + "end": { + "line": 107, + "column": 117 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3953, + "end": 3966, + "loc": { + "start": { + "line": 107, + "column": 118 + }, + "end": { + "line": 107, + "column": 131 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3974, + "end": 4116, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 146 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3980, + "end": 4115, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 145 + } + }, + "id": { + "type": "Identifier", + "start": 3980, + "end": 3988, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 18 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + "init": { + "type": "NewExpression", + "start": 3991, + "end": 4115, + "loc": { + "start": { + "line": 108, + "column": 21 + }, + "end": { + "line": 108, + "column": 145 + } + }, + "callee": { + "type": "Identifier", + "start": 3995, + "end": 4002, + "loc": { + "start": { + "line": 108, + "column": 25 + }, + "end": { + "line": 108, + "column": 32 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 4003, + "end": 4020, + "loc": { + "start": { + "line": 108, + "column": 33 + }, + "end": { + "line": 108, + "column": 50 + } + }, + "left": { + "type": "Identifier", + "start": 4003, + "end": 4007, + "loc": { + "start": { + "line": 108, + "column": 33 + }, + "end": { + "line": 108, + "column": 37 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 4010, + "end": 4020, + "loc": { + "start": { + "line": 108, + "column": 40 + }, + "end": { + "line": 108, + "column": 50 + } + }, + "extra": { + "rawValue": ".request", + "raw": "'.request'" + }, + "value": ".request" + } + }, + { + "type": "StringLiteral", + "start": 4022, + "end": 4040, + "loc": { + "start": { + "line": 108, + "column": 52 + }, + "end": { + "line": 108, + "column": 70 + } + }, + "extra": { + "rawValue": "onComplete calls", + "raw": "'onComplete calls'" + }, + "value": "onComplete calls" + }, + { + "type": "StringLiteral", + "start": 4042, + "end": 4051, + "loc": { + "start": { + "line": 108, + "column": 72 + }, + "end": { + "line": 108, + "column": 81 + } + }, + "extra": { + "rawValue": "integer", + "raw": "'integer'" + }, + "value": "integer" + }, + { + "type": "CallExpression", + "start": 4053, + "end": 4114, + "loc": { + "start": { + "line": 108, + "column": 83 + }, + "end": { + "line": 108, + "column": 144 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4053, + "end": 4099, + "loc": { + "start": { + "line": 108, + "column": 83 + }, + "end": { + "line": 108, + "column": 129 + } + }, + "object": { + "type": "ArrayExpression", + "start": 4053, + "end": 4092, + "loc": { + "start": { + "line": 108, + "column": 83 + }, + "end": { + "line": 108, + "column": 122 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 4054, + "end": 4091, + "loc": { + "start": { + "line": 108, + "column": 84 + }, + "end": { + "line": 108, + "column": 121 + } + }, + "callee": { + "type": "Identifier", + "start": 4058, + "end": 4069, + "loc": { + "start": { + "line": 108, + "column": 88 + }, + "end": { + "line": 108, + "column": 99 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4070, + "end": 4078, + "loc": { + "start": { + "line": 108, + "column": 100 + }, + "end": { + "line": 108, + "column": 108 + } + }, + "extra": { + "rawValue": "status", + "raw": "'status'" + }, + "value": "status" + }, + { + "type": "StringLiteral", + "start": 4080, + "end": 4090, + "loc": { + "start": { + "line": 108, + "column": 110 + }, + "end": { + "line": 108, + "column": 120 + } + }, + "extra": { + "rawValue": "complete", + "raw": "'complete'" + }, + "value": "complete" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 4093, + "end": 4099, + "loc": { + "start": { + "line": 108, + "column": 123 + }, + "end": { + "line": 108, + "column": 129 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4100, + "end": 4113, + "loc": { + "start": { + "line": 108, + "column": 130 + }, + "end": { + "line": 108, + "column": 143 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4121, + "end": 4254, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 137 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4127, + "end": 4253, + "loc": { + "start": { + "line": 109, + "column": 10 + }, + "end": { + "line": 109, + "column": 136 + } + }, + "id": { + "type": "Identifier", + "start": 4127, + "end": 4132, + "loc": { + "start": { + "line": 109, + "column": 10 + }, + "end": { + "line": 109, + "column": 15 + }, + "identifierName": "error" + }, + "name": "error" + }, + "init": { + "type": "NewExpression", + "start": 4135, + "end": 4253, + "loc": { + "start": { + "line": 109, + "column": 18 + }, + "end": { + "line": 109, + "column": 136 + } + }, + "callee": { + "type": "Identifier", + "start": 4139, + "end": 4146, + "loc": { + "start": { + "line": 109, + "column": 22 + }, + "end": { + "line": 109, + "column": 29 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 4147, + "end": 4164, + "loc": { + "start": { + "line": 109, + "column": 30 + }, + "end": { + "line": 109, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 4147, + "end": 4151, + "loc": { + "start": { + "line": 109, + "column": 30 + }, + "end": { + "line": 109, + "column": 34 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 4154, + "end": 4164, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 47 + } + }, + "extra": { + "rawValue": ".request", + "raw": "'.request'" + }, + "value": ".request" + } + }, + { + "type": "StringLiteral", + "start": 4166, + "end": 4181, + "loc": { + "start": { + "line": 109, + "column": 49 + }, + "end": { + "line": 109, + "column": 64 + } + }, + "extra": { + "rawValue": "onError calls", + "raw": "'onError calls'" + }, + "value": "onError calls" + }, + { + "type": "StringLiteral", + "start": 4183, + "end": 4192, + "loc": { + "start": { + "line": 109, + "column": 66 + }, + "end": { + "line": 109, + "column": 75 + } + }, + "extra": { + "rawValue": "integer", + "raw": "'integer'" + }, + "value": "integer" + }, + { + "type": "CallExpression", + "start": 4194, + "end": 4252, + "loc": { + "start": { + "line": 109, + "column": 77 + }, + "end": { + "line": 109, + "column": 135 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4194, + "end": 4237, + "loc": { + "start": { + "line": 109, + "column": 77 + }, + "end": { + "line": 109, + "column": 120 + } + }, + "object": { + "type": "ArrayExpression", + "start": 4194, + "end": 4230, + "loc": { + "start": { + "line": 109, + "column": 77 + }, + "end": { + "line": 109, + "column": 113 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 4195, + "end": 4229, + "loc": { + "start": { + "line": 109, + "column": 78 + }, + "end": { + "line": 109, + "column": 112 + } + }, + "callee": { + "type": "Identifier", + "start": 4199, + "end": 4210, + "loc": { + "start": { + "line": 109, + "column": 82 + }, + "end": { + "line": 109, + "column": 93 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4211, + "end": 4219, + "loc": { + "start": { + "line": 109, + "column": 94 + }, + "end": { + "line": 109, + "column": 102 + } + }, + "extra": { + "rawValue": "status", + "raw": "'status'" + }, + "value": "status" + }, + { + "type": "StringLiteral", + "start": 4221, + "end": 4228, + "loc": { + "start": { + "line": 109, + "column": 104 + }, + "end": { + "line": 109, + "column": 111 + } + }, + "extra": { + "rawValue": "error", + "raw": "'error'" + }, + "value": "error" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 4231, + "end": 4237, + "loc": { + "start": { + "line": 109, + "column": 114 + }, + "end": { + "line": 109, + "column": 120 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4238, + "end": 4251, + "loc": { + "start": { + "line": 109, + "column": 121 + }, + "end": { + "line": 109, + "column": 134 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4259, + "end": 4399, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 144 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4265, + "end": 4398, + "loc": { + "start": { + "line": 110, + "column": 10 + }, + "end": { + "line": 110, + "column": 143 + } + }, + "id": { + "type": "Identifier", + "start": 4265, + "end": 4274, + "loc": { + "start": { + "line": 110, + "column": 10 + }, + "end": { + "line": 110, + "column": 19 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + "init": { + "type": "NewExpression", + "start": 4277, + "end": 4398, + "loc": { + "start": { + "line": 110, + "column": 22 + }, + "end": { + "line": 110, + "column": 143 + } + }, + "callee": { + "type": "Identifier", + "start": 4281, + "end": 4288, + "loc": { + "start": { + "line": 110, + "column": 26 + }, + "end": { + "line": 110, + "column": 33 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 4289, + "end": 4306, + "loc": { + "start": { + "line": 110, + "column": 34 + }, + "end": { + "line": 110, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 4289, + "end": 4293, + "loc": { + "start": { + "line": 110, + "column": 34 + }, + "end": { + "line": 110, + "column": 38 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 4296, + "end": 4306, + "loc": { + "start": { + "line": 110, + "column": 41 + }, + "end": { + "line": 110, + "column": 51 + } + }, + "extra": { + "rawValue": ".request", + "raw": "'.request'" + }, + "value": ".request" + } + }, + { + "type": "StringLiteral", + "start": 4308, + "end": 4322, + "loc": { + "start": { + "line": 110, + "column": 53 + }, + "end": { + "line": 110, + "column": 67 + } + }, + "extra": { + "rawValue": "cancel calls", + "raw": "'cancel calls'" + }, + "value": "cancel calls" + }, + { + "type": "StringLiteral", + "start": 4324, + "end": 4333, + "loc": { + "start": { + "line": 110, + "column": 69 + }, + "end": { + "line": 110, + "column": 78 + } + }, + "extra": { + "rawValue": "integer", + "raw": "'integer'" + }, + "value": "integer" + }, + { + "type": "CallExpression", + "start": 4335, + "end": 4397, + "loc": { + "start": { + "line": 110, + "column": 80 + }, + "end": { + "line": 110, + "column": 142 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4335, + "end": 4382, + "loc": { + "start": { + "line": 110, + "column": 80 + }, + "end": { + "line": 110, + "column": 127 + } + }, + "object": { + "type": "ArrayExpression", + "start": 4335, + "end": 4375, + "loc": { + "start": { + "line": 110, + "column": 80 + }, + "end": { + "line": 110, + "column": 120 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 4336, + "end": 4374, + "loc": { + "start": { + "line": 110, + "column": 81 + }, + "end": { + "line": 110, + "column": 119 + } + }, + "callee": { + "type": "Identifier", + "start": 4340, + "end": 4351, + "loc": { + "start": { + "line": 110, + "column": 85 + }, + "end": { + "line": 110, + "column": 96 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4352, + "end": 4360, + "loc": { + "start": { + "line": 110, + "column": 97 + }, + "end": { + "line": 110, + "column": 105 + } + }, + "extra": { + "rawValue": "status", + "raw": "'status'" + }, + "value": "status" + }, + { + "type": "StringLiteral", + "start": 4362, + "end": 4373, + "loc": { + "start": { + "line": 110, + "column": 107 + }, + "end": { + "line": 110, + "column": 118 + } + }, + "extra": { + "rawValue": "cancelled", + "raw": "'cancelled'" + }, + "value": "cancelled" + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 4376, + "end": 4382, + "loc": { + "start": { + "line": 110, + "column": 121 + }, + "end": { + "line": 110, + "column": 127 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4383, + "end": 4396, + "loc": { + "start": { + "line": 110, + "column": 128 + }, + "end": { + "line": 110, + "column": 141 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4404, + "end": 4473, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 73 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4410, + "end": 4472, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 111, + "column": 72 + } + }, + "id": { + "type": "Identifier", + "start": 4410, + "end": 4415, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 111, + "column": 15 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "init": { + "type": "NewExpression", + "start": 4418, + "end": 4472, + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 72 + } + }, + "callee": { + "type": "Identifier", + "start": 4422, + "end": 4427, + "loc": { + "start": { + "line": 111, + "column": 22 + }, + "end": { + "line": 111, + "column": 27 + }, + "identifierName": "Timer" + }, + "name": "Timer" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 4428, + "end": 4445, + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 111, + "column": 45 + } + }, + "left": { + "type": "Identifier", + "start": 4428, + "end": 4432, + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 111, + "column": 32 + }, + "identifierName": "name" + }, + "name": "name" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 4435, + "end": 4445, + "loc": { + "start": { + "line": 111, + "column": 35 + }, + "end": { + "line": 111, + "column": 45 + } + }, + "extra": { + "rawValue": ".latency", + "raw": "'.latency'" + }, + "value": ".latency" + } + }, + { + "type": "Identifier", + "start": 4447, + "end": 4456, + "loc": { + "start": { + "line": 111, + "column": 47 + }, + "end": { + "line": 111, + "column": 56 + }, + "identifierName": "undefined" + }, + "name": "undefined" + }, + { + "type": "Identifier", + "start": 4458, + "end": 4471, + "loc": { + "start": { + "line": 111, + "column": 58 + }, + "end": { + "line": 111, + "column": 71 + }, + "identifierName": "convertedTags" + }, + "name": "convertedTags" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 4479, + "end": 4546, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 71 + } + }, + "expression": { + "type": "CallExpression", + "start": 4479, + "end": 4545, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4479, + "end": 4502, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 4479, + "end": 4487, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 12 + }, + "identifierName": "registry" + }, + "name": "registry" + }, + "property": { + "type": "Identifier", + "start": 4488, + "end": 4502, + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 27 + }, + "identifierName": "registerMeters" + }, + "name": "registerMeters" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 4503, + "end": 4544, + "loc": { + "start": { + "line": 113, + "column": 28 + }, + "end": { + "line": 113, + "column": 69 + } + }, + "elements": [ + { + "type": "Identifier", + "start": 4504, + "end": 4508, + "loc": { + "start": { + "line": 113, + "column": 29 + }, + "end": { + "line": 113, + "column": 33 + }, + "identifierName": "next" + }, + "name": "next" + }, + { + "type": "Identifier", + "start": 4510, + "end": 4518, + "loc": { + "start": { + "line": 113, + "column": 35 + }, + "end": { + "line": 113, + "column": 43 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + { + "type": "Identifier", + "start": 4520, + "end": 4525, + "loc": { + "start": { + "line": 113, + "column": 45 + }, + "end": { + "line": 113, + "column": 50 + }, + "identifierName": "error" + }, + "name": "error" + }, + { + "type": "Identifier", + "start": 4527, + "end": 4536, + "loc": { + "start": { + "line": 113, + "column": 52 + }, + "end": { + "line": 113, + "column": 61 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + { + "type": "Identifier", + "start": 4538, + "end": 4543, + "loc": { + "start": { + "line": 113, + "column": 63 + }, + "end": { + "line": 113, + "column": 68 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 4552, + "end": 4647, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 99 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 4559, + "end": 4646, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 98 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4559, + "end": 4565, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 17 + }, + "identifierName": "single" + }, + "name": "single" + } + ], + "body": { + "type": "CallExpression", + "start": 4569, + "end": 4646, + "loc": { + "start": { + "line": 115, + "column": 21 + }, + "end": { + "line": 115, + "column": 98 + } + }, + "callee": { + "type": "Identifier", + "start": 4569, + "end": 4597, + "loc": { + "start": { + "line": 115, + "column": 21 + }, + "end": { + "line": 115, + "column": 49 + }, + "identifierName": "embedMetricsSingleSubscriber" + }, + "name": "embedMetricsSingleSubscriber" + }, + "arguments": [ + { + "type": "Identifier", + "start": 4598, + "end": 4604, + "loc": { + "start": { + "line": 115, + "column": 50 + }, + "end": { + "line": 115, + "column": 56 + }, + "identifierName": "single" + }, + "name": "single" + }, + { + "type": "Identifier", + "start": 4606, + "end": 4610, + "loc": { + "start": { + "line": 115, + "column": 58 + }, + "end": { + "line": 115, + "column": 62 + }, + "identifierName": "next" + }, + "name": "next" + }, + { + "type": "Identifier", + "start": 4612, + "end": 4620, + "loc": { + "start": { + "line": 115, + "column": 64 + }, + "end": { + "line": 115, + "column": 72 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + { + "type": "Identifier", + "start": 4622, + "end": 4627, + "loc": { + "start": { + "line": 115, + "column": 74 + }, + "end": { + "line": 115, + "column": 79 + }, + "identifierName": "error" + }, + "name": "error" + }, + { + "type": "Identifier", + "start": 4629, + "end": 4638, + "loc": { + "start": { + "line": 115, + "column": 81 + }, + "end": { + "line": 115, + "column": 90 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + { + "type": "Identifier", + "start": 4640, + "end": 4645, + "loc": { + "start": { + "line": 115, + "column": 92 + }, + "end": { + "line": 115, + "column": 97 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timedSingle(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n ", + "start": 3007, + "end": 3454, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 91, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1282, + "end": 1289, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1282, + "end": 1289, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 936, + "end": 949, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 936, + "end": 948, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metrics.js\n * @fileoverview Defines the \"Metrics\" class\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Counter\n * @requires Timer\n * @requires IMeterRegistry\n * @requires RawMeterTag\n * @requires MetricsSingleSubscriber\n * @requires MetricsSubscriber\n * @requires NPM:rsocket-flowable\n * @exports Metrics\n ", + "start": 0, + "end": 934, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metrics.js\n * @fileoverview Defines the \"Metrics\" class\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Counter\n * @requires Timer\n * @requires IMeterRegistry\n * @requires RawMeterTag\n * @requires MetricsSingleSubscriber\n * @requires MetricsSubscriber\n * @requires NPM:rsocket-flowable\n * @exports Metrics\n ", + "start": 0, + "end": 934, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1282, + "end": 1289, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timed(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n ", + "start": 1343, + "end": 1784, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Registry is optional - if not provided, return identity function", + "start": 1831, + "end": 1898, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 71 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timedSingle(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n ", + "start": 3007, + "end": 3454, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 91, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Registry is optional - if not provided, return identity function", + "start": 3507, + "end": 3574, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 71 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name Metrics.js\n * @fileoverview Defines the \"Metrics\" class\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Counter\n * @requires Timer\n * @requires IMeterRegistry\n * @requires RawMeterTag\n * @requires MetricsSingleSubscriber\n * @requires MetricsSubscriber\n * @requires NPM:rsocket-flowable\n * @exports Metrics\n ", + "start": 0, + "end": 934, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 936, + "end": 948, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 948, + "end": 949, + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 951, + "end": 957, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 958, + "end": 965, + "loc": { + "start": { + "line": 33, + "column": 7 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 966, + "end": 970, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Counter", + "start": 971, + "end": 982, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 982, + "end": 983, + "loc": { + "start": { + "line": 33, + "column": 31 + }, + "end": { + "line": 33, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 984, + "end": 990, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 991, + "end": 996, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 997, + "end": 1001, + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Timer", + "start": 1002, + "end": 1011, + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1011, + "end": 1012, + "loc": { + "start": { + "line": 34, + "column": 27 + }, + "end": { + "line": 34, + "column": 28 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1013, + "end": 1019, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1020, + "end": 1021, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IMeterRegistry", + "start": 1022, + "end": 1036, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1037, + "end": 1038, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1039, + "end": 1043, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./IMeterRegistry", + "start": 1044, + "end": 1062, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1062, + "end": 1063, + "loc": { + "start": { + "line": 35, + "column": 49 + }, + "end": { + "line": 35, + "column": 50 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1064, + "end": 1070, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 1071, + "end": 1082, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1083, + "end": 1087, + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 36, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RawMeterTag", + "start": 1088, + "end": 1103, + "loc": { + "start": { + "line": 36, + "column": 24 + }, + "end": { + "line": 36, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1103, + "end": 1104, + "loc": { + "start": { + "line": 36, + "column": 39 + }, + "end": { + "line": 36, + "column": 40 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1105, + "end": 1111, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "embedMetricsSingleSubscriber", + "start": 1112, + "end": 1140, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1141, + "end": 1145, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./MetricsSingleSubscriber", + "start": 1146, + "end": 1173, + "loc": { + "start": { + "line": 37, + "column": 41 + }, + "end": { + "line": 37, + "column": 68 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1173, + "end": 1174, + "loc": { + "start": { + "line": 37, + "column": 68 + }, + "end": { + "line": 37, + "column": 69 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1175, + "end": 1181, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSubscriber", + "start": 1182, + "end": 1199, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1200, + "end": 1204, + "loc": { + "start": { + "line": 38, + "column": 25 + }, + "end": { + "line": 38, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./MetricsSubscriber", + "start": 1205, + "end": 1226, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1226, + "end": 1227, + "loc": { + "start": { + "line": 38, + "column": 51 + }, + "end": { + "line": 38, + "column": 52 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1228, + "end": 1234, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1235, + "end": 1236, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 1237, + "end": 1245, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1245, + "end": 1246, + "loc": { + "start": { + "line": 39, + "column": 17 + }, + "end": { + "line": 39, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 1247, + "end": 1253, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1254, + "end": 1255, + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1256, + "end": 1260, + "loc": { + "start": { + "line": 39, + "column": 28 + }, + "end": { + "line": 39, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-flowable", + "start": 1261, + "end": 1279, + "loc": { + "start": { + "line": 39, + "column": 33 + }, + "end": { + "line": 39, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1279, + "end": 1280, + "loc": { + "start": { + "line": 39, + "column": 51 + }, + "end": { + "line": 39, + "column": 52 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1282, + "end": 1289, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1290, + "end": 1296, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 1297, + "end": 1304, + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 43, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 1305, + "end": 1310, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Metrics", + "start": 1311, + "end": 1318, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1319, + "end": 1320, + "loc": { + "start": { + "line": 43, + "column": 29 + }, + "end": { + "line": 43, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 1323, + "end": 1334, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1334, + "end": 1335, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1335, + "end": 1336, + "loc": { + "start": { + "line": 44, + "column": 14 + }, + "end": { + "line": 44, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1337, + "end": 1338, + "loc": { + "start": { + "line": 44, + "column": 16 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1338, + "end": 1339, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timed(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n ", + "start": 1343, + "end": 1784, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1787, + "end": 1793, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timed", + "start": 1794, + "end": 1799, + "loc": { + "start": { + "line": 56, + "column": 9 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 1800, + "end": 1808, + "loc": { + "start": { + "line": 56, + "column": 15 + }, + "end": { + "line": 56, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1808, + "end": 1809, + "loc": { + "start": { + "line": 56, + "column": 23 + }, + "end": { + "line": 56, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1810, + "end": 1814, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1814, + "end": 1815, + "loc": { + "start": { + "line": 56, + "column": 29 + }, + "end": { + "line": 56, + "column": 30 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1816, + "end": 1819, + "loc": { + "start": { + "line": 56, + "column": 31 + }, + "end": { + "line": 56, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1819, + "end": 1823, + "loc": { + "start": { + "line": 56, + "column": 34 + }, + "end": { + "line": 56, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1823, + "end": 1824, + "loc": { + "start": { + "line": 56, + "column": 38 + }, + "end": { + "line": 56, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1825, + "end": 1826, + "loc": { + "start": { + "line": 56, + "column": 40 + }, + "end": { + "line": 56, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " Registry is optional - if not provided, return identity function", + "start": 1831, + "end": 1898, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 71 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1903, + "end": 1905, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1906, + "end": 1907, + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1907, + "end": 1908, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 1908, + "end": 1916, + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1916, + "end": 1917, + "loc": { + "start": { + "line": 58, + "column": 17 + }, + "end": { + "line": 58, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1918, + "end": 1919, + "loc": { + "start": { + "line": 58, + "column": 19 + }, + "end": { + "line": 58, + "column": 20 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1926, + "end": 1932, + "loc": { + "start": { + "line": 59, + "column": 6 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "any", + "start": 1933, + "end": 1936, + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 16 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1937, + "end": 1939, + "loc": { + "start": { + "line": 59, + "column": 17 + }, + "end": { + "line": 59, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "any", + "start": 1940, + "end": 1943, + "loc": { + "start": { + "line": 59, + "column": 20 + }, + "end": { + "line": 59, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1943, + "end": 1944, + "loc": { + "start": { + "line": 59, + "column": 23 + }, + "end": { + "line": 59, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1949, + "end": 1950, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 5 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1956, + "end": 1961, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 1962, + "end": 1975, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1976, + "end": 1977, + "loc": { + "start": { + "line": 62, + "column": 24 + }, + "end": { + "line": 62, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1978, + "end": 1979, + "loc": { + "start": { + "line": 62, + "column": 26 + }, + "end": { + "line": 62, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1979, + "end": 1980, + "loc": { + "start": { + "line": 62, + "column": 27 + }, + "end": { + "line": 62, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1980, + "end": 1981, + "loc": { + "start": { + "line": 62, + "column": 28 + }, + "end": { + "line": 62, + "column": 29 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1986, + "end": 1988, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1989, + "end": 1990, + "loc": { + "start": { + "line": 63, + "column": 7 + }, + "end": { + "line": 63, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1990, + "end": 1994, + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1994, + "end": 1995, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1996, + "end": 1997, + "loc": { + "start": { + "line": 63, + "column": 14 + }, + "end": { + "line": 63, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 2004, + "end": 2008, + "loc": { + "start": { + "line": 64, + "column": 6 + }, + "end": { + "line": 64, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2008, + "end": 2009, + "loc": { + "start": { + "line": 64, + "column": 10 + }, + "end": { + "line": 64, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 2009, + "end": 2016, + "loc": { + "start": { + "line": 64, + "column": 11 + }, + "end": { + "line": 64, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2016, + "end": 2017, + "loc": { + "start": { + "line": 64, + "column": 18 + }, + "end": { + "line": 64, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 2017, + "end": 2020, + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 22 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2021, + "end": 2023, + "loc": { + "start": { + "line": 64, + "column": 23 + }, + "end": { + "line": 64, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2024, + "end": 2025, + "loc": { + "start": { + "line": 64, + "column": 26 + }, + "end": { + "line": 64, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 2034, + "end": 2040, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2040, + "end": 2041, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 65, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 2041, + "end": 2045, + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2045, + "end": 2046, + "loc": { + "start": { + "line": 65, + "column": 19 + }, + "end": { + "line": 65, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 2046, + "end": 2049, + "loc": { + "start": { + "line": 65, + "column": 20 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2049, + "end": 2050, + "loc": { + "start": { + "line": 65, + "column": 23 + }, + "end": { + "line": 65, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2050, + "end": 2051, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 2051, + "end": 2058, + "loc": { + "start": { + "line": 65, + "column": 25 + }, + "end": { + "line": 65, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2058, + "end": 2059, + "loc": { + "start": { + "line": 65, + "column": 32 + }, + "end": { + "line": 65, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 2059, + "end": 2062, + "loc": { + "start": { + "line": 65, + "column": 33 + }, + "end": { + "line": 65, + "column": 36 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2063, + "end": 2065, + "loc": { + "start": { + "line": 65, + "column": 37 + }, + "end": { + "line": 65, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2066, + "end": 2067, + "loc": { + "start": { + "line": 65, + "column": 40 + }, + "end": { + "line": 65, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 2078, + "end": 2091, + "loc": { + "start": { + "line": 66, + "column": 10 + }, + "end": { + "line": 66, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2091, + "end": 2092, + "loc": { + "start": { + "line": 66, + "column": 23 + }, + "end": { + "line": 66, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 2092, + "end": 2096, + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2096, + "end": 2097, + "loc": { + "start": { + "line": 66, + "column": 28 + }, + "end": { + "line": 66, + "column": 29 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2097, + "end": 2100, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 2101, + "end": 2112, + "loc": { + "start": { + "line": 66, + "column": 33 + }, + "end": { + "line": 66, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2112, + "end": 2113, + "loc": { + "start": { + "line": 66, + "column": 44 + }, + "end": { + "line": 66, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 2113, + "end": 2116, + "loc": { + "start": { + "line": 66, + "column": 45 + }, + "end": { + "line": 66, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2116, + "end": 2117, + "loc": { + "start": { + "line": 66, + "column": 48 + }, + "end": { + "line": 66, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 2118, + "end": 2121, + "loc": { + "start": { + "line": 66, + "column": 50 + }, + "end": { + "line": 66, + "column": 53 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2121, + "end": 2122, + "loc": { + "start": { + "line": 66, + "column": 53 + }, + "end": { + "line": 66, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 2122, + "end": 2125, + "loc": { + "start": { + "line": 66, + "column": 54 + }, + "end": { + "line": 66, + "column": 57 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2125, + "end": 2126, + "loc": { + "start": { + "line": 66, + "column": 57 + }, + "end": { + "line": 66, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2126, + "end": 2127, + "loc": { + "start": { + "line": 66, + "column": 58 + }, + "end": { + "line": 66, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2127, + "end": 2128, + "loc": { + "start": { + "line": 66, + "column": 59 + }, + "end": { + "line": 66, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2128, + "end": 2129, + "loc": { + "start": { + "line": 66, + "column": 60 + }, + "end": { + "line": 66, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2138, + "end": 2139, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2139, + "end": 2140, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2140, + "end": 2141, + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2148, + "end": 2149, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2149, + "end": 2150, + "loc": { + "start": { + "line": 68, + "column": 7 + }, + "end": { + "line": 68, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2150, + "end": 2151, + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2156, + "end": 2157, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 5 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2163, + "end": 2168, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 2169, + "end": 2173, + "loc": { + "start": { + "line": 71, + "column": 10 + }, + "end": { + "line": 71, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2174, + "end": 2175, + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 16 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2176, + "end": 2179, + "loc": { + "start": { + "line": 71, + "column": 17 + }, + "end": { + "line": 71, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 2180, + "end": 2187, + "loc": { + "start": { + "line": 71, + "column": 21 + }, + "end": { + "line": 71, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2187, + "end": 2188, + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 2188, + "end": 2192, + "loc": { + "start": { + "line": 71, + "column": 29 + }, + "end": { + "line": 71, + "column": 33 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2193, + "end": 2194, + "loc": { + "start": { + "line": 71, + "column": 34 + }, + "end": { + "line": 71, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".request", + "start": 2195, + "end": 2205, + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2205, + "end": 2206, + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 47 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onNext calls", + "start": 2207, + "end": 2221, + "loc": { + "start": { + "line": 71, + "column": 48 + }, + "end": { + "line": 71, + "column": 62 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2221, + "end": 2222, + "loc": { + "start": { + "line": 71, + "column": 62 + }, + "end": { + "line": 71, + "column": 63 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "integer", + "start": 2223, + "end": 2232, + "loc": { + "start": { + "line": 71, + "column": 64 + }, + "end": { + "line": 71, + "column": 73 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2232, + "end": 2233, + "loc": { + "start": { + "line": 71, + "column": 73 + }, + "end": { + "line": 71, + "column": 74 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2234, + "end": 2235, + "loc": { + "start": { + "line": 71, + "column": 75 + }, + "end": { + "line": 71, + "column": 76 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2235, + "end": 2238, + "loc": { + "start": { + "line": 71, + "column": 76 + }, + "end": { + "line": 71, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 2239, + "end": 2250, + "loc": { + "start": { + "line": 71, + "column": 80 + }, + "end": { + "line": 71, + "column": 91 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2250, + "end": 2251, + "loc": { + "start": { + "line": 71, + "column": 91 + }, + "end": { + "line": 71, + "column": 92 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "status", + "start": 2251, + "end": 2259, + "loc": { + "start": { + "line": 71, + "column": 92 + }, + "end": { + "line": 71, + "column": 100 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2259, + "end": 2260, + "loc": { + "start": { + "line": 71, + "column": 100 + }, + "end": { + "line": 71, + "column": 101 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "next", + "start": 2261, + "end": 2267, + "loc": { + "start": { + "line": 71, + "column": 102 + }, + "end": { + "line": 71, + "column": 108 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2267, + "end": 2268, + "loc": { + "start": { + "line": 71, + "column": 108 + }, + "end": { + "line": 71, + "column": 109 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2268, + "end": 2269, + "loc": { + "start": { + "line": 71, + "column": 109 + }, + "end": { + "line": 71, + "column": 110 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2269, + "end": 2270, + "loc": { + "start": { + "line": 71, + "column": 110 + }, + "end": { + "line": 71, + "column": 111 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 2270, + "end": 2276, + "loc": { + "start": { + "line": 71, + "column": 111 + }, + "end": { + "line": 71, + "column": 117 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2276, + "end": 2277, + "loc": { + "start": { + "line": 71, + "column": 117 + }, + "end": { + "line": 71, + "column": 118 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 2277, + "end": 2290, + "loc": { + "start": { + "line": 71, + "column": 118 + }, + "end": { + "line": 71, + "column": 131 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2290, + "end": 2291, + "loc": { + "start": { + "line": 71, + "column": 131 + }, + "end": { + "line": 71, + "column": 132 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2291, + "end": 2292, + "loc": { + "start": { + "line": 71, + "column": 132 + }, + "end": { + "line": 71, + "column": 133 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2292, + "end": 2293, + "loc": { + "start": { + "line": 71, + "column": 133 + }, + "end": { + "line": 71, + "column": 134 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2298, + "end": 2303, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 2304, + "end": 2312, + "loc": { + "start": { + "line": 72, + "column": 10 + }, + "end": { + "line": 72, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2313, + "end": 2314, + "loc": { + "start": { + "line": 72, + "column": 19 + }, + "end": { + "line": 72, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2315, + "end": 2318, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 72, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 2319, + "end": 2326, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2326, + "end": 2327, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 2327, + "end": 2331, + "loc": { + "start": { + "line": 72, + "column": 33 + }, + "end": { + "line": 72, + "column": 37 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2332, + "end": 2333, + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".request", + "start": 2334, + "end": 2344, + "loc": { + "start": { + "line": 72, + "column": 40 + }, + "end": { + "line": 72, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2344, + "end": 2345, + "loc": { + "start": { + "line": 72, + "column": 50 + }, + "end": { + "line": 72, + "column": 51 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onComplete calls", + "start": 2346, + "end": 2364, + "loc": { + "start": { + "line": 72, + "column": 52 + }, + "end": { + "line": 72, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2364, + "end": 2365, + "loc": { + "start": { + "line": 72, + "column": 70 + }, + "end": { + "line": 72, + "column": 71 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "integer", + "start": 2366, + "end": 2375, + "loc": { + "start": { + "line": 72, + "column": 72 + }, + "end": { + "line": 72, + "column": 81 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2375, + "end": 2376, + "loc": { + "start": { + "line": 72, + "column": 81 + }, + "end": { + "line": 72, + "column": 82 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2377, + "end": 2378, + "loc": { + "start": { + "line": 72, + "column": 83 + }, + "end": { + "line": 72, + "column": 84 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2378, + "end": 2381, + "loc": { + "start": { + "line": 72, + "column": 84 + }, + "end": { + "line": 72, + "column": 87 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 2382, + "end": 2393, + "loc": { + "start": { + "line": 72, + "column": 88 + }, + "end": { + "line": 72, + "column": 99 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2393, + "end": 2394, + "loc": { + "start": { + "line": 72, + "column": 99 + }, + "end": { + "line": 72, + "column": 100 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "status", + "start": 2394, + "end": 2402, + "loc": { + "start": { + "line": 72, + "column": 100 + }, + "end": { + "line": 72, + "column": 108 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2402, + "end": 2403, + "loc": { + "start": { + "line": 72, + "column": 108 + }, + "end": { + "line": 72, + "column": 109 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "complete", + "start": 2404, + "end": 2414, + "loc": { + "start": { + "line": 72, + "column": 110 + }, + "end": { + "line": 72, + "column": 120 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2414, + "end": 2415, + "loc": { + "start": { + "line": 72, + "column": 120 + }, + "end": { + "line": 72, + "column": 121 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2415, + "end": 2416, + "loc": { + "start": { + "line": 72, + "column": 121 + }, + "end": { + "line": 72, + "column": 122 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2416, + "end": 2417, + "loc": { + "start": { + "line": 72, + "column": 122 + }, + "end": { + "line": 72, + "column": 123 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 2417, + "end": 2423, + "loc": { + "start": { + "line": 72, + "column": 123 + }, + "end": { + "line": 72, + "column": 129 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2423, + "end": 2424, + "loc": { + "start": { + "line": 72, + "column": 129 + }, + "end": { + "line": 72, + "column": 130 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 2424, + "end": 2437, + "loc": { + "start": { + "line": 72, + "column": 130 + }, + "end": { + "line": 72, + "column": 143 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2437, + "end": 2438, + "loc": { + "start": { + "line": 72, + "column": 143 + }, + "end": { + "line": 72, + "column": 144 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2438, + "end": 2439, + "loc": { + "start": { + "line": 72, + "column": 144 + }, + "end": { + "line": 72, + "column": 145 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2439, + "end": 2440, + "loc": { + "start": { + "line": 72, + "column": 145 + }, + "end": { + "line": 72, + "column": 146 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2445, + "end": 2450, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2451, + "end": 2456, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2457, + "end": 2458, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2459, + "end": 2462, + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 2463, + "end": 2470, + "loc": { + "start": { + "line": 73, + "column": 22 + }, + "end": { + "line": 73, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2470, + "end": 2471, + "loc": { + "start": { + "line": 73, + "column": 29 + }, + "end": { + "line": 73, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 2471, + "end": 2475, + "loc": { + "start": { + "line": 73, + "column": 30 + }, + "end": { + "line": 73, + "column": 34 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2476, + "end": 2477, + "loc": { + "start": { + "line": 73, + "column": 35 + }, + "end": { + "line": 73, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".request", + "start": 2478, + "end": 2488, + "loc": { + "start": { + "line": 73, + "column": 37 + }, + "end": { + "line": 73, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2488, + "end": 2489, + "loc": { + "start": { + "line": 73, + "column": 47 + }, + "end": { + "line": 73, + "column": 48 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onError calls", + "start": 2490, + "end": 2505, + "loc": { + "start": { + "line": 73, + "column": 49 + }, + "end": { + "line": 73, + "column": 64 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2505, + "end": 2506, + "loc": { + "start": { + "line": 73, + "column": 64 + }, + "end": { + "line": 73, + "column": 65 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "integer", + "start": 2507, + "end": 2516, + "loc": { + "start": { + "line": 73, + "column": 66 + }, + "end": { + "line": 73, + "column": 75 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2516, + "end": 2517, + "loc": { + "start": { + "line": 73, + "column": 75 + }, + "end": { + "line": 73, + "column": 76 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2518, + "end": 2519, + "loc": { + "start": { + "line": 73, + "column": 77 + }, + "end": { + "line": 73, + "column": 78 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2519, + "end": 2522, + "loc": { + "start": { + "line": 73, + "column": 78 + }, + "end": { + "line": 73, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 2523, + "end": 2534, + "loc": { + "start": { + "line": 73, + "column": 82 + }, + "end": { + "line": 73, + "column": 93 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2534, + "end": 2535, + "loc": { + "start": { + "line": 73, + "column": 93 + }, + "end": { + "line": 73, + "column": 94 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "status", + "start": 2535, + "end": 2543, + "loc": { + "start": { + "line": 73, + "column": 94 + }, + "end": { + "line": 73, + "column": 102 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2543, + "end": 2544, + "loc": { + "start": { + "line": 73, + "column": 102 + }, + "end": { + "line": 73, + "column": 103 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "error", + "start": 2545, + "end": 2552, + "loc": { + "start": { + "line": 73, + "column": 104 + }, + "end": { + "line": 73, + "column": 111 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2552, + "end": 2553, + "loc": { + "start": { + "line": 73, + "column": 111 + }, + "end": { + "line": 73, + "column": 112 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2553, + "end": 2554, + "loc": { + "start": { + "line": 73, + "column": 112 + }, + "end": { + "line": 73, + "column": 113 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2554, + "end": 2555, + "loc": { + "start": { + "line": 73, + "column": 113 + }, + "end": { + "line": 73, + "column": 114 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 2555, + "end": 2561, + "loc": { + "start": { + "line": 73, + "column": 114 + }, + "end": { + "line": 73, + "column": 120 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2561, + "end": 2562, + "loc": { + "start": { + "line": 73, + "column": 120 + }, + "end": { + "line": 73, + "column": 121 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 2562, + "end": 2575, + "loc": { + "start": { + "line": 73, + "column": 121 + }, + "end": { + "line": 73, + "column": 134 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2575, + "end": 2576, + "loc": { + "start": { + "line": 73, + "column": 134 + }, + "end": { + "line": 73, + "column": 135 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2576, + "end": 2577, + "loc": { + "start": { + "line": 73, + "column": 135 + }, + "end": { + "line": 73, + "column": 136 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2577, + "end": 2578, + "loc": { + "start": { + "line": 73, + "column": 136 + }, + "end": { + "line": 73, + "column": 137 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2583, + "end": 2588, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 2589, + "end": 2598, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2599, + "end": 2600, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 21 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2601, + "end": 2604, + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 74, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 2605, + "end": 2612, + "loc": { + "start": { + "line": 74, + "column": 26 + }, + "end": { + "line": 74, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2612, + "end": 2613, + "loc": { + "start": { + "line": 74, + "column": 33 + }, + "end": { + "line": 74, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 2613, + "end": 2617, + "loc": { + "start": { + "line": 74, + "column": 34 + }, + "end": { + "line": 74, + "column": 38 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2618, + "end": 2619, + "loc": { + "start": { + "line": 74, + "column": 39 + }, + "end": { + "line": 74, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".request", + "start": 2620, + "end": 2630, + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2630, + "end": 2631, + "loc": { + "start": { + "line": 74, + "column": 51 + }, + "end": { + "line": 74, + "column": 52 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cancel calls", + "start": 2632, + "end": 2646, + "loc": { + "start": { + "line": 74, + "column": 53 + }, + "end": { + "line": 74, + "column": 67 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2646, + "end": 2647, + "loc": { + "start": { + "line": 74, + "column": 67 + }, + "end": { + "line": 74, + "column": 68 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "integer", + "start": 2648, + "end": 2657, + "loc": { + "start": { + "line": 74, + "column": 69 + }, + "end": { + "line": 74, + "column": 78 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2657, + "end": 2658, + "loc": { + "start": { + "line": 74, + "column": 78 + }, + "end": { + "line": 74, + "column": 79 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2659, + "end": 2660, + "loc": { + "start": { + "line": 74, + "column": 80 + }, + "end": { + "line": 74, + "column": 81 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2660, + "end": 2663, + "loc": { + "start": { + "line": 74, + "column": 81 + }, + "end": { + "line": 74, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 2664, + "end": 2675, + "loc": { + "start": { + "line": 74, + "column": 85 + }, + "end": { + "line": 74, + "column": 96 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2675, + "end": 2676, + "loc": { + "start": { + "line": 74, + "column": 96 + }, + "end": { + "line": 74, + "column": 97 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "status", + "start": 2676, + "end": 2684, + "loc": { + "start": { + "line": 74, + "column": 97 + }, + "end": { + "line": 74, + "column": 105 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2684, + "end": 2685, + "loc": { + "start": { + "line": 74, + "column": 105 + }, + "end": { + "line": 74, + "column": 106 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cancelled", + "start": 2686, + "end": 2697, + "loc": { + "start": { + "line": 74, + "column": 107 + }, + "end": { + "line": 74, + "column": 118 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2697, + "end": 2698, + "loc": { + "start": { + "line": 74, + "column": 118 + }, + "end": { + "line": 74, + "column": 119 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2698, + "end": 2699, + "loc": { + "start": { + "line": 74, + "column": 119 + }, + "end": { + "line": 74, + "column": 120 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2699, + "end": 2700, + "loc": { + "start": { + "line": 74, + "column": 120 + }, + "end": { + "line": 74, + "column": 121 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 2700, + "end": 2706, + "loc": { + "start": { + "line": 74, + "column": 121 + }, + "end": { + "line": 74, + "column": 127 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2706, + "end": 2707, + "loc": { + "start": { + "line": 74, + "column": 127 + }, + "end": { + "line": 74, + "column": 128 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 2707, + "end": 2720, + "loc": { + "start": { + "line": 74, + "column": 128 + }, + "end": { + "line": 74, + "column": 141 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2720, + "end": 2721, + "loc": { + "start": { + "line": 74, + "column": 141 + }, + "end": { + "line": 74, + "column": 142 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2721, + "end": 2722, + "loc": { + "start": { + "line": 74, + "column": 142 + }, + "end": { + "line": 74, + "column": 143 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2722, + "end": 2723, + "loc": { + "start": { + "line": 74, + "column": 143 + }, + "end": { + "line": 74, + "column": 144 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2728, + "end": 2733, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 2734, + "end": 2739, + "loc": { + "start": { + "line": 75, + "column": 10 + }, + "end": { + "line": 75, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2740, + "end": 2741, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2742, + "end": 2745, + "loc": { + "start": { + "line": 75, + "column": 18 + }, + "end": { + "line": 75, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 2746, + "end": 2751, + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2751, + "end": 2752, + "loc": { + "start": { + "line": 75, + "column": 27 + }, + "end": { + "line": 75, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 2752, + "end": 2756, + "loc": { + "start": { + "line": 75, + "column": 28 + }, + "end": { + "line": 75, + "column": 32 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2757, + "end": 2758, + "loc": { + "start": { + "line": 75, + "column": 33 + }, + "end": { + "line": 75, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".latency", + "start": 2759, + "end": 2769, + "loc": { + "start": { + "line": 75, + "column": 35 + }, + "end": { + "line": 75, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2769, + "end": 2770, + "loc": { + "start": { + "line": 75, + "column": 45 + }, + "end": { + "line": 75, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 2771, + "end": 2780, + "loc": { + "start": { + "line": 75, + "column": 47 + }, + "end": { + "line": 75, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2780, + "end": 2781, + "loc": { + "start": { + "line": 75, + "column": 56 + }, + "end": { + "line": 75, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 2782, + "end": 2795, + "loc": { + "start": { + "line": 75, + "column": 58 + }, + "end": { + "line": 75, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2795, + "end": 2796, + "loc": { + "start": { + "line": 75, + "column": 71 + }, + "end": { + "line": 75, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2796, + "end": 2797, + "loc": { + "start": { + "line": 75, + "column": 72 + }, + "end": { + "line": 75, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 2803, + "end": 2811, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2811, + "end": 2812, + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registerMeters", + "start": 2812, + "end": 2826, + "loc": { + "start": { + "line": 77, + "column": 13 + }, + "end": { + "line": 77, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2826, + "end": 2827, + "loc": { + "start": { + "line": 77, + "column": 27 + }, + "end": { + "line": 77, + "column": 28 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2827, + "end": 2828, + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 2828, + "end": 2832, + "loc": { + "start": { + "line": 77, + "column": 29 + }, + "end": { + "line": 77, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2832, + "end": 2833, + "loc": { + "start": { + "line": 77, + "column": 33 + }, + "end": { + "line": 77, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 2834, + "end": 2842, + "loc": { + "start": { + "line": 77, + "column": 35 + }, + "end": { + "line": 77, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2842, + "end": 2843, + "loc": { + "start": { + "line": 77, + "column": 43 + }, + "end": { + "line": 77, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2844, + "end": 2849, + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2849, + "end": 2850, + "loc": { + "start": { + "line": 77, + "column": 50 + }, + "end": { + "line": 77, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 2851, + "end": 2860, + "loc": { + "start": { + "line": 77, + "column": 52 + }, + "end": { + "line": 77, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2860, + "end": 2861, + "loc": { + "start": { + "line": 77, + "column": 61 + }, + "end": { + "line": 77, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 2862, + "end": 2867, + "loc": { + "start": { + "line": 77, + "column": 63 + }, + "end": { + "line": 77, + "column": 68 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2867, + "end": 2868, + "loc": { + "start": { + "line": 77, + "column": 68 + }, + "end": { + "line": 77, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2868, + "end": 2869, + "loc": { + "start": { + "line": 77, + "column": 69 + }, + "end": { + "line": 77, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2869, + "end": 2870, + "loc": { + "start": { + "line": 77, + "column": 70 + }, + "end": { + "line": 77, + "column": 71 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2876, + "end": 2882, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowable", + "start": 2883, + "end": 2891, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2892, + "end": 2894, + "loc": { + "start": { + "line": 79, + "column": 20 + }, + "end": { + "line": 79, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowable", + "start": 2895, + "end": 2903, + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2903, + "end": 2904, + "loc": { + "start": { + "line": 79, + "column": 31 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lift", + "start": 2904, + "end": 2908, + "loc": { + "start": { + "line": 79, + "column": 32 + }, + "end": { + "line": 79, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2908, + "end": 2909, + "loc": { + "start": { + "line": 79, + "column": 36 + }, + "end": { + "line": 79, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 2909, + "end": 2919, + "loc": { + "start": { + "line": 79, + "column": 37 + }, + "end": { + "line": 79, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2920, + "end": 2922, + "loc": { + "start": { + "line": 79, + "column": 48 + }, + "end": { + "line": 79, + "column": 50 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2923, + "end": 2926, + "loc": { + "start": { + "line": 79, + "column": 51 + }, + "end": { + "line": 79, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSubscriber", + "start": 2927, + "end": 2944, + "loc": { + "start": { + "line": 79, + "column": 55 + }, + "end": { + "line": 79, + "column": 72 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2944, + "end": 2945, + "loc": { + "start": { + "line": 79, + "column": 72 + }, + "end": { + "line": 79, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 2945, + "end": 2955, + "loc": { + "start": { + "line": 79, + "column": 73 + }, + "end": { + "line": 79, + "column": 83 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2955, + "end": 2956, + "loc": { + "start": { + "line": 79, + "column": 83 + }, + "end": { + "line": 79, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 2957, + "end": 2961, + "loc": { + "start": { + "line": 79, + "column": 85 + }, + "end": { + "line": 79, + "column": 89 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2961, + "end": 2962, + "loc": { + "start": { + "line": 79, + "column": 89 + }, + "end": { + "line": 79, + "column": 90 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 2963, + "end": 2971, + "loc": { + "start": { + "line": 79, + "column": 91 + }, + "end": { + "line": 79, + "column": 99 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2971, + "end": 2972, + "loc": { + "start": { + "line": 79, + "column": 99 + }, + "end": { + "line": 79, + "column": 100 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2973, + "end": 2978, + "loc": { + "start": { + "line": 79, + "column": 101 + }, + "end": { + "line": 79, + "column": 106 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2978, + "end": 2979, + "loc": { + "start": { + "line": 79, + "column": 106 + }, + "end": { + "line": 79, + "column": 107 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 2980, + "end": 2989, + "loc": { + "start": { + "line": 79, + "column": 108 + }, + "end": { + "line": 79, + "column": 117 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2989, + "end": 2990, + "loc": { + "start": { + "line": 79, + "column": 117 + }, + "end": { + "line": 79, + "column": 118 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 2991, + "end": 2996, + "loc": { + "start": { + "line": 79, + "column": 119 + }, + "end": { + "line": 79, + "column": 124 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2996, + "end": 2997, + "loc": { + "start": { + "line": 79, + "column": 124 + }, + "end": { + "line": 79, + "column": 125 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2997, + "end": 2998, + "loc": { + "start": { + "line": 79, + "column": 125 + }, + "end": { + "line": 79, + "column": 126 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2998, + "end": 2999, + "loc": { + "start": { + "line": 79, + "column": 126 + }, + "end": { + "line": 79, + "column": 127 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3002, + "end": 3003, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timedSingle(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n ", + "start": 3007, + "end": 3454, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 91, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 3457, + "end": 3463, + "loc": { + "start": { + "line": 92, + "column": 2 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timedSingle", + "start": 3464, + "end": 3475, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3475, + "end": 3476, + "loc": { + "start": { + "line": 92, + "column": 20 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 3476, + "end": 3484, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3484, + "end": 3485, + "loc": { + "start": { + "line": 92, + "column": 29 + }, + "end": { + "line": 92, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 3486, + "end": 3490, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3490, + "end": 3491, + "loc": { + "start": { + "line": 92, + "column": 35 + }, + "end": { + "line": 92, + "column": 36 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3492, + "end": 3495, + "loc": { + "start": { + "line": 92, + "column": 37 + }, + "end": { + "line": 92, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 3495, + "end": 3499, + "loc": { + "start": { + "line": 92, + "column": 40 + }, + "end": { + "line": 92, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3499, + "end": 3500, + "loc": { + "start": { + "line": 92, + "column": 44 + }, + "end": { + "line": 92, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3501, + "end": 3502, + "loc": { + "start": { + "line": 92, + "column": 46 + }, + "end": { + "line": 92, + "column": 47 + } + } + }, + { + "type": "CommentLine", + "value": " Registry is optional - if not provided, return identity function", + "start": 3507, + "end": 3574, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 71 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3579, + "end": 3581, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3582, + "end": 3583, + "loc": { + "start": { + "line": 94, + "column": 7 + }, + "end": { + "line": 94, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 3583, + "end": 3584, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 3584, + "end": 3592, + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 94, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3592, + "end": 3593, + "loc": { + "start": { + "line": 94, + "column": 17 + }, + "end": { + "line": 94, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3594, + "end": 3595, + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 94, + "column": 20 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3602, + "end": 3608, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "any", + "start": 3609, + "end": 3612, + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 16 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3613, + "end": 3615, + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "any", + "start": 3616, + "end": 3619, + "loc": { + "start": { + "line": 95, + "column": 20 + }, + "end": { + "line": 95, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3619, + "end": 3620, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3625, + "end": 3626, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3632, + "end": 3637, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 3638, + "end": 3651, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3652, + "end": 3653, + "loc": { + "start": { + "line": 98, + "column": 24 + }, + "end": { + "line": 98, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3654, + "end": 3655, + "loc": { + "start": { + "line": 98, + "column": 26 + }, + "end": { + "line": 98, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3655, + "end": 3656, + "loc": { + "start": { + "line": 98, + "column": 27 + }, + "end": { + "line": 98, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3656, + "end": 3657, + "loc": { + "start": { + "line": 98, + "column": 28 + }, + "end": { + "line": 98, + "column": 29 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3662, + "end": 3664, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3665, + "end": 3666, + "loc": { + "start": { + "line": 99, + "column": 7 + }, + "end": { + "line": 99, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 3666, + "end": 3670, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3670, + "end": 3671, + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3672, + "end": 3673, + "loc": { + "start": { + "line": 99, + "column": 14 + }, + "end": { + "line": 99, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 3680, + "end": 3684, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3684, + "end": 3685, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 3685, + "end": 3692, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3692, + "end": 3693, + "loc": { + "start": { + "line": 100, + "column": 18 + }, + "end": { + "line": 100, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 3693, + "end": 3696, + "loc": { + "start": { + "line": 100, + "column": 19 + }, + "end": { + "line": 100, + "column": 22 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3697, + "end": 3699, + "loc": { + "start": { + "line": 100, + "column": 23 + }, + "end": { + "line": 100, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3700, + "end": 3701, + "loc": { + "start": { + "line": 100, + "column": 26 + }, + "end": { + "line": 100, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 3710, + "end": 3716, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3716, + "end": 3717, + "loc": { + "start": { + "line": 101, + "column": 14 + }, + "end": { + "line": 101, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 3717, + "end": 3721, + "loc": { + "start": { + "line": 101, + "column": 15 + }, + "end": { + "line": 101, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3721, + "end": 3722, + "loc": { + "start": { + "line": 101, + "column": 19 + }, + "end": { + "line": 101, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 3722, + "end": 3725, + "loc": { + "start": { + "line": 101, + "column": 20 + }, + "end": { + "line": 101, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3725, + "end": 3726, + "loc": { + "start": { + "line": 101, + "column": 23 + }, + "end": { + "line": 101, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3726, + "end": 3727, + "loc": { + "start": { + "line": 101, + "column": 24 + }, + "end": { + "line": 101, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 3727, + "end": 3734, + "loc": { + "start": { + "line": 101, + "column": 25 + }, + "end": { + "line": 101, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3734, + "end": 3735, + "loc": { + "start": { + "line": 101, + "column": 32 + }, + "end": { + "line": 101, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 3735, + "end": 3738, + "loc": { + "start": { + "line": 101, + "column": 33 + }, + "end": { + "line": 101, + "column": 36 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3739, + "end": 3741, + "loc": { + "start": { + "line": 101, + "column": 37 + }, + "end": { + "line": 101, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3742, + "end": 3743, + "loc": { + "start": { + "line": 101, + "column": 40 + }, + "end": { + "line": 101, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 3754, + "end": 3767, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3767, + "end": 3768, + "loc": { + "start": { + "line": 102, + "column": 23 + }, + "end": { + "line": 102, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 3768, + "end": 3772, + "loc": { + "start": { + "line": 102, + "column": 24 + }, + "end": { + "line": 102, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3772, + "end": 3773, + "loc": { + "start": { + "line": 102, + "column": 28 + }, + "end": { + "line": 102, + "column": 29 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3773, + "end": 3776, + "loc": { + "start": { + "line": 102, + "column": 29 + }, + "end": { + "line": 102, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 3777, + "end": 3788, + "loc": { + "start": { + "line": 102, + "column": 33 + }, + "end": { + "line": 102, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3788, + "end": 3789, + "loc": { + "start": { + "line": 102, + "column": 44 + }, + "end": { + "line": 102, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 3789, + "end": 3792, + "loc": { + "start": { + "line": 102, + "column": 45 + }, + "end": { + "line": 102, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3792, + "end": 3793, + "loc": { + "start": { + "line": 102, + "column": 48 + }, + "end": { + "line": 102, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 3794, + "end": 3797, + "loc": { + "start": { + "line": 102, + "column": 50 + }, + "end": { + "line": 102, + "column": 53 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3797, + "end": 3798, + "loc": { + "start": { + "line": 102, + "column": 53 + }, + "end": { + "line": 102, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 3798, + "end": 3801, + "loc": { + "start": { + "line": 102, + "column": 54 + }, + "end": { + "line": 102, + "column": 57 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3801, + "end": 3802, + "loc": { + "start": { + "line": 102, + "column": 57 + }, + "end": { + "line": 102, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3802, + "end": 3803, + "loc": { + "start": { + "line": 102, + "column": 58 + }, + "end": { + "line": 102, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3803, + "end": 3804, + "loc": { + "start": { + "line": 102, + "column": 59 + }, + "end": { + "line": 102, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3804, + "end": 3805, + "loc": { + "start": { + "line": 102, + "column": 60 + }, + "end": { + "line": 102, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3814, + "end": 3815, + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3815, + "end": 3816, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3816, + "end": 3817, + "loc": { + "start": { + "line": 103, + "column": 10 + }, + "end": { + "line": 103, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3824, + "end": 3825, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3825, + "end": 3826, + "loc": { + "start": { + "line": 104, + "column": 7 + }, + "end": { + "line": 104, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3826, + "end": 3827, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3832, + "end": 3833, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3839, + "end": 3844, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 3845, + "end": 3849, + "loc": { + "start": { + "line": 107, + "column": 10 + }, + "end": { + "line": 107, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3850, + "end": 3851, + "loc": { + "start": { + "line": 107, + "column": 15 + }, + "end": { + "line": 107, + "column": 16 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3852, + "end": 3855, + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 3856, + "end": 3863, + "loc": { + "start": { + "line": 107, + "column": 21 + }, + "end": { + "line": 107, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3863, + "end": 3864, + "loc": { + "start": { + "line": 107, + "column": 28 + }, + "end": { + "line": 107, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 3864, + "end": 3868, + "loc": { + "start": { + "line": 107, + "column": 29 + }, + "end": { + "line": 107, + "column": 33 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3869, + "end": 3870, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".request", + "start": 3871, + "end": 3881, + "loc": { + "start": { + "line": 107, + "column": 36 + }, + "end": { + "line": 107, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3881, + "end": 3882, + "loc": { + "start": { + "line": 107, + "column": 46 + }, + "end": { + "line": 107, + "column": 47 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onNext calls", + "start": 3883, + "end": 3897, + "loc": { + "start": { + "line": 107, + "column": 48 + }, + "end": { + "line": 107, + "column": 62 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3897, + "end": 3898, + "loc": { + "start": { + "line": 107, + "column": 62 + }, + "end": { + "line": 107, + "column": 63 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "integer", + "start": 3899, + "end": 3908, + "loc": { + "start": { + "line": 107, + "column": 64 + }, + "end": { + "line": 107, + "column": 73 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3908, + "end": 3909, + "loc": { + "start": { + "line": 107, + "column": 73 + }, + "end": { + "line": 107, + "column": 74 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3910, + "end": 3911, + "loc": { + "start": { + "line": 107, + "column": 75 + }, + "end": { + "line": 107, + "column": 76 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3911, + "end": 3914, + "loc": { + "start": { + "line": 107, + "column": 76 + }, + "end": { + "line": 107, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 3915, + "end": 3926, + "loc": { + "start": { + "line": 107, + "column": 80 + }, + "end": { + "line": 107, + "column": 91 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3926, + "end": 3927, + "loc": { + "start": { + "line": 107, + "column": 91 + }, + "end": { + "line": 107, + "column": 92 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "status", + "start": 3927, + "end": 3935, + "loc": { + "start": { + "line": 107, + "column": 92 + }, + "end": { + "line": 107, + "column": 100 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3935, + "end": 3936, + "loc": { + "start": { + "line": 107, + "column": 100 + }, + "end": { + "line": 107, + "column": 101 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "next", + "start": 3937, + "end": 3943, + "loc": { + "start": { + "line": 107, + "column": 102 + }, + "end": { + "line": 107, + "column": 108 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3943, + "end": 3944, + "loc": { + "start": { + "line": 107, + "column": 108 + }, + "end": { + "line": 107, + "column": 109 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3944, + "end": 3945, + "loc": { + "start": { + "line": 107, + "column": 109 + }, + "end": { + "line": 107, + "column": 110 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3945, + "end": 3946, + "loc": { + "start": { + "line": 107, + "column": 110 + }, + "end": { + "line": 107, + "column": 111 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 3946, + "end": 3952, + "loc": { + "start": { + "line": 107, + "column": 111 + }, + "end": { + "line": 107, + "column": 117 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3952, + "end": 3953, + "loc": { + "start": { + "line": 107, + "column": 117 + }, + "end": { + "line": 107, + "column": 118 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 3953, + "end": 3966, + "loc": { + "start": { + "line": 107, + "column": 118 + }, + "end": { + "line": 107, + "column": 131 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3966, + "end": 3967, + "loc": { + "start": { + "line": 107, + "column": 131 + }, + "end": { + "line": 107, + "column": 132 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3967, + "end": 3968, + "loc": { + "start": { + "line": 107, + "column": 132 + }, + "end": { + "line": 107, + "column": 133 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3968, + "end": 3969, + "loc": { + "start": { + "line": 107, + "column": 133 + }, + "end": { + "line": 107, + "column": 134 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3974, + "end": 3979, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 3980, + "end": 3988, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3989, + "end": 3990, + "loc": { + "start": { + "line": 108, + "column": 19 + }, + "end": { + "line": 108, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3991, + "end": 3994, + "loc": { + "start": { + "line": 108, + "column": 21 + }, + "end": { + "line": 108, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 3995, + "end": 4002, + "loc": { + "start": { + "line": 108, + "column": 25 + }, + "end": { + "line": 108, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4002, + "end": 4003, + "loc": { + "start": { + "line": 108, + "column": 32 + }, + "end": { + "line": 108, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 4003, + "end": 4007, + "loc": { + "start": { + "line": 108, + "column": 33 + }, + "end": { + "line": 108, + "column": 37 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4008, + "end": 4009, + "loc": { + "start": { + "line": 108, + "column": 38 + }, + "end": { + "line": 108, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".request", + "start": 4010, + "end": 4020, + "loc": { + "start": { + "line": 108, + "column": 40 + }, + "end": { + "line": 108, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4020, + "end": 4021, + "loc": { + "start": { + "line": 108, + "column": 50 + }, + "end": { + "line": 108, + "column": 51 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onComplete calls", + "start": 4022, + "end": 4040, + "loc": { + "start": { + "line": 108, + "column": 52 + }, + "end": { + "line": 108, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4040, + "end": 4041, + "loc": { + "start": { + "line": 108, + "column": 70 + }, + "end": { + "line": 108, + "column": 71 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "integer", + "start": 4042, + "end": 4051, + "loc": { + "start": { + "line": 108, + "column": 72 + }, + "end": { + "line": 108, + "column": 81 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4051, + "end": 4052, + "loc": { + "start": { + "line": 108, + "column": 81 + }, + "end": { + "line": 108, + "column": 82 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4053, + "end": 4054, + "loc": { + "start": { + "line": 108, + "column": 83 + }, + "end": { + "line": 108, + "column": 84 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4054, + "end": 4057, + "loc": { + "start": { + "line": 108, + "column": 84 + }, + "end": { + "line": 108, + "column": 87 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 4058, + "end": 4069, + "loc": { + "start": { + "line": 108, + "column": 88 + }, + "end": { + "line": 108, + "column": 99 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4069, + "end": 4070, + "loc": { + "start": { + "line": 108, + "column": 99 + }, + "end": { + "line": 108, + "column": 100 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "status", + "start": 4070, + "end": 4078, + "loc": { + "start": { + "line": 108, + "column": 100 + }, + "end": { + "line": 108, + "column": 108 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4078, + "end": 4079, + "loc": { + "start": { + "line": 108, + "column": 108 + }, + "end": { + "line": 108, + "column": 109 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "complete", + "start": 4080, + "end": 4090, + "loc": { + "start": { + "line": 108, + "column": 110 + }, + "end": { + "line": 108, + "column": 120 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4090, + "end": 4091, + "loc": { + "start": { + "line": 108, + "column": 120 + }, + "end": { + "line": 108, + "column": 121 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4091, + "end": 4092, + "loc": { + "start": { + "line": 108, + "column": 121 + }, + "end": { + "line": 108, + "column": 122 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4092, + "end": 4093, + "loc": { + "start": { + "line": 108, + "column": 122 + }, + "end": { + "line": 108, + "column": 123 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 4093, + "end": 4099, + "loc": { + "start": { + "line": 108, + "column": 123 + }, + "end": { + "line": 108, + "column": 129 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4099, + "end": 4100, + "loc": { + "start": { + "line": 108, + "column": 129 + }, + "end": { + "line": 108, + "column": 130 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 4100, + "end": 4113, + "loc": { + "start": { + "line": 108, + "column": 130 + }, + "end": { + "line": 108, + "column": 143 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4113, + "end": 4114, + "loc": { + "start": { + "line": 108, + "column": 143 + }, + "end": { + "line": 108, + "column": 144 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4114, + "end": 4115, + "loc": { + "start": { + "line": 108, + "column": 144 + }, + "end": { + "line": 108, + "column": 145 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4115, + "end": 4116, + "loc": { + "start": { + "line": 108, + "column": 145 + }, + "end": { + "line": 108, + "column": 146 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4121, + "end": 4126, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4127, + "end": 4132, + "loc": { + "start": { + "line": 109, + "column": 10 + }, + "end": { + "line": 109, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4133, + "end": 4134, + "loc": { + "start": { + "line": 109, + "column": 16 + }, + "end": { + "line": 109, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4135, + "end": 4138, + "loc": { + "start": { + "line": 109, + "column": 18 + }, + "end": { + "line": 109, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 4139, + "end": 4146, + "loc": { + "start": { + "line": 109, + "column": 22 + }, + "end": { + "line": 109, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4146, + "end": 4147, + "loc": { + "start": { + "line": 109, + "column": 29 + }, + "end": { + "line": 109, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 4147, + "end": 4151, + "loc": { + "start": { + "line": 109, + "column": 30 + }, + "end": { + "line": 109, + "column": 34 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4152, + "end": 4153, + "loc": { + "start": { + "line": 109, + "column": 35 + }, + "end": { + "line": 109, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".request", + "start": 4154, + "end": 4164, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4164, + "end": 4165, + "loc": { + "start": { + "line": 109, + "column": 47 + }, + "end": { + "line": 109, + "column": 48 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onError calls", + "start": 4166, + "end": 4181, + "loc": { + "start": { + "line": 109, + "column": 49 + }, + "end": { + "line": 109, + "column": 64 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4181, + "end": 4182, + "loc": { + "start": { + "line": 109, + "column": 64 + }, + "end": { + "line": 109, + "column": 65 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "integer", + "start": 4183, + "end": 4192, + "loc": { + "start": { + "line": 109, + "column": 66 + }, + "end": { + "line": 109, + "column": 75 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4192, + "end": 4193, + "loc": { + "start": { + "line": 109, + "column": 75 + }, + "end": { + "line": 109, + "column": 76 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4194, + "end": 4195, + "loc": { + "start": { + "line": 109, + "column": 77 + }, + "end": { + "line": 109, + "column": 78 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4195, + "end": 4198, + "loc": { + "start": { + "line": 109, + "column": 78 + }, + "end": { + "line": 109, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 4199, + "end": 4210, + "loc": { + "start": { + "line": 109, + "column": 82 + }, + "end": { + "line": 109, + "column": 93 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4210, + "end": 4211, + "loc": { + "start": { + "line": 109, + "column": 93 + }, + "end": { + "line": 109, + "column": 94 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "status", + "start": 4211, + "end": 4219, + "loc": { + "start": { + "line": 109, + "column": 94 + }, + "end": { + "line": 109, + "column": 102 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4219, + "end": 4220, + "loc": { + "start": { + "line": 109, + "column": 102 + }, + "end": { + "line": 109, + "column": 103 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "error", + "start": 4221, + "end": 4228, + "loc": { + "start": { + "line": 109, + "column": 104 + }, + "end": { + "line": 109, + "column": 111 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4228, + "end": 4229, + "loc": { + "start": { + "line": 109, + "column": 111 + }, + "end": { + "line": 109, + "column": 112 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4229, + "end": 4230, + "loc": { + "start": { + "line": 109, + "column": 112 + }, + "end": { + "line": 109, + "column": 113 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4230, + "end": 4231, + "loc": { + "start": { + "line": 109, + "column": 113 + }, + "end": { + "line": 109, + "column": 114 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 4231, + "end": 4237, + "loc": { + "start": { + "line": 109, + "column": 114 + }, + "end": { + "line": 109, + "column": 120 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4237, + "end": 4238, + "loc": { + "start": { + "line": 109, + "column": 120 + }, + "end": { + "line": 109, + "column": 121 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 4238, + "end": 4251, + "loc": { + "start": { + "line": 109, + "column": 121 + }, + "end": { + "line": 109, + "column": 134 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4251, + "end": 4252, + "loc": { + "start": { + "line": 109, + "column": 134 + }, + "end": { + "line": 109, + "column": 135 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4252, + "end": 4253, + "loc": { + "start": { + "line": 109, + "column": 135 + }, + "end": { + "line": 109, + "column": 136 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4253, + "end": 4254, + "loc": { + "start": { + "line": 109, + "column": 136 + }, + "end": { + "line": 109, + "column": 137 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4259, + "end": 4264, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 4265, + "end": 4274, + "loc": { + "start": { + "line": 110, + "column": 10 + }, + "end": { + "line": 110, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4275, + "end": 4276, + "loc": { + "start": { + "line": 110, + "column": 20 + }, + "end": { + "line": 110, + "column": 21 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4277, + "end": 4280, + "loc": { + "start": { + "line": 110, + "column": 22 + }, + "end": { + "line": 110, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 4281, + "end": 4288, + "loc": { + "start": { + "line": 110, + "column": 26 + }, + "end": { + "line": 110, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4288, + "end": 4289, + "loc": { + "start": { + "line": 110, + "column": 33 + }, + "end": { + "line": 110, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 4289, + "end": 4293, + "loc": { + "start": { + "line": 110, + "column": 34 + }, + "end": { + "line": 110, + "column": 38 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4294, + "end": 4295, + "loc": { + "start": { + "line": 110, + "column": 39 + }, + "end": { + "line": 110, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".request", + "start": 4296, + "end": 4306, + "loc": { + "start": { + "line": 110, + "column": 41 + }, + "end": { + "line": 110, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4306, + "end": 4307, + "loc": { + "start": { + "line": 110, + "column": 51 + }, + "end": { + "line": 110, + "column": 52 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cancel calls", + "start": 4308, + "end": 4322, + "loc": { + "start": { + "line": 110, + "column": 53 + }, + "end": { + "line": 110, + "column": 67 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4322, + "end": 4323, + "loc": { + "start": { + "line": 110, + "column": 67 + }, + "end": { + "line": 110, + "column": 68 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "integer", + "start": 4324, + "end": 4333, + "loc": { + "start": { + "line": 110, + "column": 69 + }, + "end": { + "line": 110, + "column": 78 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4333, + "end": 4334, + "loc": { + "start": { + "line": 110, + "column": 78 + }, + "end": { + "line": 110, + "column": 79 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4335, + "end": 4336, + "loc": { + "start": { + "line": 110, + "column": 80 + }, + "end": { + "line": 110, + "column": 81 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4336, + "end": 4339, + "loc": { + "start": { + "line": 110, + "column": 81 + }, + "end": { + "line": 110, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 4340, + "end": 4351, + "loc": { + "start": { + "line": 110, + "column": 85 + }, + "end": { + "line": 110, + "column": 96 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4351, + "end": 4352, + "loc": { + "start": { + "line": 110, + "column": 96 + }, + "end": { + "line": 110, + "column": 97 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "status", + "start": 4352, + "end": 4360, + "loc": { + "start": { + "line": 110, + "column": 97 + }, + "end": { + "line": 110, + "column": 105 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4360, + "end": 4361, + "loc": { + "start": { + "line": 110, + "column": 105 + }, + "end": { + "line": 110, + "column": 106 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cancelled", + "start": 4362, + "end": 4373, + "loc": { + "start": { + "line": 110, + "column": 107 + }, + "end": { + "line": 110, + "column": 118 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4373, + "end": 4374, + "loc": { + "start": { + "line": 110, + "column": 118 + }, + "end": { + "line": 110, + "column": 119 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4374, + "end": 4375, + "loc": { + "start": { + "line": 110, + "column": 119 + }, + "end": { + "line": 110, + "column": 120 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4375, + "end": 4376, + "loc": { + "start": { + "line": 110, + "column": 120 + }, + "end": { + "line": 110, + "column": 121 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 4376, + "end": 4382, + "loc": { + "start": { + "line": 110, + "column": 121 + }, + "end": { + "line": 110, + "column": 127 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4382, + "end": 4383, + "loc": { + "start": { + "line": 110, + "column": 127 + }, + "end": { + "line": 110, + "column": 128 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 4383, + "end": 4396, + "loc": { + "start": { + "line": 110, + "column": 128 + }, + "end": { + "line": 110, + "column": 141 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4396, + "end": 4397, + "loc": { + "start": { + "line": 110, + "column": 141 + }, + "end": { + "line": 110, + "column": 142 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4397, + "end": 4398, + "loc": { + "start": { + "line": 110, + "column": 142 + }, + "end": { + "line": 110, + "column": 143 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4398, + "end": 4399, + "loc": { + "start": { + "line": 110, + "column": 143 + }, + "end": { + "line": 110, + "column": 144 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4404, + "end": 4409, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 4410, + "end": 4415, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 111, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4416, + "end": 4417, + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4418, + "end": 4421, + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 4422, + "end": 4427, + "loc": { + "start": { + "line": 111, + "column": 22 + }, + "end": { + "line": 111, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4427, + "end": 4428, + "loc": { + "start": { + "line": 111, + "column": 27 + }, + "end": { + "line": 111, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 4428, + "end": 4432, + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 111, + "column": 32 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4433, + "end": 4434, + "loc": { + "start": { + "line": 111, + "column": 33 + }, + "end": { + "line": 111, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".latency", + "start": 4435, + "end": 4445, + "loc": { + "start": { + "line": 111, + "column": 35 + }, + "end": { + "line": 111, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4445, + "end": 4446, + "loc": { + "start": { + "line": 111, + "column": 45 + }, + "end": { + "line": 111, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 4447, + "end": 4456, + "loc": { + "start": { + "line": 111, + "column": 47 + }, + "end": { + "line": 111, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4456, + "end": 4457, + "loc": { + "start": { + "line": 111, + "column": 56 + }, + "end": { + "line": 111, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertedTags", + "start": 4458, + "end": 4471, + "loc": { + "start": { + "line": 111, + "column": 58 + }, + "end": { + "line": 111, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4471, + "end": 4472, + "loc": { + "start": { + "line": 111, + "column": 71 + }, + "end": { + "line": 111, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4472, + "end": 4473, + "loc": { + "start": { + "line": 111, + "column": 72 + }, + "end": { + "line": 111, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 4479, + "end": 4487, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4487, + "end": 4488, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registerMeters", + "start": 4488, + "end": 4502, + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4502, + "end": 4503, + "loc": { + "start": { + "line": 113, + "column": 27 + }, + "end": { + "line": 113, + "column": 28 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4503, + "end": 4504, + "loc": { + "start": { + "line": 113, + "column": 28 + }, + "end": { + "line": 113, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 4504, + "end": 4508, + "loc": { + "start": { + "line": 113, + "column": 29 + }, + "end": { + "line": 113, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4508, + "end": 4509, + "loc": { + "start": { + "line": 113, + "column": 33 + }, + "end": { + "line": 113, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 4510, + "end": 4518, + "loc": { + "start": { + "line": 113, + "column": 35 + }, + "end": { + "line": 113, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4518, + "end": 4519, + "loc": { + "start": { + "line": 113, + "column": 43 + }, + "end": { + "line": 113, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4520, + "end": 4525, + "loc": { + "start": { + "line": 113, + "column": 45 + }, + "end": { + "line": 113, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4525, + "end": 4526, + "loc": { + "start": { + "line": 113, + "column": 50 + }, + "end": { + "line": 113, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 4527, + "end": 4536, + "loc": { + "start": { + "line": 113, + "column": 52 + }, + "end": { + "line": 113, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4536, + "end": 4537, + "loc": { + "start": { + "line": 113, + "column": 61 + }, + "end": { + "line": 113, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 4538, + "end": 4543, + "loc": { + "start": { + "line": 113, + "column": 63 + }, + "end": { + "line": 113, + "column": 68 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4543, + "end": 4544, + "loc": { + "start": { + "line": 113, + "column": 68 + }, + "end": { + "line": 113, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4544, + "end": 4545, + "loc": { + "start": { + "line": 113, + "column": 69 + }, + "end": { + "line": 113, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4545, + "end": 4546, + "loc": { + "start": { + "line": 113, + "column": 70 + }, + "end": { + "line": 113, + "column": 71 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4552, + "end": 4558, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 4559, + "end": 4565, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 17 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4566, + "end": 4568, + "loc": { + "start": { + "line": 115, + "column": 18 + }, + "end": { + "line": 115, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "embedMetricsSingleSubscriber", + "start": 4569, + "end": 4597, + "loc": { + "start": { + "line": 115, + "column": 21 + }, + "end": { + "line": 115, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4597, + "end": 4598, + "loc": { + "start": { + "line": 115, + "column": 49 + }, + "end": { + "line": 115, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 4598, + "end": 4604, + "loc": { + "start": { + "line": 115, + "column": 50 + }, + "end": { + "line": 115, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4604, + "end": 4605, + "loc": { + "start": { + "line": 115, + "column": 56 + }, + "end": { + "line": 115, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 4606, + "end": 4610, + "loc": { + "start": { + "line": 115, + "column": 58 + }, + "end": { + "line": 115, + "column": 62 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4610, + "end": 4611, + "loc": { + "start": { + "line": 115, + "column": 62 + }, + "end": { + "line": 115, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 4612, + "end": 4620, + "loc": { + "start": { + "line": 115, + "column": 64 + }, + "end": { + "line": 115, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4620, + "end": 4621, + "loc": { + "start": { + "line": 115, + "column": 72 + }, + "end": { + "line": 115, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4622, + "end": 4627, + "loc": { + "start": { + "line": 115, + "column": 74 + }, + "end": { + "line": 115, + "column": 79 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4627, + "end": 4628, + "loc": { + "start": { + "line": 115, + "column": 79 + }, + "end": { + "line": 115, + "column": 80 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 4629, + "end": 4638, + "loc": { + "start": { + "line": 115, + "column": 81 + }, + "end": { + "line": 115, + "column": 90 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4638, + "end": 4639, + "loc": { + "start": { + "line": 115, + "column": 90 + }, + "end": { + "line": 115, + "column": 91 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 4640, + "end": 4645, + "loc": { + "start": { + "line": 115, + "column": 92 + }, + "end": { + "line": 115, + "column": 97 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4645, + "end": 4646, + "loc": { + "start": { + "line": 115, + "column": 97 + }, + "end": { + "line": 115, + "column": 98 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4646, + "end": 4647, + "loc": { + "start": { + "line": 115, + "column": 98 + }, + "end": { + "line": 115, + "column": 99 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4650, + "end": 4651, + "loc": { + "start": { + "line": 116, + "column": 2 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4652, + "end": 4653, + "loc": { + "start": { + "line": 117, + "column": 0 + }, + "end": { + "line": 117, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4653, + "end": 4653, + "loc": { + "start": { + "line": 117, + "column": 1 + }, + "end": { + "line": 117, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsExporter.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsExporter.js.json new file mode 100644 index 0000000..6dfd23f --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsExporter.js.json @@ -0,0 +1,56514 @@ +{ + "type": "File", + "start": 0, + "end": 11581, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 398, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 11581, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 398, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 991, + "end": 1035, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 44 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1000, + "end": 1011, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 20 + } + }, + "imported": { + "type": "Identifier", + "start": 1000, + "end": 1011, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 20 + }, + "identifierName": "ISubscriber" + }, + "name": "ISubscriber" + }, + "local": { + "type": "Identifier", + "start": 1000, + "end": 1011, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 20 + }, + "identifierName": "ISubscriber" + }, + "name": "ISubscriber" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1019, + "end": 1034, + "loc": { + "start": { + "line": 34, + "column": 28 + }, + "end": { + "line": 34, + "column": 43 + } + }, + "extra": { + "rawValue": "rsocket-types", + "raw": "'rsocket-types'" + }, + "value": "rsocket-types" + } + }, + { + "type": "ImportDeclaration", + "start": 1036, + "end": 1080, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 44 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1045, + "end": 1053, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 1045, + "end": 1053, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "local": { + "type": "Identifier", + "start": 1045, + "end": 1053, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1061, + "end": 1079, + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 43 + } + }, + "extra": { + "rawValue": "rsocket-flowable", + "raw": "'rsocket-flowable'" + }, + "value": "rsocket-flowable" + } + }, + { + "type": "ImportDeclaration", + "start": 1081, + "end": 1211, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 130 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1090, + "end": 1095, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 14 + } + }, + "imported": { + "type": "Identifier", + "start": 1090, + "end": 1095, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 14 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "local": { + "type": "Identifier", + "start": 1090, + "end": 1095, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 14 + }, + "identifierName": "Meter" + }, + "name": "Meter" + } + }, + { + "type": "ImportSpecifier", + "start": 1097, + "end": 1104, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 23 + } + }, + "imported": { + "type": "Identifier", + "start": 1097, + "end": 1104, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 23 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + }, + "local": { + "type": "Identifier", + "start": 1097, + "end": 1104, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 23 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + } + }, + { + "type": "ImportSpecifier", + "start": 1106, + "end": 1122, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 41 + } + }, + "imported": { + "type": "Identifier", + "start": 1106, + "end": 1122, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 41 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + }, + "local": { + "type": "Identifier", + "start": 1106, + "end": 1122, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 41 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + } + }, + { + "type": "ImportSpecifier", + "start": 1124, + "end": 1139, + "loc": { + "start": { + "line": 36, + "column": 43 + }, + "end": { + "line": 36, + "column": 58 + } + }, + "imported": { + "type": "Identifier", + "start": 1124, + "end": 1139, + "loc": { + "start": { + "line": 36, + "column": 43 + }, + "end": { + "line": 36, + "column": 58 + }, + "identifierName": "MetricsSnapshot" + }, + "name": "MetricsSnapshot" + }, + "local": { + "type": "Identifier", + "start": 1124, + "end": 1139, + "loc": { + "start": { + "line": 36, + "column": 43 + }, + "end": { + "line": 36, + "column": 58 + }, + "identifierName": "MetricsSnapshot" + }, + "name": "MetricsSnapshot" + } + }, + { + "type": "ImportSpecifier", + "start": 1141, + "end": 1155, + "loc": { + "start": { + "line": 36, + "column": 60 + }, + "end": { + "line": 36, + "column": 74 + } + }, + "imported": { + "type": "Identifier", + "start": 1141, + "end": 1155, + "loc": { + "start": { + "line": 36, + "column": 60 + }, + "end": { + "line": 36, + "column": 74 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "local": { + "type": "Identifier", + "start": 1141, + "end": 1155, + "loc": { + "start": { + "line": 36, + "column": 60 + }, + "end": { + "line": 36, + "column": 74 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + } + }, + { + "type": "ImportSpecifier", + "start": 1157, + "end": 1166, + "loc": { + "start": { + "line": 36, + "column": 76 + }, + "end": { + "line": 36, + "column": 85 + } + }, + "imported": { + "type": "Identifier", + "start": 1157, + "end": 1166, + "loc": { + "start": { + "line": 36, + "column": 76 + }, + "end": { + "line": 36, + "column": 85 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "local": { + "type": "Identifier", + "start": 1157, + "end": 1166, + "loc": { + "start": { + "line": 36, + "column": 76 + }, + "end": { + "line": 36, + "column": 85 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + } + }, + { + "type": "ImportSpecifier", + "start": 1168, + "end": 1176, + "loc": { + "start": { + "line": 36, + "column": 87 + }, + "end": { + "line": 36, + "column": 95 + } + }, + "imported": { + "type": "Identifier", + "start": 1168, + "end": 1176, + "loc": { + "start": { + "line": 36, + "column": 87 + }, + "end": { + "line": 36, + "column": 95 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + }, + "local": { + "type": "Identifier", + "start": 1168, + "end": 1176, + "loc": { + "start": { + "line": 36, + "column": 87 + }, + "end": { + "line": 36, + "column": 95 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + } + }, + { + "type": "ImportSpecifier", + "start": 1178, + "end": 1182, + "loc": { + "start": { + "line": 36, + "column": 97 + }, + "end": { + "line": 36, + "column": 101 + } + }, + "imported": { + "type": "Identifier", + "start": 1178, + "end": 1182, + "loc": { + "start": { + "line": 36, + "column": 97 + }, + "end": { + "line": 36, + "column": 101 + }, + "identifierName": "Skew" + }, + "name": "Skew" + }, + "local": { + "type": "Identifier", + "start": 1178, + "end": 1182, + "loc": { + "start": { + "line": 36, + "column": 97 + }, + "end": { + "line": 36, + "column": 101 + }, + "identifierName": "Skew" + }, + "name": "Skew" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1190, + "end": 1210, + "loc": { + "start": { + "line": 36, + "column": 109 + }, + "end": { + "line": 36, + "column": 129 + } + }, + "extra": { + "rawValue": "./proto/metrics_pb", + "raw": "'./proto/metrics_pb'" + }, + "value": "./proto/metrics_pb" + } + }, + { + "type": "ImportDeclaration", + "start": 1212, + "end": 1286, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 74 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1221, + "end": 1249, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 37 + } + }, + "imported": { + "type": "Identifier", + "start": 1221, + "end": 1249, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 37 + }, + "identifierName": "MetricsSnapshotHandlerClient" + }, + "name": "MetricsSnapshotHandlerClient" + }, + "local": { + "type": "Identifier", + "start": 1221, + "end": 1249, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 37 + }, + "identifierName": "MetricsSnapshotHandlerClient" + }, + "name": "MetricsSnapshotHandlerClient" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1257, + "end": 1285, + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 73 + } + }, + "extra": { + "rawValue": "./proto/metrics_rsocket_pb", + "raw": "'./proto/metrics_rsocket_pb'" + }, + "value": "./proto/metrics_rsocket_pb" + } + }, + { + "type": "ImportDeclaration", + "start": 1287, + "end": 1327, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1294, + "end": 1305, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 1294, + "end": 1305, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 18 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1311, + "end": 1326, + "loc": { + "start": { + "line": 38, + "column": 24 + }, + "end": { + "line": 38, + "column": 39 + } + }, + "extra": { + "rawValue": "./RawMeterTag", + "raw": "'./RawMeterTag'" + }, + "value": "./RawMeterTag" + } + }, + { + "type": "ImportDeclaration", + "start": 1328, + "end": 1356, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 28 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1335, + "end": 1340, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 12 + } + }, + "local": { + "type": "Identifier", + "start": 1335, + "end": 1340, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 12 + }, + "identifierName": "Timer" + }, + "name": "Timer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1346, + "end": 1355, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 27 + } + }, + "extra": { + "rawValue": "./Timer", + "raw": "'./Timer'" + }, + "value": "./Timer" + } + }, + { + "type": "ImportDeclaration", + "start": 1357, + "end": 1407, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 50 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1366, + "end": 1380, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 23 + } + }, + "imported": { + "type": "Identifier", + "start": 1366, + "end": 1380, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 23 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + }, + "local": { + "type": "Identifier", + "start": 1366, + "end": 1380, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 23 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1388, + "end": 1406, + "loc": { + "start": { + "line": 40, + "column": 31 + }, + "end": { + "line": 40, + "column": 49 + } + }, + "extra": { + "rawValue": "./IMeterRegistry", + "raw": "'./IMeterRegistry'" + }, + "value": "./IMeterRegistry" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * An RSocket native metrics source.\n * @example\n * const meters = new SimpleMeterRegistry();\n * const snapshotClient = new MetricsSnapshotHandlerClient(rsocket);\n * metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);\n * metricsExporter.start();\n * @todo use {@link MetricsExporter#batchSize} to window the snapshots\n ", + "start": 1410, + "end": 1755, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 1756, + "end": 3760, + "loc": { + "start": { + "line": 52, + "column": 0 + }, + "end": { + "line": 119, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 1771, + "end": 3760, + "loc": { + "start": { + "line": 52, + "column": 15 + }, + "end": { + "line": 119, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1777, + "end": 1792, + "loc": { + "start": { + "line": 52, + "column": 21 + }, + "end": { + "line": 52, + "column": 36 + }, + "identifierName": "MetricsExporter" + }, + "name": "MetricsExporter", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 1793, + "end": 3760, + "loc": { + "start": { + "line": 52, + "column": 37 + }, + "end": { + "line": 119, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 1993, + "end": 2379, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1993, + "end": 2004, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 60, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2005, + "end": 2012, + "loc": { + "start": { + "line": 60, + "column": 14 + }, + "end": { + "line": 60, + "column": 21 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + { + "type": "Identifier", + "start": 2014, + "end": 2022, + "loc": { + "start": { + "line": 60, + "column": 23 + }, + "end": { + "line": 60, + "column": 31 + }, + "identifierName": "registry" + }, + "name": "registry" + }, + { + "type": "Identifier", + "start": 2024, + "end": 2043, + "loc": { + "start": { + "line": 60, + "column": 33 + }, + "end": { + "line": 60, + "column": 52 + }, + "identifierName": "exportPeriodSeconds" + }, + "name": "exportPeriodSeconds" + }, + { + "type": "Identifier", + "start": 2045, + "end": 2054, + "loc": { + "start": { + "line": 60, + "column": 54 + }, + "end": { + "line": 60, + "column": 63 + }, + "identifierName": "batchSize" + }, + "name": "batchSize" + } + ], + "body": { + "type": "BlockStatement", + "start": 2056, + "end": 2379, + "loc": { + "start": { + "line": 60, + "column": 65 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2110, + "end": 2133, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2110, + "end": 2132, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2110, + "end": 2122, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2110, + "end": 2114, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2115, + "end": 2122, + "loc": { + "start": { + "line": 62, + "column": 9 + }, + "end": { + "line": 62, + "column": 16 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 2125, + "end": 2132, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 26 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {MetricsSnapshotHandlerClient} ", + "start": 2062, + "end": 2105, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 47 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {IMeterRegistry} ", + "start": 2138, + "end": 2167, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 33 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2172, + "end": 2197, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2172, + "end": 2196, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2172, + "end": 2185, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 2172, + "end": 2176, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2177, + "end": 2185, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 17 + }, + "identifierName": "registry" + }, + "name": "registry" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 2188, + "end": 2196, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 28 + }, + "identifierName": "registry" + }, + "name": "registry" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {IMeterRegistry} ", + "start": 2138, + "end": 2167, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 33 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2202, + "end": 2223, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2228, + "end": 2275, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2228, + "end": 2274, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2228, + "end": 2252, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 2228, + "end": 2232, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2233, + "end": 2252, + "loc": { + "start": { + "line": 66, + "column": 9 + }, + "end": { + "line": 66, + "column": 28 + }, + "identifierName": "exportPeriodSeconds" + }, + "name": "exportPeriodSeconds" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 2255, + "end": 2274, + "loc": { + "start": { + "line": 66, + "column": 31 + }, + "end": { + "line": 66, + "column": 50 + }, + "identifierName": "exportPeriodSeconds" + }, + "name": "exportPeriodSeconds" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2202, + "end": 2223, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2280, + "end": 2301, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2306, + "end": 2333, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2306, + "end": 2332, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2306, + "end": 2320, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2306, + "end": 2310, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2311, + "end": 2320, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 18 + }, + "identifierName": "batchSize" + }, + "name": "batchSize" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 2323, + "end": 2332, + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 68, + "column": 30 + }, + "identifierName": "batchSize" + }, + "name": "batchSize" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2280, + "end": 2301, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " TODO: use this to window the snapshots", + "start": 2334, + "end": 2375, + "loc": { + "start": { + "line": 68, + "column": 32 + }, + "end": { + "line": 68, + "column": 73 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {MetricsSnapshotHandlerClient} handler -\n * @param {IMeterRegistry} registry -\n * @param {number} exportPeriodSeconds - \n * @param {number} batchSize - metrics count\n ", + "start": 1798, + "end": 1990, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 59, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Open the channel and begin to send metrics.\n * This is not re-entrant since we rely on the periodic event of the\n * interval timer.\n *\n * @throws {Error} if a metrics snapshot stream is already subscribed\n ", + "start": 2383, + "end": 2610, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2613, + "end": 3335, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 97, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2613, + "end": 2618, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 7 + }, + "identifierName": "start" + }, + "name": "start", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2621, + "end": 3335, + "loc": { + "start": { + "line": 78, + "column": 10 + }, + "end": { + "line": 97, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 2707, + "end": 2813, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 82, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 2711, + "end": 2730, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2711, + "end": 2715, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2716, + "end": 2730, + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 27 + }, + "identifierName": "intervalHandle" + }, + "name": "intervalHandle" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 2732, + "end": 2813, + "loc": { + "start": { + "line": 80, + "column": 29 + }, + "end": { + "line": 82, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 2740, + "end": 2807, + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 81, + "column": 73 + } + }, + "argument": { + "type": "NewExpression", + "start": 2746, + "end": 2806, + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 72 + } + }, + "callee": { + "type": "Identifier", + "start": 2750, + "end": 2755, + "loc": { + "start": { + "line": 81, + "column": 16 + }, + "end": { + "line": 81, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2756, + "end": 2805, + "loc": { + "start": { + "line": 81, + "column": 22 + }, + "end": { + "line": 81, + "column": 71 + } + }, + "extra": { + "rawValue": "A metrics snapshot stream is already subscribed", + "raw": "'A metrics snapshot stream is already subscribed'" + }, + "value": "A metrics snapshot stream is already subscribed" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Not re-entrant since we rely on the periodic event of the interval timer", + "start": 2627, + "end": 2702, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 79 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2819, + "end": 3331, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 96, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 2819, + "end": 3330, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 96, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2819, + "end": 2904, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 89 + } + }, + "object": { + "type": "CallExpression", + "start": 2819, + "end": 2894, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 79 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2819, + "end": 2845, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 2819, + "end": 2831, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2819, + "end": 2823, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2824, + "end": 2831, + "loc": { + "start": { + "line": 84, + "column": 9 + }, + "end": { + "line": 84, + "column": 16 + }, + "identifierName": "handler" + }, + "name": "handler" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2832, + "end": 2845, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 30 + }, + "identifierName": "streamMetrics" + }, + "name": "streamMetrics" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 2846, + "end": 2876, + "loc": { + "start": { + "line": 84, + "column": 31 + }, + "end": { + "line": 84, + "column": 61 + } + }, + "callee": { + "type": "Identifier", + "start": 2846, + "end": 2870, + "loc": { + "start": { + "line": 84, + "column": 31 + }, + "end": { + "line": 84, + "column": 55 + }, + "identifierName": "getMetricsSnapshotStream" + }, + "name": "getMetricsSnapshotStream" + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 2871, + "end": 2875, + "loc": { + "start": { + "line": 84, + "column": 56 + }, + "end": { + "line": 84, + "column": 60 + } + } + } + ] + }, + { + "type": "CallExpression", + "start": 2878, + "end": 2893, + "loc": { + "start": { + "line": 84, + "column": 63 + }, + "end": { + "line": 84, + "column": 78 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2878, + "end": 2890, + "loc": { + "start": { + "line": 84, + "column": 63 + }, + "end": { + "line": 84, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 2878, + "end": 2884, + "loc": { + "start": { + "line": 84, + "column": 63 + }, + "end": { + "line": 84, + "column": 69 + }, + "identifierName": "Buffer" + }, + "name": "Buffer" + }, + "property": { + "type": "Identifier", + "start": 2885, + "end": 2890, + "loc": { + "start": { + "line": 84, + "column": 70 + }, + "end": { + "line": 84, + "column": 75 + }, + "identifierName": "alloc" + }, + "name": "alloc" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2891, + "end": 2892, + "loc": { + "start": { + "line": 84, + "column": 76 + }, + "end": { + "line": 84, + "column": 77 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 2895, + "end": 2904, + "loc": { + "start": { + "line": 84, + "column": 80 + }, + "end": { + "line": 84, + "column": 89 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 2905, + "end": 3329, + "loc": { + "start": { + "line": 84, + "column": 90 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2913, + "end": 2950, + "loc": { + "start": { + "line": 85, + "column": 6 + }, + "end": { + "line": 85, + "column": 43 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2913, + "end": 2919, + "loc": { + "start": { + "line": 85, + "column": 6 + }, + "end": { + "line": 85, + "column": 12 + }, + "identifierName": "onNext" + }, + "name": "onNext" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 2921, + "end": 2950, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 43 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2921, + "end": 2925, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 18 + }, + "identifierName": "skew" + }, + "name": "skew" + } + ], + "body": { + "type": "CallExpression", + "start": 2929, + "end": 2950, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 43 + } + }, + "callee": { + "type": "Identifier", + "start": 2929, + "end": 2944, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 37 + }, + "identifierName": "recordClockSkew" + }, + "name": "recordClockSkew" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2945, + "end": 2949, + "loc": { + "start": { + "line": 85, + "column": 38 + }, + "end": { + "line": 85, + "column": 42 + }, + "identifierName": "skew" + }, + "name": "skew" + } + ] + } + } + }, + { + "type": "ObjectProperty", + "start": 2958, + "end": 2989, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 37 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2958, + "end": 2968, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 16 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 2970, + "end": 2989, + "loc": { + "start": { + "line": 86, + "column": 18 + }, + "end": { + "line": 86, + "column": 37 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 2976, + "end": 2989, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 37 + } + }, + "callee": { + "type": "Identifier", + "start": 2976, + "end": 2983, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 31 + }, + "identifierName": "restart" + }, + "name": "restart" + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 2984, + "end": 2988, + "loc": { + "start": { + "line": 86, + "column": 32 + }, + "end": { + "line": 86, + "column": 36 + } + } + } + ] + } + } + }, + { + "type": "ObjectProperty", + "start": 2997, + "end": 3102, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 90, + "column": 7 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2997, + "end": 3004, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 13 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 3006, + "end": 3102, + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 90, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3006, + "end": 3011, + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 20 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "BlockStatement", + "start": 3015, + "end": 3102, + "loc": { + "start": { + "line": 87, + "column": 24 + }, + "end": { + "line": 90, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3025, + "end": 3071, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 54 + } + }, + "expression": { + "type": "CallExpression", + "start": 3025, + "end": 3070, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3025, + "end": 3036, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 3025, + "end": 3032, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 15 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 3033, + "end": 3036, + "loc": { + "start": { + "line": 88, + "column": 16 + }, + "end": { + "line": 88, + "column": 19 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 3037, + "end": 3069, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 52 + } + }, + "left": { + "type": "StringLiteral", + "start": 3037, + "end": 3061, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 44 + } + }, + "extra": { + "rawValue": "MetricsExporter error:", + "raw": "'MetricsExporter error:'" + }, + "value": "MetricsExporter error:" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 3064, + "end": 3069, + "loc": { + "start": { + "line": 88, + "column": 47 + }, + "end": { + "line": 88, + "column": 52 + }, + "identifierName": "error" + }, + "name": "error" + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3080, + "end": 3094, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 3080, + "end": 3093, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 21 + } + }, + "callee": { + "type": "Identifier", + "start": 3080, + "end": 3087, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 15 + }, + "identifierName": "restart" + }, + "name": "restart" + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 3088, + "end": 3092, + "loc": { + "start": { + "line": 89, + "column": 16 + }, + "end": { + "line": 89, + "column": 20 + } + } + } + ] + } + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 3110, + "end": 3323, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 95, + "column": 7 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3110, + "end": 3121, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 17 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 3123, + "end": 3323, + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 95, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3123, + "end": 3135, + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 31 + }, + "identifierName": "subscription" + }, + "name": "subscription" + } + ], + "body": { + "type": "BlockStatement", + "start": 3139, + "end": 3323, + "loc": { + "start": { + "line": 91, + "column": 35 + }, + "end": { + "line": 95, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3181, + "end": 3221, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 48 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3181, + "end": 3220, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 47 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3181, + "end": 3198, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 3181, + "end": 3185, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3186, + "end": 3198, + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 25 + }, + "identifierName": "remoteCancel" + }, + "name": "remoteCancel" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 3201, + "end": 3220, + "loc": { + "start": { + "line": 93, + "column": 28 + }, + "end": { + "line": 93, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 3201, + "end": 3213, + "loc": { + "start": { + "line": 93, + "column": 28 + }, + "end": { + "line": 93, + "column": 40 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "property": { + "type": "Identifier", + "start": 3214, + "end": 3220, + "loc": { + "start": { + "line": 93, + "column": 41 + }, + "end": { + "line": 93, + "column": 47 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {function} ", + "start": 3149, + "end": 3172, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 31 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3230, + "end": 3263, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 3230, + "end": 3262, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3230, + "end": 3250, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 3230, + "end": 3242, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 20 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "property": { + "type": "Identifier", + "start": 3243, + "end": 3250, + "loc": { + "start": { + "line": 94, + "column": 21 + }, + "end": { + "line": 94, + "column": 28 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3251, + "end": 3261, + "loc": { + "start": { + "line": 94, + "column": 29 + }, + "end": { + "line": 94, + "column": 39 + } + }, + "extra": { + "rawValue": 2147483647, + "raw": "2147483647" + }, + "value": 2147483647 + } + ] + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " FaceBook thing - their Flowable only allows this", + "start": 3264, + "end": 3315, + "loc": { + "start": { + "line": 94, + "column": 42 + }, + "end": { + "line": 94, + "column": 93 + } + } + } + ] + } + ], + "directives": [] + } + } + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Open the channel and begin to send metrics.\n * This is not re-entrant since we rely on the periodic event of the\n * interval timer.\n *\n * @throws {Error} if a metrics snapshot stream is already subscribed\n ", + "start": 2383, + "end": 2610, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Stop sending metrics\n ", + "start": 3339, + "end": 3374, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 101, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3377, + "end": 3758, + "loc": { + "start": { + "line": 102, + "column": 2 + }, + "end": { + "line": 118, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3377, + "end": 3381, + "loc": { + "start": { + "line": 102, + "column": 2 + }, + "end": { + "line": 102, + "column": 6 + }, + "identifierName": "stop" + }, + "name": "stop", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3384, + "end": 3758, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 118, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3390, + "end": 3447, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 3394, + "end": 3411, + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 3394, + "end": 3398, + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3399, + "end": 3411, + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 103, + "column": 25 + }, + "identifierName": "remoteCancel" + }, + "name": "remoteCancel" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 3413, + "end": 3447, + "loc": { + "start": { + "line": 103, + "column": 27 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3421, + "end": 3441, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 3421, + "end": 3440, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3421, + "end": 3438, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 3421, + "end": 3425, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3426, + "end": 3438, + "loc": { + "start": { + "line": 104, + "column": 11 + }, + "end": { + "line": 104, + "column": 23 + }, + "identifierName": "remoteCancel" + }, + "name": "remoteCancel" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 3453, + "end": 3615, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 111, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 3457, + "end": 3478, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 3457, + "end": 3461, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3462, + "end": 3478, + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 29 + }, + "identifierName": "remoteSubscriber" + }, + "name": "remoteSubscriber" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 3480, + "end": 3615, + "loc": { + "start": { + "line": 107, + "column": 31 + }, + "end": { + "line": 111, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3488, + "end": 3523, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 3488, + "end": 3522, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3488, + "end": 3520, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 3488, + "end": 3509, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 3488, + "end": 3492, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3493, + "end": 3509, + "loc": { + "start": { + "line": 108, + "column": 11 + }, + "end": { + "line": 108, + "column": 27 + }, + "identifierName": "remoteSubscriber" + }, + "name": "remoteSubscriber" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3510, + "end": 3520, + "loc": { + "start": { + "line": 108, + "column": 28 + }, + "end": { + "line": 108, + "column": 38 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 3530, + "end": 3573, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 49 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3580, + "end": 3609, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3580, + "end": 3608, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3580, + "end": 3601, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 3580, + "end": 3584, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3585, + "end": 3601, + "loc": { + "start": { + "line": 110, + "column": 11 + }, + "end": { + "line": 110, + "column": 27 + }, + "identifierName": "remoteSubscriber" + }, + "name": "remoteSubscriber" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 3604, + "end": 3608, + "loc": { + "start": { + "line": 110, + "column": 30 + }, + "end": { + "line": 110, + "column": 34 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 3530, + "end": 3573, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 49 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 3621, + "end": 3754, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 117, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 3625, + "end": 3644, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 3625, + "end": 3629, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3630, + "end": 3644, + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 27 + }, + "identifierName": "intervalHandle" + }, + "name": "intervalHandle" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 3646, + "end": 3754, + "loc": { + "start": { + "line": 113, + "column": 29 + }, + "end": { + "line": 117, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3654, + "end": 3689, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 3654, + "end": 3688, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 3654, + "end": 3667, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 19 + }, + "identifierName": "clearInterval" + }, + "name": "clearInterval" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3668, + "end": 3687, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 3668, + "end": 3672, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 3673, + "end": 3687, + "loc": { + "start": { + "line": 114, + "column": 25 + }, + "end": { + "line": 114, + "column": 39 + }, + "identifierName": "intervalHandle" + }, + "name": "intervalHandle" + }, + "computed": false + } + ] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {any} ", + "start": 3696, + "end": 3714, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 24 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3721, + "end": 3748, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3721, + "end": 3747, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3721, + "end": 3740, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 3721, + "end": 3725, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3726, + "end": 3740, + "loc": { + "start": { + "line": 116, + "column": 11 + }, + "end": { + "line": 116, + "column": 25 + }, + "identifierName": "intervalHandle" + }, + "name": "intervalHandle" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 3743, + "end": 3747, + "loc": { + "start": { + "line": 116, + "column": 28 + }, + "end": { + "line": 116, + "column": 32 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {any} ", + "start": 3696, + "end": 3714, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 24 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Stop sending metrics\n ", + "start": 3339, + "end": 3374, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 101, + "column": 5 + } + } + } + ] + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * An RSocket native metrics source.\n * @example\n * const meters = new SimpleMeterRegistry();\n * const snapshotClient = new MetricsSnapshotHandlerClient(rsocket);\n * metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);\n * metricsExporter.start();\n * @todo use {@link MetricsExporter#batchSize} to window the snapshots\n ", + "start": 1410, + "end": 1755, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Stops and then restarts the given {@link MetricsExporter}.\n *\n * @param {MetricsExporter} exporter\n ", + "start": 3762, + "end": 3871, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * An RSocket native metrics source.\n * @example\n * const meters = new SimpleMeterRegistry();\n * const snapshotClient = new MetricsSnapshotHandlerClient(rsocket);\n * metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);\n * metricsExporter.start();\n * @todo use {@link MetricsExporter#batchSize} to window the snapshots\n ", + "start": 1410, + "end": 1755, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Stops and then restarts the given {@link MetricsExporter}.\n *\n * @param {MetricsExporter} exporter\n ", + "start": 3762, + "end": 3871, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 3872, + "end": 3941, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 3881, + "end": 3888, + "loc": { + "start": { + "line": 126, + "column": 9 + }, + "end": { + "line": 126, + "column": 16 + }, + "identifierName": "restart" + }, + "name": "restart", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3889, + "end": 3897, + "loc": { + "start": { + "line": 126, + "column": 17 + }, + "end": { + "line": 126, + "column": 25 + }, + "identifierName": "exporter" + }, + "name": "exporter" + } + ], + "body": { + "type": "BlockStatement", + "start": 3899, + "end": 3941, + "loc": { + "start": { + "line": 126, + "column": 27 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3903, + "end": 3919, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 127, + "column": 18 + } + }, + "expression": { + "type": "CallExpression", + "start": 3903, + "end": 3918, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 127, + "column": 17 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3903, + "end": 3916, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 127, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 3903, + "end": 3911, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 127, + "column": 10 + }, + "identifierName": "exporter" + }, + "name": "exporter" + }, + "property": { + "type": "Identifier", + "start": 3912, + "end": 3916, + "loc": { + "start": { + "line": 127, + "column": 11 + }, + "end": { + "line": 127, + "column": 15 + }, + "identifierName": "stop" + }, + "name": "stop" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 3922, + "end": 3939, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 3922, + "end": 3938, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3922, + "end": 3936, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 3922, + "end": 3930, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 10 + }, + "identifierName": "exporter" + }, + "name": "exporter" + }, + "property": { + "type": "Identifier", + "start": 3931, + "end": 3936, + "loc": { + "start": { + "line": 128, + "column": 11 + }, + "end": { + "line": 128, + "column": 16 + }, + "identifierName": "start" + }, + "name": "start" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Stops and then restarts the given {@link MetricsExporter}.\n *\n * @param {MetricsExporter} exporter\n ", + "start": 3762, + "end": 3871, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {MetricsExporter} exporter\n * @return {Flowable} Subscribe to this Flowable to get periodic metrics updates.\n ", + "start": 3943, + "end": 4086, + "loc": { + "start": { + "line": 131, + "column": 0 + }, + "end": { + "line": 134, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 4087, + "end": 5287, + "loc": { + "start": { + "line": 135, + "column": 0 + }, + "end": { + "line": 171, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 4096, + "end": 4120, + "loc": { + "start": { + "line": 135, + "column": 9 + }, + "end": { + "line": 135, + "column": 33 + }, + "identifierName": "getMetricsSnapshotStream" + }, + "name": "getMetricsSnapshotStream", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4121, + "end": 4129, + "loc": { + "start": { + "line": 135, + "column": 34 + }, + "end": { + "line": 135, + "column": 42 + }, + "identifierName": "exporter" + }, + "name": "exporter" + } + ], + "body": { + "type": "BlockStatement", + "start": 4131, + "end": 5287, + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 171, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4135, + "end": 5285, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 170, + "column": 5 + } + }, + "argument": { + "type": "NewExpression", + "start": 4142, + "end": 5284, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 170, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 4146, + "end": 4154, + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 21 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4155, + "end": 5283, + "loc": { + "start": { + "line": 136, + "column": 22 + }, + "end": { + "line": 170, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4155, + "end": 4165, + "loc": { + "start": { + "line": 136, + "column": 22 + }, + "end": { + "line": 136, + "column": 32 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "BlockStatement", + "start": 4169, + "end": 5283, + "loc": { + "start": { + "line": 136, + "column": 36 + }, + "end": { + "line": 170, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 4175, + "end": 4313, + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 140, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 4179, + "end": 4202, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 4179, + "end": 4187, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 16 + }, + "identifierName": "exporter" + }, + "name": "exporter" + }, + "property": { + "type": "Identifier", + "start": 4188, + "end": 4202, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 31 + }, + "identifierName": "intervalHandle" + }, + "name": "intervalHandle" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 4204, + "end": 4313, + "loc": { + "start": { + "line": 137, + "column": 33 + }, + "end": { + "line": 140, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4212, + "end": 4293, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 87 + } + }, + "expression": { + "type": "CallExpression", + "start": 4212, + "end": 4292, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 86 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4212, + "end": 4230, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 4212, + "end": 4222, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 16 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "property": { + "type": "Identifier", + "start": 4223, + "end": 4230, + "loc": { + "start": { + "line": 138, + "column": 17 + }, + "end": { + "line": 138, + "column": 24 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 4231, + "end": 4291, + "loc": { + "start": { + "line": 138, + "column": 25 + }, + "end": { + "line": 138, + "column": 85 + } + }, + "callee": { + "type": "Identifier", + "start": 4235, + "end": 4240, + "loc": { + "start": { + "line": 138, + "column": 29 + }, + "end": { + "line": 138, + "column": 34 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4241, + "end": 4290, + "loc": { + "start": { + "line": 138, + "column": 35 + }, + "end": { + "line": 138, + "column": 84 + } + }, + "extra": { + "rawValue": "A metrics snapshot stream is already subscribed", + "raw": "'A metrics snapshot stream is already subscribed'" + }, + "value": "A metrics snapshot stream is already subscribed" + } + ] + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 4300, + "end": 4307, + "loc": { + "start": { + "line": 139, + "column": 6 + }, + "end": { + "line": 139, + "column": 13 + } + }, + "argument": null + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Retain handle to subscriber so that we can complete on manual stop", + "start": 4319, + "end": 4388, + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 142, + "column": 73 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 4393, + "end": 4432, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4393, + "end": 4431, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4393, + "end": 4418, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 4393, + "end": 4401, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 12 + }, + "identifierName": "exporter" + }, + "name": "exporter", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4402, + "end": 4418, + "loc": { + "start": { + "line": 143, + "column": 13 + }, + "end": { + "line": 143, + "column": 29 + }, + "identifierName": "remoteSubscriber" + }, + "name": "remoteSubscriber" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 4421, + "end": 4431, + "loc": { + "start": { + "line": 143, + "column": 32 + }, + "end": { + "line": 143, + "column": 42 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Retain handle to subscriber so that we can complete on manual stop", + "start": 4319, + "end": 4388, + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 142, + "column": 73 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 4438, + "end": 4454, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 20 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4442, + "end": 4453, + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 4442, + "end": 4449, + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 15 + }, + "identifierName": "pending" + }, + "name": "pending" + }, + "init": { + "type": "NumericLiteral", + "start": 4452, + "end": 4453, + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 4459, + "end": 4552, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 97 + } + }, + "expression": { + "type": "CallExpression", + "start": 4459, + "end": 4551, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 96 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4459, + "end": 4470, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 4459, + "end": 4466, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 11 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 4467, + "end": 4470, + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 15 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 4471, + "end": 4550, + "loc": { + "start": { + "line": 146, + "column": 16 + }, + "end": { + "line": 146, + "column": 95 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4471, + "end": 4532, + "loc": { + "start": { + "line": 146, + "column": 16 + }, + "end": { + "line": 146, + "column": 77 + } + }, + "left": { + "type": "StringLiteral", + "start": 4471, + "end": 4494, + "loc": { + "start": { + "line": 146, + "column": 16 + }, + "end": { + "line": 146, + "column": 39 + } + }, + "extra": { + "rawValue": "Setting interval for ", + "raw": "'Setting interval for '" + }, + "value": "Setting interval for " + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 4497, + "end": 4532, + "loc": { + "start": { + "line": 146, + "column": 42 + }, + "end": { + "line": 146, + "column": 77 + } + }, + "left": { + "type": "MemberExpression", + "start": 4497, + "end": 4525, + "loc": { + "start": { + "line": 146, + "column": 42 + }, + "end": { + "line": 146, + "column": 70 + } + }, + "object": { + "type": "Identifier", + "start": 4497, + "end": 4505, + "loc": { + "start": { + "line": 146, + "column": 42 + }, + "end": { + "line": 146, + "column": 50 + }, + "identifierName": "exporter" + }, + "name": "exporter" + }, + "property": { + "type": "Identifier", + "start": 4506, + "end": 4525, + "loc": { + "start": { + "line": 146, + "column": 51 + }, + "end": { + "line": 146, + "column": 70 + }, + "identifierName": "exportPeriodSeconds" + }, + "name": "exportPeriodSeconds" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 4528, + "end": 4532, + "loc": { + "start": { + "line": 146, + "column": 73 + }, + "end": { + "line": 146, + "column": 77 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + } + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 4535, + "end": 4550, + "loc": { + "start": { + "line": 146, + "column": 80 + }, + "end": { + "line": 146, + "column": 95 + } + }, + "extra": { + "rawValue": " milliseconds", + "raw": "' milliseconds'" + }, + "value": " milliseconds" + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 4557, + "end": 5012, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 158, + "column": 44 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4557, + "end": 5011, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 158, + "column": 43 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4557, + "end": 4580, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 147, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 4557, + "end": 4565, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 147, + "column": 12 + }, + "identifierName": "exporter" + }, + "name": "exporter" + }, + "property": { + "type": "Identifier", + "start": 4566, + "end": 4580, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 27 + }, + "identifierName": "intervalHandle" + }, + "name": "intervalHandle" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4583, + "end": 5011, + "loc": { + "start": { + "line": 147, + "column": 30 + }, + "end": { + "line": 158, + "column": 43 + } + }, + "callee": { + "type": "Identifier", + "start": 4583, + "end": 4594, + "loc": { + "start": { + "line": 147, + "column": 30 + }, + "end": { + "line": 147, + "column": 41 + }, + "identifierName": "setInterval" + }, + "name": "setInterval" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4595, + "end": 4973, + "loc": { + "start": { + "line": 147, + "column": 42 + }, + "end": { + "line": 158, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4601, + "end": 4973, + "loc": { + "start": { + "line": 147, + "column": 48 + }, + "end": { + "line": 158, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 4609, + "end": 4967, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 157, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 4613, + "end": 4624, + "loc": { + "start": { + "line": 148, + "column": 10 + }, + "end": { + "line": 148, + "column": 21 + } + }, + "left": { + "type": "Identifier", + "start": 4613, + "end": 4620, + "loc": { + "start": { + "line": 148, + "column": 10 + }, + "end": { + "line": 148, + "column": 17 + }, + "identifierName": "pending" + }, + "name": "pending" + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 4623, + "end": 4624, + "loc": { + "start": { + "line": 148, + "column": 20 + }, + "end": { + "line": 148, + "column": 21 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4626, + "end": 4967, + "loc": { + "start": { + "line": 148, + "column": 23 + }, + "end": { + "line": 157, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 4636, + "end": 4728, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 100 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4642, + "end": 4727, + "loc": { + "start": { + "line": 149, + "column": 14 + }, + "end": { + "line": 149, + "column": 99 + } + }, + "id": { + "type": "Identifier", + "start": 4642, + "end": 4651, + "loc": { + "start": { + "line": 149, + "column": 14 + }, + "end": { + "line": 149, + "column": 23 + }, + "identifierName": "allMeters" + }, + "name": "allMeters" + }, + "init": { + "type": "CallExpression", + "start": 4654, + "end": 4727, + "loc": { + "start": { + "line": 149, + "column": 26 + }, + "end": { + "line": 149, + "column": 99 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4654, + "end": 4682, + "loc": { + "start": { + "line": 149, + "column": 26 + }, + "end": { + "line": 149, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 4654, + "end": 4676, + "loc": { + "start": { + "line": 149, + "column": 26 + }, + "end": { + "line": 149, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 4654, + "end": 4669, + "loc": { + "start": { + "line": 149, + "column": 26 + }, + "end": { + "line": 149, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 4654, + "end": 4659, + "loc": { + "start": { + "line": 149, + "column": 26 + }, + "end": { + "line": 149, + "column": 31 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 4660, + "end": 4669, + "loc": { + "start": { + "line": 149, + "column": 32 + }, + "end": { + "line": 149, + "column": 41 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4670, + "end": 4676, + "loc": { + "start": { + "line": 149, + "column": 42 + }, + "end": { + "line": 149, + "column": 48 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4677, + "end": 4682, + "loc": { + "start": { + "line": 149, + "column": 49 + }, + "end": { + "line": 149, + "column": 54 + }, + "identifierName": "apply" + }, + "name": "apply" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 4683, + "end": 4685, + "loc": { + "start": { + "line": 149, + "column": 55 + }, + "end": { + "line": 149, + "column": 57 + } + }, + "elements": [] + }, + { + "type": "CallExpression", + "start": 4687, + "end": 4726, + "loc": { + "start": { + "line": 149, + "column": 59 + }, + "end": { + "line": 149, + "column": 98 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4687, + "end": 4717, + "loc": { + "start": { + "line": 149, + "column": 59 + }, + "end": { + "line": 149, + "column": 89 + } + }, + "object": { + "type": "CallExpression", + "start": 4687, + "end": 4713, + "loc": { + "start": { + "line": 149, + "column": 59 + }, + "end": { + "line": 149, + "column": 85 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4687, + "end": 4711, + "loc": { + "start": { + "line": 149, + "column": 59 + }, + "end": { + "line": 149, + "column": 83 + } + }, + "object": { + "type": "MemberExpression", + "start": 4687, + "end": 4704, + "loc": { + "start": { + "line": 149, + "column": 59 + }, + "end": { + "line": 149, + "column": 76 + } + }, + "object": { + "type": "Identifier", + "start": 4687, + "end": 4695, + "loc": { + "start": { + "line": 149, + "column": 59 + }, + "end": { + "line": 149, + "column": 67 + }, + "identifierName": "exporter" + }, + "name": "exporter" + }, + "property": { + "type": "Identifier", + "start": 4696, + "end": 4704, + "loc": { + "start": { + "line": 149, + "column": 68 + }, + "end": { + "line": 149, + "column": 76 + }, + "identifierName": "registry" + }, + "name": "registry" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4705, + "end": 4711, + "loc": { + "start": { + "line": 149, + "column": 77 + }, + "end": { + "line": 149, + "column": 83 + }, + "identifierName": "meters" + }, + "name": "meters" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 4714, + "end": 4717, + "loc": { + "start": { + "line": 149, + "column": 86 + }, + "end": { + "line": 149, + "column": 89 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4718, + "end": 4725, + "loc": { + "start": { + "line": 149, + "column": 90 + }, + "end": { + "line": 149, + "column": 97 + }, + "identifierName": "convert" + }, + "name": "convert" + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4737, + "end": 4897, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 153, + "column": 34 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4743, + "end": 4896, + "loc": { + "start": { + "line": 150, + "column": 14 + }, + "end": { + "line": 153, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 4743, + "end": 4756, + "loc": { + "start": { + "line": 150, + "column": 14 + }, + "end": { + "line": 150, + "column": 27 + }, + "identifierName": "meterSnapshot" + }, + "name": "meterSnapshot" + }, + "init": { + "type": "CallExpression", + "start": 4759, + "end": 4896, + "loc": { + "start": { + "line": 150, + "column": 30 + }, + "end": { + "line": 153, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4759, + "end": 4775, + "loc": { + "start": { + "line": 150, + "column": 30 + }, + "end": { + "line": 150, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 4759, + "end": 4768, + "loc": { + "start": { + "line": 150, + "column": 30 + }, + "end": { + "line": 150, + "column": 39 + }, + "identifierName": "allMeters" + }, + "name": "allMeters" + }, + "property": { + "type": "Identifier", + "start": 4769, + "end": 4775, + "loc": { + "start": { + "line": 150, + "column": 40 + }, + "end": { + "line": 150, + "column": 46 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4776, + "end": 4872, + "loc": { + "start": { + "line": 150, + "column": 47 + }, + "end": { + "line": 153, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4777, + "end": 4785, + "loc": { + "start": { + "line": 150, + "column": 48 + }, + "end": { + "line": 150, + "column": 56 + }, + "identifierName": "snapshot" + }, + "name": "snapshot" + }, + { + "type": "Identifier", + "start": 4787, + "end": 4792, + "loc": { + "start": { + "line": 150, + "column": 58 + }, + "end": { + "line": 150, + "column": 63 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ], + "body": { + "type": "BlockStatement", + "start": 4797, + "end": 4872, + "loc": { + "start": { + "line": 150, + "column": 68 + }, + "end": { + "line": 153, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4809, + "end": 4835, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 4809, + "end": 4834, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4809, + "end": 4827, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 4809, + "end": 4817, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 18 + }, + "identifierName": "snapshot" + }, + "name": "snapshot" + }, + "property": { + "type": "Identifier", + "start": 4818, + "end": 4827, + "loc": { + "start": { + "line": 151, + "column": 19 + }, + "end": { + "line": 151, + "column": 28 + }, + "identifierName": "addMeters" + }, + "name": "addMeters" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4828, + "end": 4833, + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 151, + "column": 34 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 4846, + "end": 4862, + "loc": { + "start": { + "line": 152, + "column": 10 + }, + "end": { + "line": 152, + "column": 26 + } + }, + "argument": { + "type": "Identifier", + "start": 4853, + "end": 4861, + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 25 + }, + "identifierName": "snapshot" + }, + "name": "snapshot" + } + } + ], + "directives": [] + } + }, + { + "type": "NewExpression", + "start": 4874, + "end": 4895, + "loc": { + "start": { + "line": 153, + "column": 11 + }, + "end": { + "line": 153, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 4878, + "end": 4893, + "loc": { + "start": { + "line": 153, + "column": 15 + }, + "end": { + "line": 153, + "column": 30 + }, + "identifierName": "MetricsSnapshot" + }, + "name": "MetricsSnapshot" + }, + "arguments": [] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 4907, + "end": 4940, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 4907, + "end": 4939, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4907, + "end": 4924, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 4907, + "end": 4917, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 18 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "property": { + "type": "Identifier", + "start": 4918, + "end": 4924, + "loc": { + "start": { + "line": 155, + "column": 19 + }, + "end": { + "line": 155, + "column": 25 + }, + "identifierName": "onNext" + }, + "name": "onNext" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4925, + "end": 4938, + "loc": { + "start": { + "line": 155, + "column": 26 + }, + "end": { + "line": 155, + "column": 39 + }, + "identifierName": "meterSnapshot" + }, + "name": "meterSnapshot" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 4949, + "end": 4959, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 18 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 4949, + "end": 4958, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 17 + } + }, + "operator": "--", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 4949, + "end": 4956, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 15 + }, + "identifierName": "pending" + }, + "name": "pending" + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "BinaryExpression", + "start": 4975, + "end": 5010, + "loc": { + "start": { + "line": 158, + "column": 7 + }, + "end": { + "line": 158, + "column": 42 + } + }, + "left": { + "type": "MemberExpression", + "start": 4975, + "end": 5003, + "loc": { + "start": { + "line": 158, + "column": 7 + }, + "end": { + "line": 158, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 4975, + "end": 4983, + "loc": { + "start": { + "line": 158, + "column": 7 + }, + "end": { + "line": 158, + "column": 15 + }, + "identifierName": "exporter" + }, + "name": "exporter" + }, + "property": { + "type": "Identifier", + "start": 4984, + "end": 5003, + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 35 + }, + "identifierName": "exportPeriodSeconds" + }, + "name": "exportPeriodSeconds" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 5006, + "end": 5010, + "loc": { + "start": { + "line": 158, + "column": 38 + }, + "end": { + "line": 158, + "column": 42 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5018, + "end": 5279, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 169, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 5018, + "end": 5278, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 169, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5018, + "end": 5040, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 5018, + "end": 5028, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 14 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "property": { + "type": "Identifier", + "start": 5029, + "end": 5040, + "loc": { + "start": { + "line": 160, + "column": 15 + }, + "end": { + "line": 160, + "column": 26 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 5041, + "end": 5277, + "loc": { + "start": { + "line": 160, + "column": 27 + }, + "end": { + "line": 169, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 5049, + "end": 5218, + "loc": { + "start": { + "line": 161, + "column": 6 + }, + "end": { + "line": 165, + "column": 7 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5049, + "end": 5055, + "loc": { + "start": { + "line": 161, + "column": 6 + }, + "end": { + "line": 161, + "column": 12 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 5057, + "end": 5218, + "loc": { + "start": { + "line": 161, + "column": 14 + }, + "end": { + "line": 165, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5063, + "end": 5218, + "loc": { + "start": { + "line": 161, + "column": 20 + }, + "end": { + "line": 165, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5152, + "end": 5185, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5152, + "end": 5184, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 40 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5152, + "end": 5177, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 5152, + "end": 5160, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 16 + }, + "identifierName": "exporter" + }, + "name": "exporter", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 5161, + "end": 5177, + "loc": { + "start": { + "line": 163, + "column": 17 + }, + "end": { + "line": 163, + "column": 33 + }, + "identifierName": "remoteSubscriber" + }, + "name": "remoteSubscriber" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 5180, + "end": 5184, + "loc": { + "start": { + "line": 163, + "column": 36 + }, + "end": { + "line": 163, + "column": 40 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " They won't care about the \"complete\" in this case, remove reference", + "start": 5073, + "end": 5143, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 78 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 5194, + "end": 5210, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 5194, + "end": 5209, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5194, + "end": 5207, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 5194, + "end": 5202, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 16 + }, + "identifierName": "exporter" + }, + "name": "exporter" + }, + "property": { + "type": "Identifier", + "start": 5203, + "end": 5207, + "loc": { + "start": { + "line": 164, + "column": 17 + }, + "end": { + "line": 164, + "column": 21 + }, + "identifierName": "stop" + }, + "name": "stop" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 5226, + "end": 5271, + "loc": { + "start": { + "line": 166, + "column": 6 + }, + "end": { + "line": 168, + "column": 7 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5226, + "end": 5233, + "loc": { + "start": { + "line": 166, + "column": 6 + }, + "end": { + "line": 166, + "column": 13 + }, + "identifierName": "request" + }, + "name": "request" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 5235, + "end": 5271, + "loc": { + "start": { + "line": 166, + "column": 15 + }, + "end": { + "line": 168, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5235, + "end": 5236, + "loc": { + "start": { + "line": 166, + "column": 15 + }, + "end": { + "line": 166, + "column": 16 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 5240, + "end": 5271, + "loc": { + "start": { + "line": 166, + "column": 20 + }, + "end": { + "line": 168, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5250, + "end": 5263, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5250, + "end": 5262, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 20 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 5250, + "end": 5257, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 15 + }, + "identifierName": "pending" + }, + "name": "pending" + }, + "right": { + "type": "Identifier", + "start": 5261, + "end": 5262, + "loc": { + "start": { + "line": 167, + "column": 19 + }, + "end": { + "line": 167, + "column": 20 + }, + "identifierName": "n" + }, + "name": "n" + } + } + } + ], + "directives": [] + } + } + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {MetricsExporter} exporter\n * @return {Flowable} Subscribe to this Flowable to get periodic metrics updates.\n ", + "start": 3943, + "end": 4086, + "loc": { + "start": { + "line": 131, + "column": 0 + }, + "end": { + "line": 134, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} meter\n * @return {Meter[]}\n * @throws {Error} if {@link meter} is of an unknown {@link IMeter.type}.\n ", + "start": 5289, + "end": 5416, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 5417, + "end": 5858, + "loc": { + "start": { + "line": 178, + "column": 0 + }, + "end": { + "line": 192, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 5426, + "end": 5433, + "loc": { + "start": { + "line": 178, + "column": 9 + }, + "end": { + "line": 178, + "column": 16 + }, + "identifierName": "convert" + }, + "name": "convert", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5434, + "end": 5439, + "loc": { + "start": { + "line": 178, + "column": 17 + }, + "end": { + "line": 178, + "column": 22 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ], + "body": { + "type": "BlockStatement", + "start": 5441, + "end": 5858, + "loc": { + "start": { + "line": 178, + "column": 24 + }, + "end": { + "line": 192, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 5445, + "end": 5491, + "loc": { + "start": { + "line": 179, + "column": 2 + }, + "end": { + "line": 179, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5451, + "end": 5490, + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 5451, + "end": 5460, + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 17 + }, + "identifierName": "meterType" + }, + "name": "meterType" + }, + "init": { + "type": "CallExpression", + "start": 5463, + "end": 5490, + "loc": { + "start": { + "line": 179, + "column": 20 + }, + "end": { + "line": 179, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 5463, + "end": 5478, + "loc": { + "start": { + "line": 179, + "column": 20 + }, + "end": { + "line": 179, + "column": 35 + }, + "identifierName": "meterTypeLookup" + }, + "name": "meterTypeLookup" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 5479, + "end": 5489, + "loc": { + "start": { + "line": 179, + "column": 36 + }, + "end": { + "line": 179, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 5479, + "end": 5484, + "loc": { + "start": { + "line": 179, + "column": 36 + }, + "end": { + "line": 179, + "column": 41 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 5485, + "end": 5489, + "loc": { + "start": { + "line": 179, + "column": 42 + }, + "end": { + "line": 179, + "column": 46 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "SwitchStatement", + "start": 5494, + "end": 5856, + "loc": { + "start": { + "line": 180, + "column": 2 + }, + "end": { + "line": 191, + "column": 3 + } + }, + "discriminant": { + "type": "Identifier", + "start": 5502, + "end": 5511, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 19 + }, + "identifierName": "meterType" + }, + "name": "meterType" + }, + "cases": [ + { + "type": "SwitchCase", + "start": 5519, + "end": 5582, + "loc": { + "start": { + "line": 181, + "column": 4 + }, + "end": { + "line": 182, + "column": 41 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 5547, + "end": 5582, + "loc": { + "start": { + "line": 182, + "column": 6 + }, + "end": { + "line": 182, + "column": 41 + } + }, + "argument": { + "type": "CallExpression", + "start": 5554, + "end": 5581, + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 182, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5554, + "end": 5567, + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 182, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 5554, + "end": 5559, + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 182, + "column": 18 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 5560, + "end": 5567, + "loc": { + "start": { + "line": 182, + "column": 19 + }, + "end": { + "line": 182, + "column": 26 + }, + "identifierName": "convert" + }, + "name": "convert" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5568, + "end": 5580, + "loc": { + "start": { + "line": 182, + "column": 27 + }, + "end": { + "line": 182, + "column": 39 + }, + "identifierName": "convertTimer" + }, + "name": "convertTimer" + } + ] + } + } + ], + "test": { + "type": "MemberExpression", + "start": 5524, + "end": 5539, + "loc": { + "start": { + "line": 181, + "column": 9 + }, + "end": { + "line": 181, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 5524, + "end": 5533, + "loc": { + "start": { + "line": 181, + "column": 9 + }, + "end": { + "line": 181, + "column": 18 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 5534, + "end": 5539, + "loc": { + "start": { + "line": 181, + "column": 19 + }, + "end": { + "line": 181, + "column": 24 + }, + "identifierName": "TIMER" + }, + "name": "TIMER" + }, + "computed": false + } + }, + { + "type": "SwitchCase", + "start": 5587, + "end": 5610, + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 183, + "column": 27 + } + }, + "consequent": [], + "test": { + "type": "MemberExpression", + "start": 5592, + "end": 5609, + "loc": { + "start": { + "line": 183, + "column": 9 + }, + "end": { + "line": 183, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 5592, + "end": 5601, + "loc": { + "start": { + "line": 183, + "column": 9 + }, + "end": { + "line": 183, + "column": 18 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 5602, + "end": 5609, + "loc": { + "start": { + "line": 183, + "column": 19 + }, + "end": { + "line": 183, + "column": 26 + }, + "identifierName": "COUNTER" + }, + "name": "COUNTER" + }, + "computed": false + } + }, + { + "type": "SwitchCase", + "start": 5615, + "end": 5636, + "loc": { + "start": { + "line": 184, + "column": 4 + }, + "end": { + "line": 184, + "column": 25 + } + }, + "consequent": [], + "test": { + "type": "MemberExpression", + "start": 5620, + "end": 5635, + "loc": { + "start": { + "line": 184, + "column": 9 + }, + "end": { + "line": 184, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 5620, + "end": 5629, + "loc": { + "start": { + "line": 184, + "column": 9 + }, + "end": { + "line": 184, + "column": 18 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 5630, + "end": 5635, + "loc": { + "start": { + "line": 184, + "column": 19 + }, + "end": { + "line": 184, + "column": 24 + }, + "identifierName": "GAUGE" + }, + "name": "GAUGE" + }, + "computed": false + } + }, + { + "type": "SwitchCase", + "start": 5641, + "end": 5672, + "loc": { + "start": { + "line": 185, + "column": 4 + }, + "end": { + "line": 185, + "column": 35 + } + }, + "consequent": [], + "test": { + "type": "MemberExpression", + "start": 5646, + "end": 5671, + "loc": { + "start": { + "line": 185, + "column": 9 + }, + "end": { + "line": 185, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 5646, + "end": 5655, + "loc": { + "start": { + "line": 185, + "column": 9 + }, + "end": { + "line": 185, + "column": 18 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 5656, + "end": 5671, + "loc": { + "start": { + "line": 185, + "column": 19 + }, + "end": { + "line": 185, + "column": 34 + }, + "identifierName": "LONG_TASK_TIMER" + }, + "name": "LONG_TASK_TIMER" + }, + "computed": false + } + }, + { + "type": "SwitchCase", + "start": 5677, + "end": 5713, + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 186, + "column": 40 + } + }, + "consequent": [], + "test": { + "type": "MemberExpression", + "start": 5682, + "end": 5712, + "loc": { + "start": { + "line": 186, + "column": 9 + }, + "end": { + "line": 186, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 5682, + "end": 5691, + "loc": { + "start": { + "line": 186, + "column": 9 + }, + "end": { + "line": 186, + "column": 18 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 5692, + "end": 5712, + "loc": { + "start": { + "line": 186, + "column": 19 + }, + "end": { + "line": 186, + "column": 39 + }, + "identifierName": "DISTRIBUTION_SUMMARY" + }, + "name": "DISTRIBUTION_SUMMARY" + }, + "computed": false + } + }, + { + "type": "SwitchCase", + "start": 5718, + "end": 5783, + "loc": { + "start": { + "line": 187, + "column": 4 + }, + "end": { + "line": 188, + "column": 43 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 5746, + "end": 5783, + "loc": { + "start": { + "line": 188, + "column": 6 + }, + "end": { + "line": 188, + "column": 43 + } + }, + "argument": { + "type": "CallExpression", + "start": 5753, + "end": 5782, + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5753, + "end": 5766, + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 5753, + "end": 5758, + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 18 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 5759, + "end": 5766, + "loc": { + "start": { + "line": 188, + "column": 19 + }, + "end": { + "line": 188, + "column": 26 + }, + "identifierName": "convert" + }, + "name": "convert" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5767, + "end": 5781, + "loc": { + "start": { + "line": 188, + "column": 27 + }, + "end": { + "line": 188, + "column": 41 + }, + "identifierName": "basicConverter" + }, + "name": "basicConverter" + } + ] + } + } + ], + "test": { + "type": "MemberExpression", + "start": 5723, + "end": 5738, + "loc": { + "start": { + "line": 187, + "column": 9 + }, + "end": { + "line": 187, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 5723, + "end": 5732, + "loc": { + "start": { + "line": 187, + "column": 9 + }, + "end": { + "line": 187, + "column": 18 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 5733, + "end": 5738, + "loc": { + "start": { + "line": 187, + "column": 19 + }, + "end": { + "line": 187, + "column": 24 + }, + "identifierName": "OTHER" + }, + "name": "OTHER" + }, + "computed": false + } + }, + { + "type": "SwitchCase", + "start": 5788, + "end": 5852, + "loc": { + "start": { + "line": 189, + "column": 4 + }, + "end": { + "line": 190, + "column": 55 + } + }, + "consequent": [ + { + "type": "ThrowStatement", + "start": 5803, + "end": 5852, + "loc": { + "start": { + "line": 190, + "column": 6 + }, + "end": { + "line": 190, + "column": 55 + } + }, + "argument": { + "type": "NewExpression", + "start": 5809, + "end": 5851, + "loc": { + "start": { + "line": 190, + "column": 12 + }, + "end": { + "line": 190, + "column": 54 + } + }, + "callee": { + "type": "Identifier", + "start": 5813, + "end": 5818, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 5819, + "end": 5850, + "loc": { + "start": { + "line": 190, + "column": 22 + }, + "end": { + "line": 190, + "column": 53 + } + }, + "left": { + "type": "StringLiteral", + "start": 5819, + "end": 5838, + "loc": { + "start": { + "line": 190, + "column": 22 + }, + "end": { + "line": 190, + "column": 41 + } + }, + "extra": { + "rawValue": "unsupported type ", + "raw": "'unsupported type '" + }, + "value": "unsupported type " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 5841, + "end": 5850, + "loc": { + "start": { + "line": 190, + "column": 44 + }, + "end": { + "line": 190, + "column": 53 + }, + "identifierName": "meterType" + }, + "name": "meterType" + } + } + ] + } + } + ], + "test": null + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} meter\n * @return {Meter[]}\n * @throws {Error} if {@link meter} is of an unknown {@link IMeter.type}.\n ", + "start": 5289, + "end": 5416, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a {@link MeterType} enum corresponding to the name of a meter type.\n *\n * @param {string} meterType - one of \"gauge\", \"timer\", \"counter\", \"longTaskTimer\", \"distribtionSummary\", or \"other\"\n * @return a {@link MeterType} enum corresponding to the {@link meterType} string\n * @throws {Error} if a string not among the above values is submitted as the {@link meterType} parameter\n ", + "start": 5860, + "end": 6253, + "loc": { + "start": { + "line": 194, + "column": 0 + }, + "end": { + "line": 200, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 6254, + "end": 6724, + "loc": { + "start": { + "line": 201, + "column": 0 + }, + "end": { + "line": 218, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 6263, + "end": 6278, + "loc": { + "start": { + "line": 201, + "column": 9 + }, + "end": { + "line": 201, + "column": 24 + }, + "identifierName": "meterTypeLookup" + }, + "name": "meterTypeLookup", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6279, + "end": 6288, + "loc": { + "start": { + "line": 201, + "column": 25 + }, + "end": { + "line": 201, + "column": 34 + }, + "identifierName": "meterType" + }, + "name": "meterType" + } + ], + "body": { + "type": "BlockStatement", + "start": 6290, + "end": 6724, + "loc": { + "start": { + "line": 201, + "column": 36 + }, + "end": { + "line": 218, + "column": 1 + } + }, + "body": [ + { + "type": "SwitchStatement", + "start": 6294, + "end": 6722, + "loc": { + "start": { + "line": 202, + "column": 2 + }, + "end": { + "line": 217, + "column": 3 + } + }, + "discriminant": { + "type": "Identifier", + "start": 6302, + "end": 6311, + "loc": { + "start": { + "line": 202, + "column": 10 + }, + "end": { + "line": 202, + "column": 19 + }, + "identifierName": "meterType" + }, + "name": "meterType" + }, + "cases": [ + { + "type": "SwitchCase", + "start": 6319, + "end": 6362, + "loc": { + "start": { + "line": 203, + "column": 4 + }, + "end": { + "line": 204, + "column": 29 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 6339, + "end": 6362, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 29 + } + }, + "argument": { + "type": "MemberExpression", + "start": 6346, + "end": 6361, + "loc": { + "start": { + "line": 204, + "column": 13 + }, + "end": { + "line": 204, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 6346, + "end": 6355, + "loc": { + "start": { + "line": 204, + "column": 13 + }, + "end": { + "line": 204, + "column": 22 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 6356, + "end": 6361, + "loc": { + "start": { + "line": 204, + "column": 23 + }, + "end": { + "line": 204, + "column": 28 + }, + "identifierName": "GAUGE" + }, + "name": "GAUGE" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 6324, + "end": 6331, + "loc": { + "start": { + "line": 203, + "column": 9 + }, + "end": { + "line": 203, + "column": 16 + } + }, + "extra": { + "rawValue": "gauge", + "raw": "'gauge'" + }, + "value": "gauge" + } + }, + { + "type": "SwitchCase", + "start": 6367, + "end": 6410, + "loc": { + "start": { + "line": 205, + "column": 4 + }, + "end": { + "line": 206, + "column": 29 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 6387, + "end": 6410, + "loc": { + "start": { + "line": 206, + "column": 6 + }, + "end": { + "line": 206, + "column": 29 + } + }, + "argument": { + "type": "MemberExpression", + "start": 6394, + "end": 6409, + "loc": { + "start": { + "line": 206, + "column": 13 + }, + "end": { + "line": 206, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 6394, + "end": 6403, + "loc": { + "start": { + "line": 206, + "column": 13 + }, + "end": { + "line": 206, + "column": 22 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 6404, + "end": 6409, + "loc": { + "start": { + "line": 206, + "column": 23 + }, + "end": { + "line": 206, + "column": 28 + }, + "identifierName": "TIMER" + }, + "name": "TIMER" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 6372, + "end": 6379, + "loc": { + "start": { + "line": 205, + "column": 9 + }, + "end": { + "line": 205, + "column": 16 + } + }, + "extra": { + "rawValue": "timer", + "raw": "'timer'" + }, + "value": "timer" + } + }, + { + "type": "SwitchCase", + "start": 6415, + "end": 6462, + "loc": { + "start": { + "line": 207, + "column": 4 + }, + "end": { + "line": 208, + "column": 31 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 6437, + "end": 6462, + "loc": { + "start": { + "line": 208, + "column": 6 + }, + "end": { + "line": 208, + "column": 31 + } + }, + "argument": { + "type": "MemberExpression", + "start": 6444, + "end": 6461, + "loc": { + "start": { + "line": 208, + "column": 13 + }, + "end": { + "line": 208, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 6444, + "end": 6453, + "loc": { + "start": { + "line": 208, + "column": 13 + }, + "end": { + "line": 208, + "column": 22 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 6454, + "end": 6461, + "loc": { + "start": { + "line": 208, + "column": 23 + }, + "end": { + "line": 208, + "column": 30 + }, + "identifierName": "COUNTER" + }, + "name": "COUNTER" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 6420, + "end": 6429, + "loc": { + "start": { + "line": 207, + "column": 9 + }, + "end": { + "line": 207, + "column": 18 + } + }, + "extra": { + "rawValue": "counter", + "raw": "'counter'" + }, + "value": "counter" + } + }, + { + "type": "SwitchCase", + "start": 6467, + "end": 6528, + "loc": { + "start": { + "line": 209, + "column": 4 + }, + "end": { + "line": 210, + "column": 39 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 6495, + "end": 6528, + "loc": { + "start": { + "line": 210, + "column": 6 + }, + "end": { + "line": 210, + "column": 39 + } + }, + "argument": { + "type": "MemberExpression", + "start": 6502, + "end": 6527, + "loc": { + "start": { + "line": 210, + "column": 13 + }, + "end": { + "line": 210, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 6502, + "end": 6511, + "loc": { + "start": { + "line": 210, + "column": 13 + }, + "end": { + "line": 210, + "column": 22 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 6512, + "end": 6527, + "loc": { + "start": { + "line": 210, + "column": 23 + }, + "end": { + "line": 210, + "column": 38 + }, + "identifierName": "LONG_TASK_TIMER" + }, + "name": "LONG_TASK_TIMER" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 6472, + "end": 6487, + "loc": { + "start": { + "line": 209, + "column": 9 + }, + "end": { + "line": 209, + "column": 24 + } + }, + "extra": { + "rawValue": "longTaskTimer", + "raw": "'longTaskTimer'" + }, + "value": "longTaskTimer" + } + }, + { + "type": "SwitchCase", + "start": 6533, + "end": 6605, + "loc": { + "start": { + "line": 211, + "column": 4 + }, + "end": { + "line": 212, + "column": 44 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 6567, + "end": 6605, + "loc": { + "start": { + "line": 212, + "column": 6 + }, + "end": { + "line": 212, + "column": 44 + } + }, + "argument": { + "type": "MemberExpression", + "start": 6574, + "end": 6604, + "loc": { + "start": { + "line": 212, + "column": 13 + }, + "end": { + "line": 212, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 6574, + "end": 6583, + "loc": { + "start": { + "line": 212, + "column": 13 + }, + "end": { + "line": 212, + "column": 22 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 6584, + "end": 6604, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 43 + }, + "identifierName": "DISTRIBUTION_SUMMARY" + }, + "name": "DISTRIBUTION_SUMMARY" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 6538, + "end": 6559, + "loc": { + "start": { + "line": 211, + "column": 9 + }, + "end": { + "line": 211, + "column": 30 + } + }, + "extra": { + "rawValue": "distributionSummary", + "raw": "'distributionSummary'" + }, + "value": "distributionSummary" + } + }, + { + "type": "SwitchCase", + "start": 6610, + "end": 6653, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 214, + "column": 29 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 6630, + "end": 6653, + "loc": { + "start": { + "line": 214, + "column": 6 + }, + "end": { + "line": 214, + "column": 29 + } + }, + "argument": { + "type": "MemberExpression", + "start": 6637, + "end": 6652, + "loc": { + "start": { + "line": 214, + "column": 13 + }, + "end": { + "line": 214, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 6637, + "end": 6646, + "loc": { + "start": { + "line": 214, + "column": 13 + }, + "end": { + "line": 214, + "column": 22 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 6647, + "end": 6652, + "loc": { + "start": { + "line": 214, + "column": 23 + }, + "end": { + "line": 214, + "column": 28 + }, + "identifierName": "OTHER" + }, + "name": "OTHER" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 6615, + "end": 6622, + "loc": { + "start": { + "line": 213, + "column": 9 + }, + "end": { + "line": 213, + "column": 16 + } + }, + "extra": { + "rawValue": "other", + "raw": "'other'" + }, + "value": "other" + } + }, + { + "type": "SwitchCase", + "start": 6658, + "end": 6718, + "loc": { + "start": { + "line": 215, + "column": 4 + }, + "end": { + "line": 216, + "column": 51 + } + }, + "consequent": [ + { + "type": "ThrowStatement", + "start": 6673, + "end": 6718, + "loc": { + "start": { + "line": 216, + "column": 6 + }, + "end": { + "line": 216, + "column": 51 + } + }, + "argument": { + "type": "NewExpression", + "start": 6679, + "end": 6717, + "loc": { + "start": { + "line": 216, + "column": 12 + }, + "end": { + "line": 216, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 6683, + "end": 6688, + "loc": { + "start": { + "line": 216, + "column": 16 + }, + "end": { + "line": 216, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 6689, + "end": 6716, + "loc": { + "start": { + "line": 216, + "column": 22 + }, + "end": { + "line": 216, + "column": 49 + } + }, + "left": { + "type": "StringLiteral", + "start": 6689, + "end": 6704, + "loc": { + "start": { + "line": 216, + "column": 22 + }, + "end": { + "line": 216, + "column": 37 + } + }, + "extra": { + "rawValue": "unknown type ", + "raw": "'unknown type '" + }, + "value": "unknown type " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 6707, + "end": 6716, + "loc": { + "start": { + "line": 216, + "column": 40 + }, + "end": { + "line": 216, + "column": 49 + }, + "identifierName": "meterType" + }, + "name": "meterType" + } + } + ] + } + } + ], + "test": null + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a {@link MeterType} enum corresponding to the name of a meter type.\n *\n * @param {string} meterType - one of \"gauge\", \"timer\", \"counter\", \"longTaskTimer\", \"distribtionSummary\", or \"other\"\n * @return a {@link MeterType} enum corresponding to the {@link meterType} string\n * @throws {Error} if a string not among the above values is submitted as the {@link meterType} parameter\n ", + "start": 5860, + "end": 6253, + "loc": { + "start": { + "line": 194, + "column": 0 + }, + "end": { + "line": 200, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a {@link MeterStatistic} enum corresponding to the name of a meter statistic.\n *\n * @param {string} statistic - one of \"max\", \"count\", \"total\", \"value\", \"unknown\", \"duration\", \"totalTime\", or \"activeTasks\"\n * @return a {@link MeterStatistic} enum corresponding to the {@link statistic} string\n * @throws {Error} if a string not among the above values is submitted as the {@link statistic} parameter\n ", + "start": 6726, + "end": 7142, + "loc": { + "start": { + "line": 220, + "column": 0 + }, + "end": { + "line": 226, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 7143, + "end": 7730, + "loc": { + "start": { + "line": 227, + "column": 0 + }, + "end": { + "line": 248, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 7152, + "end": 7171, + "loc": { + "start": { + "line": 227, + "column": 9 + }, + "end": { + "line": 227, + "column": 28 + }, + "identifierName": "statisticTypeLookup" + }, + "name": "statisticTypeLookup", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7172, + "end": 7181, + "loc": { + "start": { + "line": 227, + "column": 29 + }, + "end": { + "line": 227, + "column": 38 + }, + "identifierName": "statistic" + }, + "name": "statistic" + } + ], + "body": { + "type": "BlockStatement", + "start": 7183, + "end": 7730, + "loc": { + "start": { + "line": 227, + "column": 40 + }, + "end": { + "line": 248, + "column": 1 + } + }, + "body": [ + { + "type": "SwitchStatement", + "start": 7187, + "end": 7728, + "loc": { + "start": { + "line": 228, + "column": 2 + }, + "end": { + "line": 247, + "column": 3 + } + }, + "discriminant": { + "type": "Identifier", + "start": 7195, + "end": 7204, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 19 + }, + "identifierName": "statistic" + }, + "name": "statistic" + }, + "cases": [ + { + "type": "SwitchCase", + "start": 7212, + "end": 7256, + "loc": { + "start": { + "line": 229, + "column": 4 + }, + "end": { + "line": 230, + "column": 32 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 7230, + "end": 7256, + "loc": { + "start": { + "line": 230, + "column": 6 + }, + "end": { + "line": 230, + "column": 32 + } + }, + "argument": { + "type": "MemberExpression", + "start": 7237, + "end": 7255, + "loc": { + "start": { + "line": 230, + "column": 13 + }, + "end": { + "line": 230, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 7237, + "end": 7251, + "loc": { + "start": { + "line": 230, + "column": 13 + }, + "end": { + "line": 230, + "column": 27 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 7252, + "end": 7255, + "loc": { + "start": { + "line": 230, + "column": 28 + }, + "end": { + "line": 230, + "column": 31 + }, + "identifierName": "MAX" + }, + "name": "MAX" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 7217, + "end": 7222, + "loc": { + "start": { + "line": 229, + "column": 9 + }, + "end": { + "line": 229, + "column": 14 + } + }, + "extra": { + "rawValue": "max", + "raw": "'max'" + }, + "value": "max" + } + }, + { + "type": "SwitchCase", + "start": 7261, + "end": 7309, + "loc": { + "start": { + "line": 231, + "column": 4 + }, + "end": { + "line": 232, + "column": 34 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 7281, + "end": 7309, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 34 + } + }, + "argument": { + "type": "MemberExpression", + "start": 7288, + "end": 7308, + "loc": { + "start": { + "line": 232, + "column": 13 + }, + "end": { + "line": 232, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 7288, + "end": 7302, + "loc": { + "start": { + "line": 232, + "column": 13 + }, + "end": { + "line": 232, + "column": 27 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 7303, + "end": 7308, + "loc": { + "start": { + "line": 232, + "column": 28 + }, + "end": { + "line": 232, + "column": 33 + }, + "identifierName": "COUNT" + }, + "name": "COUNT" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 7266, + "end": 7273, + "loc": { + "start": { + "line": 231, + "column": 9 + }, + "end": { + "line": 231, + "column": 16 + } + }, + "extra": { + "rawValue": "count", + "raw": "'count'" + }, + "value": "count" + } + }, + { + "type": "SwitchCase", + "start": 7314, + "end": 7362, + "loc": { + "start": { + "line": 233, + "column": 4 + }, + "end": { + "line": 234, + "column": 34 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 7334, + "end": 7362, + "loc": { + "start": { + "line": 234, + "column": 6 + }, + "end": { + "line": 234, + "column": 34 + } + }, + "argument": { + "type": "MemberExpression", + "start": 7341, + "end": 7361, + "loc": { + "start": { + "line": 234, + "column": 13 + }, + "end": { + "line": 234, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 7341, + "end": 7355, + "loc": { + "start": { + "line": 234, + "column": 13 + }, + "end": { + "line": 234, + "column": 27 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 7356, + "end": 7361, + "loc": { + "start": { + "line": 234, + "column": 28 + }, + "end": { + "line": 234, + "column": 33 + }, + "identifierName": "TOTAL" + }, + "name": "TOTAL" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 7319, + "end": 7326, + "loc": { + "start": { + "line": 233, + "column": 9 + }, + "end": { + "line": 233, + "column": 16 + } + }, + "extra": { + "rawValue": "total", + "raw": "'total'" + }, + "value": "total" + } + }, + { + "type": "SwitchCase", + "start": 7367, + "end": 7415, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 236, + "column": 34 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 7387, + "end": 7415, + "loc": { + "start": { + "line": 236, + "column": 6 + }, + "end": { + "line": 236, + "column": 34 + } + }, + "argument": { + "type": "MemberExpression", + "start": 7394, + "end": 7414, + "loc": { + "start": { + "line": 236, + "column": 13 + }, + "end": { + "line": 236, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 7394, + "end": 7408, + "loc": { + "start": { + "line": 236, + "column": 13 + }, + "end": { + "line": 236, + "column": 27 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 7409, + "end": 7414, + "loc": { + "start": { + "line": 236, + "column": 28 + }, + "end": { + "line": 236, + "column": 33 + }, + "identifierName": "VALUE" + }, + "name": "VALUE" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 7372, + "end": 7379, + "loc": { + "start": { + "line": 235, + "column": 9 + }, + "end": { + "line": 235, + "column": 16 + } + }, + "extra": { + "rawValue": "value", + "raw": "'value'" + }, + "value": "value" + } + }, + { + "type": "SwitchCase", + "start": 7420, + "end": 7472, + "loc": { + "start": { + "line": 237, + "column": 4 + }, + "end": { + "line": 238, + "column": 36 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 7442, + "end": 7472, + "loc": { + "start": { + "line": 238, + "column": 6 + }, + "end": { + "line": 238, + "column": 36 + } + }, + "argument": { + "type": "MemberExpression", + "start": 7449, + "end": 7471, + "loc": { + "start": { + "line": 238, + "column": 13 + }, + "end": { + "line": 238, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 7449, + "end": 7463, + "loc": { + "start": { + "line": 238, + "column": 13 + }, + "end": { + "line": 238, + "column": 27 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 7464, + "end": 7471, + "loc": { + "start": { + "line": 238, + "column": 28 + }, + "end": { + "line": 238, + "column": 35 + }, + "identifierName": "UNKNOWN" + }, + "name": "UNKNOWN" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 7425, + "end": 7434, + "loc": { + "start": { + "line": 237, + "column": 9 + }, + "end": { + "line": 237, + "column": 18 + } + }, + "extra": { + "rawValue": "unknown", + "raw": "'unknown'" + }, + "value": "unknown" + } + }, + { + "type": "SwitchCase", + "start": 7477, + "end": 7531, + "loc": { + "start": { + "line": 239, + "column": 4 + }, + "end": { + "line": 240, + "column": 37 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 7500, + "end": 7531, + "loc": { + "start": { + "line": 240, + "column": 6 + }, + "end": { + "line": 240, + "column": 37 + } + }, + "argument": { + "type": "MemberExpression", + "start": 7507, + "end": 7530, + "loc": { + "start": { + "line": 240, + "column": 13 + }, + "end": { + "line": 240, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 7507, + "end": 7521, + "loc": { + "start": { + "line": 240, + "column": 13 + }, + "end": { + "line": 240, + "column": 27 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 7522, + "end": 7530, + "loc": { + "start": { + "line": 240, + "column": 28 + }, + "end": { + "line": 240, + "column": 36 + }, + "identifierName": "DURATION" + }, + "name": "DURATION" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 7482, + "end": 7492, + "loc": { + "start": { + "line": 239, + "column": 9 + }, + "end": { + "line": 239, + "column": 19 + } + }, + "extra": { + "rawValue": "duration", + "raw": "'duration'" + }, + "value": "duration" + } + }, + { + "type": "SwitchCase", + "start": 7536, + "end": 7593, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 242, + "column": 39 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 7560, + "end": 7593, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 39 + } + }, + "argument": { + "type": "MemberExpression", + "start": 7567, + "end": 7592, + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 7567, + "end": 7581, + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 27 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 7582, + "end": 7592, + "loc": { + "start": { + "line": 242, + "column": 28 + }, + "end": { + "line": 242, + "column": 38 + }, + "identifierName": "TOTAL_TIME" + }, + "name": "TOTAL_TIME" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 7541, + "end": 7552, + "loc": { + "start": { + "line": 241, + "column": 9 + }, + "end": { + "line": 241, + "column": 20 + } + }, + "extra": { + "rawValue": "totalTime", + "raw": "'totalTime'" + }, + "value": "totalTime" + } + }, + { + "type": "SwitchCase", + "start": 7598, + "end": 7659, + "loc": { + "start": { + "line": 243, + "column": 4 + }, + "end": { + "line": 244, + "column": 41 + } + }, + "consequent": [ + { + "type": "ReturnStatement", + "start": 7624, + "end": 7659, + "loc": { + "start": { + "line": 244, + "column": 6 + }, + "end": { + "line": 244, + "column": 41 + } + }, + "argument": { + "type": "MemberExpression", + "start": 7631, + "end": 7658, + "loc": { + "start": { + "line": 244, + "column": 13 + }, + "end": { + "line": 244, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 7631, + "end": 7645, + "loc": { + "start": { + "line": 244, + "column": 13 + }, + "end": { + "line": 244, + "column": 27 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 7646, + "end": 7658, + "loc": { + "start": { + "line": 244, + "column": 28 + }, + "end": { + "line": 244, + "column": 40 + }, + "identifierName": "ACTIVE_TASKS" + }, + "name": "ACTIVE_TASKS" + }, + "computed": false + } + } + ], + "test": { + "type": "StringLiteral", + "start": 7603, + "end": 7616, + "loc": { + "start": { + "line": 243, + "column": 9 + }, + "end": { + "line": 243, + "column": 22 + } + }, + "extra": { + "rawValue": "activeTasks", + "raw": "'activeTasks'" + }, + "value": "activeTasks" + } + }, + { + "type": "SwitchCase", + "start": 7664, + "end": 7724, + "loc": { + "start": { + "line": 245, + "column": 4 + }, + "end": { + "line": 246, + "column": 51 + } + }, + "consequent": [ + { + "type": "ThrowStatement", + "start": 7679, + "end": 7724, + "loc": { + "start": { + "line": 246, + "column": 6 + }, + "end": { + "line": 246, + "column": 51 + } + }, + "argument": { + "type": "NewExpression", + "start": 7685, + "end": 7723, + "loc": { + "start": { + "line": 246, + "column": 12 + }, + "end": { + "line": 246, + "column": 50 + } + }, + "callee": { + "type": "Identifier", + "start": 7689, + "end": 7694, + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 7695, + "end": 7722, + "loc": { + "start": { + "line": 246, + "column": 22 + }, + "end": { + "line": 246, + "column": 49 + } + }, + "left": { + "type": "StringLiteral", + "start": 7695, + "end": 7710, + "loc": { + "start": { + "line": 246, + "column": 22 + }, + "end": { + "line": 246, + "column": 37 + } + }, + "extra": { + "rawValue": "unknown type ", + "raw": "'unknown type '" + }, + "value": "unknown type " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 7713, + "end": 7722, + "loc": { + "start": { + "line": 246, + "column": 40 + }, + "end": { + "line": 246, + "column": 49 + }, + "identifierName": "statistic" + }, + "name": "statistic" + } + } + ] + } + } + ], + "test": null + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a {@link MeterStatistic} enum corresponding to the name of a meter statistic.\n *\n * @param {string} statistic - one of \"max\", \"count\", \"total\", \"value\", \"unknown\", \"duration\", \"totalTime\", or \"activeTasks\"\n * @return a {@link MeterStatistic} enum corresponding to the {@link statistic} string\n * @throws {Error} if a string not among the above values is submitted as the {@link statistic} parameter\n ", + "start": 6726, + "end": 7142, + "loc": { + "start": { + "line": 220, + "column": 0 + }, + "end": { + "line": 226, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} imeter\n * @return {Meter[]}\n * @throws {Error} if {@link imeter} is not a {@link Timer}\n ", + "start": 7732, + "end": 7846, + "loc": { + "start": { + "line": 250, + "column": 0 + }, + "end": { + "line": 254, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 7847, + "end": 9780, + "loc": { + "start": { + "line": 255, + "column": 0 + }, + "end": { + "line": 322, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 7856, + "end": 7868, + "loc": { + "start": { + "line": 255, + "column": 9 + }, + "end": { + "line": 255, + "column": 21 + }, + "identifierName": "convertTimer" + }, + "name": "convertTimer", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7869, + "end": 7875, + "loc": { + "start": { + "line": 255, + "column": 22 + }, + "end": { + "line": 255, + "column": 28 + }, + "identifierName": "imeter" + }, + "name": "imeter" + } + ], + "body": { + "type": "BlockStatement", + "start": 7877, + "end": 9780, + "loc": { + "start": { + "line": 255, + "column": 30 + }, + "end": { + "line": 322, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 7881, + "end": 7976, + "loc": { + "start": { + "line": 256, + "column": 2 + }, + "end": { + "line": 258, + "column": 3 + } + }, + "test": { + "type": "UnaryExpression", + "start": 7885, + "end": 7911, + "loc": { + "start": { + "line": 256, + "column": 6 + }, + "end": { + "line": 256, + "column": 32 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "BinaryExpression", + "start": 7887, + "end": 7910, + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 256, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 7887, + "end": 7893, + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 256, + "column": 14 + }, + "identifierName": "imeter" + }, + "name": "imeter" + }, + "operator": "instanceof", + "right": { + "type": "Identifier", + "start": 7905, + "end": 7910, + "loc": { + "start": { + "line": 256, + "column": 26 + }, + "end": { + "line": 256, + "column": 31 + }, + "identifierName": "Timer" + }, + "name": "Timer" + }, + "extra": { + "parenthesized": true, + "parenStart": 7886 + } + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 7913, + "end": 7976, + "loc": { + "start": { + "line": 256, + "column": 34 + }, + "end": { + "line": 258, + "column": 3 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 7919, + "end": 7972, + "loc": { + "start": { + "line": 257, + "column": 4 + }, + "end": { + "line": 257, + "column": 57 + } + }, + "argument": { + "type": "NewExpression", + "start": 7925, + "end": 7971, + "loc": { + "start": { + "line": 257, + "column": 10 + }, + "end": { + "line": 257, + "column": 56 + } + }, + "callee": { + "type": "Identifier", + "start": 7929, + "end": 7934, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 19 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 7935, + "end": 7970, + "loc": { + "start": { + "line": 257, + "column": 20 + }, + "end": { + "line": 257, + "column": 55 + } + }, + "extra": { + "rawValue": "Meter is not an instance of Timer", + "raw": "'Meter is not an instance of Timer'" + }, + "value": "Meter is not an instance of Timer" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 7980, + "end": 8001, + "loc": { + "start": { + "line": 260, + "column": 2 + }, + "end": { + "line": 260, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7986, + "end": 8000, + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 260, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 7986, + "end": 7991, + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 260, + "column": 13 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "init": { + "type": "Identifier", + "start": 7994, + "end": 8000, + "loc": { + "start": { + "line": 260, + "column": 16 + }, + "end": { + "line": 260, + "column": 22 + }, + "identifierName": "imeter" + }, + "name": "imeter" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8004, + "end": 8022, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 261, + "column": 20 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8010, + "end": 8021, + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 261, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 8010, + "end": 8016, + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 261, + "column": 14 + }, + "identifierName": "meters" + }, + "name": "meters" + }, + "init": { + "type": "ArrayExpression", + "start": 8019, + "end": 8021, + "loc": { + "start": { + "line": 261, + "column": 17 + }, + "end": { + "line": 261, + "column": 19 + } + }, + "elements": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8025, + "end": 8049, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 262, + "column": 26 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8031, + "end": 8048, + "loc": { + "start": { + "line": 262, + "column": 8 + }, + "end": { + "line": 262, + "column": 25 + } + }, + "id": { + "type": "Identifier", + "start": 8031, + "end": 8035, + "loc": { + "start": { + "line": 262, + "column": 8 + }, + "end": { + "line": 262, + "column": 12 + }, + "identifierName": "name" + }, + "name": "name" + }, + "init": { + "type": "MemberExpression", + "start": 8038, + "end": 8048, + "loc": { + "start": { + "line": 262, + "column": 15 + }, + "end": { + "line": 262, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 8038, + "end": 8043, + "loc": { + "start": { + "line": 262, + "column": 15 + }, + "end": { + "line": 262, + "column": 20 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 8044, + "end": 8048, + "loc": { + "start": { + "line": 262, + "column": 21 + }, + "end": { + "line": 262, + "column": 25 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8052, + "end": 8089, + "loc": { + "start": { + "line": 263, + "column": 2 + }, + "end": { + "line": 263, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8058, + "end": 8088, + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 263, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 8058, + "end": 8062, + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 263, + "column": 12 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "init": { + "type": "CallExpression", + "start": 8065, + "end": 8088, + "loc": { + "start": { + "line": 263, + "column": 15 + }, + "end": { + "line": 263, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 8065, + "end": 8076, + "loc": { + "start": { + "line": 263, + "column": 15 + }, + "end": { + "line": 263, + "column": 26 + }, + "identifierName": "convertTags" + }, + "name": "convertTags" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8077, + "end": 8087, + "loc": { + "start": { + "line": 263, + "column": 27 + }, + "end": { + "line": 263, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 8077, + "end": 8082, + "loc": { + "start": { + "line": 263, + "column": 27 + }, + "end": { + "line": 263, + "column": 32 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 8083, + "end": 8087, + "loc": { + "start": { + "line": 263, + "column": 33 + }, + "end": { + "line": 263, + "column": 37 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "computed": false + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Add meters for percentiles of interest", + "start": 8093, + "end": 8134, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 265, + "column": 43 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 8137, + "end": 8180, + "loc": { + "start": { + "line": 266, + "column": 2 + }, + "end": { + "line": 266, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8143, + "end": 8179, + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 44 + } + }, + "id": { + "type": "Identifier", + "start": 8143, + "end": 8157, + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 22 + }, + "identifierName": "valuesSnapshot" + }, + "name": "valuesSnapshot", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 8160, + "end": 8179, + "loc": { + "start": { + "line": 266, + "column": 25 + }, + "end": { + "line": 266, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8160, + "end": 8177, + "loc": { + "start": { + "line": 266, + "column": 25 + }, + "end": { + "line": 266, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 8160, + "end": 8165, + "loc": { + "start": { + "line": 266, + "column": 25 + }, + "end": { + "line": 266, + "column": 30 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 8166, + "end": 8177, + "loc": { + "start": { + "line": 266, + "column": 31 + }, + "end": { + "line": 266, + "column": 42 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Add meters for percentiles of interest", + "start": 8093, + "end": 8134, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 265, + "column": 43 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 8183, + "end": 9075, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 295, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 8183, + "end": 9074, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 295, + "column": 4 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8183, + "end": 8218, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 267, + "column": 37 + } + }, + "object": { + "type": "CallExpression", + "start": 8183, + "end": 8210, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 267, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8183, + "end": 8194, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 267, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 8183, + "end": 8189, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 267, + "column": 8 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 8190, + "end": 8194, + "loc": { + "start": { + "line": 267, + "column": 9 + }, + "end": { + "line": 267, + "column": 13 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8195, + "end": 8209, + "loc": { + "start": { + "line": 267, + "column": 14 + }, + "end": { + "line": 267, + "column": 28 + }, + "identifierName": "valuesSnapshot" + }, + "name": "valuesSnapshot" + } + ] + }, + "property": { + "type": "Identifier", + "start": 8211, + "end": 8218, + "loc": { + "start": { + "line": 267, + "column": 30 + }, + "end": { + "line": 267, + "column": 37 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8219, + "end": 9073, + "loc": { + "start": { + "line": 267, + "column": 38 + }, + "end": { + "line": 295, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8219, + "end": 8229, + "loc": { + "start": { + "line": 267, + "column": 38 + }, + "end": { + "line": 267, + "column": 48 + }, + "identifierName": "percentile" + }, + "name": "percentile" + } + ], + "body": { + "type": "BlockStatement", + "start": 8233, + "end": 9073, + "loc": { + "start": { + "line": 267, + "column": 52 + }, + "end": { + "line": 295, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8239, + "end": 8295, + "loc": { + "start": { + "line": 268, + "column": 4 + }, + "end": { + "line": 268, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8245, + "end": 8294, + "loc": { + "start": { + "line": 268, + "column": 10 + }, + "end": { + "line": 268, + "column": 59 + } + }, + "id": { + "type": "Identifier", + "start": 8245, + "end": 8250, + "loc": { + "start": { + "line": 268, + "column": 10 + }, + "end": { + "line": 268, + "column": 15 + }, + "identifierName": "value" + }, + "name": "value" + }, + "init": { + "type": "CallExpression", + "start": 8253, + "end": 8294, + "loc": { + "start": { + "line": 268, + "column": 18 + }, + "end": { + "line": 268, + "column": 59 + } + }, + "callee": { + "type": "Identifier", + "start": 8253, + "end": 8266, + "loc": { + "start": { + "line": 268, + "column": 18 + }, + "end": { + "line": 268, + "column": 31 + }, + "identifierName": "toNanoseconds" + }, + "name": "toNanoseconds" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8267, + "end": 8293, + "loc": { + "start": { + "line": 268, + "column": 32 + }, + "end": { + "line": 268, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 8267, + "end": 8281, + "loc": { + "start": { + "line": 268, + "column": 32 + }, + "end": { + "line": 268, + "column": 46 + }, + "identifierName": "valuesSnapshot" + }, + "name": "valuesSnapshot" + }, + "property": { + "type": "Identifier", + "start": 8282, + "end": 8292, + "loc": { + "start": { + "line": 268, + "column": 47 + }, + "end": { + "line": 268, + "column": 57 + }, + "identifierName": "percentile" + }, + "name": "percentile" + }, + "computed": true + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Make sure we're dealing with a real value before pushing", + "start": 8300, + "end": 8359, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 269, + "column": 63 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 8364, + "end": 9069, + "loc": { + "start": { + "line": 270, + "column": 4 + }, + "end": { + "line": 294, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 8368, + "end": 8381, + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 270, + "column": 21 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 8369, + "end": 8381, + "loc": { + "start": { + "line": 270, + "column": 9 + }, + "end": { + "line": 270, + "column": 21 + } + }, + "callee": { + "type": "Identifier", + "start": 8369, + "end": 8374, + "loc": { + "start": { + "line": 270, + "column": 9 + }, + "end": { + "line": 270, + "column": 14 + }, + "identifierName": "isNaN" + }, + "name": "isNaN", + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 8375, + "end": 8380, + "loc": { + "start": { + "line": 270, + "column": 15 + }, + "end": { + "line": 270, + "column": 20 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 8383, + "end": 9069, + "loc": { + "start": { + "line": 270, + "column": 23 + }, + "end": { + "line": 294, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8391, + "end": 8417, + "loc": { + "start": { + "line": 271, + "column": 6 + }, + "end": { + "line": 271, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8397, + "end": 8416, + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 8397, + "end": 8402, + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 17 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "init": { + "type": "NewExpression", + "start": 8405, + "end": 8416, + "loc": { + "start": { + "line": 271, + "column": 20 + }, + "end": { + "line": 271, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 8409, + "end": 8414, + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 29 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8425, + "end": 8462, + "loc": { + "start": { + "line": 273, + "column": 6 + }, + "end": { + "line": 273, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8431, + "end": 8461, + "loc": { + "start": { + "line": 273, + "column": 12 + }, + "end": { + "line": 273, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 8431, + "end": 8444, + "loc": { + "start": { + "line": 273, + "column": 12 + }, + "end": { + "line": 273, + "column": 25 + }, + "identifierName": "percentileTag" + }, + "name": "percentileTag" + }, + "init": { + "type": "NewExpression", + "start": 8447, + "end": 8461, + "loc": { + "start": { + "line": 273, + "column": 28 + }, + "end": { + "line": 273, + "column": 42 + } + }, + "callee": { + "type": "Identifier", + "start": 8451, + "end": 8459, + "loc": { + "start": { + "line": 273, + "column": 32 + }, + "end": { + "line": 273, + "column": 40 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 8469, + "end": 8504, + "loc": { + "start": { + "line": 274, + "column": 6 + }, + "end": { + "line": 274, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 8469, + "end": 8503, + "loc": { + "start": { + "line": 274, + "column": 6 + }, + "end": { + "line": 274, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8469, + "end": 8489, + "loc": { + "start": { + "line": 274, + "column": 6 + }, + "end": { + "line": 274, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 8469, + "end": 8482, + "loc": { + "start": { + "line": 274, + "column": 6 + }, + "end": { + "line": 274, + "column": 19 + }, + "identifierName": "percentileTag" + }, + "name": "percentileTag" + }, + "property": { + "type": "Identifier", + "start": 8483, + "end": 8489, + "loc": { + "start": { + "line": 274, + "column": 20 + }, + "end": { + "line": 274, + "column": 26 + }, + "identifierName": "setKey" + }, + "name": "setKey" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8490, + "end": 8502, + "loc": { + "start": { + "line": 274, + "column": 27 + }, + "end": { + "line": 274, + "column": 39 + } + }, + "extra": { + "rawValue": "percentile", + "raw": "'percentile'" + }, + "value": "percentile" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8511, + "end": 8546, + "loc": { + "start": { + "line": 275, + "column": 6 + }, + "end": { + "line": 275, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 8511, + "end": 8545, + "loc": { + "start": { + "line": 275, + "column": 6 + }, + "end": { + "line": 275, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8511, + "end": 8533, + "loc": { + "start": { + "line": 275, + "column": 6 + }, + "end": { + "line": 275, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 8511, + "end": 8524, + "loc": { + "start": { + "line": 275, + "column": 6 + }, + "end": { + "line": 275, + "column": 19 + }, + "identifierName": "percentileTag" + }, + "name": "percentileTag" + }, + "property": { + "type": "Identifier", + "start": 8525, + "end": 8533, + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 28 + }, + "identifierName": "setValue" + }, + "name": "setValue" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8534, + "end": 8544, + "loc": { + "start": { + "line": 275, + "column": 29 + }, + "end": { + "line": 275, + "column": 39 + }, + "identifierName": "percentile" + }, + "name": "percentile" + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 8554, + "end": 8584, + "loc": { + "start": { + "line": 277, + "column": 6 + }, + "end": { + "line": 277, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8560, + "end": 8583, + "loc": { + "start": { + "line": 277, + "column": 12 + }, + "end": { + "line": 277, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 8560, + "end": 8567, + "loc": { + "start": { + "line": 277, + "column": 12 + }, + "end": { + "line": 277, + "column": 19 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "init": { + "type": "NewExpression", + "start": 8570, + "end": 8583, + "loc": { + "start": { + "line": 277, + "column": 22 + }, + "end": { + "line": 277, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 8574, + "end": 8581, + "loc": { + "start": { + "line": 277, + "column": 26 + }, + "end": { + "line": 277, + "column": 33 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 8591, + "end": 8613, + "loc": { + "start": { + "line": 278, + "column": 6 + }, + "end": { + "line": 278, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 8591, + "end": 8612, + "loc": { + "start": { + "line": 278, + "column": 6 + }, + "end": { + "line": 278, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8591, + "end": 8606, + "loc": { + "start": { + "line": 278, + "column": 6 + }, + "end": { + "line": 278, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 8591, + "end": 8598, + "loc": { + "start": { + "line": 278, + "column": 6 + }, + "end": { + "line": 278, + "column": 13 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 8599, + "end": 8606, + "loc": { + "start": { + "line": 278, + "column": 14 + }, + "end": { + "line": 278, + "column": 21 + }, + "identifierName": "setName" + }, + "name": "setName" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8607, + "end": 8611, + "loc": { + "start": { + "line": 278, + "column": 22 + }, + "end": { + "line": 278, + "column": 26 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8620, + "end": 8661, + "loc": { + "start": { + "line": 279, + "column": 6 + }, + "end": { + "line": 279, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 8620, + "end": 8660, + "loc": { + "start": { + "line": 279, + "column": 6 + }, + "end": { + "line": 279, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8620, + "end": 8632, + "loc": { + "start": { + "line": 279, + "column": 6 + }, + "end": { + "line": 279, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 8620, + "end": 8624, + "loc": { + "start": { + "line": 279, + "column": 6 + }, + "end": { + "line": 279, + "column": 10 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "property": { + "type": "Identifier", + "start": 8625, + "end": 8632, + "loc": { + "start": { + "line": 279, + "column": 11 + }, + "end": { + "line": 279, + "column": 18 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8633, + "end": 8659, + "loc": { + "start": { + "line": 279, + "column": 19 + }, + "end": { + "line": 279, + "column": 45 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8633, + "end": 8636, + "loc": { + "start": { + "line": 279, + "column": 19 + }, + "end": { + "line": 279, + "column": 22 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ], + "body": { + "type": "CallExpression", + "start": 8640, + "end": 8659, + "loc": { + "start": { + "line": 279, + "column": 26 + }, + "end": { + "line": 279, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8640, + "end": 8654, + "loc": { + "start": { + "line": 279, + "column": 26 + }, + "end": { + "line": 279, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 8640, + "end": 8647, + "loc": { + "start": { + "line": 279, + "column": 26 + }, + "end": { + "line": 279, + "column": 33 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 8648, + "end": 8654, + "loc": { + "start": { + "line": 279, + "column": 34 + }, + "end": { + "line": 279, + "column": 40 + }, + "identifierName": "addTag" + }, + "name": "addTag" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8655, + "end": 8658, + "loc": { + "start": { + "line": 279, + "column": 41 + }, + "end": { + "line": 279, + "column": 44 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8668, + "end": 8698, + "loc": { + "start": { + "line": 280, + "column": 6 + }, + "end": { + "line": 280, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 8668, + "end": 8697, + "loc": { + "start": { + "line": 280, + "column": 6 + }, + "end": { + "line": 280, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8668, + "end": 8682, + "loc": { + "start": { + "line": 280, + "column": 6 + }, + "end": { + "line": 280, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 8668, + "end": 8675, + "loc": { + "start": { + "line": 280, + "column": 6 + }, + "end": { + "line": 280, + "column": 13 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 8676, + "end": 8682, + "loc": { + "start": { + "line": 280, + "column": 14 + }, + "end": { + "line": 280, + "column": 20 + }, + "identifierName": "addTag" + }, + "name": "addTag" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8683, + "end": 8696, + "loc": { + "start": { + "line": 280, + "column": 21 + }, + "end": { + "line": 280, + "column": 34 + }, + "identifierName": "percentileTag" + }, + "name": "percentileTag" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8705, + "end": 8738, + "loc": { + "start": { + "line": 281, + "column": 6 + }, + "end": { + "line": 281, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 8705, + "end": 8737, + "loc": { + "start": { + "line": 281, + "column": 6 + }, + "end": { + "line": 281, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8705, + "end": 8720, + "loc": { + "start": { + "line": 281, + "column": 6 + }, + "end": { + "line": 281, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 8705, + "end": 8712, + "loc": { + "start": { + "line": 281, + "column": 6 + }, + "end": { + "line": 281, + "column": 13 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 8713, + "end": 8720, + "loc": { + "start": { + "line": 281, + "column": 14 + }, + "end": { + "line": 281, + "column": 21 + }, + "identifierName": "setType" + }, + "name": "setType" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8721, + "end": 8736, + "loc": { + "start": { + "line": 281, + "column": 22 + }, + "end": { + "line": 281, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 8721, + "end": 8730, + "loc": { + "start": { + "line": 281, + "column": 22 + }, + "end": { + "line": 281, + "column": 31 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 8731, + "end": 8736, + "loc": { + "start": { + "line": 281, + "column": 32 + }, + "end": { + "line": 281, + "column": 37 + }, + "identifierName": "TIMER" + }, + "name": "TIMER" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8745, + "end": 8787, + "loc": { + "start": { + "line": 282, + "column": 6 + }, + "end": { + "line": 282, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 8745, + "end": 8786, + "loc": { + "start": { + "line": 282, + "column": 6 + }, + "end": { + "line": 282, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8745, + "end": 8767, + "loc": { + "start": { + "line": 282, + "column": 6 + }, + "end": { + "line": 282, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 8745, + "end": 8752, + "loc": { + "start": { + "line": 282, + "column": 6 + }, + "end": { + "line": 282, + "column": 13 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 8753, + "end": 8767, + "loc": { + "start": { + "line": 282, + "column": 14 + }, + "end": { + "line": 282, + "column": 28 + }, + "identifierName": "setDescription" + }, + "name": "setDescription" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8768, + "end": 8785, + "loc": { + "start": { + "line": 282, + "column": 29 + }, + "end": { + "line": 282, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 8768, + "end": 8773, + "loc": { + "start": { + "line": 282, + "column": 29 + }, + "end": { + "line": 282, + "column": 34 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 8774, + "end": 8785, + "loc": { + "start": { + "line": 282, + "column": 35 + }, + "end": { + "line": 282, + "column": 46 + }, + "identifierName": "description" + }, + "name": "description" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8794, + "end": 8829, + "loc": { + "start": { + "line": 283, + "column": 6 + }, + "end": { + "line": 283, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 8794, + "end": 8828, + "loc": { + "start": { + "line": 283, + "column": 6 + }, + "end": { + "line": 283, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8794, + "end": 8813, + "loc": { + "start": { + "line": 283, + "column": 6 + }, + "end": { + "line": 283, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 8794, + "end": 8801, + "loc": { + "start": { + "line": 283, + "column": 6 + }, + "end": { + "line": 283, + "column": 13 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 8802, + "end": 8813, + "loc": { + "start": { + "line": 283, + "column": 14 + }, + "end": { + "line": 283, + "column": 25 + }, + "identifierName": "setBaseunit" + }, + "name": "setBaseunit" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8814, + "end": 8827, + "loc": { + "start": { + "line": 283, + "column": 26 + }, + "end": { + "line": 283, + "column": 39 + } + }, + "extra": { + "rawValue": "nanoseconds", + "raw": "'nanoseconds'" + }, + "value": "nanoseconds" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8837, + "end": 8858, + "loc": { + "start": { + "line": 285, + "column": 6 + }, + "end": { + "line": 285, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 8837, + "end": 8857, + "loc": { + "start": { + "line": 285, + "column": 6 + }, + "end": { + "line": 285, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8837, + "end": 8848, + "loc": { + "start": { + "line": 285, + "column": 6 + }, + "end": { + "line": 285, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 8837, + "end": 8842, + "loc": { + "start": { + "line": 285, + "column": 6 + }, + "end": { + "line": 285, + "column": 11 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 8843, + "end": 8848, + "loc": { + "start": { + "line": 285, + "column": 12 + }, + "end": { + "line": 285, + "column": 17 + }, + "identifierName": "setId" + }, + "name": "setId" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8849, + "end": 8856, + "loc": { + "start": { + "line": 285, + "column": 18 + }, + "end": { + "line": 285, + "column": 25 + }, + "identifierName": "meterId" + }, + "name": "meterId" + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 8866, + "end": 8905, + "loc": { + "start": { + "line": 287, + "column": 6 + }, + "end": { + "line": 287, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8872, + "end": 8904, + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 44 + } + }, + "id": { + "type": "Identifier", + "start": 8872, + "end": 8879, + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 19 + }, + "identifierName": "measure" + }, + "name": "measure" + }, + "init": { + "type": "NewExpression", + "start": 8882, + "end": 8904, + "loc": { + "start": { + "line": 287, + "column": 22 + }, + "end": { + "line": 287, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 8886, + "end": 8902, + "loc": { + "start": { + "line": 287, + "column": 26 + }, + "end": { + "line": 287, + "column": 42 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 8912, + "end": 8936, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 8912, + "end": 8935, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8912, + "end": 8928, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 8912, + "end": 8919, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 13 + }, + "identifierName": "measure" + }, + "name": "measure" + }, + "property": { + "type": "Identifier", + "start": 8920, + "end": 8928, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 288, + "column": 22 + }, + "identifierName": "setValue" + }, + "name": "setValue" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8929, + "end": 8934, + "loc": { + "start": { + "line": 288, + "column": 23 + }, + "end": { + "line": 288, + "column": 28 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8943, + "end": 9002, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 65 + } + }, + "expression": { + "type": "CallExpression", + "start": 8943, + "end": 9001, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8943, + "end": 8963, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 8943, + "end": 8950, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 13 + }, + "identifierName": "measure" + }, + "name": "measure" + }, + "property": { + "type": "Identifier", + "start": 8951, + "end": 8963, + "loc": { + "start": { + "line": 289, + "column": 14 + }, + "end": { + "line": 289, + "column": 26 + }, + "identifierName": "setStatistic" + }, + "name": "setStatistic" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 8964, + "end": 9000, + "loc": { + "start": { + "line": 289, + "column": 27 + }, + "end": { + "line": 289, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 8964, + "end": 8983, + "loc": { + "start": { + "line": 289, + "column": 27 + }, + "end": { + "line": 289, + "column": 46 + }, + "identifierName": "statisticTypeLookup" + }, + "name": "statisticTypeLookup" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 8984, + "end": 8999, + "loc": { + "start": { + "line": 289, + "column": 47 + }, + "end": { + "line": 289, + "column": 62 + } + }, + "object": { + "type": "Identifier", + "start": 8984, + "end": 8989, + "loc": { + "start": { + "line": 289, + "column": 47 + }, + "end": { + "line": 289, + "column": 52 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 8990, + "end": 8999, + "loc": { + "start": { + "line": 289, + "column": 53 + }, + "end": { + "line": 289, + "column": 62 + }, + "identifierName": "statistic" + }, + "name": "statistic" + }, + "computed": false + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9010, + "end": 9036, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 9010, + "end": 9035, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9010, + "end": 9026, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 9010, + "end": 9015, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 11 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 9016, + "end": 9026, + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 22 + }, + "identifierName": "addMeasure" + }, + "name": "addMeasure" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9027, + "end": 9034, + "loc": { + "start": { + "line": 291, + "column": 23 + }, + "end": { + "line": 291, + "column": 30 + }, + "identifierName": "measure" + }, + "name": "measure" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9044, + "end": 9063, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 9044, + "end": 9062, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9044, + "end": 9055, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 9044, + "end": 9050, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 12 + }, + "identifierName": "meters" + }, + "name": "meters" + }, + "property": { + "type": "Identifier", + "start": 9051, + "end": 9055, + "loc": { + "start": { + "line": 293, + "column": 13 + }, + "end": { + "line": 293, + "column": 17 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9056, + "end": 9061, + "loc": { + "start": { + "line": 293, + "column": 18 + }, + "end": { + "line": 293, + "column": 23 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Make sure we're dealing with a real value before pushing", + "start": 8300, + "end": 8359, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 269, + "column": 63 + } + } + } + ] + } + ], + "directives": [] + } + } + ] + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " add a meter for total count and max time", + "start": 9079, + "end": 9122, + "loc": { + "start": { + "line": 297, + "column": 2 + }, + "end": { + "line": 297, + "column": 45 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 9125, + "end": 9155, + "loc": { + "start": { + "line": 298, + "column": 2 + }, + "end": { + "line": 298, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9131, + "end": 9154, + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 9131, + "end": 9140, + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 17 + }, + "identifierName": "histMeter" + }, + "name": "histMeter", + "leadingComments": null + }, + "init": { + "type": "NewExpression", + "start": 9143, + "end": 9154, + "loc": { + "start": { + "line": 298, + "column": 20 + }, + "end": { + "line": 298, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 9147, + "end": 9152, + "loc": { + "start": { + "line": 298, + "column": 24 + }, + "end": { + "line": 298, + "column": 29 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "arguments": [] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " add a meter for total count and max time", + "start": 9079, + "end": 9122, + "loc": { + "start": { + "line": 297, + "column": 2 + }, + "end": { + "line": 297, + "column": 45 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 9159, + "end": 9189, + "loc": { + "start": { + "line": 300, + "column": 2 + }, + "end": { + "line": 300, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9165, + "end": 9188, + "loc": { + "start": { + "line": 300, + "column": 8 + }, + "end": { + "line": 300, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 9165, + "end": 9172, + "loc": { + "start": { + "line": 300, + "column": 8 + }, + "end": { + "line": 300, + "column": 15 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "init": { + "type": "NewExpression", + "start": 9175, + "end": 9188, + "loc": { + "start": { + "line": 300, + "column": 18 + }, + "end": { + "line": 300, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 9179, + "end": 9186, + "loc": { + "start": { + "line": 300, + "column": 22 + }, + "end": { + "line": 300, + "column": 29 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 9192, + "end": 9214, + "loc": { + "start": { + "line": 301, + "column": 2 + }, + "end": { + "line": 301, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 9192, + "end": 9213, + "loc": { + "start": { + "line": 301, + "column": 2 + }, + "end": { + "line": 301, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9192, + "end": 9207, + "loc": { + "start": { + "line": 301, + "column": 2 + }, + "end": { + "line": 301, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 9192, + "end": 9199, + "loc": { + "start": { + "line": 301, + "column": 2 + }, + "end": { + "line": 301, + "column": 9 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 9200, + "end": 9207, + "loc": { + "start": { + "line": 301, + "column": 10 + }, + "end": { + "line": 301, + "column": 17 + }, + "identifierName": "setName" + }, + "name": "setName" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9208, + "end": 9212, + "loc": { + "start": { + "line": 301, + "column": 18 + }, + "end": { + "line": 301, + "column": 22 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9217, + "end": 9258, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 302, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 9217, + "end": 9257, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 302, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9217, + "end": 9229, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 302, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 9217, + "end": 9221, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 302, + "column": 6 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "property": { + "type": "Identifier", + "start": 9222, + "end": 9229, + "loc": { + "start": { + "line": 302, + "column": 7 + }, + "end": { + "line": 302, + "column": 14 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 9230, + "end": 9256, + "loc": { + "start": { + "line": 302, + "column": 15 + }, + "end": { + "line": 302, + "column": 41 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9230, + "end": 9233, + "loc": { + "start": { + "line": 302, + "column": 15 + }, + "end": { + "line": 302, + "column": 18 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ], + "body": { + "type": "CallExpression", + "start": 9237, + "end": 9256, + "loc": { + "start": { + "line": 302, + "column": 22 + }, + "end": { + "line": 302, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9237, + "end": 9251, + "loc": { + "start": { + "line": 302, + "column": 22 + }, + "end": { + "line": 302, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 9237, + "end": 9244, + "loc": { + "start": { + "line": 302, + "column": 22 + }, + "end": { + "line": 302, + "column": 29 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 9245, + "end": 9251, + "loc": { + "start": { + "line": 302, + "column": 30 + }, + "end": { + "line": 302, + "column": 36 + }, + "identifierName": "addTag" + }, + "name": "addTag" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9252, + "end": 9255, + "loc": { + "start": { + "line": 302, + "column": 37 + }, + "end": { + "line": 302, + "column": 40 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9261, + "end": 9294, + "loc": { + "start": { + "line": 303, + "column": 2 + }, + "end": { + "line": 303, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 9261, + "end": 9293, + "loc": { + "start": { + "line": 303, + "column": 2 + }, + "end": { + "line": 303, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9261, + "end": 9276, + "loc": { + "start": { + "line": 303, + "column": 2 + }, + "end": { + "line": 303, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 9261, + "end": 9268, + "loc": { + "start": { + "line": 303, + "column": 2 + }, + "end": { + "line": 303, + "column": 9 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 9269, + "end": 9276, + "loc": { + "start": { + "line": 303, + "column": 10 + }, + "end": { + "line": 303, + "column": 17 + }, + "identifierName": "setType" + }, + "name": "setType" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9277, + "end": 9292, + "loc": { + "start": { + "line": 303, + "column": 18 + }, + "end": { + "line": 303, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 9277, + "end": 9286, + "loc": { + "start": { + "line": 303, + "column": 18 + }, + "end": { + "line": 303, + "column": 27 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "property": { + "type": "Identifier", + "start": 9287, + "end": 9292, + "loc": { + "start": { + "line": 303, + "column": 28 + }, + "end": { + "line": 303, + "column": 33 + }, + "identifierName": "TIMER" + }, + "name": "TIMER" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9297, + "end": 9339, + "loc": { + "start": { + "line": 304, + "column": 2 + }, + "end": { + "line": 304, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 9297, + "end": 9338, + "loc": { + "start": { + "line": 304, + "column": 2 + }, + "end": { + "line": 304, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9297, + "end": 9319, + "loc": { + "start": { + "line": 304, + "column": 2 + }, + "end": { + "line": 304, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 9297, + "end": 9304, + "loc": { + "start": { + "line": 304, + "column": 2 + }, + "end": { + "line": 304, + "column": 9 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 9305, + "end": 9319, + "loc": { + "start": { + "line": 304, + "column": 10 + }, + "end": { + "line": 304, + "column": 24 + }, + "identifierName": "setDescription" + }, + "name": "setDescription" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9320, + "end": 9337, + "loc": { + "start": { + "line": 304, + "column": 25 + }, + "end": { + "line": 304, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 9320, + "end": 9325, + "loc": { + "start": { + "line": 304, + "column": 25 + }, + "end": { + "line": 304, + "column": 30 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 9326, + "end": 9337, + "loc": { + "start": { + "line": 304, + "column": 31 + }, + "end": { + "line": 304, + "column": 42 + }, + "identifierName": "description" + }, + "name": "description" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9342, + "end": 9377, + "loc": { + "start": { + "line": 305, + "column": 2 + }, + "end": { + "line": 305, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 9342, + "end": 9376, + "loc": { + "start": { + "line": 305, + "column": 2 + }, + "end": { + "line": 305, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9342, + "end": 9361, + "loc": { + "start": { + "line": 305, + "column": 2 + }, + "end": { + "line": 305, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 9342, + "end": 9349, + "loc": { + "start": { + "line": 305, + "column": 2 + }, + "end": { + "line": 305, + "column": 9 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 9350, + "end": 9361, + "loc": { + "start": { + "line": 305, + "column": 10 + }, + "end": { + "line": 305, + "column": 21 + }, + "identifierName": "setBaseunit" + }, + "name": "setBaseunit" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9362, + "end": 9375, + "loc": { + "start": { + "line": 305, + "column": 22 + }, + "end": { + "line": 305, + "column": 35 + } + }, + "extra": { + "rawValue": "nanoseconds", + "raw": "'nanoseconds'" + }, + "value": "nanoseconds" + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 9381, + "end": 9423, + "loc": { + "start": { + "line": 307, + "column": 2 + }, + "end": { + "line": 307, + "column": 44 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9387, + "end": 9422, + "loc": { + "start": { + "line": 307, + "column": 8 + }, + "end": { + "line": 307, + "column": 43 + } + }, + "id": { + "type": "Identifier", + "start": 9387, + "end": 9397, + "loc": { + "start": { + "line": 307, + "column": 8 + }, + "end": { + "line": 307, + "column": 18 + }, + "identifierName": "totalCount" + }, + "name": "totalCount" + }, + "init": { + "type": "NewExpression", + "start": 9400, + "end": 9422, + "loc": { + "start": { + "line": 307, + "column": 21 + }, + "end": { + "line": 307, + "column": 43 + } + }, + "callee": { + "type": "Identifier", + "start": 9404, + "end": 9420, + "loc": { + "start": { + "line": 307, + "column": 25 + }, + "end": { + "line": 307, + "column": 41 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 9426, + "end": 9466, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 308, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 9426, + "end": 9465, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 308, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9426, + "end": 9445, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 308, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 9426, + "end": 9436, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 308, + "column": 12 + }, + "identifierName": "totalCount" + }, + "name": "totalCount" + }, + "property": { + "type": "Identifier", + "start": 9437, + "end": 9445, + "loc": { + "start": { + "line": 308, + "column": 13 + }, + "end": { + "line": 308, + "column": 21 + }, + "identifierName": "setValue" + }, + "name": "setValue" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 9446, + "end": 9464, + "loc": { + "start": { + "line": 308, + "column": 22 + }, + "end": { + "line": 308, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9446, + "end": 9462, + "loc": { + "start": { + "line": 308, + "column": 22 + }, + "end": { + "line": 308, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 9446, + "end": 9451, + "loc": { + "start": { + "line": 308, + "column": 22 + }, + "end": { + "line": 308, + "column": 27 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 9452, + "end": 9462, + "loc": { + "start": { + "line": 308, + "column": 28 + }, + "end": { + "line": 308, + "column": 38 + }, + "identifierName": "totalCount" + }, + "name": "totalCount" + }, + "computed": false + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9469, + "end": 9515, + "loc": { + "start": { + "line": 309, + "column": 2 + }, + "end": { + "line": 309, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 9469, + "end": 9514, + "loc": { + "start": { + "line": 309, + "column": 2 + }, + "end": { + "line": 309, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9469, + "end": 9492, + "loc": { + "start": { + "line": 309, + "column": 2 + }, + "end": { + "line": 309, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 9469, + "end": 9479, + "loc": { + "start": { + "line": 309, + "column": 2 + }, + "end": { + "line": 309, + "column": 12 + }, + "identifierName": "totalCount" + }, + "name": "totalCount" + }, + "property": { + "type": "Identifier", + "start": 9480, + "end": 9492, + "loc": { + "start": { + "line": 309, + "column": 13 + }, + "end": { + "line": 309, + "column": 25 + }, + "identifierName": "setStatistic" + }, + "name": "setStatistic" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9493, + "end": 9513, + "loc": { + "start": { + "line": 309, + "column": 26 + }, + "end": { + "line": 309, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 9493, + "end": 9507, + "loc": { + "start": { + "line": 309, + "column": 26 + }, + "end": { + "line": 309, + "column": 40 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 9508, + "end": 9513, + "loc": { + "start": { + "line": 309, + "column": 41 + }, + "end": { + "line": 309, + "column": 46 + }, + "identifierName": "COUNT" + }, + "name": "COUNT" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9518, + "end": 9551, + "loc": { + "start": { + "line": 310, + "column": 2 + }, + "end": { + "line": 310, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 9518, + "end": 9550, + "loc": { + "start": { + "line": 310, + "column": 2 + }, + "end": { + "line": 310, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9518, + "end": 9538, + "loc": { + "start": { + "line": 310, + "column": 2 + }, + "end": { + "line": 310, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 9518, + "end": 9527, + "loc": { + "start": { + "line": 310, + "column": 2 + }, + "end": { + "line": 310, + "column": 11 + }, + "identifierName": "histMeter" + }, + "name": "histMeter" + }, + "property": { + "type": "Identifier", + "start": 9528, + "end": 9538, + "loc": { + "start": { + "line": 310, + "column": 12 + }, + "end": { + "line": 310, + "column": 22 + }, + "identifierName": "addMeasure" + }, + "name": "addMeasure" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9539, + "end": 9549, + "loc": { + "start": { + "line": 310, + "column": 23 + }, + "end": { + "line": 310, + "column": 33 + }, + "identifierName": "totalCount" + }, + "name": "totalCount" + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 9555, + "end": 9594, + "loc": { + "start": { + "line": 312, + "column": 2 + }, + "end": { + "line": 312, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9561, + "end": 9593, + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 9561, + "end": 9568, + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 15 + }, + "identifierName": "maxTime" + }, + "name": "maxTime" + }, + "init": { + "type": "NewExpression", + "start": 9571, + "end": 9593, + "loc": { + "start": { + "line": 312, + "column": 18 + }, + "end": { + "line": 312, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 9575, + "end": 9591, + "loc": { + "start": { + "line": 312, + "column": 22 + }, + "end": { + "line": 312, + "column": 38 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 9597, + "end": 9627, + "loc": { + "start": { + "line": 313, + "column": 2 + }, + "end": { + "line": 313, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 9597, + "end": 9626, + "loc": { + "start": { + "line": 313, + "column": 2 + }, + "end": { + "line": 313, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9597, + "end": 9613, + "loc": { + "start": { + "line": 313, + "column": 2 + }, + "end": { + "line": 313, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 9597, + "end": 9604, + "loc": { + "start": { + "line": 313, + "column": 2 + }, + "end": { + "line": 313, + "column": 9 + }, + "identifierName": "maxTime" + }, + "name": "maxTime" + }, + "property": { + "type": "Identifier", + "start": 9605, + "end": 9613, + "loc": { + "start": { + "line": 313, + "column": 10 + }, + "end": { + "line": 313, + "column": 18 + }, + "identifierName": "setValue" + }, + "name": "setValue" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 9614, + "end": 9625, + "loc": { + "start": { + "line": 313, + "column": 19 + }, + "end": { + "line": 313, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9614, + "end": 9623, + "loc": { + "start": { + "line": 313, + "column": 19 + }, + "end": { + "line": 313, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 9614, + "end": 9619, + "loc": { + "start": { + "line": 313, + "column": 19 + }, + "end": { + "line": 313, + "column": 24 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 9620, + "end": 9623, + "loc": { + "start": { + "line": 313, + "column": 25 + }, + "end": { + "line": 313, + "column": 28 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9630, + "end": 9671, + "loc": { + "start": { + "line": 314, + "column": 2 + }, + "end": { + "line": 314, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 9630, + "end": 9670, + "loc": { + "start": { + "line": 314, + "column": 2 + }, + "end": { + "line": 314, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9630, + "end": 9650, + "loc": { + "start": { + "line": 314, + "column": 2 + }, + "end": { + "line": 314, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 9630, + "end": 9637, + "loc": { + "start": { + "line": 314, + "column": 2 + }, + "end": { + "line": 314, + "column": 9 + }, + "identifierName": "maxTime" + }, + "name": "maxTime" + }, + "property": { + "type": "Identifier", + "start": 9638, + "end": 9650, + "loc": { + "start": { + "line": 314, + "column": 10 + }, + "end": { + "line": 314, + "column": 22 + }, + "identifierName": "setStatistic" + }, + "name": "setStatistic" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9651, + "end": 9669, + "loc": { + "start": { + "line": 314, + "column": 23 + }, + "end": { + "line": 314, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 9651, + "end": 9665, + "loc": { + "start": { + "line": 314, + "column": 23 + }, + "end": { + "line": 314, + "column": 37 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "property": { + "type": "Identifier", + "start": 9666, + "end": 9669, + "loc": { + "start": { + "line": 314, + "column": 38 + }, + "end": { + "line": 314, + "column": 41 + }, + "identifierName": "MAX" + }, + "name": "MAX" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9674, + "end": 9704, + "loc": { + "start": { + "line": 315, + "column": 2 + }, + "end": { + "line": 315, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 9674, + "end": 9703, + "loc": { + "start": { + "line": 315, + "column": 2 + }, + "end": { + "line": 315, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9674, + "end": 9694, + "loc": { + "start": { + "line": 315, + "column": 2 + }, + "end": { + "line": 315, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 9674, + "end": 9683, + "loc": { + "start": { + "line": 315, + "column": 2 + }, + "end": { + "line": 315, + "column": 11 + }, + "identifierName": "histMeter" + }, + "name": "histMeter" + }, + "property": { + "type": "Identifier", + "start": 9684, + "end": 9694, + "loc": { + "start": { + "line": 315, + "column": 12 + }, + "end": { + "line": 315, + "column": 22 + }, + "identifierName": "addMeasure" + }, + "name": "addMeasure" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9695, + "end": 9702, + "loc": { + "start": { + "line": 315, + "column": 23 + }, + "end": { + "line": 315, + "column": 30 + }, + "identifierName": "maxTime" + }, + "name": "maxTime" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9708, + "end": 9733, + "loc": { + "start": { + "line": 317, + "column": 2 + }, + "end": { + "line": 317, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 9708, + "end": 9732, + "loc": { + "start": { + "line": 317, + "column": 2 + }, + "end": { + "line": 317, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9708, + "end": 9723, + "loc": { + "start": { + "line": 317, + "column": 2 + }, + "end": { + "line": 317, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 9708, + "end": 9717, + "loc": { + "start": { + "line": 317, + "column": 2 + }, + "end": { + "line": 317, + "column": 11 + }, + "identifierName": "histMeter" + }, + "name": "histMeter" + }, + "property": { + "type": "Identifier", + "start": 9718, + "end": 9723, + "loc": { + "start": { + "line": 317, + "column": 12 + }, + "end": { + "line": 317, + "column": 17 + }, + "identifierName": "setId" + }, + "name": "setId" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9724, + "end": 9731, + "loc": { + "start": { + "line": 317, + "column": 18 + }, + "end": { + "line": 317, + "column": 25 + }, + "identifierName": "meterId" + }, + "name": "meterId" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9737, + "end": 9760, + "loc": { + "start": { + "line": 319, + "column": 2 + }, + "end": { + "line": 319, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 9737, + "end": 9759, + "loc": { + "start": { + "line": 319, + "column": 2 + }, + "end": { + "line": 319, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9737, + "end": 9748, + "loc": { + "start": { + "line": 319, + "column": 2 + }, + "end": { + "line": 319, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 9737, + "end": 9743, + "loc": { + "start": { + "line": 319, + "column": 2 + }, + "end": { + "line": 319, + "column": 8 + }, + "identifierName": "meters" + }, + "name": "meters" + }, + "property": { + "type": "Identifier", + "start": 9744, + "end": 9748, + "loc": { + "start": { + "line": 319, + "column": 9 + }, + "end": { + "line": 319, + "column": 13 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9749, + "end": 9758, + "loc": { + "start": { + "line": 319, + "column": 14 + }, + "end": { + "line": 319, + "column": 23 + }, + "identifierName": "histMeter" + }, + "name": "histMeter" + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 9764, + "end": 9778, + "loc": { + "start": { + "line": 321, + "column": 2 + }, + "end": { + "line": 321, + "column": 16 + } + }, + "argument": { + "type": "Identifier", + "start": 9771, + "end": 9777, + "loc": { + "start": { + "line": 321, + "column": 9 + }, + "end": { + "line": 321, + "column": 15 + }, + "identifierName": "meters" + }, + "name": "meters" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} imeter\n * @return {Meter[]}\n * @throws {Error} if {@link imeter} is not a {@link Timer}\n ", + "start": 7732, + "end": 7846, + "loc": { + "start": { + "line": 250, + "column": 0 + }, + "end": { + "line": 254, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} imeter\n * @return {Meter[]}\n ", + "start": 9782, + "end": 9836, + "loc": { + "start": { + "line": 324, + "column": 0 + }, + "end": { + "line": 327, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 9837, + "end": 10802, + "loc": { + "start": { + "line": 328, + "column": 0 + }, + "end": { + "line": 363, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 9846, + "end": 9860, + "loc": { + "start": { + "line": 328, + "column": 9 + }, + "end": { + "line": 328, + "column": 23 + }, + "identifierName": "basicConverter" + }, + "name": "basicConverter", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9861, + "end": 9867, + "loc": { + "start": { + "line": 328, + "column": 24 + }, + "end": { + "line": 328, + "column": 30 + }, + "identifierName": "imeter" + }, + "name": "imeter" + } + ], + "body": { + "type": "BlockStatement", + "start": 9869, + "end": 10802, + "loc": { + "start": { + "line": 328, + "column": 32 + }, + "end": { + "line": 363, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 9873, + "end": 9891, + "loc": { + "start": { + "line": 329, + "column": 2 + }, + "end": { + "line": 329, + "column": 20 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9879, + "end": 9890, + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 329, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 9879, + "end": 9885, + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 329, + "column": 14 + }, + "identifierName": "meters" + }, + "name": "meters" + }, + "init": { + "type": "ArrayExpression", + "start": 9888, + "end": 9890, + "loc": { + "start": { + "line": 329, + "column": 17 + }, + "end": { + "line": 329, + "column": 19 + } + }, + "elements": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 9894, + "end": 9919, + "loc": { + "start": { + "line": 330, + "column": 2 + }, + "end": { + "line": 330, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9900, + "end": 9918, + "loc": { + "start": { + "line": 330, + "column": 8 + }, + "end": { + "line": 330, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 9900, + "end": 9904, + "loc": { + "start": { + "line": 330, + "column": 8 + }, + "end": { + "line": 330, + "column": 12 + }, + "identifierName": "name" + }, + "name": "name" + }, + "init": { + "type": "MemberExpression", + "start": 9907, + "end": 9918, + "loc": { + "start": { + "line": 330, + "column": 15 + }, + "end": { + "line": 330, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 9907, + "end": 9913, + "loc": { + "start": { + "line": 330, + "column": 15 + }, + "end": { + "line": 330, + "column": 21 + }, + "identifierName": "imeter" + }, + "name": "imeter" + }, + "property": { + "type": "Identifier", + "start": 9914, + "end": 9918, + "loc": { + "start": { + "line": 330, + "column": 22 + }, + "end": { + "line": 330, + "column": 26 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 9922, + "end": 9960, + "loc": { + "start": { + "line": 331, + "column": 2 + }, + "end": { + "line": 331, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9928, + "end": 9959, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 331, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 9928, + "end": 9932, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 331, + "column": 12 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "init": { + "type": "CallExpression", + "start": 9935, + "end": 9959, + "loc": { + "start": { + "line": 331, + "column": 15 + }, + "end": { + "line": 331, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 9935, + "end": 9946, + "loc": { + "start": { + "line": 331, + "column": 15 + }, + "end": { + "line": 331, + "column": 26 + }, + "identifierName": "convertTags" + }, + "name": "convertTags" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9947, + "end": 9958, + "loc": { + "start": { + "line": 331, + "column": 27 + }, + "end": { + "line": 331, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 9947, + "end": 9953, + "loc": { + "start": { + "line": 331, + "column": 27 + }, + "end": { + "line": 331, + "column": 33 + }, + "identifierName": "imeter" + }, + "name": "imeter" + }, + "property": { + "type": "Identifier", + "start": 9954, + "end": 9958, + "loc": { + "start": { + "line": 331, + "column": 34 + }, + "end": { + "line": 331, + "column": 38 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "computed": false + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Add meters for different windowed EWMAs", + "start": 9964, + "end": 10006, + "loc": { + "start": { + "line": 333, + "column": 2 + }, + "end": { + "line": 333, + "column": 44 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 10009, + "end": 10047, + "loc": { + "start": { + "line": 334, + "column": 2 + }, + "end": { + "line": 334, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 10015, + "end": 10046, + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 334, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 10015, + "end": 10029, + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 334, + "column": 22 + }, + "identifierName": "valuesSnapshot" + }, + "name": "valuesSnapshot", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 10032, + "end": 10046, + "loc": { + "start": { + "line": 334, + "column": 25 + }, + "end": { + "line": 334, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10032, + "end": 10044, + "loc": { + "start": { + "line": 334, + "column": 25 + }, + "end": { + "line": 334, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 10032, + "end": 10038, + "loc": { + "start": { + "line": 334, + "column": 25 + }, + "end": { + "line": 334, + "column": 31 + }, + "identifierName": "imeter" + }, + "name": "imeter" + }, + "property": { + "type": "Identifier", + "start": 10039, + "end": 10044, + "loc": { + "start": { + "line": 334, + "column": 32 + }, + "end": { + "line": 334, + "column": 37 + }, + "identifierName": "rates" + }, + "name": "rates" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Add meters for different windowed EWMAs", + "start": 9964, + "end": 10006, + "loc": { + "start": { + "line": 333, + "column": 2 + }, + "end": { + "line": 333, + "column": 44 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 10050, + "end": 10782, + "loc": { + "start": { + "line": 335, + "column": 2 + }, + "end": { + "line": 360, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 10050, + "end": 10781, + "loc": { + "start": { + "line": 335, + "column": 2 + }, + "end": { + "line": 360, + "column": 4 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10050, + "end": 10085, + "loc": { + "start": { + "line": 335, + "column": 2 + }, + "end": { + "line": 335, + "column": 37 + } + }, + "object": { + "type": "CallExpression", + "start": 10050, + "end": 10077, + "loc": { + "start": { + "line": 335, + "column": 2 + }, + "end": { + "line": 335, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10050, + "end": 10061, + "loc": { + "start": { + "line": 335, + "column": 2 + }, + "end": { + "line": 335, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 10050, + "end": 10056, + "loc": { + "start": { + "line": 335, + "column": 2 + }, + "end": { + "line": 335, + "column": 8 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 10057, + "end": 10061, + "loc": { + "start": { + "line": 335, + "column": 9 + }, + "end": { + "line": 335, + "column": 13 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10062, + "end": 10076, + "loc": { + "start": { + "line": 335, + "column": 14 + }, + "end": { + "line": 335, + "column": 28 + }, + "identifierName": "valuesSnapshot" + }, + "name": "valuesSnapshot" + } + ] + }, + "property": { + "type": "Identifier", + "start": 10078, + "end": 10085, + "loc": { + "start": { + "line": 335, + "column": 30 + }, + "end": { + "line": 335, + "column": 37 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10086, + "end": 10780, + "loc": { + "start": { + "line": 335, + "column": 38 + }, + "end": { + "line": 360, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10086, + "end": 10090, + "loc": { + "start": { + "line": 335, + "column": 38 + }, + "end": { + "line": 335, + "column": 42 + }, + "identifierName": "rate" + }, + "name": "rate" + } + ], + "body": { + "type": "BlockStatement", + "start": 10094, + "end": 10780, + "loc": { + "start": { + "line": 335, + "column": 46 + }, + "end": { + "line": 360, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 10100, + "end": 10126, + "loc": { + "start": { + "line": 336, + "column": 4 + }, + "end": { + "line": 336, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 10106, + "end": 10125, + "loc": { + "start": { + "line": 336, + "column": 10 + }, + "end": { + "line": 336, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 10106, + "end": 10111, + "loc": { + "start": { + "line": 336, + "column": 10 + }, + "end": { + "line": 336, + "column": 15 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "init": { + "type": "NewExpression", + "start": 10114, + "end": 10125, + "loc": { + "start": { + "line": 336, + "column": 18 + }, + "end": { + "line": 336, + "column": 29 + } + }, + "callee": { + "type": "Identifier", + "start": 10118, + "end": 10123, + "loc": { + "start": { + "line": 336, + "column": 22 + }, + "end": { + "line": 336, + "column": 27 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 10132, + "end": 10167, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 10138, + "end": 10166, + "loc": { + "start": { + "line": 338, + "column": 10 + }, + "end": { + "line": 338, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 10138, + "end": 10143, + "loc": { + "start": { + "line": 338, + "column": 10 + }, + "end": { + "line": 338, + "column": 15 + }, + "identifierName": "value" + }, + "name": "value" + }, + "init": { + "type": "MemberExpression", + "start": 10146, + "end": 10166, + "loc": { + "start": { + "line": 338, + "column": 18 + }, + "end": { + "line": 338, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 10146, + "end": 10160, + "loc": { + "start": { + "line": 338, + "column": 18 + }, + "end": { + "line": 338, + "column": 32 + }, + "identifierName": "valuesSnapshot" + }, + "name": "valuesSnapshot" + }, + "property": { + "type": "Identifier", + "start": 10161, + "end": 10165, + "loc": { + "start": { + "line": 338, + "column": 33 + }, + "end": { + "line": 338, + "column": 37 + }, + "identifierName": "rate" + }, + "name": "rate" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 10172, + "end": 10203, + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 339, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 10178, + "end": 10202, + "loc": { + "start": { + "line": 339, + "column": 10 + }, + "end": { + "line": 339, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 10178, + "end": 10185, + "loc": { + "start": { + "line": 339, + "column": 10 + }, + "end": { + "line": 339, + "column": 17 + }, + "identifierName": "ewmaTag" + }, + "name": "ewmaTag" + }, + "init": { + "type": "NewExpression", + "start": 10188, + "end": 10202, + "loc": { + "start": { + "line": 339, + "column": 20 + }, + "end": { + "line": 339, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 10192, + "end": 10200, + "loc": { + "start": { + "line": 339, + "column": 24 + }, + "end": { + "line": 339, + "column": 32 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 10208, + "end": 10249, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 45 + } + }, + "expression": { + "type": "CallExpression", + "start": 10208, + "end": 10248, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10208, + "end": 10222, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 10208, + "end": 10215, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 11 + }, + "identifierName": "ewmaTag" + }, + "name": "ewmaTag" + }, + "property": { + "type": "Identifier", + "start": 10216, + "end": 10222, + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 18 + }, + "identifierName": "setKey" + }, + "name": "setKey" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 10223, + "end": 10247, + "loc": { + "start": { + "line": 340, + "column": 19 + }, + "end": { + "line": 340, + "column": 43 + } + }, + "extra": { + "rawValue": "moving-average-minutes", + "raw": "'moving-average-minutes'" + }, + "value": "moving-average-minutes" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10254, + "end": 10277, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 10254, + "end": 10276, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10254, + "end": 10270, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 10254, + "end": 10261, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 11 + }, + "identifierName": "ewmaTag" + }, + "name": "ewmaTag" + }, + "property": { + "type": "Identifier", + "start": 10262, + "end": 10270, + "loc": { + "start": { + "line": 341, + "column": 12 + }, + "end": { + "line": 341, + "column": 20 + }, + "identifierName": "setValue" + }, + "name": "setValue" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10271, + "end": 10275, + "loc": { + "start": { + "line": 341, + "column": 21 + }, + "end": { + "line": 341, + "column": 25 + }, + "identifierName": "rate" + }, + "name": "rate" + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 10283, + "end": 10313, + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 343, + "column": 34 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 10289, + "end": 10312, + "loc": { + "start": { + "line": 343, + "column": 10 + }, + "end": { + "line": 343, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 10289, + "end": 10296, + "loc": { + "start": { + "line": 343, + "column": 10 + }, + "end": { + "line": 343, + "column": 17 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "init": { + "type": "NewExpression", + "start": 10299, + "end": 10312, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 10303, + "end": 10310, + "loc": { + "start": { + "line": 343, + "column": 24 + }, + "end": { + "line": 343, + "column": 31 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 10318, + "end": 10340, + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 344, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 10318, + "end": 10339, + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 344, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10318, + "end": 10333, + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 344, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 10318, + "end": 10325, + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 344, + "column": 11 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 10326, + "end": 10333, + "loc": { + "start": { + "line": 344, + "column": 12 + }, + "end": { + "line": 344, + "column": 19 + }, + "identifierName": "setName" + }, + "name": "setName" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10334, + "end": 10338, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 24 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10345, + "end": 10386, + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 345, + "column": 45 + } + }, + "expression": { + "type": "CallExpression", + "start": 10345, + "end": 10385, + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 345, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10345, + "end": 10357, + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 345, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 10345, + "end": 10349, + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 345, + "column": 8 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "property": { + "type": "Identifier", + "start": 10350, + "end": 10357, + "loc": { + "start": { + "line": 345, + "column": 9 + }, + "end": { + "line": 345, + "column": 16 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10358, + "end": 10384, + "loc": { + "start": { + "line": 345, + "column": 17 + }, + "end": { + "line": 345, + "column": 43 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10358, + "end": 10361, + "loc": { + "start": { + "line": 345, + "column": 17 + }, + "end": { + "line": 345, + "column": 20 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ], + "body": { + "type": "CallExpression", + "start": 10365, + "end": 10384, + "loc": { + "start": { + "line": 345, + "column": 24 + }, + "end": { + "line": 345, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10365, + "end": 10379, + "loc": { + "start": { + "line": 345, + "column": 24 + }, + "end": { + "line": 345, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 10365, + "end": 10372, + "loc": { + "start": { + "line": 345, + "column": 24 + }, + "end": { + "line": 345, + "column": 31 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 10373, + "end": 10379, + "loc": { + "start": { + "line": 345, + "column": 32 + }, + "end": { + "line": 345, + "column": 38 + }, + "identifierName": "addTag" + }, + "name": "addTag" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10380, + "end": 10383, + "loc": { + "start": { + "line": 345, + "column": 39 + }, + "end": { + "line": 345, + "column": 42 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10391, + "end": 10415, + "loc": { + "start": { + "line": 346, + "column": 4 + }, + "end": { + "line": 346, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 10391, + "end": 10414, + "loc": { + "start": { + "line": 346, + "column": 4 + }, + "end": { + "line": 346, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10391, + "end": 10405, + "loc": { + "start": { + "line": 346, + "column": 4 + }, + "end": { + "line": 346, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 10391, + "end": 10398, + "loc": { + "start": { + "line": 346, + "column": 4 + }, + "end": { + "line": 346, + "column": 11 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 10399, + "end": 10405, + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 18 + }, + "identifierName": "addTag" + }, + "name": "addTag" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10406, + "end": 10413, + "loc": { + "start": { + "line": 346, + "column": 19 + }, + "end": { + "line": 346, + "column": 26 + }, + "identifierName": "ewmaTag" + }, + "name": "ewmaTag" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10420, + "end": 10466, + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 347, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 10420, + "end": 10465, + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 347, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10420, + "end": 10435, + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 347, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 10420, + "end": 10427, + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 347, + "column": 11 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 10428, + "end": 10435, + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 19 + }, + "identifierName": "setType" + }, + "name": "setType" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 10436, + "end": 10464, + "loc": { + "start": { + "line": 347, + "column": 20 + }, + "end": { + "line": 347, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 10436, + "end": 10451, + "loc": { + "start": { + "line": 347, + "column": 20 + }, + "end": { + "line": 347, + "column": 35 + }, + "identifierName": "meterTypeLookup" + }, + "name": "meterTypeLookup" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10452, + "end": 10463, + "loc": { + "start": { + "line": 347, + "column": 36 + }, + "end": { + "line": 347, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 10452, + "end": 10458, + "loc": { + "start": { + "line": 347, + "column": 36 + }, + "end": { + "line": 347, + "column": 42 + }, + "identifierName": "imeter" + }, + "name": "imeter" + }, + "property": { + "type": "Identifier", + "start": 10459, + "end": 10463, + "loc": { + "start": { + "line": 347, + "column": 43 + }, + "end": { + "line": 347, + "column": 47 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10471, + "end": 10514, + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 348, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 10471, + "end": 10513, + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 348, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10471, + "end": 10493, + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 348, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 10471, + "end": 10478, + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 348, + "column": 11 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 10479, + "end": 10493, + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 26 + }, + "identifierName": "setDescription" + }, + "name": "setDescription" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10494, + "end": 10512, + "loc": { + "start": { + "line": 348, + "column": 27 + }, + "end": { + "line": 348, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 10494, + "end": 10500, + "loc": { + "start": { + "line": 348, + "column": 27 + }, + "end": { + "line": 348, + "column": 33 + }, + "identifierName": "imeter" + }, + "name": "imeter" + }, + "property": { + "type": "Identifier", + "start": 10501, + "end": 10512, + "loc": { + "start": { + "line": 348, + "column": 34 + }, + "end": { + "line": 348, + "column": 45 + }, + "identifierName": "description" + }, + "name": "description" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10519, + "end": 10553, + "loc": { + "start": { + "line": 349, + "column": 4 + }, + "end": { + "line": 349, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 10519, + "end": 10552, + "loc": { + "start": { + "line": 349, + "column": 4 + }, + "end": { + "line": 349, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10519, + "end": 10538, + "loc": { + "start": { + "line": 349, + "column": 4 + }, + "end": { + "line": 349, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 10519, + "end": 10526, + "loc": { + "start": { + "line": 349, + "column": 4 + }, + "end": { + "line": 349, + "column": 11 + }, + "identifierName": "meterId" + }, + "name": "meterId" + }, + "property": { + "type": "Identifier", + "start": 10527, + "end": 10538, + "loc": { + "start": { + "line": 349, + "column": 12 + }, + "end": { + "line": 349, + "column": 23 + }, + "identifierName": "setBaseunit" + }, + "name": "setBaseunit" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10539, + "end": 10551, + "loc": { + "start": { + "line": 349, + "column": 24 + }, + "end": { + "line": 349, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 10539, + "end": 10545, + "loc": { + "start": { + "line": 349, + "column": 24 + }, + "end": { + "line": 349, + "column": 30 + }, + "identifierName": "imeter" + }, + "name": "imeter" + }, + "property": { + "type": "Identifier", + "start": 10546, + "end": 10551, + "loc": { + "start": { + "line": 349, + "column": 31 + }, + "end": { + "line": 349, + "column": 36 + }, + "identifierName": "units" + }, + "name": "units" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10559, + "end": 10580, + "loc": { + "start": { + "line": 351, + "column": 4 + }, + "end": { + "line": 351, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 10559, + "end": 10579, + "loc": { + "start": { + "line": 351, + "column": 4 + }, + "end": { + "line": 351, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10559, + "end": 10570, + "loc": { + "start": { + "line": 351, + "column": 4 + }, + "end": { + "line": 351, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 10559, + "end": 10564, + "loc": { + "start": { + "line": 351, + "column": 4 + }, + "end": { + "line": 351, + "column": 9 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 10565, + "end": 10570, + "loc": { + "start": { + "line": 351, + "column": 10 + }, + "end": { + "line": 351, + "column": 15 + }, + "identifierName": "setId" + }, + "name": "setId" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10571, + "end": 10578, + "loc": { + "start": { + "line": 351, + "column": 16 + }, + "end": { + "line": 351, + "column": 23 + }, + "identifierName": "meterId" + }, + "name": "meterId" + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 10586, + "end": 10625, + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 353, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 10592, + "end": 10624, + "loc": { + "start": { + "line": 353, + "column": 10 + }, + "end": { + "line": 353, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 10592, + "end": 10599, + "loc": { + "start": { + "line": 353, + "column": 10 + }, + "end": { + "line": 353, + "column": 17 + }, + "identifierName": "measure" + }, + "name": "measure" + }, + "init": { + "type": "NewExpression", + "start": 10602, + "end": 10624, + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 42 + } + }, + "callee": { + "type": "Identifier", + "start": 10606, + "end": 10622, + "loc": { + "start": { + "line": 353, + "column": 24 + }, + "end": { + "line": 353, + "column": 40 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 10630, + "end": 10654, + "loc": { + "start": { + "line": 354, + "column": 4 + }, + "end": { + "line": 354, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 10630, + "end": 10653, + "loc": { + "start": { + "line": 354, + "column": 4 + }, + "end": { + "line": 354, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10630, + "end": 10646, + "loc": { + "start": { + "line": 354, + "column": 4 + }, + "end": { + "line": 354, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 10630, + "end": 10637, + "loc": { + "start": { + "line": 354, + "column": 4 + }, + "end": { + "line": 354, + "column": 11 + }, + "identifierName": "measure" + }, + "name": "measure" + }, + "property": { + "type": "Identifier", + "start": 10638, + "end": 10646, + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 20 + }, + "identifierName": "setValue" + }, + "name": "setValue" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10647, + "end": 10652, + "loc": { + "start": { + "line": 354, + "column": 21 + }, + "end": { + "line": 354, + "column": 26 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10659, + "end": 10719, + "loc": { + "start": { + "line": 355, + "column": 4 + }, + "end": { + "line": 355, + "column": 64 + } + }, + "expression": { + "type": "CallExpression", + "start": 10659, + "end": 10718, + "loc": { + "start": { + "line": 355, + "column": 4 + }, + "end": { + "line": 355, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10659, + "end": 10679, + "loc": { + "start": { + "line": 355, + "column": 4 + }, + "end": { + "line": 355, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 10659, + "end": 10666, + "loc": { + "start": { + "line": 355, + "column": 4 + }, + "end": { + "line": 355, + "column": 11 + }, + "identifierName": "measure" + }, + "name": "measure" + }, + "property": { + "type": "Identifier", + "start": 10667, + "end": 10679, + "loc": { + "start": { + "line": 355, + "column": 12 + }, + "end": { + "line": 355, + "column": 24 + }, + "identifierName": "setStatistic" + }, + "name": "setStatistic" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 10680, + "end": 10717, + "loc": { + "start": { + "line": 355, + "column": 25 + }, + "end": { + "line": 355, + "column": 62 + } + }, + "callee": { + "type": "Identifier", + "start": 10680, + "end": 10699, + "loc": { + "start": { + "line": 355, + "column": 25 + }, + "end": { + "line": 355, + "column": 44 + }, + "identifierName": "statisticTypeLookup" + }, + "name": "statisticTypeLookup" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10700, + "end": 10716, + "loc": { + "start": { + "line": 355, + "column": 45 + }, + "end": { + "line": 355, + "column": 61 + } + }, + "object": { + "type": "Identifier", + "start": 10700, + "end": 10706, + "loc": { + "start": { + "line": 355, + "column": 45 + }, + "end": { + "line": 355, + "column": 51 + }, + "identifierName": "imeter" + }, + "name": "imeter" + }, + "property": { + "type": "Identifier", + "start": 10707, + "end": 10716, + "loc": { + "start": { + "line": 355, + "column": 52 + }, + "end": { + "line": 355, + "column": 61 + }, + "identifierName": "statistic" + }, + "name": "statistic" + }, + "computed": false + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10725, + "end": 10751, + "loc": { + "start": { + "line": 357, + "column": 4 + }, + "end": { + "line": 357, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 10725, + "end": 10750, + "loc": { + "start": { + "line": 357, + "column": 4 + }, + "end": { + "line": 357, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10725, + "end": 10741, + "loc": { + "start": { + "line": 357, + "column": 4 + }, + "end": { + "line": 357, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 10725, + "end": 10730, + "loc": { + "start": { + "line": 357, + "column": 4 + }, + "end": { + "line": 357, + "column": 9 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 10731, + "end": 10741, + "loc": { + "start": { + "line": 357, + "column": 10 + }, + "end": { + "line": 357, + "column": 20 + }, + "identifierName": "addMeasure" + }, + "name": "addMeasure" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10742, + "end": 10749, + "loc": { + "start": { + "line": 357, + "column": 21 + }, + "end": { + "line": 357, + "column": 28 + }, + "identifierName": "measure" + }, + "name": "measure" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10757, + "end": 10776, + "loc": { + "start": { + "line": 359, + "column": 4 + }, + "end": { + "line": 359, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 10757, + "end": 10775, + "loc": { + "start": { + "line": 359, + "column": 4 + }, + "end": { + "line": 359, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10757, + "end": 10768, + "loc": { + "start": { + "line": 359, + "column": 4 + }, + "end": { + "line": 359, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 10757, + "end": 10763, + "loc": { + "start": { + "line": 359, + "column": 4 + }, + "end": { + "line": 359, + "column": 10 + }, + "identifierName": "meters" + }, + "name": "meters" + }, + "property": { + "type": "Identifier", + "start": 10764, + "end": 10768, + "loc": { + "start": { + "line": 359, + "column": 11 + }, + "end": { + "line": 359, + "column": 15 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10769, + "end": 10774, + "loc": { + "start": { + "line": 359, + "column": 16 + }, + "end": { + "line": 359, + "column": 21 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 10786, + "end": 10800, + "loc": { + "start": { + "line": 362, + "column": 2 + }, + "end": { + "line": 362, + "column": 16 + } + }, + "argument": { + "type": "Identifier", + "start": 10793, + "end": 10799, + "loc": { + "start": { + "line": 362, + "column": 9 + }, + "end": { + "line": 362, + "column": 15 + }, + "identifierName": "meters" + }, + "name": "meters" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} imeter\n * @return {Meter[]}\n ", + "start": 9782, + "end": 9836, + "loc": { + "start": { + "line": 324, + "column": 0 + }, + "end": { + "line": 327, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {RawMeterTag[]} tags\n * @return {MeterTag[]}\n ", + "start": 10804, + "end": 10866, + "loc": { + "start": { + "line": 365, + "column": 0 + }, + "end": { + "line": 368, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 10867, + "end": 11060, + "loc": { + "start": { + "line": 369, + "column": 0 + }, + "end": { + "line": 376, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 10876, + "end": 10887, + "loc": { + "start": { + "line": 369, + "column": 9 + }, + "end": { + "line": 369, + "column": 20 + }, + "identifierName": "convertTags" + }, + "name": "convertTags", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10888, + "end": 10892, + "loc": { + "start": { + "line": 369, + "column": 21 + }, + "end": { + "line": 369, + "column": 25 + }, + "identifierName": "tags" + }, + "name": "tags" + } + ], + "body": { + "type": "BlockStatement", + "start": 10894, + "end": 11060, + "loc": { + "start": { + "line": 369, + "column": 27 + }, + "end": { + "line": 376, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10898, + "end": 11058, + "loc": { + "start": { + "line": 370, + "column": 2 + }, + "end": { + "line": 375, + "column": 5 + } + }, + "argument": { + "type": "CallExpression", + "start": 10905, + "end": 11057, + "loc": { + "start": { + "line": 370, + "column": 9 + }, + "end": { + "line": 375, + "column": 4 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10905, + "end": 10921, + "loc": { + "start": { + "line": 370, + "column": 9 + }, + "end": { + "line": 370, + "column": 25 + } + }, + "object": { + "type": "LogicalExpression", + "start": 10906, + "end": 10916, + "loc": { + "start": { + "line": 370, + "column": 10 + }, + "end": { + "line": 370, + "column": 20 + } + }, + "left": { + "type": "Identifier", + "start": 10906, + "end": 10910, + "loc": { + "start": { + "line": 370, + "column": 10 + }, + "end": { + "line": 370, + "column": 14 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "operator": "||", + "right": { + "type": "ArrayExpression", + "start": 10914, + "end": 10916, + "loc": { + "start": { + "line": 370, + "column": 18 + }, + "end": { + "line": 370, + "column": 20 + } + }, + "elements": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 10905 + } + }, + "property": { + "type": "Identifier", + "start": 10918, + "end": 10921, + "loc": { + "start": { + "line": 370, + "column": 22 + }, + "end": { + "line": 370, + "column": 25 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10922, + "end": 11056, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 375, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10922, + "end": 10925, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 29 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ], + "body": { + "type": "BlockStatement", + "start": 10929, + "end": 11056, + "loc": { + "start": { + "line": 370, + "column": 33 + }, + "end": { + "line": 375, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 10935, + "end": 10967, + "loc": { + "start": { + "line": 371, + "column": 4 + }, + "end": { + "line": 371, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 10941, + "end": 10966, + "loc": { + "start": { + "line": 371, + "column": 10 + }, + "end": { + "line": 371, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 10941, + "end": 10949, + "loc": { + "start": { + "line": 371, + "column": 10 + }, + "end": { + "line": 371, + "column": 18 + }, + "identifierName": "finalTag" + }, + "name": "finalTag" + }, + "init": { + "type": "NewExpression", + "start": 10952, + "end": 10966, + "loc": { + "start": { + "line": 371, + "column": 21 + }, + "end": { + "line": 371, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 10956, + "end": 10964, + "loc": { + "start": { + "line": 371, + "column": 25 + }, + "end": { + "line": 371, + "column": 33 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 10972, + "end": 10997, + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 372, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 10972, + "end": 10996, + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 372, + "column": 28 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10972, + "end": 10987, + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 372, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 10972, + "end": 10980, + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 372, + "column": 12 + }, + "identifierName": "finalTag" + }, + "name": "finalTag" + }, + "property": { + "type": "Identifier", + "start": 10981, + "end": 10987, + "loc": { + "start": { + "line": 372, + "column": 13 + }, + "end": { + "line": 372, + "column": 19 + }, + "identifierName": "setKey" + }, + "name": "setKey" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10988, + "end": 10995, + "loc": { + "start": { + "line": 372, + "column": 20 + }, + "end": { + "line": 372, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 10988, + "end": 10991, + "loc": { + "start": { + "line": 372, + "column": 20 + }, + "end": { + "line": 372, + "column": 23 + }, + "identifierName": "tag" + }, + "name": "tag" + }, + "property": { + "type": "Identifier", + "start": 10992, + "end": 10995, + "loc": { + "start": { + "line": 372, + "column": 24 + }, + "end": { + "line": 372, + "column": 27 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": false + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 11002, + "end": 11031, + "loc": { + "start": { + "line": 373, + "column": 4 + }, + "end": { + "line": 373, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 11002, + "end": 11030, + "loc": { + "start": { + "line": 373, + "column": 4 + }, + "end": { + "line": 373, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11002, + "end": 11019, + "loc": { + "start": { + "line": 373, + "column": 4 + }, + "end": { + "line": 373, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 11002, + "end": 11010, + "loc": { + "start": { + "line": 373, + "column": 4 + }, + "end": { + "line": 373, + "column": 12 + }, + "identifierName": "finalTag" + }, + "name": "finalTag" + }, + "property": { + "type": "Identifier", + "start": 11011, + "end": 11019, + "loc": { + "start": { + "line": 373, + "column": 13 + }, + "end": { + "line": 373, + "column": 21 + }, + "identifierName": "setValue" + }, + "name": "setValue" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 11020, + "end": 11029, + "loc": { + "start": { + "line": 373, + "column": 22 + }, + "end": { + "line": 373, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 11020, + "end": 11023, + "loc": { + "start": { + "line": 373, + "column": 22 + }, + "end": { + "line": 373, + "column": 25 + }, + "identifierName": "tag" + }, + "name": "tag" + }, + "property": { + "type": "Identifier", + "start": 11024, + "end": 11029, + "loc": { + "start": { + "line": 373, + "column": 26 + }, + "end": { + "line": 373, + "column": 31 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 11036, + "end": 11052, + "loc": { + "start": { + "line": 374, + "column": 4 + }, + "end": { + "line": 374, + "column": 20 + } + }, + "argument": { + "type": "Identifier", + "start": 11043, + "end": 11051, + "loc": { + "start": { + "line": 374, + "column": 11 + }, + "end": { + "line": 374, + "column": 19 + }, + "identifierName": "finalTag" + }, + "name": "finalTag" + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {RawMeterTag[]} tags\n * @return {MeterTag[]}\n ", + "start": 10804, + "end": 10866, + "loc": { + "start": { + "line": 365, + "column": 0 + }, + "end": { + "line": 368, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Convert milliseconds to nanoseconds.\n * Note: this is not safe for timestamps, just time measurements.\n *\n * @param {number} milliseconds - a number of milliseconds to convert\n * @return {number} the value of {@link milliseconds} converted to nanoseconds\n ", + "start": 11062, + "end": 11327, + "loc": { + "start": { + "line": 378, + "column": 0 + }, + "end": { + "line": 384, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 11328, + "end": 11405, + "loc": { + "start": { + "line": 385, + "column": 0 + }, + "end": { + "line": 387, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 11337, + "end": 11350, + "loc": { + "start": { + "line": 385, + "column": 9 + }, + "end": { + "line": 385, + "column": 22 + }, + "identifierName": "toNanoseconds" + }, + "name": "toNanoseconds", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11351, + "end": 11363, + "loc": { + "start": { + "line": 385, + "column": 23 + }, + "end": { + "line": 385, + "column": 35 + }, + "identifierName": "milliseconds" + }, + "name": "milliseconds" + } + ], + "body": { + "type": "BlockStatement", + "start": 11365, + "end": 11405, + "loc": { + "start": { + "line": 385, + "column": 37 + }, + "end": { + "line": 387, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 11369, + "end": 11403, + "loc": { + "start": { + "line": 386, + "column": 2 + }, + "end": { + "line": 386, + "column": 36 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 11376, + "end": 11402, + "loc": { + "start": { + "line": 386, + "column": 9 + }, + "end": { + "line": 386, + "column": 35 + } + }, + "left": { + "type": "BinaryExpression", + "start": 11376, + "end": 11395, + "loc": { + "start": { + "line": 386, + "column": 9 + }, + "end": { + "line": 386, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 11376, + "end": 11388, + "loc": { + "start": { + "line": 386, + "column": 9 + }, + "end": { + "line": 386, + "column": 21 + }, + "identifierName": "milliseconds" + }, + "name": "milliseconds" + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 11391, + "end": 11395, + "loc": { + "start": { + "line": 386, + "column": 24 + }, + "end": { + "line": 386, + "column": 28 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 11398, + "end": 11402, + "loc": { + "start": { + "line": 386, + "column": 31 + }, + "end": { + "line": 386, + "column": 35 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Convert milliseconds to nanoseconds.\n * Note: this is not safe for timestamps, just time measurements.\n *\n * @param {number} milliseconds - a number of milliseconds to convert\n * @return {number} the value of {@link milliseconds} converted to nanoseconds\n ", + "start": 11062, + "end": 11327, + "loc": { + "start": { + "line": 378, + "column": 0 + }, + "end": { + "line": 384, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Not currently functional.\n *\n * @todo Do something with this?\n * @param {Skew} skew\n ", + "start": 11407, + "end": 11501, + "loc": { + "start": { + "line": 389, + "column": 0 + }, + "end": { + "line": 394, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 11502, + "end": 11581, + "loc": { + "start": { + "line": 395, + "column": 0 + }, + "end": { + "line": 398, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 11511, + "end": 11526, + "loc": { + "start": { + "line": 395, + "column": 9 + }, + "end": { + "line": 395, + "column": 24 + }, + "identifierName": "recordClockSkew" + }, + "name": "recordClockSkew", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11527, + "end": 11531, + "loc": { + "start": { + "line": 395, + "column": 25 + }, + "end": { + "line": 395, + "column": 29 + }, + "identifierName": "skew" + }, + "name": "skew" + } + ], + "body": { + "type": "BlockStatement", + "start": 11533, + "end": 11581, + "loc": { + "start": { + "line": 395, + "column": 31 + }, + "end": { + "line": 398, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 11572, + "end": 11579, + "loc": { + "start": { + "line": 397, + "column": 2 + }, + "end": { + "line": 397, + "column": 9 + } + }, + "argument": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " TODO: do something with this?", + "start": 11537, + "end": 11569, + "loc": { + "start": { + "line": 396, + "column": 2 + }, + "end": { + "line": 396, + "column": 34 + } + } + } + ] + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Not currently functional.\n *\n * @todo Do something with this?\n * @param {Skew} skew\n ", + "start": 11407, + "end": 11501, + "loc": { + "start": { + "line": 389, + "column": 0 + }, + "end": { + "line": 394, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 976, + "end": 989, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 976, + "end": 988, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsExporter.js\n * @fileoverview Defines the MetricsExporter class\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires metrics_pb\n * @requires metrics_rsocket_pb\n * @requires RawMeterTag\n * @requires Timer\n * @requires IMeterRegistry\n * @requires IMeter\n * @exports MetricsExporter\n ", + "start": 0, + "end": 974, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsExporter.js\n * @fileoverview Defines the MetricsExporter class\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires metrics_pb\n * @requires metrics_rsocket_pb\n * @requires RawMeterTag\n * @requires Timer\n * @requires IMeterRegistry\n * @requires IMeter\n * @exports MetricsExporter\n ", + "start": 0, + "end": 974, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An RSocket native metrics source.\n * @example\n * const meters = new SimpleMeterRegistry();\n * const snapshotClient = new MetricsSnapshotHandlerClient(rsocket);\n * metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);\n * metricsExporter.start();\n * @todo use {@link MetricsExporter#batchSize} to window the snapshots\n ", + "start": 1410, + "end": 1755, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {MetricsSnapshotHandlerClient} handler -\n * @param {IMeterRegistry} registry -\n * @param {number} exportPeriodSeconds - \n * @param {number} batchSize - metrics count\n ", + "start": 1798, + "end": 1990, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 59, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {MetricsSnapshotHandlerClient} ", + "start": 2062, + "end": 2105, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 47 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {IMeterRegistry} ", + "start": 2138, + "end": 2167, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 33 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2202, + "end": 2223, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2280, + "end": 2301, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 25 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: use this to window the snapshots", + "start": 2334, + "end": 2375, + "loc": { + "start": { + "line": 68, + "column": 32 + }, + "end": { + "line": 68, + "column": 73 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Open the channel and begin to send metrics.\n * This is not re-entrant since we rely on the periodic event of the\n * interval timer.\n *\n * @throws {Error} if a metrics snapshot stream is already subscribed\n ", + "start": 2383, + "end": 2610, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Not re-entrant since we rely on the periodic event of the interval timer", + "start": 2627, + "end": 2702, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 79 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {function} ", + "start": 3149, + "end": 3172, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " FaceBook thing - their Flowable only allows this", + "start": 3264, + "end": 3315, + "loc": { + "start": { + "line": 94, + "column": 42 + }, + "end": { + "line": 94, + "column": 93 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Stop sending metrics\n ", + "start": 3339, + "end": 3374, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 101, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 3530, + "end": 3573, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 49 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {any} ", + "start": 3696, + "end": 3714, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Stops and then restarts the given {@link MetricsExporter}.\n *\n * @param {MetricsExporter} exporter\n ", + "start": 3762, + "end": 3871, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {MetricsExporter} exporter\n * @return {Flowable} Subscribe to this Flowable to get periodic metrics updates.\n ", + "start": 3943, + "end": 4086, + "loc": { + "start": { + "line": 131, + "column": 0 + }, + "end": { + "line": 134, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Retain handle to subscriber so that we can complete on manual stop", + "start": 4319, + "end": 4388, + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 142, + "column": 73 + } + } + }, + { + "type": "CommentLine", + "value": " They won't care about the \"complete\" in this case, remove reference", + "start": 5073, + "end": 5143, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 78 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} meter\n * @return {Meter[]}\n * @throws {Error} if {@link meter} is of an unknown {@link IMeter.type}.\n ", + "start": 5289, + "end": 5416, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a {@link MeterType} enum corresponding to the name of a meter type.\n *\n * @param {string} meterType - one of \"gauge\", \"timer\", \"counter\", \"longTaskTimer\", \"distribtionSummary\", or \"other\"\n * @return a {@link MeterType} enum corresponding to the {@link meterType} string\n * @throws {Error} if a string not among the above values is submitted as the {@link meterType} parameter\n ", + "start": 5860, + "end": 6253, + "loc": { + "start": { + "line": 194, + "column": 0 + }, + "end": { + "line": 200, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a {@link MeterStatistic} enum corresponding to the name of a meter statistic.\n *\n * @param {string} statistic - one of \"max\", \"count\", \"total\", \"value\", \"unknown\", \"duration\", \"totalTime\", or \"activeTasks\"\n * @return a {@link MeterStatistic} enum corresponding to the {@link statistic} string\n * @throws {Error} if a string not among the above values is submitted as the {@link statistic} parameter\n ", + "start": 6726, + "end": 7142, + "loc": { + "start": { + "line": 220, + "column": 0 + }, + "end": { + "line": 226, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} imeter\n * @return {Meter[]}\n * @throws {Error} if {@link imeter} is not a {@link Timer}\n ", + "start": 7732, + "end": 7846, + "loc": { + "start": { + "line": 250, + "column": 0 + }, + "end": { + "line": 254, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Add meters for percentiles of interest", + "start": 8093, + "end": 8134, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 265, + "column": 43 + } + } + }, + { + "type": "CommentLine", + "value": " Make sure we're dealing with a real value before pushing", + "start": 8300, + "end": 8359, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 269, + "column": 63 + } + } + }, + { + "type": "CommentLine", + "value": " add a meter for total count and max time", + "start": 9079, + "end": 9122, + "loc": { + "start": { + "line": 297, + "column": 2 + }, + "end": { + "line": 297, + "column": 45 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} imeter\n * @return {Meter[]}\n ", + "start": 9782, + "end": 9836, + "loc": { + "start": { + "line": 324, + "column": 0 + }, + "end": { + "line": 327, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Add meters for different windowed EWMAs", + "start": 9964, + "end": 10006, + "loc": { + "start": { + "line": 333, + "column": 2 + }, + "end": { + "line": 333, + "column": 44 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {RawMeterTag[]} tags\n * @return {MeterTag[]}\n ", + "start": 10804, + "end": 10866, + "loc": { + "start": { + "line": 365, + "column": 0 + }, + "end": { + "line": 368, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Convert milliseconds to nanoseconds.\n * Note: this is not safe for timestamps, just time measurements.\n *\n * @param {number} milliseconds - a number of milliseconds to convert\n * @return {number} the value of {@link milliseconds} converted to nanoseconds\n ", + "start": 11062, + "end": 11327, + "loc": { + "start": { + "line": 378, + "column": 0 + }, + "end": { + "line": 384, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Not currently functional.\n *\n * @todo Do something with this?\n * @param {Skew} skew\n ", + "start": 11407, + "end": 11501, + "loc": { + "start": { + "line": 389, + "column": 0 + }, + "end": { + "line": 394, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: do something with this?", + "start": 11537, + "end": 11569, + "loc": { + "start": { + "line": 396, + "column": 2 + }, + "end": { + "line": 396, + "column": 34 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsExporter.js\n * @fileoverview Defines the MetricsExporter class\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires metrics_pb\n * @requires metrics_rsocket_pb\n * @requires RawMeterTag\n * @requires Timer\n * @requires IMeterRegistry\n * @requires IMeter\n * @exports MetricsExporter\n ", + "start": 0, + "end": 974, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 976, + "end": 988, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 988, + "end": 989, + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 991, + "end": 997, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 998, + "end": 999, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISubscriber", + "start": 1000, + "end": 1011, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1012, + "end": 1013, + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1014, + "end": 1018, + "loc": { + "start": { + "line": 34, + "column": 23 + }, + "end": { + "line": 34, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-types", + "start": 1019, + "end": 1034, + "loc": { + "start": { + "line": 34, + "column": 28 + }, + "end": { + "line": 34, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1034, + "end": 1035, + "loc": { + "start": { + "line": 34, + "column": 43 + }, + "end": { + "line": 34, + "column": 44 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1036, + "end": 1042, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 1045, + "end": 1053, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1054, + "end": 1055, + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1056, + "end": 1060, + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-flowable", + "start": 1061, + "end": 1079, + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1079, + "end": 1080, + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 44 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1081, + "end": 1087, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1088, + "end": 1089, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 1090, + "end": 1095, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1095, + "end": 1096, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterId", + "start": 1097, + "end": 1104, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1104, + "end": 1105, + "loc": { + "start": { + "line": 36, + "column": 23 + }, + "end": { + "line": 36, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterMeasurement", + "start": 1106, + "end": 1122, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1122, + "end": 1123, + "loc": { + "start": { + "line": 36, + "column": 41 + }, + "end": { + "line": 36, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshot", + "start": 1124, + "end": 1139, + "loc": { + "start": { + "line": 36, + "column": 43 + }, + "end": { + "line": 36, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1139, + "end": 1140, + "loc": { + "start": { + "line": 36, + "column": 58 + }, + "end": { + "line": 36, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 1141, + "end": 1155, + "loc": { + "start": { + "line": 36, + "column": 60 + }, + "end": { + "line": 36, + "column": 74 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1155, + "end": 1156, + "loc": { + "start": { + "line": 36, + "column": 74 + }, + "end": { + "line": 36, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 1157, + "end": 1166, + "loc": { + "start": { + "line": 36, + "column": 76 + }, + "end": { + "line": 36, + "column": 85 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1166, + "end": 1167, + "loc": { + "start": { + "line": 36, + "column": 85 + }, + "end": { + "line": 36, + "column": 86 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterTag", + "start": 1168, + "end": 1176, + "loc": { + "start": { + "line": 36, + "column": 87 + }, + "end": { + "line": 36, + "column": 95 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1176, + "end": 1177, + "loc": { + "start": { + "line": 36, + "column": 95 + }, + "end": { + "line": 36, + "column": 96 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Skew", + "start": 1178, + "end": 1182, + "loc": { + "start": { + "line": 36, + "column": 97 + }, + "end": { + "line": 36, + "column": 101 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1183, + "end": 1184, + "loc": { + "start": { + "line": 36, + "column": 102 + }, + "end": { + "line": 36, + "column": 103 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1185, + "end": 1189, + "loc": { + "start": { + "line": 36, + "column": 104 + }, + "end": { + "line": 36, + "column": 108 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./proto/metrics_pb", + "start": 1190, + "end": 1210, + "loc": { + "start": { + "line": 36, + "column": 109 + }, + "end": { + "line": 36, + "column": 129 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1210, + "end": 1211, + "loc": { + "start": { + "line": 36, + "column": 129 + }, + "end": { + "line": 36, + "column": 130 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1212, + "end": 1218, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1219, + "end": 1220, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshotHandlerClient", + "start": 1221, + "end": 1249, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1250, + "end": 1251, + "loc": { + "start": { + "line": 37, + "column": 38 + }, + "end": { + "line": 37, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1252, + "end": 1256, + "loc": { + "start": { + "line": 37, + "column": 40 + }, + "end": { + "line": 37, + "column": 44 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./proto/metrics_rsocket_pb", + "start": 1257, + "end": 1285, + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1285, + "end": 1286, + "loc": { + "start": { + "line": 37, + "column": 73 + }, + "end": { + "line": 37, + "column": 74 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1287, + "end": 1293, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 1294, + "end": 1305, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1306, + "end": 1310, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 38, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RawMeterTag", + "start": 1311, + "end": 1326, + "loc": { + "start": { + "line": 38, + "column": 24 + }, + "end": { + "line": 38, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1326, + "end": 1327, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 40 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1328, + "end": 1334, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 1335, + "end": 1340, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1341, + "end": 1345, + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Timer", + "start": 1346, + "end": 1355, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1355, + "end": 1356, + "loc": { + "start": { + "line": 39, + "column": 27 + }, + "end": { + "line": 39, + "column": 28 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1357, + "end": 1363, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1364, + "end": 1365, + "loc": { + "start": { + "line": 40, + "column": 7 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IMeterRegistry", + "start": 1366, + "end": 1380, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1381, + "end": 1382, + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1383, + "end": 1387, + "loc": { + "start": { + "line": 40, + "column": 26 + }, + "end": { + "line": 40, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./IMeterRegistry", + "start": 1388, + "end": 1406, + "loc": { + "start": { + "line": 40, + "column": 31 + }, + "end": { + "line": 40, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1406, + "end": 1407, + "loc": { + "start": { + "line": 40, + "column": 49 + }, + "end": { + "line": 40, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * An RSocket native metrics source.\n * @example\n * const meters = new SimpleMeterRegistry();\n * const snapshotClient = new MetricsSnapshotHandlerClient(rsocket);\n * metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);\n * metricsExporter.start();\n * @todo use {@link MetricsExporter#batchSize} to window the snapshots\n ", + "start": 1410, + "end": 1755, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1756, + "end": 1762, + "loc": { + "start": { + "line": 52, + "column": 0 + }, + "end": { + "line": 52, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 1763, + "end": 1770, + "loc": { + "start": { + "line": 52, + "column": 7 + }, + "end": { + "line": 52, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 1771, + "end": 1776, + "loc": { + "start": { + "line": 52, + "column": 15 + }, + "end": { + "line": 52, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsExporter", + "start": 1777, + "end": 1792, + "loc": { + "start": { + "line": 52, + "column": 21 + }, + "end": { + "line": 52, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1793, + "end": 1794, + "loc": { + "start": { + "line": 52, + "column": 37 + }, + "end": { + "line": 52, + "column": 38 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {MetricsSnapshotHandlerClient} handler -\n * @param {IMeterRegistry} registry -\n * @param {number} exportPeriodSeconds - \n * @param {number} batchSize - metrics count\n ", + "start": 1798, + "end": 1990, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 59, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 1993, + "end": 2004, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 60, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2004, + "end": 2005, + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 2005, + "end": 2012, + "loc": { + "start": { + "line": 60, + "column": 14 + }, + "end": { + "line": 60, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2012, + "end": 2013, + "loc": { + "start": { + "line": 60, + "column": 21 + }, + "end": { + "line": 60, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 2014, + "end": 2022, + "loc": { + "start": { + "line": 60, + "column": 23 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2022, + "end": 2023, + "loc": { + "start": { + "line": 60, + "column": 31 + }, + "end": { + "line": 60, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exportPeriodSeconds", + "start": 2024, + "end": 2043, + "loc": { + "start": { + "line": 60, + "column": 33 + }, + "end": { + "line": 60, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2043, + "end": 2044, + "loc": { + "start": { + "line": 60, + "column": 52 + }, + "end": { + "line": 60, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "batchSize", + "start": 2045, + "end": 2054, + "loc": { + "start": { + "line": 60, + "column": 54 + }, + "end": { + "line": 60, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2054, + "end": 2055, + "loc": { + "start": { + "line": 60, + "column": 63 + }, + "end": { + "line": 60, + "column": 64 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2056, + "end": 2057, + "loc": { + "start": { + "line": 60, + "column": 65 + }, + "end": { + "line": 60, + "column": 66 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {MetricsSnapshotHandlerClient} ", + "start": 2062, + "end": 2105, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 47 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2110, + "end": 2114, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2114, + "end": 2115, + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 2115, + "end": 2122, + "loc": { + "start": { + "line": 62, + "column": 9 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2123, + "end": 2124, + "loc": { + "start": { + "line": 62, + "column": 17 + }, + "end": { + "line": 62, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 2125, + "end": 2132, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2132, + "end": 2133, + "loc": { + "start": { + "line": 62, + "column": 26 + }, + "end": { + "line": 62, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {IMeterRegistry} ", + "start": 2138, + "end": 2167, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2172, + "end": 2176, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2176, + "end": 2177, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 2177, + "end": 2185, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2186, + "end": 2187, + "loc": { + "start": { + "line": 64, + "column": 18 + }, + "end": { + "line": 64, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 2188, + "end": 2196, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2196, + "end": 2197, + "loc": { + "start": { + "line": 64, + "column": 28 + }, + "end": { + "line": 64, + "column": 29 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2202, + "end": 2223, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2228, + "end": 2232, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2232, + "end": 2233, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exportPeriodSeconds", + "start": 2233, + "end": 2252, + "loc": { + "start": { + "line": 66, + "column": 9 + }, + "end": { + "line": 66, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2253, + "end": 2254, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exportPeriodSeconds", + "start": 2255, + "end": 2274, + "loc": { + "start": { + "line": 66, + "column": 31 + }, + "end": { + "line": 66, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2274, + "end": 2275, + "loc": { + "start": { + "line": 66, + "column": 50 + }, + "end": { + "line": 66, + "column": 51 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 2280, + "end": 2301, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2306, + "end": 2310, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2310, + "end": 2311, + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "batchSize", + "start": 2311, + "end": 2320, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2321, + "end": 2322, + "loc": { + "start": { + "line": 68, + "column": 19 + }, + "end": { + "line": 68, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "batchSize", + "start": 2323, + "end": 2332, + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 68, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2332, + "end": 2333, + "loc": { + "start": { + "line": 68, + "column": 30 + }, + "end": { + "line": 68, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: use this to window the snapshots", + "start": 2334, + "end": 2375, + "loc": { + "start": { + "line": 68, + "column": 32 + }, + "end": { + "line": 68, + "column": 73 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2378, + "end": 2379, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Open the channel and begin to send metrics.\n * This is not re-entrant since we rely on the periodic event of the\n * interval timer.\n *\n * @throws {Error} if a metrics snapshot stream is already subscribed\n ", + "start": 2383, + "end": 2610, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "start", + "start": 2613, + "end": 2618, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2618, + "end": 2619, + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2619, + "end": 2620, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2621, + "end": 2622, + "loc": { + "start": { + "line": 78, + "column": 10 + }, + "end": { + "line": 78, + "column": 11 + } + } + }, + { + "type": "CommentLine", + "value": " Not re-entrant since we rely on the periodic event of the interval timer", + "start": 2627, + "end": 2702, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 79 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2707, + "end": 2709, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2710, + "end": 2711, + "loc": { + "start": { + "line": 80, + "column": 7 + }, + "end": { + "line": 80, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2711, + "end": 2715, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2715, + "end": 2716, + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "intervalHandle", + "start": 2716, + "end": 2730, + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2730, + "end": 2731, + "loc": { + "start": { + "line": 80, + "column": 27 + }, + "end": { + "line": 80, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2732, + "end": 2733, + "loc": { + "start": { + "line": 80, + "column": 29 + }, + "end": { + "line": 80, + "column": 30 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 2740, + "end": 2745, + "loc": { + "start": { + "line": 81, + "column": 6 + }, + "end": { + "line": 81, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2746, + "end": 2749, + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 2750, + "end": 2755, + "loc": { + "start": { + "line": 81, + "column": 16 + }, + "end": { + "line": 81, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2755, + "end": 2756, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "A metrics snapshot stream is already subscribed", + "start": 2756, + "end": 2805, + "loc": { + "start": { + "line": 81, + "column": 22 + }, + "end": { + "line": 81, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2805, + "end": 2806, + "loc": { + "start": { + "line": 81, + "column": 71 + }, + "end": { + "line": 81, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2806, + "end": 2807, + "loc": { + "start": { + "line": 81, + "column": 72 + }, + "end": { + "line": 81, + "column": 73 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2812, + "end": 2813, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2819, + "end": 2823, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2823, + "end": 2824, + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handler", + "start": 2824, + "end": 2831, + "loc": { + "start": { + "line": 84, + "column": 9 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2831, + "end": 2832, + "loc": { + "start": { + "line": 84, + "column": 16 + }, + "end": { + "line": 84, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "streamMetrics", + "start": 2832, + "end": 2845, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2845, + "end": 2846, + "loc": { + "start": { + "line": 84, + "column": 30 + }, + "end": { + "line": 84, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMetricsSnapshotStream", + "start": 2846, + "end": 2870, + "loc": { + "start": { + "line": 84, + "column": 31 + }, + "end": { + "line": 84, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2870, + "end": 2871, + "loc": { + "start": { + "line": 84, + "column": 55 + }, + "end": { + "line": 84, + "column": 56 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2871, + "end": 2875, + "loc": { + "start": { + "line": 84, + "column": 56 + }, + "end": { + "line": 84, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2875, + "end": 2876, + "loc": { + "start": { + "line": 84, + "column": 60 + }, + "end": { + "line": 84, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2876, + "end": 2877, + "loc": { + "start": { + "line": 84, + "column": 61 + }, + "end": { + "line": 84, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Buffer", + "start": 2878, + "end": 2884, + "loc": { + "start": { + "line": 84, + "column": 63 + }, + "end": { + "line": 84, + "column": 69 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2884, + "end": 2885, + "loc": { + "start": { + "line": 84, + "column": 69 + }, + "end": { + "line": 84, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alloc", + "start": 2885, + "end": 2890, + "loc": { + "start": { + "line": 84, + "column": 70 + }, + "end": { + "line": 84, + "column": 75 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2890, + "end": 2891, + "loc": { + "start": { + "line": 84, + "column": 75 + }, + "end": { + "line": 84, + "column": 76 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2891, + "end": 2892, + "loc": { + "start": { + "line": 84, + "column": 76 + }, + "end": { + "line": 84, + "column": 77 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2892, + "end": 2893, + "loc": { + "start": { + "line": 84, + "column": 77 + }, + "end": { + "line": 84, + "column": 78 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2893, + "end": 2894, + "loc": { + "start": { + "line": 84, + "column": 78 + }, + "end": { + "line": 84, + "column": 79 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2894, + "end": 2895, + "loc": { + "start": { + "line": 84, + "column": 79 + }, + "end": { + "line": 84, + "column": 80 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 2895, + "end": 2904, + "loc": { + "start": { + "line": 84, + "column": 80 + }, + "end": { + "line": 84, + "column": 89 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2904, + "end": 2905, + "loc": { + "start": { + "line": 84, + "column": 89 + }, + "end": { + "line": 84, + "column": 90 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2905, + "end": 2906, + "loc": { + "start": { + "line": 84, + "column": 90 + }, + "end": { + "line": 84, + "column": 91 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 2913, + "end": 2919, + "loc": { + "start": { + "line": 85, + "column": 6 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2919, + "end": 2920, + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "skew", + "start": 2921, + "end": 2925, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2926, + "end": 2928, + "loc": { + "start": { + "line": 85, + "column": 19 + }, + "end": { + "line": 85, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "recordClockSkew", + "start": 2929, + "end": 2944, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2944, + "end": 2945, + "loc": { + "start": { + "line": 85, + "column": 37 + }, + "end": { + "line": 85, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "skew", + "start": 2945, + "end": 2949, + "loc": { + "start": { + "line": 85, + "column": 38 + }, + "end": { + "line": 85, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2949, + "end": 2950, + "loc": { + "start": { + "line": 85, + "column": 42 + }, + "end": { + "line": 85, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2950, + "end": 2951, + "loc": { + "start": { + "line": 85, + "column": 43 + }, + "end": { + "line": 85, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2958, + "end": 2968, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2968, + "end": 2969, + "loc": { + "start": { + "line": 86, + "column": 16 + }, + "end": { + "line": 86, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2970, + "end": 2971, + "loc": { + "start": { + "line": 86, + "column": 18 + }, + "end": { + "line": 86, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2971, + "end": 2972, + "loc": { + "start": { + "line": 86, + "column": 19 + }, + "end": { + "line": 86, + "column": 20 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2973, + "end": 2975, + "loc": { + "start": { + "line": 86, + "column": 21 + }, + "end": { + "line": 86, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "restart", + "start": 2976, + "end": 2983, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2983, + "end": 2984, + "loc": { + "start": { + "line": 86, + "column": 31 + }, + "end": { + "line": 86, + "column": 32 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2984, + "end": 2988, + "loc": { + "start": { + "line": 86, + "column": 32 + }, + "end": { + "line": 86, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2988, + "end": 2989, + "loc": { + "start": { + "line": 86, + "column": 36 + }, + "end": { + "line": 86, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2989, + "end": 2990, + "loc": { + "start": { + "line": 86, + "column": 37 + }, + "end": { + "line": 86, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2997, + "end": 3004, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3004, + "end": 3005, + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 3006, + "end": 3011, + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 20 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3012, + "end": 3014, + "loc": { + "start": { + "line": 87, + "column": 21 + }, + "end": { + "line": 87, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3015, + "end": 3016, + "loc": { + "start": { + "line": 87, + "column": 24 + }, + "end": { + "line": 87, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 3025, + "end": 3032, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3032, + "end": 3033, + "loc": { + "start": { + "line": 88, + "column": 15 + }, + "end": { + "line": 88, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 3033, + "end": 3036, + "loc": { + "start": { + "line": 88, + "column": 16 + }, + "end": { + "line": 88, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3036, + "end": 3037, + "loc": { + "start": { + "line": 88, + "column": 19 + }, + "end": { + "line": 88, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "MetricsExporter error:", + "start": 3037, + "end": 3061, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 44 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3062, + "end": 3063, + "loc": { + "start": { + "line": 88, + "column": 45 + }, + "end": { + "line": 88, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 3064, + "end": 3069, + "loc": { + "start": { + "line": 88, + "column": 47 + }, + "end": { + "line": 88, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3069, + "end": 3070, + "loc": { + "start": { + "line": 88, + "column": 52 + }, + "end": { + "line": 88, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3070, + "end": 3071, + "loc": { + "start": { + "line": 88, + "column": 53 + }, + "end": { + "line": 88, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "restart", + "start": 3080, + "end": 3087, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3087, + "end": 3088, + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 89, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3088, + "end": 3092, + "loc": { + "start": { + "line": 89, + "column": 16 + }, + "end": { + "line": 89, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3092, + "end": 3093, + "loc": { + "start": { + "line": 89, + "column": 20 + }, + "end": { + "line": 89, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3093, + "end": 3094, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 89, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3101, + "end": 3102, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3102, + "end": 3103, + "loc": { + "start": { + "line": 90, + "column": 7 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 3110, + "end": 3121, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3121, + "end": 3122, + "loc": { + "start": { + "line": 91, + "column": 17 + }, + "end": { + "line": 91, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 3123, + "end": 3135, + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 31 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3136, + "end": 3138, + "loc": { + "start": { + "line": 91, + "column": 32 + }, + "end": { + "line": 91, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3139, + "end": 3140, + "loc": { + "start": { + "line": 91, + "column": 35 + }, + "end": { + "line": 91, + "column": 36 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {function} ", + "start": 3149, + "end": 3172, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 31 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3181, + "end": 3185, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3185, + "end": 3186, + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remoteCancel", + "start": 3186, + "end": 3198, + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3199, + "end": 3200, + "loc": { + "start": { + "line": 93, + "column": 26 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 3201, + "end": 3213, + "loc": { + "start": { + "line": 93, + "column": 28 + }, + "end": { + "line": 93, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3213, + "end": 3214, + "loc": { + "start": { + "line": 93, + "column": 40 + }, + "end": { + "line": 93, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 3214, + "end": 3220, + "loc": { + "start": { + "line": 93, + "column": 41 + }, + "end": { + "line": 93, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3220, + "end": 3221, + "loc": { + "start": { + "line": 93, + "column": 47 + }, + "end": { + "line": 93, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 3230, + "end": 3242, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3242, + "end": 3243, + "loc": { + "start": { + "line": 94, + "column": 20 + }, + "end": { + "line": 94, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 3243, + "end": 3250, + "loc": { + "start": { + "line": 94, + "column": 21 + }, + "end": { + "line": 94, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3250, + "end": 3251, + "loc": { + "start": { + "line": 94, + "column": 28 + }, + "end": { + "line": 94, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2147483647, + "start": 3251, + "end": 3261, + "loc": { + "start": { + "line": 94, + "column": 29 + }, + "end": { + "line": 94, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3261, + "end": 3262, + "loc": { + "start": { + "line": 94, + "column": 39 + }, + "end": { + "line": 94, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3262, + "end": 3263, + "loc": { + "start": { + "line": 94, + "column": 40 + }, + "end": { + "line": 94, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " FaceBook thing - their Flowable only allows this", + "start": 3264, + "end": 3315, + "loc": { + "start": { + "line": 94, + "column": 42 + }, + "end": { + "line": 94, + "column": 93 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3322, + "end": 3323, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3328, + "end": 3329, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3329, + "end": 3330, + "loc": { + "start": { + "line": 96, + "column": 5 + }, + "end": { + "line": 96, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3330, + "end": 3331, + "loc": { + "start": { + "line": 96, + "column": 6 + }, + "end": { + "line": 96, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3334, + "end": 3335, + "loc": { + "start": { + "line": 97, + "column": 2 + }, + "end": { + "line": 97, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Stop sending metrics\n ", + "start": 3339, + "end": 3374, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 101, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stop", + "start": 3377, + "end": 3381, + "loc": { + "start": { + "line": 102, + "column": 2 + }, + "end": { + "line": 102, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3381, + "end": 3382, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3382, + "end": 3383, + "loc": { + "start": { + "line": 102, + "column": 7 + }, + "end": { + "line": 102, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3384, + "end": 3385, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 102, + "column": 10 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3390, + "end": 3392, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3393, + "end": 3394, + "loc": { + "start": { + "line": 103, + "column": 7 + }, + "end": { + "line": 103, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3394, + "end": 3398, + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3398, + "end": 3399, + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remoteCancel", + "start": 3399, + "end": 3411, + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 103, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3411, + "end": 3412, + "loc": { + "start": { + "line": 103, + "column": 25 + }, + "end": { + "line": 103, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3413, + "end": 3414, + "loc": { + "start": { + "line": 103, + "column": 27 + }, + "end": { + "line": 103, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3421, + "end": 3425, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3425, + "end": 3426, + "loc": { + "start": { + "line": 104, + "column": 10 + }, + "end": { + "line": 104, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remoteCancel", + "start": 3426, + "end": 3438, + "loc": { + "start": { + "line": 104, + "column": 11 + }, + "end": { + "line": 104, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3438, + "end": 3439, + "loc": { + "start": { + "line": 104, + "column": 23 + }, + "end": { + "line": 104, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3439, + "end": 3440, + "loc": { + "start": { + "line": 104, + "column": 24 + }, + "end": { + "line": 104, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3440, + "end": 3441, + "loc": { + "start": { + "line": 104, + "column": 25 + }, + "end": { + "line": 104, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3446, + "end": 3447, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3453, + "end": 3455, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3456, + "end": 3457, + "loc": { + "start": { + "line": 107, + "column": 7 + }, + "end": { + "line": 107, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3457, + "end": 3461, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3461, + "end": 3462, + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remoteSubscriber", + "start": 3462, + "end": 3478, + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3478, + "end": 3479, + "loc": { + "start": { + "line": 107, + "column": 29 + }, + "end": { + "line": 107, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3480, + "end": 3481, + "loc": { + "start": { + "line": 107, + "column": 31 + }, + "end": { + "line": 107, + "column": 32 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3488, + "end": 3492, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3492, + "end": 3493, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remoteSubscriber", + "start": 3493, + "end": 3509, + "loc": { + "start": { + "line": 108, + "column": 11 + }, + "end": { + "line": 108, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3509, + "end": 3510, + "loc": { + "start": { + "line": 108, + "column": 27 + }, + "end": { + "line": 108, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 3510, + "end": 3520, + "loc": { + "start": { + "line": 108, + "column": 28 + }, + "end": { + "line": 108, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3520, + "end": 3521, + "loc": { + "start": { + "line": 108, + "column": 38 + }, + "end": { + "line": 108, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3521, + "end": 3522, + "loc": { + "start": { + "line": 108, + "column": 39 + }, + "end": { + "line": 108, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3522, + "end": 3523, + "loc": { + "start": { + "line": 108, + "column": 40 + }, + "end": { + "line": 108, + "column": 41 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 3530, + "end": 3573, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 49 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3580, + "end": 3584, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3584, + "end": 3585, + "loc": { + "start": { + "line": 110, + "column": 10 + }, + "end": { + "line": 110, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remoteSubscriber", + "start": 3585, + "end": 3601, + "loc": { + "start": { + "line": 110, + "column": 11 + }, + "end": { + "line": 110, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3602, + "end": 3603, + "loc": { + "start": { + "line": 110, + "column": 28 + }, + "end": { + "line": 110, + "column": 29 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 3604, + "end": 3608, + "loc": { + "start": { + "line": 110, + "column": 30 + }, + "end": { + "line": 110, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3608, + "end": 3609, + "loc": { + "start": { + "line": 110, + "column": 34 + }, + "end": { + "line": 110, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3614, + "end": 3615, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3621, + "end": 3623, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3624, + "end": 3625, + "loc": { + "start": { + "line": 113, + "column": 7 + }, + "end": { + "line": 113, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3625, + "end": 3629, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3629, + "end": 3630, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "intervalHandle", + "start": 3630, + "end": 3644, + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3644, + "end": 3645, + "loc": { + "start": { + "line": 113, + "column": 27 + }, + "end": { + "line": 113, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3646, + "end": 3647, + "loc": { + "start": { + "line": 113, + "column": 29 + }, + "end": { + "line": 113, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearInterval", + "start": 3654, + "end": 3667, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3667, + "end": 3668, + "loc": { + "start": { + "line": 114, + "column": 19 + }, + "end": { + "line": 114, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3668, + "end": 3672, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3672, + "end": 3673, + "loc": { + "start": { + "line": 114, + "column": 24 + }, + "end": { + "line": 114, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "intervalHandle", + "start": 3673, + "end": 3687, + "loc": { + "start": { + "line": 114, + "column": 25 + }, + "end": { + "line": 114, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3687, + "end": 3688, + "loc": { + "start": { + "line": 114, + "column": 39 + }, + "end": { + "line": 114, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3688, + "end": 3689, + "loc": { + "start": { + "line": 114, + "column": 40 + }, + "end": { + "line": 114, + "column": 41 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {any} ", + "start": 3696, + "end": 3714, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3721, + "end": 3725, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3725, + "end": 3726, + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "intervalHandle", + "start": 3726, + "end": 3740, + "loc": { + "start": { + "line": 116, + "column": 11 + }, + "end": { + "line": 116, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3741, + "end": 3742, + "loc": { + "start": { + "line": 116, + "column": 26 + }, + "end": { + "line": 116, + "column": 27 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 3743, + "end": 3747, + "loc": { + "start": { + "line": 116, + "column": 28 + }, + "end": { + "line": 116, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3747, + "end": 3748, + "loc": { + "start": { + "line": 116, + "column": 32 + }, + "end": { + "line": 116, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3753, + "end": 3754, + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 117, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3757, + "end": 3758, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 118, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3759, + "end": 3760, + "loc": { + "start": { + "line": 119, + "column": 0 + }, + "end": { + "line": 119, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Stops and then restarts the given {@link MetricsExporter}.\n *\n * @param {MetricsExporter} exporter\n ", + "start": 3762, + "end": 3871, + "loc": { + "start": { + "line": 121, + "column": 0 + }, + "end": { + "line": 125, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3872, + "end": 3880, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 126, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "restart", + "start": 3881, + "end": 3888, + "loc": { + "start": { + "line": 126, + "column": 9 + }, + "end": { + "line": 126, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3888, + "end": 3889, + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 126, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 3889, + "end": 3897, + "loc": { + "start": { + "line": 126, + "column": 17 + }, + "end": { + "line": 126, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3897, + "end": 3898, + "loc": { + "start": { + "line": 126, + "column": 25 + }, + "end": { + "line": 126, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3899, + "end": 3900, + "loc": { + "start": { + "line": 126, + "column": 27 + }, + "end": { + "line": 126, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 3903, + "end": 3911, + "loc": { + "start": { + "line": 127, + "column": 2 + }, + "end": { + "line": 127, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3911, + "end": 3912, + "loc": { + "start": { + "line": 127, + "column": 10 + }, + "end": { + "line": 127, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stop", + "start": 3912, + "end": 3916, + "loc": { + "start": { + "line": 127, + "column": 11 + }, + "end": { + "line": 127, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3916, + "end": 3917, + "loc": { + "start": { + "line": 127, + "column": 15 + }, + "end": { + "line": 127, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3917, + "end": 3918, + "loc": { + "start": { + "line": 127, + "column": 16 + }, + "end": { + "line": 127, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3918, + "end": 3919, + "loc": { + "start": { + "line": 127, + "column": 17 + }, + "end": { + "line": 127, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 3922, + "end": 3930, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3930, + "end": 3931, + "loc": { + "start": { + "line": 128, + "column": 10 + }, + "end": { + "line": 128, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "start", + "start": 3931, + "end": 3936, + "loc": { + "start": { + "line": 128, + "column": 11 + }, + "end": { + "line": 128, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3936, + "end": 3937, + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3937, + "end": 3938, + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3938, + "end": 3939, + "loc": { + "start": { + "line": 128, + "column": 18 + }, + "end": { + "line": 128, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3940, + "end": 3941, + "loc": { + "start": { + "line": 129, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {MetricsExporter} exporter\n * @return {Flowable} Subscribe to this Flowable to get periodic metrics updates.\n ", + "start": 3943, + "end": 4086, + "loc": { + "start": { + "line": 131, + "column": 0 + }, + "end": { + "line": 134, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 4087, + "end": 4095, + "loc": { + "start": { + "line": 135, + "column": 0 + }, + "end": { + "line": 135, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getMetricsSnapshotStream", + "start": 4096, + "end": 4120, + "loc": { + "start": { + "line": 135, + "column": 9 + }, + "end": { + "line": 135, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4120, + "end": 4121, + "loc": { + "start": { + "line": 135, + "column": 33 + }, + "end": { + "line": 135, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 4121, + "end": 4129, + "loc": { + "start": { + "line": 135, + "column": 34 + }, + "end": { + "line": 135, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4129, + "end": 4130, + "loc": { + "start": { + "line": 135, + "column": 42 + }, + "end": { + "line": 135, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4131, + "end": 4132, + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 135, + "column": 45 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4135, + "end": 4141, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4142, + "end": 4145, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 4146, + "end": 4154, + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4154, + "end": 4155, + "loc": { + "start": { + "line": 136, + "column": 21 + }, + "end": { + "line": 136, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 4155, + "end": 4165, + "loc": { + "start": { + "line": 136, + "column": 22 + }, + "end": { + "line": 136, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4166, + "end": 4168, + "loc": { + "start": { + "line": 136, + "column": 33 + }, + "end": { + "line": 136, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4169, + "end": 4170, + "loc": { + "start": { + "line": 136, + "column": 36 + }, + "end": { + "line": 136, + "column": 37 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4175, + "end": 4177, + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 137, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4178, + "end": 4179, + "loc": { + "start": { + "line": 137, + "column": 7 + }, + "end": { + "line": 137, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 4179, + "end": 4187, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4187, + "end": 4188, + "loc": { + "start": { + "line": 137, + "column": 16 + }, + "end": { + "line": 137, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "intervalHandle", + "start": 4188, + "end": 4202, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4202, + "end": 4203, + "loc": { + "start": { + "line": 137, + "column": 31 + }, + "end": { + "line": 137, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4204, + "end": 4205, + "loc": { + "start": { + "line": 137, + "column": 33 + }, + "end": { + "line": 137, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 4212, + "end": 4222, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4222, + "end": 4223, + "loc": { + "start": { + "line": 138, + "column": 16 + }, + "end": { + "line": 138, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 4223, + "end": 4230, + "loc": { + "start": { + "line": 138, + "column": 17 + }, + "end": { + "line": 138, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4230, + "end": 4231, + "loc": { + "start": { + "line": 138, + "column": 24 + }, + "end": { + "line": 138, + "column": 25 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4231, + "end": 4234, + "loc": { + "start": { + "line": 138, + "column": 25 + }, + "end": { + "line": 138, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 4235, + "end": 4240, + "loc": { + "start": { + "line": 138, + "column": 29 + }, + "end": { + "line": 138, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4240, + "end": 4241, + "loc": { + "start": { + "line": 138, + "column": 34 + }, + "end": { + "line": 138, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "A metrics snapshot stream is already subscribed", + "start": 4241, + "end": 4290, + "loc": { + "start": { + "line": 138, + "column": 35 + }, + "end": { + "line": 138, + "column": 84 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4290, + "end": 4291, + "loc": { + "start": { + "line": 138, + "column": 84 + }, + "end": { + "line": 138, + "column": 85 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4291, + "end": 4292, + "loc": { + "start": { + "line": 138, + "column": 85 + }, + "end": { + "line": 138, + "column": 86 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4292, + "end": 4293, + "loc": { + "start": { + "line": 138, + "column": 86 + }, + "end": { + "line": 138, + "column": 87 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4300, + "end": 4306, + "loc": { + "start": { + "line": 139, + "column": 6 + }, + "end": { + "line": 139, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4306, + "end": 4307, + "loc": { + "start": { + "line": 139, + "column": 12 + }, + "end": { + "line": 139, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4312, + "end": 4313, + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Retain handle to subscriber so that we can complete on manual stop", + "start": 4319, + "end": 4388, + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 142, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 4393, + "end": 4401, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4401, + "end": 4402, + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remoteSubscriber", + "start": 4402, + "end": 4418, + "loc": { + "start": { + "line": 143, + "column": 13 + }, + "end": { + "line": 143, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4419, + "end": 4420, + "loc": { + "start": { + "line": 143, + "column": 30 + }, + "end": { + "line": 143, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 4421, + "end": 4431, + "loc": { + "start": { + "line": 143, + "column": 32 + }, + "end": { + "line": 143, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4431, + "end": 4432, + "loc": { + "start": { + "line": 143, + "column": 42 + }, + "end": { + "line": 143, + "column": 43 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 4438, + "end": 4441, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pending", + "start": 4442, + "end": 4449, + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4450, + "end": 4451, + "loc": { + "start": { + "line": 145, + "column": 16 + }, + "end": { + "line": 145, + "column": 17 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 4452, + "end": 4453, + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4453, + "end": 4454, + "loc": { + "start": { + "line": 145, + "column": 19 + }, + "end": { + "line": 145, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 4459, + "end": 4466, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4466, + "end": 4467, + "loc": { + "start": { + "line": 146, + "column": 11 + }, + "end": { + "line": 146, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 4467, + "end": 4470, + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4470, + "end": 4471, + "loc": { + "start": { + "line": 146, + "column": 15 + }, + "end": { + "line": 146, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Setting interval for ", + "start": 4471, + "end": 4494, + "loc": { + "start": { + "line": 146, + "column": 16 + }, + "end": { + "line": 146, + "column": 39 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4495, + "end": 4496, + "loc": { + "start": { + "line": 146, + "column": 40 + }, + "end": { + "line": 146, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 4497, + "end": 4505, + "loc": { + "start": { + "line": 146, + "column": 42 + }, + "end": { + "line": 146, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4505, + "end": 4506, + "loc": { + "start": { + "line": 146, + "column": 50 + }, + "end": { + "line": 146, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exportPeriodSeconds", + "start": 4506, + "end": 4525, + "loc": { + "start": { + "line": 146, + "column": 51 + }, + "end": { + "line": 146, + "column": 70 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 4526, + "end": 4527, + "loc": { + "start": { + "line": 146, + "column": 71 + }, + "end": { + "line": 146, + "column": 72 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 4528, + "end": 4532, + "loc": { + "start": { + "line": 146, + "column": 73 + }, + "end": { + "line": 146, + "column": 77 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4533, + "end": 4534, + "loc": { + "start": { + "line": 146, + "column": 78 + }, + "end": { + "line": 146, + "column": 79 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " milliseconds", + "start": 4535, + "end": 4550, + "loc": { + "start": { + "line": 146, + "column": 80 + }, + "end": { + "line": 146, + "column": 95 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4550, + "end": 4551, + "loc": { + "start": { + "line": 146, + "column": 95 + }, + "end": { + "line": 146, + "column": 96 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4551, + "end": 4552, + "loc": { + "start": { + "line": 146, + "column": 96 + }, + "end": { + "line": 146, + "column": 97 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 4557, + "end": 4565, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 147, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4565, + "end": 4566, + "loc": { + "start": { + "line": 147, + "column": 12 + }, + "end": { + "line": 147, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "intervalHandle", + "start": 4566, + "end": 4580, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4581, + "end": 4582, + "loc": { + "start": { + "line": 147, + "column": 28 + }, + "end": { + "line": 147, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setInterval", + "start": 4583, + "end": 4594, + "loc": { + "start": { + "line": 147, + "column": 30 + }, + "end": { + "line": 147, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4594, + "end": 4595, + "loc": { + "start": { + "line": 147, + "column": 41 + }, + "end": { + "line": 147, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4595, + "end": 4596, + "loc": { + "start": { + "line": 147, + "column": 42 + }, + "end": { + "line": 147, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4596, + "end": 4597, + "loc": { + "start": { + "line": 147, + "column": 43 + }, + "end": { + "line": 147, + "column": 44 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4598, + "end": 4600, + "loc": { + "start": { + "line": 147, + "column": 45 + }, + "end": { + "line": 147, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4601, + "end": 4602, + "loc": { + "start": { + "line": 147, + "column": 48 + }, + "end": { + "line": 147, + "column": 49 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4609, + "end": 4611, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4612, + "end": 4613, + "loc": { + "start": { + "line": 148, + "column": 9 + }, + "end": { + "line": 148, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pending", + "start": 4613, + "end": 4620, + "loc": { + "start": { + "line": 148, + "column": 10 + }, + "end": { + "line": 148, + "column": 17 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 4621, + "end": 4622, + "loc": { + "start": { + "line": 148, + "column": 18 + }, + "end": { + "line": 148, + "column": 19 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 4623, + "end": 4624, + "loc": { + "start": { + "line": 148, + "column": 20 + }, + "end": { + "line": 148, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4624, + "end": 4625, + "loc": { + "start": { + "line": 148, + "column": 21 + }, + "end": { + "line": 148, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4626, + "end": 4627, + "loc": { + "start": { + "line": 148, + "column": 23 + }, + "end": { + "line": 148, + "column": 24 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4636, + "end": 4641, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "allMeters", + "start": 4642, + "end": 4651, + "loc": { + "start": { + "line": 149, + "column": 14 + }, + "end": { + "line": 149, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4652, + "end": 4653, + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 4654, + "end": 4659, + "loc": { + "start": { + "line": 149, + "column": 26 + }, + "end": { + "line": 149, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4659, + "end": 4660, + "loc": { + "start": { + "line": 149, + "column": 31 + }, + "end": { + "line": 149, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prototype", + "start": 4660, + "end": 4669, + "loc": { + "start": { + "line": 149, + "column": 32 + }, + "end": { + "line": 149, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4669, + "end": 4670, + "loc": { + "start": { + "line": 149, + "column": 41 + }, + "end": { + "line": 149, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 4670, + "end": 4676, + "loc": { + "start": { + "line": 149, + "column": 42 + }, + "end": { + "line": 149, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4676, + "end": 4677, + "loc": { + "start": { + "line": 149, + "column": 48 + }, + "end": { + "line": 149, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "apply", + "start": 4677, + "end": 4682, + "loc": { + "start": { + "line": 149, + "column": 49 + }, + "end": { + "line": 149, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4682, + "end": 4683, + "loc": { + "start": { + "line": 149, + "column": 54 + }, + "end": { + "line": 149, + "column": 55 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4683, + "end": 4684, + "loc": { + "start": { + "line": 149, + "column": 55 + }, + "end": { + "line": 149, + "column": 56 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4684, + "end": 4685, + "loc": { + "start": { + "line": 149, + "column": 56 + }, + "end": { + "line": 149, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4685, + "end": 4686, + "loc": { + "start": { + "line": 149, + "column": 57 + }, + "end": { + "line": 149, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 4687, + "end": 4695, + "loc": { + "start": { + "line": 149, + "column": 59 + }, + "end": { + "line": 149, + "column": 67 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4695, + "end": 4696, + "loc": { + "start": { + "line": 149, + "column": 67 + }, + "end": { + "line": 149, + "column": 68 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registry", + "start": 4696, + "end": 4704, + "loc": { + "start": { + "line": 149, + "column": 68 + }, + "end": { + "line": 149, + "column": 76 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4704, + "end": 4705, + "loc": { + "start": { + "line": 149, + "column": 76 + }, + "end": { + "line": 149, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 4705, + "end": 4711, + "loc": { + "start": { + "line": 149, + "column": 77 + }, + "end": { + "line": 149, + "column": 83 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4711, + "end": 4712, + "loc": { + "start": { + "line": 149, + "column": 83 + }, + "end": { + "line": 149, + "column": 84 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4712, + "end": 4713, + "loc": { + "start": { + "line": 149, + "column": 84 + }, + "end": { + "line": 149, + "column": 85 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4713, + "end": 4714, + "loc": { + "start": { + "line": 149, + "column": 85 + }, + "end": { + "line": 149, + "column": 86 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 4714, + "end": 4717, + "loc": { + "start": { + "line": 149, + "column": 86 + }, + "end": { + "line": 149, + "column": 89 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4717, + "end": 4718, + "loc": { + "start": { + "line": 149, + "column": 89 + }, + "end": { + "line": 149, + "column": 90 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 4718, + "end": 4725, + "loc": { + "start": { + "line": 149, + "column": 90 + }, + "end": { + "line": 149, + "column": 97 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4725, + "end": 4726, + "loc": { + "start": { + "line": 149, + "column": 97 + }, + "end": { + "line": 149, + "column": 98 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4726, + "end": 4727, + "loc": { + "start": { + "line": 149, + "column": 98 + }, + "end": { + "line": 149, + "column": 99 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4727, + "end": 4728, + "loc": { + "start": { + "line": 149, + "column": 99 + }, + "end": { + "line": 149, + "column": 100 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4737, + "end": 4742, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterSnapshot", + "start": 4743, + "end": 4756, + "loc": { + "start": { + "line": 150, + "column": 14 + }, + "end": { + "line": 150, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4757, + "end": 4758, + "loc": { + "start": { + "line": 150, + "column": 28 + }, + "end": { + "line": 150, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "allMeters", + "start": 4759, + "end": 4768, + "loc": { + "start": { + "line": 150, + "column": 30 + }, + "end": { + "line": 150, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4768, + "end": 4769, + "loc": { + "start": { + "line": 150, + "column": 39 + }, + "end": { + "line": 150, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reduce", + "start": 4769, + "end": 4775, + "loc": { + "start": { + "line": 150, + "column": 40 + }, + "end": { + "line": 150, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4775, + "end": 4776, + "loc": { + "start": { + "line": 150, + "column": 46 + }, + "end": { + "line": 150, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4776, + "end": 4777, + "loc": { + "start": { + "line": 150, + "column": 47 + }, + "end": { + "line": 150, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "snapshot", + "start": 4777, + "end": 4785, + "loc": { + "start": { + "line": 150, + "column": 48 + }, + "end": { + "line": 150, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4785, + "end": 4786, + "loc": { + "start": { + "line": 150, + "column": 56 + }, + "end": { + "line": 150, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 4787, + "end": 4792, + "loc": { + "start": { + "line": 150, + "column": 58 + }, + "end": { + "line": 150, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4792, + "end": 4793, + "loc": { + "start": { + "line": 150, + "column": 63 + }, + "end": { + "line": 150, + "column": 64 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4794, + "end": 4796, + "loc": { + "start": { + "line": 150, + "column": 65 + }, + "end": { + "line": 150, + "column": 67 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4797, + "end": 4798, + "loc": { + "start": { + "line": 150, + "column": 68 + }, + "end": { + "line": 150, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "snapshot", + "start": 4809, + "end": 4817, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4817, + "end": 4818, + "loc": { + "start": { + "line": 151, + "column": 18 + }, + "end": { + "line": 151, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addMeters", + "start": 4818, + "end": 4827, + "loc": { + "start": { + "line": 151, + "column": 19 + }, + "end": { + "line": 151, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4827, + "end": 4828, + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 4828, + "end": 4833, + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 151, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4833, + "end": 4834, + "loc": { + "start": { + "line": 151, + "column": 34 + }, + "end": { + "line": 151, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4834, + "end": 4835, + "loc": { + "start": { + "line": 151, + "column": 35 + }, + "end": { + "line": 151, + "column": 36 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4846, + "end": 4852, + "loc": { + "start": { + "line": 152, + "column": 10 + }, + "end": { + "line": 152, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "snapshot", + "start": 4853, + "end": 4861, + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4861, + "end": 4862, + "loc": { + "start": { + "line": 152, + "column": 25 + }, + "end": { + "line": 152, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4871, + "end": 4872, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4872, + "end": 4873, + "loc": { + "start": { + "line": 153, + "column": 9 + }, + "end": { + "line": 153, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4874, + "end": 4877, + "loc": { + "start": { + "line": 153, + "column": 11 + }, + "end": { + "line": 153, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshot", + "start": 4878, + "end": 4893, + "loc": { + "start": { + "line": 153, + "column": 15 + }, + "end": { + "line": 153, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4893, + "end": 4894, + "loc": { + "start": { + "line": 153, + "column": 30 + }, + "end": { + "line": 153, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4894, + "end": 4895, + "loc": { + "start": { + "line": 153, + "column": 31 + }, + "end": { + "line": 153, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4895, + "end": 4896, + "loc": { + "start": { + "line": 153, + "column": 32 + }, + "end": { + "line": 153, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4896, + "end": 4897, + "loc": { + "start": { + "line": 153, + "column": 33 + }, + "end": { + "line": 153, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 4907, + "end": 4917, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4917, + "end": 4918, + "loc": { + "start": { + "line": 155, + "column": 18 + }, + "end": { + "line": 155, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 4918, + "end": 4924, + "loc": { + "start": { + "line": 155, + "column": 19 + }, + "end": { + "line": 155, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4924, + "end": 4925, + "loc": { + "start": { + "line": 155, + "column": 25 + }, + "end": { + "line": 155, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterSnapshot", + "start": 4925, + "end": 4938, + "loc": { + "start": { + "line": 155, + "column": 26 + }, + "end": { + "line": 155, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4938, + "end": 4939, + "loc": { + "start": { + "line": 155, + "column": 39 + }, + "end": { + "line": 155, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4939, + "end": 4940, + "loc": { + "start": { + "line": 155, + "column": 40 + }, + "end": { + "line": 155, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pending", + "start": 4949, + "end": 4956, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 15 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "--", + "start": 4956, + "end": 4958, + "loc": { + "start": { + "line": 156, + "column": 15 + }, + "end": { + "line": 156, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4958, + "end": 4959, + "loc": { + "start": { + "line": 156, + "column": 17 + }, + "end": { + "line": 156, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4966, + "end": 4967, + "loc": { + "start": { + "line": 157, + "column": 6 + }, + "end": { + "line": 157, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4972, + "end": 4973, + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 158, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4973, + "end": 4974, + "loc": { + "start": { + "line": 158, + "column": 5 + }, + "end": { + "line": 158, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 4975, + "end": 4983, + "loc": { + "start": { + "line": 158, + "column": 7 + }, + "end": { + "line": 158, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4983, + "end": 4984, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exportPeriodSeconds", + "start": 4984, + "end": 5003, + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 35 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 5004, + "end": 5005, + "loc": { + "start": { + "line": 158, + "column": 36 + }, + "end": { + "line": 158, + "column": 37 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 5006, + "end": 5010, + "loc": { + "start": { + "line": 158, + "column": 38 + }, + "end": { + "line": 158, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5010, + "end": 5011, + "loc": { + "start": { + "line": 158, + "column": 42 + }, + "end": { + "line": 158, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5011, + "end": 5012, + "loc": { + "start": { + "line": 158, + "column": 43 + }, + "end": { + "line": 158, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 5018, + "end": 5028, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5028, + "end": 5029, + "loc": { + "start": { + "line": 160, + "column": 14 + }, + "end": { + "line": 160, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 5029, + "end": 5040, + "loc": { + "start": { + "line": 160, + "column": 15 + }, + "end": { + "line": 160, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5040, + "end": 5041, + "loc": { + "start": { + "line": 160, + "column": 26 + }, + "end": { + "line": 160, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5041, + "end": 5042, + "loc": { + "start": { + "line": 160, + "column": 27 + }, + "end": { + "line": 160, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 5049, + "end": 5055, + "loc": { + "start": { + "line": 161, + "column": 6 + }, + "end": { + "line": 161, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5055, + "end": 5056, + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5057, + "end": 5058, + "loc": { + "start": { + "line": 161, + "column": 14 + }, + "end": { + "line": 161, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5058, + "end": 5059, + "loc": { + "start": { + "line": 161, + "column": 15 + }, + "end": { + "line": 161, + "column": 16 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5060, + "end": 5062, + "loc": { + "start": { + "line": 161, + "column": 17 + }, + "end": { + "line": 161, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5063, + "end": 5064, + "loc": { + "start": { + "line": 161, + "column": 20 + }, + "end": { + "line": 161, + "column": 21 + } + } + }, + { + "type": "CommentLine", + "value": " They won't care about the \"complete\" in this case, remove reference", + "start": 5073, + "end": 5143, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 5152, + "end": 5160, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5160, + "end": 5161, + "loc": { + "start": { + "line": 163, + "column": 16 + }, + "end": { + "line": 163, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remoteSubscriber", + "start": 5161, + "end": 5177, + "loc": { + "start": { + "line": 163, + "column": 17 + }, + "end": { + "line": 163, + "column": 33 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5178, + "end": 5179, + "loc": { + "start": { + "line": 163, + "column": 34 + }, + "end": { + "line": 163, + "column": 35 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 5180, + "end": 5184, + "loc": { + "start": { + "line": 163, + "column": 36 + }, + "end": { + "line": 163, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5184, + "end": 5185, + "loc": { + "start": { + "line": 163, + "column": 40 + }, + "end": { + "line": 163, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exporter", + "start": 5194, + "end": 5202, + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5202, + "end": 5203, + "loc": { + "start": { + "line": 164, + "column": 16 + }, + "end": { + "line": 164, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stop", + "start": 5203, + "end": 5207, + "loc": { + "start": { + "line": 164, + "column": 17 + }, + "end": { + "line": 164, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5207, + "end": 5208, + "loc": { + "start": { + "line": 164, + "column": 21 + }, + "end": { + "line": 164, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5208, + "end": 5209, + "loc": { + "start": { + "line": 164, + "column": 22 + }, + "end": { + "line": 164, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5209, + "end": 5210, + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5217, + "end": 5218, + "loc": { + "start": { + "line": 165, + "column": 6 + }, + "end": { + "line": 165, + "column": 7 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5218, + "end": 5219, + "loc": { + "start": { + "line": 165, + "column": 7 + }, + "end": { + "line": 165, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 5226, + "end": 5233, + "loc": { + "start": { + "line": 166, + "column": 6 + }, + "end": { + "line": 166, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5233, + "end": 5234, + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 5235, + "end": 5236, + "loc": { + "start": { + "line": 166, + "column": 15 + }, + "end": { + "line": 166, + "column": 16 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5237, + "end": 5239, + "loc": { + "start": { + "line": 166, + "column": 17 + }, + "end": { + "line": 166, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5240, + "end": 5241, + "loc": { + "start": { + "line": 166, + "column": 20 + }, + "end": { + "line": 166, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pending", + "start": 5250, + "end": 5257, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 15 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 5258, + "end": 5260, + "loc": { + "start": { + "line": 167, + "column": 16 + }, + "end": { + "line": 167, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 5261, + "end": 5262, + "loc": { + "start": { + "line": 167, + "column": 19 + }, + "end": { + "line": 167, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5262, + "end": 5263, + "loc": { + "start": { + "line": 167, + "column": 20 + }, + "end": { + "line": 167, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5270, + "end": 5271, + "loc": { + "start": { + "line": 168, + "column": 6 + }, + "end": { + "line": 168, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5276, + "end": 5277, + "loc": { + "start": { + "line": 169, + "column": 4 + }, + "end": { + "line": 169, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5277, + "end": 5278, + "loc": { + "start": { + "line": 169, + "column": 5 + }, + "end": { + "line": 169, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5278, + "end": 5279, + "loc": { + "start": { + "line": 169, + "column": 6 + }, + "end": { + "line": 169, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5282, + "end": 5283, + "loc": { + "start": { + "line": 170, + "column": 2 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5283, + "end": 5284, + "loc": { + "start": { + "line": 170, + "column": 3 + }, + "end": { + "line": 170, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5284, + "end": 5285, + "loc": { + "start": { + "line": 170, + "column": 4 + }, + "end": { + "line": 170, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5286, + "end": 5287, + "loc": { + "start": { + "line": 171, + "column": 0 + }, + "end": { + "line": 171, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} meter\n * @return {Meter[]}\n * @throws {Error} if {@link meter} is of an unknown {@link IMeter.type}.\n ", + "start": 5289, + "end": 5416, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 5417, + "end": 5425, + "loc": { + "start": { + "line": 178, + "column": 0 + }, + "end": { + "line": 178, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 5426, + "end": 5433, + "loc": { + "start": { + "line": 178, + "column": 9 + }, + "end": { + "line": 178, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5433, + "end": 5434, + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 5434, + "end": 5439, + "loc": { + "start": { + "line": 178, + "column": 17 + }, + "end": { + "line": 178, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5439, + "end": 5440, + "loc": { + "start": { + "line": 178, + "column": 22 + }, + "end": { + "line": 178, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5441, + "end": 5442, + "loc": { + "start": { + "line": 178, + "column": 24 + }, + "end": { + "line": 178, + "column": 25 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5445, + "end": 5450, + "loc": { + "start": { + "line": 179, + "column": 2 + }, + "end": { + "line": 179, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterType", + "start": 5451, + "end": 5460, + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5461, + "end": 5462, + "loc": { + "start": { + "line": 179, + "column": 18 + }, + "end": { + "line": 179, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterTypeLookup", + "start": 5463, + "end": 5478, + "loc": { + "start": { + "line": 179, + "column": 20 + }, + "end": { + "line": 179, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5478, + "end": 5479, + "loc": { + "start": { + "line": 179, + "column": 35 + }, + "end": { + "line": 179, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 5479, + "end": 5484, + "loc": { + "start": { + "line": 179, + "column": 36 + }, + "end": { + "line": 179, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5484, + "end": 5485, + "loc": { + "start": { + "line": 179, + "column": 41 + }, + "end": { + "line": 179, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 5485, + "end": 5489, + "loc": { + "start": { + "line": 179, + "column": 42 + }, + "end": { + "line": 179, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5489, + "end": 5490, + "loc": { + "start": { + "line": 179, + "column": 46 + }, + "end": { + "line": 179, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5490, + "end": 5491, + "loc": { + "start": { + "line": 179, + "column": 47 + }, + "end": { + "line": 179, + "column": 48 + } + } + }, + { + "type": { + "label": "switch", + "keyword": "switch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "switch", + "start": 5494, + "end": 5500, + "loc": { + "start": { + "line": 180, + "column": 2 + }, + "end": { + "line": 180, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5501, + "end": 5502, + "loc": { + "start": { + "line": 180, + "column": 9 + }, + "end": { + "line": 180, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterType", + "start": 5502, + "end": 5511, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5511, + "end": 5512, + "loc": { + "start": { + "line": 180, + "column": 19 + }, + "end": { + "line": 180, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5513, + "end": 5514, + "loc": { + "start": { + "line": 180, + "column": 21 + }, + "end": { + "line": 180, + "column": 22 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 5519, + "end": 5523, + "loc": { + "start": { + "line": 181, + "column": 4 + }, + "end": { + "line": 181, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 5524, + "end": 5533, + "loc": { + "start": { + "line": 181, + "column": 9 + }, + "end": { + "line": 181, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5533, + "end": 5534, + "loc": { + "start": { + "line": 181, + "column": 18 + }, + "end": { + "line": 181, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TIMER", + "start": 5534, + "end": 5539, + "loc": { + "start": { + "line": 181, + "column": 19 + }, + "end": { + "line": 181, + "column": 24 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5539, + "end": 5540, + "loc": { + "start": { + "line": 181, + "column": 24 + }, + "end": { + "line": 181, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5547, + "end": 5553, + "loc": { + "start": { + "line": 182, + "column": 6 + }, + "end": { + "line": 182, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 5554, + "end": 5559, + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 182, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5559, + "end": 5560, + "loc": { + "start": { + "line": 182, + "column": 18 + }, + "end": { + "line": 182, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 5560, + "end": 5567, + "loc": { + "start": { + "line": 182, + "column": 19 + }, + "end": { + "line": 182, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5567, + "end": 5568, + "loc": { + "start": { + "line": 182, + "column": 26 + }, + "end": { + "line": 182, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertTimer", + "start": 5568, + "end": 5580, + "loc": { + "start": { + "line": 182, + "column": 27 + }, + "end": { + "line": 182, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5580, + "end": 5581, + "loc": { + "start": { + "line": 182, + "column": 39 + }, + "end": { + "line": 182, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5581, + "end": 5582, + "loc": { + "start": { + "line": 182, + "column": 40 + }, + "end": { + "line": 182, + "column": 41 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 5587, + "end": 5591, + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 183, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 5592, + "end": 5601, + "loc": { + "start": { + "line": 183, + "column": 9 + }, + "end": { + "line": 183, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5601, + "end": 5602, + "loc": { + "start": { + "line": 183, + "column": 18 + }, + "end": { + "line": 183, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "COUNTER", + "start": 5602, + "end": 5609, + "loc": { + "start": { + "line": 183, + "column": 19 + }, + "end": { + "line": 183, + "column": 26 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5609, + "end": 5610, + "loc": { + "start": { + "line": 183, + "column": 26 + }, + "end": { + "line": 183, + "column": 27 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 5615, + "end": 5619, + "loc": { + "start": { + "line": 184, + "column": 4 + }, + "end": { + "line": 184, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 5620, + "end": 5629, + "loc": { + "start": { + "line": 184, + "column": 9 + }, + "end": { + "line": 184, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5629, + "end": 5630, + "loc": { + "start": { + "line": 184, + "column": 18 + }, + "end": { + "line": 184, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "GAUGE", + "start": 5630, + "end": 5635, + "loc": { + "start": { + "line": 184, + "column": 19 + }, + "end": { + "line": 184, + "column": 24 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5635, + "end": 5636, + "loc": { + "start": { + "line": 184, + "column": 24 + }, + "end": { + "line": 184, + "column": 25 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 5641, + "end": 5645, + "loc": { + "start": { + "line": 185, + "column": 4 + }, + "end": { + "line": 185, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 5646, + "end": 5655, + "loc": { + "start": { + "line": 185, + "column": 9 + }, + "end": { + "line": 185, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5655, + "end": 5656, + "loc": { + "start": { + "line": 185, + "column": 18 + }, + "end": { + "line": 185, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LONG_TASK_TIMER", + "start": 5656, + "end": 5671, + "loc": { + "start": { + "line": 185, + "column": 19 + }, + "end": { + "line": 185, + "column": 34 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5671, + "end": 5672, + "loc": { + "start": { + "line": 185, + "column": 34 + }, + "end": { + "line": 185, + "column": 35 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 5677, + "end": 5681, + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 186, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 5682, + "end": 5691, + "loc": { + "start": { + "line": 186, + "column": 9 + }, + "end": { + "line": 186, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5691, + "end": 5692, + "loc": { + "start": { + "line": 186, + "column": 18 + }, + "end": { + "line": 186, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DISTRIBUTION_SUMMARY", + "start": 5692, + "end": 5712, + "loc": { + "start": { + "line": 186, + "column": 19 + }, + "end": { + "line": 186, + "column": 39 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5712, + "end": 5713, + "loc": { + "start": { + "line": 186, + "column": 39 + }, + "end": { + "line": 186, + "column": 40 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 5718, + "end": 5722, + "loc": { + "start": { + "line": 187, + "column": 4 + }, + "end": { + "line": 187, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 5723, + "end": 5732, + "loc": { + "start": { + "line": 187, + "column": 9 + }, + "end": { + "line": 187, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5732, + "end": 5733, + "loc": { + "start": { + "line": 187, + "column": 18 + }, + "end": { + "line": 187, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "OTHER", + "start": 5733, + "end": 5738, + "loc": { + "start": { + "line": 187, + "column": 19 + }, + "end": { + "line": 187, + "column": 24 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5738, + "end": 5739, + "loc": { + "start": { + "line": 187, + "column": 24 + }, + "end": { + "line": 187, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5746, + "end": 5752, + "loc": { + "start": { + "line": 188, + "column": 6 + }, + "end": { + "line": 188, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 5753, + "end": 5758, + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5758, + "end": 5759, + "loc": { + "start": { + "line": 188, + "column": 18 + }, + "end": { + "line": 188, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convert", + "start": 5759, + "end": 5766, + "loc": { + "start": { + "line": 188, + "column": 19 + }, + "end": { + "line": 188, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5766, + "end": 5767, + "loc": { + "start": { + "line": 188, + "column": 26 + }, + "end": { + "line": 188, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "basicConverter", + "start": 5767, + "end": 5781, + "loc": { + "start": { + "line": 188, + "column": 27 + }, + "end": { + "line": 188, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5781, + "end": 5782, + "loc": { + "start": { + "line": 188, + "column": 41 + }, + "end": { + "line": 188, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5782, + "end": 5783, + "loc": { + "start": { + "line": 188, + "column": 42 + }, + "end": { + "line": 188, + "column": 43 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 5788, + "end": 5795, + "loc": { + "start": { + "line": 189, + "column": 4 + }, + "end": { + "line": 189, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5795, + "end": 5796, + "loc": { + "start": { + "line": 189, + "column": 11 + }, + "end": { + "line": 189, + "column": 12 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 5803, + "end": 5808, + "loc": { + "start": { + "line": 190, + "column": 6 + }, + "end": { + "line": 190, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5809, + "end": 5812, + "loc": { + "start": { + "line": 190, + "column": 12 + }, + "end": { + "line": 190, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 5813, + "end": 5818, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5818, + "end": 5819, + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "unsupported type ", + "start": 5819, + "end": 5838, + "loc": { + "start": { + "line": 190, + "column": 22 + }, + "end": { + "line": 190, + "column": 41 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5839, + "end": 5840, + "loc": { + "start": { + "line": 190, + "column": 42 + }, + "end": { + "line": 190, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterType", + "start": 5841, + "end": 5850, + "loc": { + "start": { + "line": 190, + "column": 44 + }, + "end": { + "line": 190, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5850, + "end": 5851, + "loc": { + "start": { + "line": 190, + "column": 53 + }, + "end": { + "line": 190, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5851, + "end": 5852, + "loc": { + "start": { + "line": 190, + "column": 54 + }, + "end": { + "line": 190, + "column": 55 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5855, + "end": 5856, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 191, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5857, + "end": 5858, + "loc": { + "start": { + "line": 192, + "column": 0 + }, + "end": { + "line": 192, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a {@link MeterType} enum corresponding to the name of a meter type.\n *\n * @param {string} meterType - one of \"gauge\", \"timer\", \"counter\", \"longTaskTimer\", \"distribtionSummary\", or \"other\"\n * @return a {@link MeterType} enum corresponding to the {@link meterType} string\n * @throws {Error} if a string not among the above values is submitted as the {@link meterType} parameter\n ", + "start": 5860, + "end": 6253, + "loc": { + "start": { + "line": 194, + "column": 0 + }, + "end": { + "line": 200, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 6254, + "end": 6262, + "loc": { + "start": { + "line": 201, + "column": 0 + }, + "end": { + "line": 201, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterTypeLookup", + "start": 6263, + "end": 6278, + "loc": { + "start": { + "line": 201, + "column": 9 + }, + "end": { + "line": 201, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6278, + "end": 6279, + "loc": { + "start": { + "line": 201, + "column": 24 + }, + "end": { + "line": 201, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterType", + "start": 6279, + "end": 6288, + "loc": { + "start": { + "line": 201, + "column": 25 + }, + "end": { + "line": 201, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6288, + "end": 6289, + "loc": { + "start": { + "line": 201, + "column": 34 + }, + "end": { + "line": 201, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6290, + "end": 6291, + "loc": { + "start": { + "line": 201, + "column": 36 + }, + "end": { + "line": 201, + "column": 37 + } + } + }, + { + "type": { + "label": "switch", + "keyword": "switch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "switch", + "start": 6294, + "end": 6300, + "loc": { + "start": { + "line": 202, + "column": 2 + }, + "end": { + "line": 202, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6301, + "end": 6302, + "loc": { + "start": { + "line": 202, + "column": 9 + }, + "end": { + "line": 202, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterType", + "start": 6302, + "end": 6311, + "loc": { + "start": { + "line": 202, + "column": 10 + }, + "end": { + "line": 202, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6311, + "end": 6312, + "loc": { + "start": { + "line": 202, + "column": 19 + }, + "end": { + "line": 202, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6313, + "end": 6314, + "loc": { + "start": { + "line": 202, + "column": 21 + }, + "end": { + "line": 202, + "column": 22 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 6319, + "end": 6323, + "loc": { + "start": { + "line": 203, + "column": 4 + }, + "end": { + "line": 203, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "gauge", + "start": 6324, + "end": 6331, + "loc": { + "start": { + "line": 203, + "column": 9 + }, + "end": { + "line": 203, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6331, + "end": 6332, + "loc": { + "start": { + "line": 203, + "column": 16 + }, + "end": { + "line": 203, + "column": 17 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6339, + "end": 6345, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 6346, + "end": 6355, + "loc": { + "start": { + "line": 204, + "column": 13 + }, + "end": { + "line": 204, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6355, + "end": 6356, + "loc": { + "start": { + "line": 204, + "column": 22 + }, + "end": { + "line": 204, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "GAUGE", + "start": 6356, + "end": 6361, + "loc": { + "start": { + "line": 204, + "column": 23 + }, + "end": { + "line": 204, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6361, + "end": 6362, + "loc": { + "start": { + "line": 204, + "column": 28 + }, + "end": { + "line": 204, + "column": 29 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 6367, + "end": 6371, + "loc": { + "start": { + "line": 205, + "column": 4 + }, + "end": { + "line": 205, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "timer", + "start": 6372, + "end": 6379, + "loc": { + "start": { + "line": 205, + "column": 9 + }, + "end": { + "line": 205, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6379, + "end": 6380, + "loc": { + "start": { + "line": 205, + "column": 16 + }, + "end": { + "line": 205, + "column": 17 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6387, + "end": 6393, + "loc": { + "start": { + "line": 206, + "column": 6 + }, + "end": { + "line": 206, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 6394, + "end": 6403, + "loc": { + "start": { + "line": 206, + "column": 13 + }, + "end": { + "line": 206, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6403, + "end": 6404, + "loc": { + "start": { + "line": 206, + "column": 22 + }, + "end": { + "line": 206, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TIMER", + "start": 6404, + "end": 6409, + "loc": { + "start": { + "line": 206, + "column": 23 + }, + "end": { + "line": 206, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6409, + "end": 6410, + "loc": { + "start": { + "line": 206, + "column": 28 + }, + "end": { + "line": 206, + "column": 29 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 6415, + "end": 6419, + "loc": { + "start": { + "line": 207, + "column": 4 + }, + "end": { + "line": 207, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "counter", + "start": 6420, + "end": 6429, + "loc": { + "start": { + "line": 207, + "column": 9 + }, + "end": { + "line": 207, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6429, + "end": 6430, + "loc": { + "start": { + "line": 207, + "column": 18 + }, + "end": { + "line": 207, + "column": 19 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6437, + "end": 6443, + "loc": { + "start": { + "line": 208, + "column": 6 + }, + "end": { + "line": 208, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 6444, + "end": 6453, + "loc": { + "start": { + "line": 208, + "column": 13 + }, + "end": { + "line": 208, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6453, + "end": 6454, + "loc": { + "start": { + "line": 208, + "column": 22 + }, + "end": { + "line": 208, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "COUNTER", + "start": 6454, + "end": 6461, + "loc": { + "start": { + "line": 208, + "column": 23 + }, + "end": { + "line": 208, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6461, + "end": 6462, + "loc": { + "start": { + "line": 208, + "column": 30 + }, + "end": { + "line": 208, + "column": 31 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 6467, + "end": 6471, + "loc": { + "start": { + "line": 209, + "column": 4 + }, + "end": { + "line": 209, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "longTaskTimer", + "start": 6472, + "end": 6487, + "loc": { + "start": { + "line": 209, + "column": 9 + }, + "end": { + "line": 209, + "column": 24 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6487, + "end": 6488, + "loc": { + "start": { + "line": 209, + "column": 24 + }, + "end": { + "line": 209, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6495, + "end": 6501, + "loc": { + "start": { + "line": 210, + "column": 6 + }, + "end": { + "line": 210, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 6502, + "end": 6511, + "loc": { + "start": { + "line": 210, + "column": 13 + }, + "end": { + "line": 210, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6511, + "end": 6512, + "loc": { + "start": { + "line": 210, + "column": 22 + }, + "end": { + "line": 210, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LONG_TASK_TIMER", + "start": 6512, + "end": 6527, + "loc": { + "start": { + "line": 210, + "column": 23 + }, + "end": { + "line": 210, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6527, + "end": 6528, + "loc": { + "start": { + "line": 210, + "column": 38 + }, + "end": { + "line": 210, + "column": 39 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 6533, + "end": 6537, + "loc": { + "start": { + "line": 211, + "column": 4 + }, + "end": { + "line": 211, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "distributionSummary", + "start": 6538, + "end": 6559, + "loc": { + "start": { + "line": 211, + "column": 9 + }, + "end": { + "line": 211, + "column": 30 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6559, + "end": 6560, + "loc": { + "start": { + "line": 211, + "column": 30 + }, + "end": { + "line": 211, + "column": 31 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6567, + "end": 6573, + "loc": { + "start": { + "line": 212, + "column": 6 + }, + "end": { + "line": 212, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 6574, + "end": 6583, + "loc": { + "start": { + "line": 212, + "column": 13 + }, + "end": { + "line": 212, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6583, + "end": 6584, + "loc": { + "start": { + "line": 212, + "column": 22 + }, + "end": { + "line": 212, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DISTRIBUTION_SUMMARY", + "start": 6584, + "end": 6604, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6604, + "end": 6605, + "loc": { + "start": { + "line": 212, + "column": 43 + }, + "end": { + "line": 212, + "column": 44 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 6610, + "end": 6614, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 213, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "other", + "start": 6615, + "end": 6622, + "loc": { + "start": { + "line": 213, + "column": 9 + }, + "end": { + "line": 213, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6622, + "end": 6623, + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 17 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6630, + "end": 6636, + "loc": { + "start": { + "line": 214, + "column": 6 + }, + "end": { + "line": 214, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 6637, + "end": 6646, + "loc": { + "start": { + "line": 214, + "column": 13 + }, + "end": { + "line": 214, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6646, + "end": 6647, + "loc": { + "start": { + "line": 214, + "column": 22 + }, + "end": { + "line": 214, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "OTHER", + "start": 6647, + "end": 6652, + "loc": { + "start": { + "line": 214, + "column": 23 + }, + "end": { + "line": 214, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6652, + "end": 6653, + "loc": { + "start": { + "line": 214, + "column": 28 + }, + "end": { + "line": 214, + "column": 29 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 6658, + "end": 6665, + "loc": { + "start": { + "line": 215, + "column": 4 + }, + "end": { + "line": 215, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6665, + "end": 6666, + "loc": { + "start": { + "line": 215, + "column": 11 + }, + "end": { + "line": 215, + "column": 12 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 6673, + "end": 6678, + "loc": { + "start": { + "line": 216, + "column": 6 + }, + "end": { + "line": 216, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 6679, + "end": 6682, + "loc": { + "start": { + "line": 216, + "column": 12 + }, + "end": { + "line": 216, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 6683, + "end": 6688, + "loc": { + "start": { + "line": 216, + "column": 16 + }, + "end": { + "line": 216, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6688, + "end": 6689, + "loc": { + "start": { + "line": 216, + "column": 21 + }, + "end": { + "line": 216, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "unknown type ", + "start": 6689, + "end": 6704, + "loc": { + "start": { + "line": 216, + "column": 22 + }, + "end": { + "line": 216, + "column": 37 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 6705, + "end": 6706, + "loc": { + "start": { + "line": 216, + "column": 38 + }, + "end": { + "line": 216, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterType", + "start": 6707, + "end": 6716, + "loc": { + "start": { + "line": 216, + "column": 40 + }, + "end": { + "line": 216, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6716, + "end": 6717, + "loc": { + "start": { + "line": 216, + "column": 49 + }, + "end": { + "line": 216, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6717, + "end": 6718, + "loc": { + "start": { + "line": 216, + "column": 50 + }, + "end": { + "line": 216, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6721, + "end": 6722, + "loc": { + "start": { + "line": 217, + "column": 2 + }, + "end": { + "line": 217, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6723, + "end": 6724, + "loc": { + "start": { + "line": 218, + "column": 0 + }, + "end": { + "line": 218, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a {@link MeterStatistic} enum corresponding to the name of a meter statistic.\n *\n * @param {string} statistic - one of \"max\", \"count\", \"total\", \"value\", \"unknown\", \"duration\", \"totalTime\", or \"activeTasks\"\n * @return a {@link MeterStatistic} enum corresponding to the {@link statistic} string\n * @throws {Error} if a string not among the above values is submitted as the {@link statistic} parameter\n ", + "start": 6726, + "end": 7142, + "loc": { + "start": { + "line": 220, + "column": 0 + }, + "end": { + "line": 226, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 7143, + "end": 7151, + "loc": { + "start": { + "line": 227, + "column": 0 + }, + "end": { + "line": 227, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statisticTypeLookup", + "start": 7152, + "end": 7171, + "loc": { + "start": { + "line": 227, + "column": 9 + }, + "end": { + "line": 227, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7171, + "end": 7172, + "loc": { + "start": { + "line": 227, + "column": 28 + }, + "end": { + "line": 227, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statistic", + "start": 7172, + "end": 7181, + "loc": { + "start": { + "line": 227, + "column": 29 + }, + "end": { + "line": 227, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7181, + "end": 7182, + "loc": { + "start": { + "line": 227, + "column": 38 + }, + "end": { + "line": 227, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7183, + "end": 7184, + "loc": { + "start": { + "line": 227, + "column": 40 + }, + "end": { + "line": 227, + "column": 41 + } + } + }, + { + "type": { + "label": "switch", + "keyword": "switch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "switch", + "start": 7187, + "end": 7193, + "loc": { + "start": { + "line": 228, + "column": 2 + }, + "end": { + "line": 228, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7194, + "end": 7195, + "loc": { + "start": { + "line": 228, + "column": 9 + }, + "end": { + "line": 228, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statistic", + "start": 7195, + "end": 7204, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7204, + "end": 7205, + "loc": { + "start": { + "line": 228, + "column": 19 + }, + "end": { + "line": 228, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7206, + "end": 7207, + "loc": { + "start": { + "line": 228, + "column": 21 + }, + "end": { + "line": 228, + "column": 22 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 7212, + "end": 7216, + "loc": { + "start": { + "line": 229, + "column": 4 + }, + "end": { + "line": 229, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "max", + "start": 7217, + "end": 7222, + "loc": { + "start": { + "line": 229, + "column": 9 + }, + "end": { + "line": 229, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7222, + "end": 7223, + "loc": { + "start": { + "line": 229, + "column": 14 + }, + "end": { + "line": 229, + "column": 15 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7230, + "end": 7236, + "loc": { + "start": { + "line": 230, + "column": 6 + }, + "end": { + "line": 230, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 7237, + "end": 7251, + "loc": { + "start": { + "line": 230, + "column": 13 + }, + "end": { + "line": 230, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7251, + "end": 7252, + "loc": { + "start": { + "line": 230, + "column": 27 + }, + "end": { + "line": 230, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX", + "start": 7252, + "end": 7255, + "loc": { + "start": { + "line": 230, + "column": 28 + }, + "end": { + "line": 230, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7255, + "end": 7256, + "loc": { + "start": { + "line": 230, + "column": 31 + }, + "end": { + "line": 230, + "column": 32 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 7261, + "end": 7265, + "loc": { + "start": { + "line": 231, + "column": 4 + }, + "end": { + "line": 231, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "count", + "start": 7266, + "end": 7273, + "loc": { + "start": { + "line": 231, + "column": 9 + }, + "end": { + "line": 231, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7273, + "end": 7274, + "loc": { + "start": { + "line": 231, + "column": 16 + }, + "end": { + "line": 231, + "column": 17 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7281, + "end": 7287, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 7288, + "end": 7302, + "loc": { + "start": { + "line": 232, + "column": 13 + }, + "end": { + "line": 232, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7302, + "end": 7303, + "loc": { + "start": { + "line": 232, + "column": 27 + }, + "end": { + "line": 232, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "COUNT", + "start": 7303, + "end": 7308, + "loc": { + "start": { + "line": 232, + "column": 28 + }, + "end": { + "line": 232, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7308, + "end": 7309, + "loc": { + "start": { + "line": 232, + "column": 33 + }, + "end": { + "line": 232, + "column": 34 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 7314, + "end": 7318, + "loc": { + "start": { + "line": 233, + "column": 4 + }, + "end": { + "line": 233, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "total", + "start": 7319, + "end": 7326, + "loc": { + "start": { + "line": 233, + "column": 9 + }, + "end": { + "line": 233, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7326, + "end": 7327, + "loc": { + "start": { + "line": 233, + "column": 16 + }, + "end": { + "line": 233, + "column": 17 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7334, + "end": 7340, + "loc": { + "start": { + "line": 234, + "column": 6 + }, + "end": { + "line": 234, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 7341, + "end": 7355, + "loc": { + "start": { + "line": 234, + "column": 13 + }, + "end": { + "line": 234, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7355, + "end": 7356, + "loc": { + "start": { + "line": 234, + "column": 27 + }, + "end": { + "line": 234, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TOTAL", + "start": 7356, + "end": 7361, + "loc": { + "start": { + "line": 234, + "column": 28 + }, + "end": { + "line": 234, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7361, + "end": 7362, + "loc": { + "start": { + "line": 234, + "column": 33 + }, + "end": { + "line": 234, + "column": 34 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 7367, + "end": 7371, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "value", + "start": 7372, + "end": 7379, + "loc": { + "start": { + "line": 235, + "column": 9 + }, + "end": { + "line": 235, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7379, + "end": 7380, + "loc": { + "start": { + "line": 235, + "column": 16 + }, + "end": { + "line": 235, + "column": 17 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7387, + "end": 7393, + "loc": { + "start": { + "line": 236, + "column": 6 + }, + "end": { + "line": 236, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 7394, + "end": 7408, + "loc": { + "start": { + "line": 236, + "column": 13 + }, + "end": { + "line": 236, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7408, + "end": 7409, + "loc": { + "start": { + "line": 236, + "column": 27 + }, + "end": { + "line": 236, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VALUE", + "start": 7409, + "end": 7414, + "loc": { + "start": { + "line": 236, + "column": 28 + }, + "end": { + "line": 236, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7414, + "end": 7415, + "loc": { + "start": { + "line": 236, + "column": 33 + }, + "end": { + "line": 236, + "column": 34 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 7420, + "end": 7424, + "loc": { + "start": { + "line": 237, + "column": 4 + }, + "end": { + "line": 237, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "unknown", + "start": 7425, + "end": 7434, + "loc": { + "start": { + "line": 237, + "column": 9 + }, + "end": { + "line": 237, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7434, + "end": 7435, + "loc": { + "start": { + "line": 237, + "column": 18 + }, + "end": { + "line": 237, + "column": 19 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7442, + "end": 7448, + "loc": { + "start": { + "line": 238, + "column": 6 + }, + "end": { + "line": 238, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 7449, + "end": 7463, + "loc": { + "start": { + "line": 238, + "column": 13 + }, + "end": { + "line": 238, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7463, + "end": 7464, + "loc": { + "start": { + "line": 238, + "column": 27 + }, + "end": { + "line": 238, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UNKNOWN", + "start": 7464, + "end": 7471, + "loc": { + "start": { + "line": 238, + "column": 28 + }, + "end": { + "line": 238, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7471, + "end": 7472, + "loc": { + "start": { + "line": 238, + "column": 35 + }, + "end": { + "line": 238, + "column": 36 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 7477, + "end": 7481, + "loc": { + "start": { + "line": 239, + "column": 4 + }, + "end": { + "line": 239, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "duration", + "start": 7482, + "end": 7492, + "loc": { + "start": { + "line": 239, + "column": 9 + }, + "end": { + "line": 239, + "column": 19 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7492, + "end": 7493, + "loc": { + "start": { + "line": 239, + "column": 19 + }, + "end": { + "line": 239, + "column": 20 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7500, + "end": 7506, + "loc": { + "start": { + "line": 240, + "column": 6 + }, + "end": { + "line": 240, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 7507, + "end": 7521, + "loc": { + "start": { + "line": 240, + "column": 13 + }, + "end": { + "line": 240, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7521, + "end": 7522, + "loc": { + "start": { + "line": 240, + "column": 27 + }, + "end": { + "line": 240, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DURATION", + "start": 7522, + "end": 7530, + "loc": { + "start": { + "line": 240, + "column": 28 + }, + "end": { + "line": 240, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7530, + "end": 7531, + "loc": { + "start": { + "line": 240, + "column": 36 + }, + "end": { + "line": 240, + "column": 37 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 7536, + "end": 7540, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 241, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "totalTime", + "start": 7541, + "end": 7552, + "loc": { + "start": { + "line": 241, + "column": 9 + }, + "end": { + "line": 241, + "column": 20 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7552, + "end": 7553, + "loc": { + "start": { + "line": 241, + "column": 20 + }, + "end": { + "line": 241, + "column": 21 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7560, + "end": 7566, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 7567, + "end": 7581, + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7581, + "end": 7582, + "loc": { + "start": { + "line": 242, + "column": 27 + }, + "end": { + "line": 242, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TOTAL_TIME", + "start": 7582, + "end": 7592, + "loc": { + "start": { + "line": 242, + "column": 28 + }, + "end": { + "line": 242, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7592, + "end": 7593, + "loc": { + "start": { + "line": 242, + "column": 38 + }, + "end": { + "line": 242, + "column": 39 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 7598, + "end": 7602, + "loc": { + "start": { + "line": 243, + "column": 4 + }, + "end": { + "line": 243, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "activeTasks", + "start": 7603, + "end": 7616, + "loc": { + "start": { + "line": 243, + "column": 9 + }, + "end": { + "line": 243, + "column": 22 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7616, + "end": 7617, + "loc": { + "start": { + "line": 243, + "column": 22 + }, + "end": { + "line": 243, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7624, + "end": 7630, + "loc": { + "start": { + "line": 244, + "column": 6 + }, + "end": { + "line": 244, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 7631, + "end": 7645, + "loc": { + "start": { + "line": 244, + "column": 13 + }, + "end": { + "line": 244, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7645, + "end": 7646, + "loc": { + "start": { + "line": 244, + "column": 27 + }, + "end": { + "line": 244, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ACTIVE_TASKS", + "start": 7646, + "end": 7658, + "loc": { + "start": { + "line": 244, + "column": 28 + }, + "end": { + "line": 244, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7658, + "end": 7659, + "loc": { + "start": { + "line": 244, + "column": 40 + }, + "end": { + "line": 244, + "column": 41 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 7664, + "end": 7671, + "loc": { + "start": { + "line": 245, + "column": 4 + }, + "end": { + "line": 245, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7671, + "end": 7672, + "loc": { + "start": { + "line": 245, + "column": 11 + }, + "end": { + "line": 245, + "column": 12 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 7679, + "end": 7684, + "loc": { + "start": { + "line": 246, + "column": 6 + }, + "end": { + "line": 246, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 7685, + "end": 7688, + "loc": { + "start": { + "line": 246, + "column": 12 + }, + "end": { + "line": 246, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 7689, + "end": 7694, + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7694, + "end": 7695, + "loc": { + "start": { + "line": 246, + "column": 21 + }, + "end": { + "line": 246, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "unknown type ", + "start": 7695, + "end": 7710, + "loc": { + "start": { + "line": 246, + "column": 22 + }, + "end": { + "line": 246, + "column": 37 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 7711, + "end": 7712, + "loc": { + "start": { + "line": 246, + "column": 38 + }, + "end": { + "line": 246, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statistic", + "start": 7713, + "end": 7722, + "loc": { + "start": { + "line": 246, + "column": 40 + }, + "end": { + "line": 246, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7722, + "end": 7723, + "loc": { + "start": { + "line": 246, + "column": 49 + }, + "end": { + "line": 246, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7723, + "end": 7724, + "loc": { + "start": { + "line": 246, + "column": 50 + }, + "end": { + "line": 246, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7727, + "end": 7728, + "loc": { + "start": { + "line": 247, + "column": 2 + }, + "end": { + "line": 247, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7729, + "end": 7730, + "loc": { + "start": { + "line": 248, + "column": 0 + }, + "end": { + "line": 248, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} imeter\n * @return {Meter[]}\n * @throws {Error} if {@link imeter} is not a {@link Timer}\n ", + "start": 7732, + "end": 7846, + "loc": { + "start": { + "line": 250, + "column": 0 + }, + "end": { + "line": 254, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 7847, + "end": 7855, + "loc": { + "start": { + "line": 255, + "column": 0 + }, + "end": { + "line": 255, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertTimer", + "start": 7856, + "end": 7868, + "loc": { + "start": { + "line": 255, + "column": 9 + }, + "end": { + "line": 255, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7868, + "end": 7869, + "loc": { + "start": { + "line": 255, + "column": 21 + }, + "end": { + "line": 255, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 7869, + "end": 7875, + "loc": { + "start": { + "line": 255, + "column": 22 + }, + "end": { + "line": 255, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7875, + "end": 7876, + "loc": { + "start": { + "line": 255, + "column": 28 + }, + "end": { + "line": 255, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7877, + "end": 7878, + "loc": { + "start": { + "line": 255, + "column": 30 + }, + "end": { + "line": 255, + "column": 31 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 7881, + "end": 7883, + "loc": { + "start": { + "line": 256, + "column": 2 + }, + "end": { + "line": 256, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7884, + "end": 7885, + "loc": { + "start": { + "line": 256, + "column": 5 + }, + "end": { + "line": 256, + "column": 6 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 7885, + "end": 7886, + "loc": { + "start": { + "line": 256, + "column": 6 + }, + "end": { + "line": 256, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7886, + "end": 7887, + "loc": { + "start": { + "line": 256, + "column": 7 + }, + "end": { + "line": 256, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 7887, + "end": 7893, + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 256, + "column": 14 + } + } + }, + { + "type": { + "label": "instanceof", + "keyword": "instanceof", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "instanceof", + "start": 7894, + "end": 7904, + "loc": { + "start": { + "line": 256, + "column": 15 + }, + "end": { + "line": 256, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 7905, + "end": 7910, + "loc": { + "start": { + "line": 256, + "column": 26 + }, + "end": { + "line": 256, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7910, + "end": 7911, + "loc": { + "start": { + "line": 256, + "column": 31 + }, + "end": { + "line": 256, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7911, + "end": 7912, + "loc": { + "start": { + "line": 256, + "column": 32 + }, + "end": { + "line": 256, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7913, + "end": 7914, + "loc": { + "start": { + "line": 256, + "column": 34 + }, + "end": { + "line": 256, + "column": 35 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 7919, + "end": 7924, + "loc": { + "start": { + "line": 257, + "column": 4 + }, + "end": { + "line": 257, + "column": 9 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 7925, + "end": 7928, + "loc": { + "start": { + "line": 257, + "column": 10 + }, + "end": { + "line": 257, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 7929, + "end": 7934, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7934, + "end": 7935, + "loc": { + "start": { + "line": 257, + "column": 19 + }, + "end": { + "line": 257, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Meter is not an instance of Timer", + "start": 7935, + "end": 7970, + "loc": { + "start": { + "line": 257, + "column": 20 + }, + "end": { + "line": 257, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7970, + "end": 7971, + "loc": { + "start": { + "line": 257, + "column": 55 + }, + "end": { + "line": 257, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7971, + "end": 7972, + "loc": { + "start": { + "line": 257, + "column": 56 + }, + "end": { + "line": 257, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7975, + "end": 7976, + "loc": { + "start": { + "line": 258, + "column": 2 + }, + "end": { + "line": 258, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 7980, + "end": 7985, + "loc": { + "start": { + "line": 260, + "column": 2 + }, + "end": { + "line": 260, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 7986, + "end": 7991, + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 260, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7992, + "end": 7993, + "loc": { + "start": { + "line": 260, + "column": 14 + }, + "end": { + "line": 260, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 7994, + "end": 8000, + "loc": { + "start": { + "line": 260, + "column": 16 + }, + "end": { + "line": 260, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8000, + "end": 8001, + "loc": { + "start": { + "line": 260, + "column": 22 + }, + "end": { + "line": 260, + "column": 23 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8004, + "end": 8009, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 261, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 8010, + "end": 8016, + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 261, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8017, + "end": 8018, + "loc": { + "start": { + "line": 261, + "column": 15 + }, + "end": { + "line": 261, + "column": 16 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8019, + "end": 8020, + "loc": { + "start": { + "line": 261, + "column": 17 + }, + "end": { + "line": 261, + "column": 18 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8020, + "end": 8021, + "loc": { + "start": { + "line": 261, + "column": 18 + }, + "end": { + "line": 261, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8021, + "end": 8022, + "loc": { + "start": { + "line": 261, + "column": 19 + }, + "end": { + "line": 261, + "column": 20 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8025, + "end": 8030, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 262, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 8031, + "end": 8035, + "loc": { + "start": { + "line": 262, + "column": 8 + }, + "end": { + "line": 262, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8036, + "end": 8037, + "loc": { + "start": { + "line": 262, + "column": 13 + }, + "end": { + "line": 262, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 8038, + "end": 8043, + "loc": { + "start": { + "line": 262, + "column": 15 + }, + "end": { + "line": 262, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8043, + "end": 8044, + "loc": { + "start": { + "line": 262, + "column": 20 + }, + "end": { + "line": 262, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 8044, + "end": 8048, + "loc": { + "start": { + "line": 262, + "column": 21 + }, + "end": { + "line": 262, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8048, + "end": 8049, + "loc": { + "start": { + "line": 262, + "column": 25 + }, + "end": { + "line": 262, + "column": 26 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8052, + "end": 8057, + "loc": { + "start": { + "line": 263, + "column": 2 + }, + "end": { + "line": 263, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 8058, + "end": 8062, + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 263, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8063, + "end": 8064, + "loc": { + "start": { + "line": 263, + "column": 13 + }, + "end": { + "line": 263, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertTags", + "start": 8065, + "end": 8076, + "loc": { + "start": { + "line": 263, + "column": 15 + }, + "end": { + "line": 263, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8076, + "end": 8077, + "loc": { + "start": { + "line": 263, + "column": 26 + }, + "end": { + "line": 263, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 8077, + "end": 8082, + "loc": { + "start": { + "line": 263, + "column": 27 + }, + "end": { + "line": 263, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8082, + "end": 8083, + "loc": { + "start": { + "line": 263, + "column": 32 + }, + "end": { + "line": 263, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 8083, + "end": 8087, + "loc": { + "start": { + "line": 263, + "column": 33 + }, + "end": { + "line": 263, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8087, + "end": 8088, + "loc": { + "start": { + "line": 263, + "column": 37 + }, + "end": { + "line": 263, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8088, + "end": 8089, + "loc": { + "start": { + "line": 263, + "column": 38 + }, + "end": { + "line": 263, + "column": 39 + } + } + }, + { + "type": "CommentLine", + "value": " Add meters for percentiles of interest", + "start": 8093, + "end": 8134, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 265, + "column": 43 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8137, + "end": 8142, + "loc": { + "start": { + "line": 266, + "column": 2 + }, + "end": { + "line": 266, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuesSnapshot", + "start": 8143, + "end": 8157, + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8158, + "end": 8159, + "loc": { + "start": { + "line": 266, + "column": 23 + }, + "end": { + "line": 266, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 8160, + "end": 8165, + "loc": { + "start": { + "line": 266, + "column": 25 + }, + "end": { + "line": 266, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8165, + "end": 8166, + "loc": { + "start": { + "line": 266, + "column": 30 + }, + "end": { + "line": 266, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 8166, + "end": 8177, + "loc": { + "start": { + "line": 266, + "column": 31 + }, + "end": { + "line": 266, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8177, + "end": 8178, + "loc": { + "start": { + "line": 266, + "column": 42 + }, + "end": { + "line": 266, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8178, + "end": 8179, + "loc": { + "start": { + "line": 266, + "column": 43 + }, + "end": { + "line": 266, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8179, + "end": 8180, + "loc": { + "start": { + "line": 266, + "column": 44 + }, + "end": { + "line": 266, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 8183, + "end": 8189, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 267, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8189, + "end": 8190, + "loc": { + "start": { + "line": 267, + "column": 8 + }, + "end": { + "line": 267, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 8190, + "end": 8194, + "loc": { + "start": { + "line": 267, + "column": 9 + }, + "end": { + "line": 267, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8194, + "end": 8195, + "loc": { + "start": { + "line": 267, + "column": 13 + }, + "end": { + "line": 267, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuesSnapshot", + "start": 8195, + "end": 8209, + "loc": { + "start": { + "line": 267, + "column": 14 + }, + "end": { + "line": 267, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8209, + "end": 8210, + "loc": { + "start": { + "line": 267, + "column": 28 + }, + "end": { + "line": 267, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8210, + "end": 8211, + "loc": { + "start": { + "line": 267, + "column": 29 + }, + "end": { + "line": 267, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 8211, + "end": 8218, + "loc": { + "start": { + "line": 267, + "column": 30 + }, + "end": { + "line": 267, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8218, + "end": 8219, + "loc": { + "start": { + "line": 267, + "column": 37 + }, + "end": { + "line": 267, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentile", + "start": 8219, + "end": 8229, + "loc": { + "start": { + "line": 267, + "column": 38 + }, + "end": { + "line": 267, + "column": 48 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8230, + "end": 8232, + "loc": { + "start": { + "line": 267, + "column": 49 + }, + "end": { + "line": 267, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8233, + "end": 8234, + "loc": { + "start": { + "line": 267, + "column": 52 + }, + "end": { + "line": 267, + "column": 53 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8239, + "end": 8244, + "loc": { + "start": { + "line": 268, + "column": 4 + }, + "end": { + "line": 268, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 8245, + "end": 8250, + "loc": { + "start": { + "line": 268, + "column": 10 + }, + "end": { + "line": 268, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8251, + "end": 8252, + "loc": { + "start": { + "line": 268, + "column": 16 + }, + "end": { + "line": 268, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toNanoseconds", + "start": 8253, + "end": 8266, + "loc": { + "start": { + "line": 268, + "column": 18 + }, + "end": { + "line": 268, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8266, + "end": 8267, + "loc": { + "start": { + "line": 268, + "column": 31 + }, + "end": { + "line": 268, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuesSnapshot", + "start": 8267, + "end": 8281, + "loc": { + "start": { + "line": 268, + "column": 32 + }, + "end": { + "line": 268, + "column": 46 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8281, + "end": 8282, + "loc": { + "start": { + "line": 268, + "column": 46 + }, + "end": { + "line": 268, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentile", + "start": 8282, + "end": 8292, + "loc": { + "start": { + "line": 268, + "column": 47 + }, + "end": { + "line": 268, + "column": 57 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8292, + "end": 8293, + "loc": { + "start": { + "line": 268, + "column": 57 + }, + "end": { + "line": 268, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8293, + "end": 8294, + "loc": { + "start": { + "line": 268, + "column": 58 + }, + "end": { + "line": 268, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8294, + "end": 8295, + "loc": { + "start": { + "line": 268, + "column": 59 + }, + "end": { + "line": 268, + "column": 60 + } + } + }, + { + "type": "CommentLine", + "value": " Make sure we're dealing with a real value before pushing", + "start": 8300, + "end": 8359, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 269, + "column": 63 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8364, + "end": 8366, + "loc": { + "start": { + "line": 270, + "column": 4 + }, + "end": { + "line": 270, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8367, + "end": 8368, + "loc": { + "start": { + "line": 270, + "column": 7 + }, + "end": { + "line": 270, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 8368, + "end": 8369, + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 270, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isNaN", + "start": 8369, + "end": 8374, + "loc": { + "start": { + "line": 270, + "column": 9 + }, + "end": { + "line": 270, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8374, + "end": 8375, + "loc": { + "start": { + "line": 270, + "column": 14 + }, + "end": { + "line": 270, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 8375, + "end": 8380, + "loc": { + "start": { + "line": 270, + "column": 15 + }, + "end": { + "line": 270, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8380, + "end": 8381, + "loc": { + "start": { + "line": 270, + "column": 20 + }, + "end": { + "line": 270, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8381, + "end": 8382, + "loc": { + "start": { + "line": 270, + "column": 21 + }, + "end": { + "line": 270, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8383, + "end": 8384, + "loc": { + "start": { + "line": 270, + "column": 23 + }, + "end": { + "line": 270, + "column": 24 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8391, + "end": 8396, + "loc": { + "start": { + "line": 271, + "column": 6 + }, + "end": { + "line": 271, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 8397, + "end": 8402, + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8403, + "end": 8404, + "loc": { + "start": { + "line": 271, + "column": 18 + }, + "end": { + "line": 271, + "column": 19 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 8405, + "end": 8408, + "loc": { + "start": { + "line": 271, + "column": 20 + }, + "end": { + "line": 271, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 8409, + "end": 8414, + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8414, + "end": 8415, + "loc": { + "start": { + "line": 271, + "column": 29 + }, + "end": { + "line": 271, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8415, + "end": 8416, + "loc": { + "start": { + "line": 271, + "column": 30 + }, + "end": { + "line": 271, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8416, + "end": 8417, + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 32 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8425, + "end": 8430, + "loc": { + "start": { + "line": 273, + "column": 6 + }, + "end": { + "line": 273, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentileTag", + "start": 8431, + "end": 8444, + "loc": { + "start": { + "line": 273, + "column": 12 + }, + "end": { + "line": 273, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8445, + "end": 8446, + "loc": { + "start": { + "line": 273, + "column": 26 + }, + "end": { + "line": 273, + "column": 27 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 8447, + "end": 8450, + "loc": { + "start": { + "line": 273, + "column": 28 + }, + "end": { + "line": 273, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterTag", + "start": 8451, + "end": 8459, + "loc": { + "start": { + "line": 273, + "column": 32 + }, + "end": { + "line": 273, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8459, + "end": 8460, + "loc": { + "start": { + "line": 273, + "column": 40 + }, + "end": { + "line": 273, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8460, + "end": 8461, + "loc": { + "start": { + "line": 273, + "column": 41 + }, + "end": { + "line": 273, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8461, + "end": 8462, + "loc": { + "start": { + "line": 273, + "column": 42 + }, + "end": { + "line": 273, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentileTag", + "start": 8469, + "end": 8482, + "loc": { + "start": { + "line": 274, + "column": 6 + }, + "end": { + "line": 274, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8482, + "end": 8483, + "loc": { + "start": { + "line": 274, + "column": 19 + }, + "end": { + "line": 274, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setKey", + "start": 8483, + "end": 8489, + "loc": { + "start": { + "line": 274, + "column": 20 + }, + "end": { + "line": 274, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8489, + "end": 8490, + "loc": { + "start": { + "line": 274, + "column": 26 + }, + "end": { + "line": 274, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "percentile", + "start": 8490, + "end": 8502, + "loc": { + "start": { + "line": 274, + "column": 27 + }, + "end": { + "line": 274, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8502, + "end": 8503, + "loc": { + "start": { + "line": 274, + "column": 39 + }, + "end": { + "line": 274, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8503, + "end": 8504, + "loc": { + "start": { + "line": 274, + "column": 40 + }, + "end": { + "line": 274, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentileTag", + "start": 8511, + "end": 8524, + "loc": { + "start": { + "line": 275, + "column": 6 + }, + "end": { + "line": 275, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8524, + "end": 8525, + "loc": { + "start": { + "line": 275, + "column": 19 + }, + "end": { + "line": 275, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setValue", + "start": 8525, + "end": 8533, + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8533, + "end": 8534, + "loc": { + "start": { + "line": 275, + "column": 28 + }, + "end": { + "line": 275, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentile", + "start": 8534, + "end": 8544, + "loc": { + "start": { + "line": 275, + "column": 29 + }, + "end": { + "line": 275, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8544, + "end": 8545, + "loc": { + "start": { + "line": 275, + "column": 39 + }, + "end": { + "line": 275, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8545, + "end": 8546, + "loc": { + "start": { + "line": 275, + "column": 40 + }, + "end": { + "line": 275, + "column": 41 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8554, + "end": 8559, + "loc": { + "start": { + "line": 277, + "column": 6 + }, + "end": { + "line": 277, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 8560, + "end": 8567, + "loc": { + "start": { + "line": 277, + "column": 12 + }, + "end": { + "line": 277, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8568, + "end": 8569, + "loc": { + "start": { + "line": 277, + "column": 20 + }, + "end": { + "line": 277, + "column": 21 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 8570, + "end": 8573, + "loc": { + "start": { + "line": 277, + "column": 22 + }, + "end": { + "line": 277, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterId", + "start": 8574, + "end": 8581, + "loc": { + "start": { + "line": 277, + "column": 26 + }, + "end": { + "line": 277, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8581, + "end": 8582, + "loc": { + "start": { + "line": 277, + "column": 33 + }, + "end": { + "line": 277, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8582, + "end": 8583, + "loc": { + "start": { + "line": 277, + "column": 34 + }, + "end": { + "line": 277, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8583, + "end": 8584, + "loc": { + "start": { + "line": 277, + "column": 35 + }, + "end": { + "line": 277, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 8591, + "end": 8598, + "loc": { + "start": { + "line": 278, + "column": 6 + }, + "end": { + "line": 278, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8598, + "end": 8599, + "loc": { + "start": { + "line": 278, + "column": 13 + }, + "end": { + "line": 278, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setName", + "start": 8599, + "end": 8606, + "loc": { + "start": { + "line": 278, + "column": 14 + }, + "end": { + "line": 278, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8606, + "end": 8607, + "loc": { + "start": { + "line": 278, + "column": 21 + }, + "end": { + "line": 278, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 8607, + "end": 8611, + "loc": { + "start": { + "line": 278, + "column": 22 + }, + "end": { + "line": 278, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8611, + "end": 8612, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8612, + "end": 8613, + "loc": { + "start": { + "line": 278, + "column": 27 + }, + "end": { + "line": 278, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 8620, + "end": 8624, + "loc": { + "start": { + "line": 279, + "column": 6 + }, + "end": { + "line": 279, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8624, + "end": 8625, + "loc": { + "start": { + "line": 279, + "column": 10 + }, + "end": { + "line": 279, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 8625, + "end": 8632, + "loc": { + "start": { + "line": 279, + "column": 11 + }, + "end": { + "line": 279, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8632, + "end": 8633, + "loc": { + "start": { + "line": 279, + "column": 18 + }, + "end": { + "line": 279, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 8633, + "end": 8636, + "loc": { + "start": { + "line": 279, + "column": 19 + }, + "end": { + "line": 279, + "column": 22 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8637, + "end": 8639, + "loc": { + "start": { + "line": 279, + "column": 23 + }, + "end": { + "line": 279, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 8640, + "end": 8647, + "loc": { + "start": { + "line": 279, + "column": 26 + }, + "end": { + "line": 279, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8647, + "end": 8648, + "loc": { + "start": { + "line": 279, + "column": 33 + }, + "end": { + "line": 279, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addTag", + "start": 8648, + "end": 8654, + "loc": { + "start": { + "line": 279, + "column": 34 + }, + "end": { + "line": 279, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8654, + "end": 8655, + "loc": { + "start": { + "line": 279, + "column": 40 + }, + "end": { + "line": 279, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 8655, + "end": 8658, + "loc": { + "start": { + "line": 279, + "column": 41 + }, + "end": { + "line": 279, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8658, + "end": 8659, + "loc": { + "start": { + "line": 279, + "column": 44 + }, + "end": { + "line": 279, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8659, + "end": 8660, + "loc": { + "start": { + "line": 279, + "column": 45 + }, + "end": { + "line": 279, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8660, + "end": 8661, + "loc": { + "start": { + "line": 279, + "column": 46 + }, + "end": { + "line": 279, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 8668, + "end": 8675, + "loc": { + "start": { + "line": 280, + "column": 6 + }, + "end": { + "line": 280, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8675, + "end": 8676, + "loc": { + "start": { + "line": 280, + "column": 13 + }, + "end": { + "line": 280, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addTag", + "start": 8676, + "end": 8682, + "loc": { + "start": { + "line": 280, + "column": 14 + }, + "end": { + "line": 280, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8682, + "end": 8683, + "loc": { + "start": { + "line": 280, + "column": 20 + }, + "end": { + "line": 280, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentileTag", + "start": 8683, + "end": 8696, + "loc": { + "start": { + "line": 280, + "column": 21 + }, + "end": { + "line": 280, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8696, + "end": 8697, + "loc": { + "start": { + "line": 280, + "column": 34 + }, + "end": { + "line": 280, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8697, + "end": 8698, + "loc": { + "start": { + "line": 280, + "column": 35 + }, + "end": { + "line": 280, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 8705, + "end": 8712, + "loc": { + "start": { + "line": 281, + "column": 6 + }, + "end": { + "line": 281, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8712, + "end": 8713, + "loc": { + "start": { + "line": 281, + "column": 13 + }, + "end": { + "line": 281, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setType", + "start": 8713, + "end": 8720, + "loc": { + "start": { + "line": 281, + "column": 14 + }, + "end": { + "line": 281, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8720, + "end": 8721, + "loc": { + "start": { + "line": 281, + "column": 21 + }, + "end": { + "line": 281, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 8721, + "end": 8730, + "loc": { + "start": { + "line": 281, + "column": 22 + }, + "end": { + "line": 281, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8730, + "end": 8731, + "loc": { + "start": { + "line": 281, + "column": 31 + }, + "end": { + "line": 281, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TIMER", + "start": 8731, + "end": 8736, + "loc": { + "start": { + "line": 281, + "column": 32 + }, + "end": { + "line": 281, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8736, + "end": 8737, + "loc": { + "start": { + "line": 281, + "column": 37 + }, + "end": { + "line": 281, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8737, + "end": 8738, + "loc": { + "start": { + "line": 281, + "column": 38 + }, + "end": { + "line": 281, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 8745, + "end": 8752, + "loc": { + "start": { + "line": 282, + "column": 6 + }, + "end": { + "line": 282, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8752, + "end": 8753, + "loc": { + "start": { + "line": 282, + "column": 13 + }, + "end": { + "line": 282, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDescription", + "start": 8753, + "end": 8767, + "loc": { + "start": { + "line": 282, + "column": 14 + }, + "end": { + "line": 282, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8767, + "end": 8768, + "loc": { + "start": { + "line": 282, + "column": 28 + }, + "end": { + "line": 282, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 8768, + "end": 8773, + "loc": { + "start": { + "line": 282, + "column": 29 + }, + "end": { + "line": 282, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8773, + "end": 8774, + "loc": { + "start": { + "line": 282, + "column": 34 + }, + "end": { + "line": 282, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 8774, + "end": 8785, + "loc": { + "start": { + "line": 282, + "column": 35 + }, + "end": { + "line": 282, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8785, + "end": 8786, + "loc": { + "start": { + "line": 282, + "column": 46 + }, + "end": { + "line": 282, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8786, + "end": 8787, + "loc": { + "start": { + "line": 282, + "column": 47 + }, + "end": { + "line": 282, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 8794, + "end": 8801, + "loc": { + "start": { + "line": 283, + "column": 6 + }, + "end": { + "line": 283, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8801, + "end": 8802, + "loc": { + "start": { + "line": 283, + "column": 13 + }, + "end": { + "line": 283, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setBaseunit", + "start": 8802, + "end": 8813, + "loc": { + "start": { + "line": 283, + "column": 14 + }, + "end": { + "line": 283, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8813, + "end": 8814, + "loc": { + "start": { + "line": 283, + "column": 25 + }, + "end": { + "line": 283, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "nanoseconds", + "start": 8814, + "end": 8827, + "loc": { + "start": { + "line": 283, + "column": 26 + }, + "end": { + "line": 283, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8827, + "end": 8828, + "loc": { + "start": { + "line": 283, + "column": 39 + }, + "end": { + "line": 283, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8828, + "end": 8829, + "loc": { + "start": { + "line": 283, + "column": 40 + }, + "end": { + "line": 283, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 8837, + "end": 8842, + "loc": { + "start": { + "line": 285, + "column": 6 + }, + "end": { + "line": 285, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8842, + "end": 8843, + "loc": { + "start": { + "line": 285, + "column": 11 + }, + "end": { + "line": 285, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setId", + "start": 8843, + "end": 8848, + "loc": { + "start": { + "line": 285, + "column": 12 + }, + "end": { + "line": 285, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8848, + "end": 8849, + "loc": { + "start": { + "line": 285, + "column": 17 + }, + "end": { + "line": 285, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 8849, + "end": 8856, + "loc": { + "start": { + "line": 285, + "column": 18 + }, + "end": { + "line": 285, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8856, + "end": 8857, + "loc": { + "start": { + "line": 285, + "column": 25 + }, + "end": { + "line": 285, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8857, + "end": 8858, + "loc": { + "start": { + "line": 285, + "column": 26 + }, + "end": { + "line": 285, + "column": 27 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8866, + "end": 8871, + "loc": { + "start": { + "line": 287, + "column": 6 + }, + "end": { + "line": 287, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "measure", + "start": 8872, + "end": 8879, + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8880, + "end": 8881, + "loc": { + "start": { + "line": 287, + "column": 20 + }, + "end": { + "line": 287, + "column": 21 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 8882, + "end": 8885, + "loc": { + "start": { + "line": 287, + "column": 22 + }, + "end": { + "line": 287, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterMeasurement", + "start": 8886, + "end": 8902, + "loc": { + "start": { + "line": 287, + "column": 26 + }, + "end": { + "line": 287, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8902, + "end": 8903, + "loc": { + "start": { + "line": 287, + "column": 42 + }, + "end": { + "line": 287, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8903, + "end": 8904, + "loc": { + "start": { + "line": 287, + "column": 43 + }, + "end": { + "line": 287, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8904, + "end": 8905, + "loc": { + "start": { + "line": 287, + "column": 44 + }, + "end": { + "line": 287, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "measure", + "start": 8912, + "end": 8919, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8919, + "end": 8920, + "loc": { + "start": { + "line": 288, + "column": 13 + }, + "end": { + "line": 288, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setValue", + "start": 8920, + "end": 8928, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 288, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8928, + "end": 8929, + "loc": { + "start": { + "line": 288, + "column": 22 + }, + "end": { + "line": 288, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 8929, + "end": 8934, + "loc": { + "start": { + "line": 288, + "column": 23 + }, + "end": { + "line": 288, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8934, + "end": 8935, + "loc": { + "start": { + "line": 288, + "column": 28 + }, + "end": { + "line": 288, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8935, + "end": 8936, + "loc": { + "start": { + "line": 288, + "column": 29 + }, + "end": { + "line": 288, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "measure", + "start": 8943, + "end": 8950, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8950, + "end": 8951, + "loc": { + "start": { + "line": 289, + "column": 13 + }, + "end": { + "line": 289, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setStatistic", + "start": 8951, + "end": 8963, + "loc": { + "start": { + "line": 289, + "column": 14 + }, + "end": { + "line": 289, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8963, + "end": 8964, + "loc": { + "start": { + "line": 289, + "column": 26 + }, + "end": { + "line": 289, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statisticTypeLookup", + "start": 8964, + "end": 8983, + "loc": { + "start": { + "line": 289, + "column": 27 + }, + "end": { + "line": 289, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8983, + "end": 8984, + "loc": { + "start": { + "line": 289, + "column": 46 + }, + "end": { + "line": 289, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 8984, + "end": 8989, + "loc": { + "start": { + "line": 289, + "column": 47 + }, + "end": { + "line": 289, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8989, + "end": 8990, + "loc": { + "start": { + "line": 289, + "column": 52 + }, + "end": { + "line": 289, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statistic", + "start": 8990, + "end": 8999, + "loc": { + "start": { + "line": 289, + "column": 53 + }, + "end": { + "line": 289, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8999, + "end": 9000, + "loc": { + "start": { + "line": 289, + "column": 62 + }, + "end": { + "line": 289, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9000, + "end": 9001, + "loc": { + "start": { + "line": 289, + "column": 63 + }, + "end": { + "line": 289, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9001, + "end": 9002, + "loc": { + "start": { + "line": 289, + "column": 64 + }, + "end": { + "line": 289, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 9010, + "end": 9015, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9015, + "end": 9016, + "loc": { + "start": { + "line": 291, + "column": 11 + }, + "end": { + "line": 291, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addMeasure", + "start": 9016, + "end": 9026, + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9026, + "end": 9027, + "loc": { + "start": { + "line": 291, + "column": 22 + }, + "end": { + "line": 291, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "measure", + "start": 9027, + "end": 9034, + "loc": { + "start": { + "line": 291, + "column": 23 + }, + "end": { + "line": 291, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9034, + "end": 9035, + "loc": { + "start": { + "line": 291, + "column": 30 + }, + "end": { + "line": 291, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9035, + "end": 9036, + "loc": { + "start": { + "line": 291, + "column": 31 + }, + "end": { + "line": 291, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 9044, + "end": 9050, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9050, + "end": 9051, + "loc": { + "start": { + "line": 293, + "column": 12 + }, + "end": { + "line": 293, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 9051, + "end": 9055, + "loc": { + "start": { + "line": 293, + "column": 13 + }, + "end": { + "line": 293, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9055, + "end": 9056, + "loc": { + "start": { + "line": 293, + "column": 17 + }, + "end": { + "line": 293, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 9056, + "end": 9061, + "loc": { + "start": { + "line": 293, + "column": 18 + }, + "end": { + "line": 293, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9061, + "end": 9062, + "loc": { + "start": { + "line": 293, + "column": 23 + }, + "end": { + "line": 293, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9062, + "end": 9063, + "loc": { + "start": { + "line": 293, + "column": 24 + }, + "end": { + "line": 293, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9068, + "end": 9069, + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 294, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9072, + "end": 9073, + "loc": { + "start": { + "line": 295, + "column": 2 + }, + "end": { + "line": 295, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9073, + "end": 9074, + "loc": { + "start": { + "line": 295, + "column": 3 + }, + "end": { + "line": 295, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9074, + "end": 9075, + "loc": { + "start": { + "line": 295, + "column": 4 + }, + "end": { + "line": 295, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " add a meter for total count and max time", + "start": 9079, + "end": 9122, + "loc": { + "start": { + "line": 297, + "column": 2 + }, + "end": { + "line": 297, + "column": 45 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9125, + "end": 9130, + "loc": { + "start": { + "line": 298, + "column": 2 + }, + "end": { + "line": 298, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histMeter", + "start": 9131, + "end": 9140, + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9141, + "end": 9142, + "loc": { + "start": { + "line": 298, + "column": 18 + }, + "end": { + "line": 298, + "column": 19 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 9143, + "end": 9146, + "loc": { + "start": { + "line": 298, + "column": 20 + }, + "end": { + "line": 298, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 9147, + "end": 9152, + "loc": { + "start": { + "line": 298, + "column": 24 + }, + "end": { + "line": 298, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9152, + "end": 9153, + "loc": { + "start": { + "line": 298, + "column": 29 + }, + "end": { + "line": 298, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9153, + "end": 9154, + "loc": { + "start": { + "line": 298, + "column": 30 + }, + "end": { + "line": 298, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9154, + "end": 9155, + "loc": { + "start": { + "line": 298, + "column": 31 + }, + "end": { + "line": 298, + "column": 32 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9159, + "end": 9164, + "loc": { + "start": { + "line": 300, + "column": 2 + }, + "end": { + "line": 300, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 9165, + "end": 9172, + "loc": { + "start": { + "line": 300, + "column": 8 + }, + "end": { + "line": 300, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9173, + "end": 9174, + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 9175, + "end": 9178, + "loc": { + "start": { + "line": 300, + "column": 18 + }, + "end": { + "line": 300, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterId", + "start": 9179, + "end": 9186, + "loc": { + "start": { + "line": 300, + "column": 22 + }, + "end": { + "line": 300, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9186, + "end": 9187, + "loc": { + "start": { + "line": 300, + "column": 29 + }, + "end": { + "line": 300, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9187, + "end": 9188, + "loc": { + "start": { + "line": 300, + "column": 30 + }, + "end": { + "line": 300, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9188, + "end": 9189, + "loc": { + "start": { + "line": 300, + "column": 31 + }, + "end": { + "line": 300, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 9192, + "end": 9199, + "loc": { + "start": { + "line": 301, + "column": 2 + }, + "end": { + "line": 301, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9199, + "end": 9200, + "loc": { + "start": { + "line": 301, + "column": 9 + }, + "end": { + "line": 301, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setName", + "start": 9200, + "end": 9207, + "loc": { + "start": { + "line": 301, + "column": 10 + }, + "end": { + "line": 301, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9207, + "end": 9208, + "loc": { + "start": { + "line": 301, + "column": 17 + }, + "end": { + "line": 301, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 9208, + "end": 9212, + "loc": { + "start": { + "line": 301, + "column": 18 + }, + "end": { + "line": 301, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9212, + "end": 9213, + "loc": { + "start": { + "line": 301, + "column": 22 + }, + "end": { + "line": 301, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9213, + "end": 9214, + "loc": { + "start": { + "line": 301, + "column": 23 + }, + "end": { + "line": 301, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 9217, + "end": 9221, + "loc": { + "start": { + "line": 302, + "column": 2 + }, + "end": { + "line": 302, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9221, + "end": 9222, + "loc": { + "start": { + "line": 302, + "column": 6 + }, + "end": { + "line": 302, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 9222, + "end": 9229, + "loc": { + "start": { + "line": 302, + "column": 7 + }, + "end": { + "line": 302, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9229, + "end": 9230, + "loc": { + "start": { + "line": 302, + "column": 14 + }, + "end": { + "line": 302, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 9230, + "end": 9233, + "loc": { + "start": { + "line": 302, + "column": 15 + }, + "end": { + "line": 302, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9234, + "end": 9236, + "loc": { + "start": { + "line": 302, + "column": 19 + }, + "end": { + "line": 302, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 9237, + "end": 9244, + "loc": { + "start": { + "line": 302, + "column": 22 + }, + "end": { + "line": 302, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9244, + "end": 9245, + "loc": { + "start": { + "line": 302, + "column": 29 + }, + "end": { + "line": 302, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addTag", + "start": 9245, + "end": 9251, + "loc": { + "start": { + "line": 302, + "column": 30 + }, + "end": { + "line": 302, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9251, + "end": 9252, + "loc": { + "start": { + "line": 302, + "column": 36 + }, + "end": { + "line": 302, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 9252, + "end": 9255, + "loc": { + "start": { + "line": 302, + "column": 37 + }, + "end": { + "line": 302, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9255, + "end": 9256, + "loc": { + "start": { + "line": 302, + "column": 40 + }, + "end": { + "line": 302, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9256, + "end": 9257, + "loc": { + "start": { + "line": 302, + "column": 41 + }, + "end": { + "line": 302, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9257, + "end": 9258, + "loc": { + "start": { + "line": 302, + "column": 42 + }, + "end": { + "line": 302, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 9261, + "end": 9268, + "loc": { + "start": { + "line": 303, + "column": 2 + }, + "end": { + "line": 303, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9268, + "end": 9269, + "loc": { + "start": { + "line": 303, + "column": 9 + }, + "end": { + "line": 303, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setType", + "start": 9269, + "end": 9276, + "loc": { + "start": { + "line": 303, + "column": 10 + }, + "end": { + "line": 303, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9276, + "end": 9277, + "loc": { + "start": { + "line": 303, + "column": 17 + }, + "end": { + "line": 303, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 9277, + "end": 9286, + "loc": { + "start": { + "line": 303, + "column": 18 + }, + "end": { + "line": 303, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9286, + "end": 9287, + "loc": { + "start": { + "line": 303, + "column": 27 + }, + "end": { + "line": 303, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TIMER", + "start": 9287, + "end": 9292, + "loc": { + "start": { + "line": 303, + "column": 28 + }, + "end": { + "line": 303, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9292, + "end": 9293, + "loc": { + "start": { + "line": 303, + "column": 33 + }, + "end": { + "line": 303, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9293, + "end": 9294, + "loc": { + "start": { + "line": 303, + "column": 34 + }, + "end": { + "line": 303, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 9297, + "end": 9304, + "loc": { + "start": { + "line": 304, + "column": 2 + }, + "end": { + "line": 304, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9304, + "end": 9305, + "loc": { + "start": { + "line": 304, + "column": 9 + }, + "end": { + "line": 304, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDescription", + "start": 9305, + "end": 9319, + "loc": { + "start": { + "line": 304, + "column": 10 + }, + "end": { + "line": 304, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9319, + "end": 9320, + "loc": { + "start": { + "line": 304, + "column": 24 + }, + "end": { + "line": 304, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 9320, + "end": 9325, + "loc": { + "start": { + "line": 304, + "column": 25 + }, + "end": { + "line": 304, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9325, + "end": 9326, + "loc": { + "start": { + "line": 304, + "column": 30 + }, + "end": { + "line": 304, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 9326, + "end": 9337, + "loc": { + "start": { + "line": 304, + "column": 31 + }, + "end": { + "line": 304, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9337, + "end": 9338, + "loc": { + "start": { + "line": 304, + "column": 42 + }, + "end": { + "line": 304, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9338, + "end": 9339, + "loc": { + "start": { + "line": 304, + "column": 43 + }, + "end": { + "line": 304, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 9342, + "end": 9349, + "loc": { + "start": { + "line": 305, + "column": 2 + }, + "end": { + "line": 305, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9349, + "end": 9350, + "loc": { + "start": { + "line": 305, + "column": 9 + }, + "end": { + "line": 305, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setBaseunit", + "start": 9350, + "end": 9361, + "loc": { + "start": { + "line": 305, + "column": 10 + }, + "end": { + "line": 305, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9361, + "end": 9362, + "loc": { + "start": { + "line": 305, + "column": 21 + }, + "end": { + "line": 305, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "nanoseconds", + "start": 9362, + "end": 9375, + "loc": { + "start": { + "line": 305, + "column": 22 + }, + "end": { + "line": 305, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9375, + "end": 9376, + "loc": { + "start": { + "line": 305, + "column": 35 + }, + "end": { + "line": 305, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9376, + "end": 9377, + "loc": { + "start": { + "line": 305, + "column": 36 + }, + "end": { + "line": 305, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9381, + "end": 9386, + "loc": { + "start": { + "line": 307, + "column": 2 + }, + "end": { + "line": 307, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalCount", + "start": 9387, + "end": 9397, + "loc": { + "start": { + "line": 307, + "column": 8 + }, + "end": { + "line": 307, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9398, + "end": 9399, + "loc": { + "start": { + "line": 307, + "column": 19 + }, + "end": { + "line": 307, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 9400, + "end": 9403, + "loc": { + "start": { + "line": 307, + "column": 21 + }, + "end": { + "line": 307, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterMeasurement", + "start": 9404, + "end": 9420, + "loc": { + "start": { + "line": 307, + "column": 25 + }, + "end": { + "line": 307, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9420, + "end": 9421, + "loc": { + "start": { + "line": 307, + "column": 41 + }, + "end": { + "line": 307, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9421, + "end": 9422, + "loc": { + "start": { + "line": 307, + "column": 42 + }, + "end": { + "line": 307, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9422, + "end": 9423, + "loc": { + "start": { + "line": 307, + "column": 43 + }, + "end": { + "line": 307, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalCount", + "start": 9426, + "end": 9436, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 308, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9436, + "end": 9437, + "loc": { + "start": { + "line": 308, + "column": 12 + }, + "end": { + "line": 308, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setValue", + "start": 9437, + "end": 9445, + "loc": { + "start": { + "line": 308, + "column": 13 + }, + "end": { + "line": 308, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9445, + "end": 9446, + "loc": { + "start": { + "line": 308, + "column": 21 + }, + "end": { + "line": 308, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 9446, + "end": 9451, + "loc": { + "start": { + "line": 308, + "column": 22 + }, + "end": { + "line": 308, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9451, + "end": 9452, + "loc": { + "start": { + "line": 308, + "column": 27 + }, + "end": { + "line": 308, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalCount", + "start": 9452, + "end": 9462, + "loc": { + "start": { + "line": 308, + "column": 28 + }, + "end": { + "line": 308, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9462, + "end": 9463, + "loc": { + "start": { + "line": 308, + "column": 38 + }, + "end": { + "line": 308, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9463, + "end": 9464, + "loc": { + "start": { + "line": 308, + "column": 39 + }, + "end": { + "line": 308, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9464, + "end": 9465, + "loc": { + "start": { + "line": 308, + "column": 40 + }, + "end": { + "line": 308, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9465, + "end": 9466, + "loc": { + "start": { + "line": 308, + "column": 41 + }, + "end": { + "line": 308, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalCount", + "start": 9469, + "end": 9479, + "loc": { + "start": { + "line": 309, + "column": 2 + }, + "end": { + "line": 309, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9479, + "end": 9480, + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setStatistic", + "start": 9480, + "end": 9492, + "loc": { + "start": { + "line": 309, + "column": 13 + }, + "end": { + "line": 309, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9492, + "end": 9493, + "loc": { + "start": { + "line": 309, + "column": 25 + }, + "end": { + "line": 309, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 9493, + "end": 9507, + "loc": { + "start": { + "line": 309, + "column": 26 + }, + "end": { + "line": 309, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9507, + "end": 9508, + "loc": { + "start": { + "line": 309, + "column": 40 + }, + "end": { + "line": 309, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "COUNT", + "start": 9508, + "end": 9513, + "loc": { + "start": { + "line": 309, + "column": 41 + }, + "end": { + "line": 309, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9513, + "end": 9514, + "loc": { + "start": { + "line": 309, + "column": 46 + }, + "end": { + "line": 309, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9514, + "end": 9515, + "loc": { + "start": { + "line": 309, + "column": 47 + }, + "end": { + "line": 309, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histMeter", + "start": 9518, + "end": 9527, + "loc": { + "start": { + "line": 310, + "column": 2 + }, + "end": { + "line": 310, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9527, + "end": 9528, + "loc": { + "start": { + "line": 310, + "column": 11 + }, + "end": { + "line": 310, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addMeasure", + "start": 9528, + "end": 9538, + "loc": { + "start": { + "line": 310, + "column": 12 + }, + "end": { + "line": 310, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9538, + "end": 9539, + "loc": { + "start": { + "line": 310, + "column": 22 + }, + "end": { + "line": 310, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalCount", + "start": 9539, + "end": 9549, + "loc": { + "start": { + "line": 310, + "column": 23 + }, + "end": { + "line": 310, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9549, + "end": 9550, + "loc": { + "start": { + "line": 310, + "column": 33 + }, + "end": { + "line": 310, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9550, + "end": 9551, + "loc": { + "start": { + "line": 310, + "column": 34 + }, + "end": { + "line": 310, + "column": 35 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9555, + "end": 9560, + "loc": { + "start": { + "line": 312, + "column": 2 + }, + "end": { + "line": 312, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxTime", + "start": 9561, + "end": 9568, + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9569, + "end": 9570, + "loc": { + "start": { + "line": 312, + "column": 16 + }, + "end": { + "line": 312, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 9571, + "end": 9574, + "loc": { + "start": { + "line": 312, + "column": 18 + }, + "end": { + "line": 312, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterMeasurement", + "start": 9575, + "end": 9591, + "loc": { + "start": { + "line": 312, + "column": 22 + }, + "end": { + "line": 312, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9591, + "end": 9592, + "loc": { + "start": { + "line": 312, + "column": 38 + }, + "end": { + "line": 312, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9592, + "end": 9593, + "loc": { + "start": { + "line": 312, + "column": 39 + }, + "end": { + "line": 312, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9593, + "end": 9594, + "loc": { + "start": { + "line": 312, + "column": 40 + }, + "end": { + "line": 312, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxTime", + "start": 9597, + "end": 9604, + "loc": { + "start": { + "line": 313, + "column": 2 + }, + "end": { + "line": 313, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9604, + "end": 9605, + "loc": { + "start": { + "line": 313, + "column": 9 + }, + "end": { + "line": 313, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setValue", + "start": 9605, + "end": 9613, + "loc": { + "start": { + "line": 313, + "column": 10 + }, + "end": { + "line": 313, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9613, + "end": 9614, + "loc": { + "start": { + "line": 313, + "column": 18 + }, + "end": { + "line": 313, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 9614, + "end": 9619, + "loc": { + "start": { + "line": 313, + "column": 19 + }, + "end": { + "line": 313, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9619, + "end": 9620, + "loc": { + "start": { + "line": 313, + "column": 24 + }, + "end": { + "line": 313, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 9620, + "end": 9623, + "loc": { + "start": { + "line": 313, + "column": 25 + }, + "end": { + "line": 313, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9623, + "end": 9624, + "loc": { + "start": { + "line": 313, + "column": 28 + }, + "end": { + "line": 313, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9624, + "end": 9625, + "loc": { + "start": { + "line": 313, + "column": 29 + }, + "end": { + "line": 313, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9625, + "end": 9626, + "loc": { + "start": { + "line": 313, + "column": 30 + }, + "end": { + "line": 313, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9626, + "end": 9627, + "loc": { + "start": { + "line": 313, + "column": 31 + }, + "end": { + "line": 313, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxTime", + "start": 9630, + "end": 9637, + "loc": { + "start": { + "line": 314, + "column": 2 + }, + "end": { + "line": 314, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9637, + "end": 9638, + "loc": { + "start": { + "line": 314, + "column": 9 + }, + "end": { + "line": 314, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setStatistic", + "start": 9638, + "end": 9650, + "loc": { + "start": { + "line": 314, + "column": 10 + }, + "end": { + "line": 314, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9650, + "end": 9651, + "loc": { + "start": { + "line": 314, + "column": 22 + }, + "end": { + "line": 314, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 9651, + "end": 9665, + "loc": { + "start": { + "line": 314, + "column": 23 + }, + "end": { + "line": 314, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9665, + "end": 9666, + "loc": { + "start": { + "line": 314, + "column": 37 + }, + "end": { + "line": 314, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MAX", + "start": 9666, + "end": 9669, + "loc": { + "start": { + "line": 314, + "column": 38 + }, + "end": { + "line": 314, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9669, + "end": 9670, + "loc": { + "start": { + "line": 314, + "column": 41 + }, + "end": { + "line": 314, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9670, + "end": 9671, + "loc": { + "start": { + "line": 314, + "column": 42 + }, + "end": { + "line": 314, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histMeter", + "start": 9674, + "end": 9683, + "loc": { + "start": { + "line": 315, + "column": 2 + }, + "end": { + "line": 315, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9683, + "end": 9684, + "loc": { + "start": { + "line": 315, + "column": 11 + }, + "end": { + "line": 315, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addMeasure", + "start": 9684, + "end": 9694, + "loc": { + "start": { + "line": 315, + "column": 12 + }, + "end": { + "line": 315, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9694, + "end": 9695, + "loc": { + "start": { + "line": 315, + "column": 22 + }, + "end": { + "line": 315, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxTime", + "start": 9695, + "end": 9702, + "loc": { + "start": { + "line": 315, + "column": 23 + }, + "end": { + "line": 315, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9702, + "end": 9703, + "loc": { + "start": { + "line": 315, + "column": 30 + }, + "end": { + "line": 315, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9703, + "end": 9704, + "loc": { + "start": { + "line": 315, + "column": 31 + }, + "end": { + "line": 315, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histMeter", + "start": 9708, + "end": 9717, + "loc": { + "start": { + "line": 317, + "column": 2 + }, + "end": { + "line": 317, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9717, + "end": 9718, + "loc": { + "start": { + "line": 317, + "column": 11 + }, + "end": { + "line": 317, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setId", + "start": 9718, + "end": 9723, + "loc": { + "start": { + "line": 317, + "column": 12 + }, + "end": { + "line": 317, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9723, + "end": 9724, + "loc": { + "start": { + "line": 317, + "column": 17 + }, + "end": { + "line": 317, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 9724, + "end": 9731, + "loc": { + "start": { + "line": 317, + "column": 18 + }, + "end": { + "line": 317, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9731, + "end": 9732, + "loc": { + "start": { + "line": 317, + "column": 25 + }, + "end": { + "line": 317, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9732, + "end": 9733, + "loc": { + "start": { + "line": 317, + "column": 26 + }, + "end": { + "line": 317, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 9737, + "end": 9743, + "loc": { + "start": { + "line": 319, + "column": 2 + }, + "end": { + "line": 319, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9743, + "end": 9744, + "loc": { + "start": { + "line": 319, + "column": 8 + }, + "end": { + "line": 319, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 9744, + "end": 9748, + "loc": { + "start": { + "line": 319, + "column": 9 + }, + "end": { + "line": 319, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9748, + "end": 9749, + "loc": { + "start": { + "line": 319, + "column": 13 + }, + "end": { + "line": 319, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histMeter", + "start": 9749, + "end": 9758, + "loc": { + "start": { + "line": 319, + "column": 14 + }, + "end": { + "line": 319, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9758, + "end": 9759, + "loc": { + "start": { + "line": 319, + "column": 23 + }, + "end": { + "line": 319, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9759, + "end": 9760, + "loc": { + "start": { + "line": 319, + "column": 24 + }, + "end": { + "line": 319, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 9764, + "end": 9770, + "loc": { + "start": { + "line": 321, + "column": 2 + }, + "end": { + "line": 321, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 9771, + "end": 9777, + "loc": { + "start": { + "line": 321, + "column": 9 + }, + "end": { + "line": 321, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9777, + "end": 9778, + "loc": { + "start": { + "line": 321, + "column": 15 + }, + "end": { + "line": 321, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9779, + "end": 9780, + "loc": { + "start": { + "line": 322, + "column": 0 + }, + "end": { + "line": 322, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} imeter\n * @return {Meter[]}\n ", + "start": 9782, + "end": 9836, + "loc": { + "start": { + "line": 324, + "column": 0 + }, + "end": { + "line": 327, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 9837, + "end": 9845, + "loc": { + "start": { + "line": 328, + "column": 0 + }, + "end": { + "line": 328, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "basicConverter", + "start": 9846, + "end": 9860, + "loc": { + "start": { + "line": 328, + "column": 9 + }, + "end": { + "line": 328, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9860, + "end": 9861, + "loc": { + "start": { + "line": 328, + "column": 23 + }, + "end": { + "line": 328, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 9861, + "end": 9867, + "loc": { + "start": { + "line": 328, + "column": 24 + }, + "end": { + "line": 328, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9867, + "end": 9868, + "loc": { + "start": { + "line": 328, + "column": 30 + }, + "end": { + "line": 328, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9869, + "end": 9870, + "loc": { + "start": { + "line": 328, + "column": 32 + }, + "end": { + "line": 328, + "column": 33 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9873, + "end": 9878, + "loc": { + "start": { + "line": 329, + "column": 2 + }, + "end": { + "line": 329, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 9879, + "end": 9885, + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 329, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9886, + "end": 9887, + "loc": { + "start": { + "line": 329, + "column": 15 + }, + "end": { + "line": 329, + "column": 16 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9888, + "end": 9889, + "loc": { + "start": { + "line": 329, + "column": 17 + }, + "end": { + "line": 329, + "column": 18 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9889, + "end": 9890, + "loc": { + "start": { + "line": 329, + "column": 18 + }, + "end": { + "line": 329, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9890, + "end": 9891, + "loc": { + "start": { + "line": 329, + "column": 19 + }, + "end": { + "line": 329, + "column": 20 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9894, + "end": 9899, + "loc": { + "start": { + "line": 330, + "column": 2 + }, + "end": { + "line": 330, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 9900, + "end": 9904, + "loc": { + "start": { + "line": 330, + "column": 8 + }, + "end": { + "line": 330, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9905, + "end": 9906, + "loc": { + "start": { + "line": 330, + "column": 13 + }, + "end": { + "line": 330, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 9907, + "end": 9913, + "loc": { + "start": { + "line": 330, + "column": 15 + }, + "end": { + "line": 330, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9913, + "end": 9914, + "loc": { + "start": { + "line": 330, + "column": 21 + }, + "end": { + "line": 330, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 9914, + "end": 9918, + "loc": { + "start": { + "line": 330, + "column": 22 + }, + "end": { + "line": 330, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9918, + "end": 9919, + "loc": { + "start": { + "line": 330, + "column": 26 + }, + "end": { + "line": 330, + "column": 27 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9922, + "end": 9927, + "loc": { + "start": { + "line": 331, + "column": 2 + }, + "end": { + "line": 331, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 9928, + "end": 9932, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 331, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9933, + "end": 9934, + "loc": { + "start": { + "line": 331, + "column": 13 + }, + "end": { + "line": 331, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertTags", + "start": 9935, + "end": 9946, + "loc": { + "start": { + "line": 331, + "column": 15 + }, + "end": { + "line": 331, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9946, + "end": 9947, + "loc": { + "start": { + "line": 331, + "column": 26 + }, + "end": { + "line": 331, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 9947, + "end": 9953, + "loc": { + "start": { + "line": 331, + "column": 27 + }, + "end": { + "line": 331, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9953, + "end": 9954, + "loc": { + "start": { + "line": 331, + "column": 33 + }, + "end": { + "line": 331, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 9954, + "end": 9958, + "loc": { + "start": { + "line": 331, + "column": 34 + }, + "end": { + "line": 331, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9958, + "end": 9959, + "loc": { + "start": { + "line": 331, + "column": 38 + }, + "end": { + "line": 331, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9959, + "end": 9960, + "loc": { + "start": { + "line": 331, + "column": 39 + }, + "end": { + "line": 331, + "column": 40 + } + } + }, + { + "type": "CommentLine", + "value": " Add meters for different windowed EWMAs", + "start": 9964, + "end": 10006, + "loc": { + "start": { + "line": 333, + "column": 2 + }, + "end": { + "line": 333, + "column": 44 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 10009, + "end": 10014, + "loc": { + "start": { + "line": 334, + "column": 2 + }, + "end": { + "line": 334, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuesSnapshot", + "start": 10015, + "end": 10029, + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 334, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 10030, + "end": 10031, + "loc": { + "start": { + "line": 334, + "column": 23 + }, + "end": { + "line": 334, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 10032, + "end": 10038, + "loc": { + "start": { + "line": 334, + "column": 25 + }, + "end": { + "line": 334, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10038, + "end": 10039, + "loc": { + "start": { + "line": 334, + "column": 31 + }, + "end": { + "line": 334, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rates", + "start": 10039, + "end": 10044, + "loc": { + "start": { + "line": 334, + "column": 32 + }, + "end": { + "line": 334, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10044, + "end": 10045, + "loc": { + "start": { + "line": 334, + "column": 37 + }, + "end": { + "line": 334, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10045, + "end": 10046, + "loc": { + "start": { + "line": 334, + "column": 38 + }, + "end": { + "line": 334, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10046, + "end": 10047, + "loc": { + "start": { + "line": 334, + "column": 39 + }, + "end": { + "line": 334, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 10050, + "end": 10056, + "loc": { + "start": { + "line": 335, + "column": 2 + }, + "end": { + "line": 335, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10056, + "end": 10057, + "loc": { + "start": { + "line": 335, + "column": 8 + }, + "end": { + "line": 335, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 10057, + "end": 10061, + "loc": { + "start": { + "line": 335, + "column": 9 + }, + "end": { + "line": 335, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10061, + "end": 10062, + "loc": { + "start": { + "line": 335, + "column": 13 + }, + "end": { + "line": 335, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuesSnapshot", + "start": 10062, + "end": 10076, + "loc": { + "start": { + "line": 335, + "column": 14 + }, + "end": { + "line": 335, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10076, + "end": 10077, + "loc": { + "start": { + "line": 335, + "column": 28 + }, + "end": { + "line": 335, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10077, + "end": 10078, + "loc": { + "start": { + "line": 335, + "column": 29 + }, + "end": { + "line": 335, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 10078, + "end": 10085, + "loc": { + "start": { + "line": 335, + "column": 30 + }, + "end": { + "line": 335, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10085, + "end": 10086, + "loc": { + "start": { + "line": 335, + "column": 37 + }, + "end": { + "line": 335, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rate", + "start": 10086, + "end": 10090, + "loc": { + "start": { + "line": 335, + "column": 38 + }, + "end": { + "line": 335, + "column": 42 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10091, + "end": 10093, + "loc": { + "start": { + "line": 335, + "column": 43 + }, + "end": { + "line": 335, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10094, + "end": 10095, + "loc": { + "start": { + "line": 335, + "column": 46 + }, + "end": { + "line": 335, + "column": 47 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 10100, + "end": 10105, + "loc": { + "start": { + "line": 336, + "column": 4 + }, + "end": { + "line": 336, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 10106, + "end": 10111, + "loc": { + "start": { + "line": 336, + "column": 10 + }, + "end": { + "line": 336, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 10112, + "end": 10113, + "loc": { + "start": { + "line": 336, + "column": 16 + }, + "end": { + "line": 336, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 10114, + "end": 10117, + "loc": { + "start": { + "line": 336, + "column": 18 + }, + "end": { + "line": 336, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 10118, + "end": 10123, + "loc": { + "start": { + "line": 336, + "column": 22 + }, + "end": { + "line": 336, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10123, + "end": 10124, + "loc": { + "start": { + "line": 336, + "column": 27 + }, + "end": { + "line": 336, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10124, + "end": 10125, + "loc": { + "start": { + "line": 336, + "column": 28 + }, + "end": { + "line": 336, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10125, + "end": 10126, + "loc": { + "start": { + "line": 336, + "column": 29 + }, + "end": { + "line": 336, + "column": 30 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 10132, + "end": 10137, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 10138, + "end": 10143, + "loc": { + "start": { + "line": 338, + "column": 10 + }, + "end": { + "line": 338, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 10144, + "end": 10145, + "loc": { + "start": { + "line": 338, + "column": 16 + }, + "end": { + "line": 338, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuesSnapshot", + "start": 10146, + "end": 10160, + "loc": { + "start": { + "line": 338, + "column": 18 + }, + "end": { + "line": 338, + "column": 32 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10160, + "end": 10161, + "loc": { + "start": { + "line": 338, + "column": 32 + }, + "end": { + "line": 338, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rate", + "start": 10161, + "end": 10165, + "loc": { + "start": { + "line": 338, + "column": 33 + }, + "end": { + "line": 338, + "column": 37 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10165, + "end": 10166, + "loc": { + "start": { + "line": 338, + "column": 37 + }, + "end": { + "line": 338, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10166, + "end": 10167, + "loc": { + "start": { + "line": 338, + "column": 38 + }, + "end": { + "line": 338, + "column": 39 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 10172, + "end": 10177, + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 339, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ewmaTag", + "start": 10178, + "end": 10185, + "loc": { + "start": { + "line": 339, + "column": 10 + }, + "end": { + "line": 339, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 10186, + "end": 10187, + "loc": { + "start": { + "line": 339, + "column": 18 + }, + "end": { + "line": 339, + "column": 19 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 10188, + "end": 10191, + "loc": { + "start": { + "line": 339, + "column": 20 + }, + "end": { + "line": 339, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterTag", + "start": 10192, + "end": 10200, + "loc": { + "start": { + "line": 339, + "column": 24 + }, + "end": { + "line": 339, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10200, + "end": 10201, + "loc": { + "start": { + "line": 339, + "column": 32 + }, + "end": { + "line": 339, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10201, + "end": 10202, + "loc": { + "start": { + "line": 339, + "column": 33 + }, + "end": { + "line": 339, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10202, + "end": 10203, + "loc": { + "start": { + "line": 339, + "column": 34 + }, + "end": { + "line": 339, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ewmaTag", + "start": 10208, + "end": 10215, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10215, + "end": 10216, + "loc": { + "start": { + "line": 340, + "column": 11 + }, + "end": { + "line": 340, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setKey", + "start": 10216, + "end": 10222, + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10222, + "end": 10223, + "loc": { + "start": { + "line": 340, + "column": 18 + }, + "end": { + "line": 340, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "moving-average-minutes", + "start": 10223, + "end": 10247, + "loc": { + "start": { + "line": 340, + "column": 19 + }, + "end": { + "line": 340, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10247, + "end": 10248, + "loc": { + "start": { + "line": 340, + "column": 43 + }, + "end": { + "line": 340, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10248, + "end": 10249, + "loc": { + "start": { + "line": 340, + "column": 44 + }, + "end": { + "line": 340, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ewmaTag", + "start": 10254, + "end": 10261, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10261, + "end": 10262, + "loc": { + "start": { + "line": 341, + "column": 11 + }, + "end": { + "line": 341, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setValue", + "start": 10262, + "end": 10270, + "loc": { + "start": { + "line": 341, + "column": 12 + }, + "end": { + "line": 341, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10270, + "end": 10271, + "loc": { + "start": { + "line": 341, + "column": 20 + }, + "end": { + "line": 341, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rate", + "start": 10271, + "end": 10275, + "loc": { + "start": { + "line": 341, + "column": 21 + }, + "end": { + "line": 341, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10275, + "end": 10276, + "loc": { + "start": { + "line": 341, + "column": 25 + }, + "end": { + "line": 341, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10276, + "end": 10277, + "loc": { + "start": { + "line": 341, + "column": 26 + }, + "end": { + "line": 341, + "column": 27 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 10283, + "end": 10288, + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 343, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 10289, + "end": 10296, + "loc": { + "start": { + "line": 343, + "column": 10 + }, + "end": { + "line": 343, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 10297, + "end": 10298, + "loc": { + "start": { + "line": 343, + "column": 18 + }, + "end": { + "line": 343, + "column": 19 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 10299, + "end": 10302, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterId", + "start": 10303, + "end": 10310, + "loc": { + "start": { + "line": 343, + "column": 24 + }, + "end": { + "line": 343, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10310, + "end": 10311, + "loc": { + "start": { + "line": 343, + "column": 31 + }, + "end": { + "line": 343, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10311, + "end": 10312, + "loc": { + "start": { + "line": 343, + "column": 32 + }, + "end": { + "line": 343, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10312, + "end": 10313, + "loc": { + "start": { + "line": 343, + "column": 33 + }, + "end": { + "line": 343, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 10318, + "end": 10325, + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 344, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10325, + "end": 10326, + "loc": { + "start": { + "line": 344, + "column": 11 + }, + "end": { + "line": 344, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setName", + "start": 10326, + "end": 10333, + "loc": { + "start": { + "line": 344, + "column": 12 + }, + "end": { + "line": 344, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10333, + "end": 10334, + "loc": { + "start": { + "line": 344, + "column": 19 + }, + "end": { + "line": 344, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 10334, + "end": 10338, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10338, + "end": 10339, + "loc": { + "start": { + "line": 344, + "column": 24 + }, + "end": { + "line": 344, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10339, + "end": 10340, + "loc": { + "start": { + "line": 344, + "column": 25 + }, + "end": { + "line": 344, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 10345, + "end": 10349, + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 345, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10349, + "end": 10350, + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 345, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 10350, + "end": 10357, + "loc": { + "start": { + "line": 345, + "column": 9 + }, + "end": { + "line": 345, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10357, + "end": 10358, + "loc": { + "start": { + "line": 345, + "column": 16 + }, + "end": { + "line": 345, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 10358, + "end": 10361, + "loc": { + "start": { + "line": 345, + "column": 17 + }, + "end": { + "line": 345, + "column": 20 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10362, + "end": 10364, + "loc": { + "start": { + "line": 345, + "column": 21 + }, + "end": { + "line": 345, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 10365, + "end": 10372, + "loc": { + "start": { + "line": 345, + "column": 24 + }, + "end": { + "line": 345, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10372, + "end": 10373, + "loc": { + "start": { + "line": 345, + "column": 31 + }, + "end": { + "line": 345, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addTag", + "start": 10373, + "end": 10379, + "loc": { + "start": { + "line": 345, + "column": 32 + }, + "end": { + "line": 345, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10379, + "end": 10380, + "loc": { + "start": { + "line": 345, + "column": 38 + }, + "end": { + "line": 345, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 10380, + "end": 10383, + "loc": { + "start": { + "line": 345, + "column": 39 + }, + "end": { + "line": 345, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10383, + "end": 10384, + "loc": { + "start": { + "line": 345, + "column": 42 + }, + "end": { + "line": 345, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10384, + "end": 10385, + "loc": { + "start": { + "line": 345, + "column": 43 + }, + "end": { + "line": 345, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10385, + "end": 10386, + "loc": { + "start": { + "line": 345, + "column": 44 + }, + "end": { + "line": 345, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 10391, + "end": 10398, + "loc": { + "start": { + "line": 346, + "column": 4 + }, + "end": { + "line": 346, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10398, + "end": 10399, + "loc": { + "start": { + "line": 346, + "column": 11 + }, + "end": { + "line": 346, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addTag", + "start": 10399, + "end": 10405, + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10405, + "end": 10406, + "loc": { + "start": { + "line": 346, + "column": 18 + }, + "end": { + "line": 346, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ewmaTag", + "start": 10406, + "end": 10413, + "loc": { + "start": { + "line": 346, + "column": 19 + }, + "end": { + "line": 346, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10413, + "end": 10414, + "loc": { + "start": { + "line": 346, + "column": 26 + }, + "end": { + "line": 346, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10414, + "end": 10415, + "loc": { + "start": { + "line": 346, + "column": 27 + }, + "end": { + "line": 346, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 10420, + "end": 10427, + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 347, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10427, + "end": 10428, + "loc": { + "start": { + "line": 347, + "column": 11 + }, + "end": { + "line": 347, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setType", + "start": 10428, + "end": 10435, + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10435, + "end": 10436, + "loc": { + "start": { + "line": 347, + "column": 19 + }, + "end": { + "line": 347, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterTypeLookup", + "start": 10436, + "end": 10451, + "loc": { + "start": { + "line": 347, + "column": 20 + }, + "end": { + "line": 347, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10451, + "end": 10452, + "loc": { + "start": { + "line": 347, + "column": 35 + }, + "end": { + "line": 347, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 10452, + "end": 10458, + "loc": { + "start": { + "line": 347, + "column": 36 + }, + "end": { + "line": 347, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10458, + "end": 10459, + "loc": { + "start": { + "line": 347, + "column": 42 + }, + "end": { + "line": 347, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 10459, + "end": 10463, + "loc": { + "start": { + "line": 347, + "column": 43 + }, + "end": { + "line": 347, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10463, + "end": 10464, + "loc": { + "start": { + "line": 347, + "column": 47 + }, + "end": { + "line": 347, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10464, + "end": 10465, + "loc": { + "start": { + "line": 347, + "column": 48 + }, + "end": { + "line": 347, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10465, + "end": 10466, + "loc": { + "start": { + "line": 347, + "column": 49 + }, + "end": { + "line": 347, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 10471, + "end": 10478, + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 348, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10478, + "end": 10479, + "loc": { + "start": { + "line": 348, + "column": 11 + }, + "end": { + "line": 348, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDescription", + "start": 10479, + "end": 10493, + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10493, + "end": 10494, + "loc": { + "start": { + "line": 348, + "column": 26 + }, + "end": { + "line": 348, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 10494, + "end": 10500, + "loc": { + "start": { + "line": 348, + "column": 27 + }, + "end": { + "line": 348, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10500, + "end": 10501, + "loc": { + "start": { + "line": 348, + "column": 33 + }, + "end": { + "line": 348, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 10501, + "end": 10512, + "loc": { + "start": { + "line": 348, + "column": 34 + }, + "end": { + "line": 348, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10512, + "end": 10513, + "loc": { + "start": { + "line": 348, + "column": 45 + }, + "end": { + "line": 348, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10513, + "end": 10514, + "loc": { + "start": { + "line": 348, + "column": 46 + }, + "end": { + "line": 348, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 10519, + "end": 10526, + "loc": { + "start": { + "line": 349, + "column": 4 + }, + "end": { + "line": 349, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10526, + "end": 10527, + "loc": { + "start": { + "line": 349, + "column": 11 + }, + "end": { + "line": 349, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setBaseunit", + "start": 10527, + "end": 10538, + "loc": { + "start": { + "line": 349, + "column": 12 + }, + "end": { + "line": 349, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10538, + "end": 10539, + "loc": { + "start": { + "line": 349, + "column": 23 + }, + "end": { + "line": 349, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 10539, + "end": 10545, + "loc": { + "start": { + "line": 349, + "column": 24 + }, + "end": { + "line": 349, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10545, + "end": 10546, + "loc": { + "start": { + "line": 349, + "column": 30 + }, + "end": { + "line": 349, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "units", + "start": 10546, + "end": 10551, + "loc": { + "start": { + "line": 349, + "column": 31 + }, + "end": { + "line": 349, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10551, + "end": 10552, + "loc": { + "start": { + "line": 349, + "column": 36 + }, + "end": { + "line": 349, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10552, + "end": 10553, + "loc": { + "start": { + "line": 349, + "column": 37 + }, + "end": { + "line": 349, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 10559, + "end": 10564, + "loc": { + "start": { + "line": 351, + "column": 4 + }, + "end": { + "line": 351, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10564, + "end": 10565, + "loc": { + "start": { + "line": 351, + "column": 9 + }, + "end": { + "line": 351, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setId", + "start": 10565, + "end": 10570, + "loc": { + "start": { + "line": 351, + "column": 10 + }, + "end": { + "line": 351, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10570, + "end": 10571, + "loc": { + "start": { + "line": 351, + "column": 15 + }, + "end": { + "line": 351, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterId", + "start": 10571, + "end": 10578, + "loc": { + "start": { + "line": 351, + "column": 16 + }, + "end": { + "line": 351, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10578, + "end": 10579, + "loc": { + "start": { + "line": 351, + "column": 23 + }, + "end": { + "line": 351, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10579, + "end": 10580, + "loc": { + "start": { + "line": 351, + "column": 24 + }, + "end": { + "line": 351, + "column": 25 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 10586, + "end": 10591, + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 353, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "measure", + "start": 10592, + "end": 10599, + "loc": { + "start": { + "line": 353, + "column": 10 + }, + "end": { + "line": 353, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 10600, + "end": 10601, + "loc": { + "start": { + "line": 353, + "column": 18 + }, + "end": { + "line": 353, + "column": 19 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 10602, + "end": 10605, + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterMeasurement", + "start": 10606, + "end": 10622, + "loc": { + "start": { + "line": 353, + "column": 24 + }, + "end": { + "line": 353, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10622, + "end": 10623, + "loc": { + "start": { + "line": 353, + "column": 40 + }, + "end": { + "line": 353, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10623, + "end": 10624, + "loc": { + "start": { + "line": 353, + "column": 41 + }, + "end": { + "line": 353, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10624, + "end": 10625, + "loc": { + "start": { + "line": 353, + "column": 42 + }, + "end": { + "line": 353, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "measure", + "start": 10630, + "end": 10637, + "loc": { + "start": { + "line": 354, + "column": 4 + }, + "end": { + "line": 354, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10637, + "end": 10638, + "loc": { + "start": { + "line": 354, + "column": 11 + }, + "end": { + "line": 354, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setValue", + "start": 10638, + "end": 10646, + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10646, + "end": 10647, + "loc": { + "start": { + "line": 354, + "column": 20 + }, + "end": { + "line": 354, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 10647, + "end": 10652, + "loc": { + "start": { + "line": 354, + "column": 21 + }, + "end": { + "line": 354, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10652, + "end": 10653, + "loc": { + "start": { + "line": 354, + "column": 26 + }, + "end": { + "line": 354, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10653, + "end": 10654, + "loc": { + "start": { + "line": 354, + "column": 27 + }, + "end": { + "line": 354, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "measure", + "start": 10659, + "end": 10666, + "loc": { + "start": { + "line": 355, + "column": 4 + }, + "end": { + "line": 355, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10666, + "end": 10667, + "loc": { + "start": { + "line": 355, + "column": 11 + }, + "end": { + "line": 355, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setStatistic", + "start": 10667, + "end": 10679, + "loc": { + "start": { + "line": 355, + "column": 12 + }, + "end": { + "line": 355, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10679, + "end": 10680, + "loc": { + "start": { + "line": 355, + "column": 24 + }, + "end": { + "line": 355, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statisticTypeLookup", + "start": 10680, + "end": 10699, + "loc": { + "start": { + "line": 355, + "column": 25 + }, + "end": { + "line": 355, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10699, + "end": 10700, + "loc": { + "start": { + "line": 355, + "column": 44 + }, + "end": { + "line": 355, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "imeter", + "start": 10700, + "end": 10706, + "loc": { + "start": { + "line": 355, + "column": 45 + }, + "end": { + "line": 355, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10706, + "end": 10707, + "loc": { + "start": { + "line": 355, + "column": 51 + }, + "end": { + "line": 355, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statistic", + "start": 10707, + "end": 10716, + "loc": { + "start": { + "line": 355, + "column": 52 + }, + "end": { + "line": 355, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10716, + "end": 10717, + "loc": { + "start": { + "line": 355, + "column": 61 + }, + "end": { + "line": 355, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10717, + "end": 10718, + "loc": { + "start": { + "line": 355, + "column": 62 + }, + "end": { + "line": 355, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10718, + "end": 10719, + "loc": { + "start": { + "line": 355, + "column": 63 + }, + "end": { + "line": 355, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 10725, + "end": 10730, + "loc": { + "start": { + "line": 357, + "column": 4 + }, + "end": { + "line": 357, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10730, + "end": 10731, + "loc": { + "start": { + "line": 357, + "column": 9 + }, + "end": { + "line": 357, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addMeasure", + "start": 10731, + "end": 10741, + "loc": { + "start": { + "line": 357, + "column": 10 + }, + "end": { + "line": 357, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10741, + "end": 10742, + "loc": { + "start": { + "line": 357, + "column": 20 + }, + "end": { + "line": 357, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "measure", + "start": 10742, + "end": 10749, + "loc": { + "start": { + "line": 357, + "column": 21 + }, + "end": { + "line": 357, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10749, + "end": 10750, + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10750, + "end": 10751, + "loc": { + "start": { + "line": 357, + "column": 29 + }, + "end": { + "line": 357, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 10757, + "end": 10763, + "loc": { + "start": { + "line": 359, + "column": 4 + }, + "end": { + "line": 359, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10763, + "end": 10764, + "loc": { + "start": { + "line": 359, + "column": 10 + }, + "end": { + "line": 359, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 10764, + "end": 10768, + "loc": { + "start": { + "line": 359, + "column": 11 + }, + "end": { + "line": 359, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10768, + "end": 10769, + "loc": { + "start": { + "line": 359, + "column": 15 + }, + "end": { + "line": 359, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 10769, + "end": 10774, + "loc": { + "start": { + "line": 359, + "column": 16 + }, + "end": { + "line": 359, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10774, + "end": 10775, + "loc": { + "start": { + "line": 359, + "column": 21 + }, + "end": { + "line": 359, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10775, + "end": 10776, + "loc": { + "start": { + "line": 359, + "column": 22 + }, + "end": { + "line": 359, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10779, + "end": 10780, + "loc": { + "start": { + "line": 360, + "column": 2 + }, + "end": { + "line": 360, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10780, + "end": 10781, + "loc": { + "start": { + "line": 360, + "column": 3 + }, + "end": { + "line": 360, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10781, + "end": 10782, + "loc": { + "start": { + "line": 360, + "column": 4 + }, + "end": { + "line": 360, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10786, + "end": 10792, + "loc": { + "start": { + "line": 362, + "column": 2 + }, + "end": { + "line": 362, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 10793, + "end": 10799, + "loc": { + "start": { + "line": 362, + "column": 9 + }, + "end": { + "line": 362, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10799, + "end": 10800, + "loc": { + "start": { + "line": 362, + "column": 15 + }, + "end": { + "line": 362, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10801, + "end": 10802, + "loc": { + "start": { + "line": 363, + "column": 0 + }, + "end": { + "line": 363, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {RawMeterTag[]} tags\n * @return {MeterTag[]}\n ", + "start": 10804, + "end": 10866, + "loc": { + "start": { + "line": 365, + "column": 0 + }, + "end": { + "line": 368, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 10867, + "end": 10875, + "loc": { + "start": { + "line": 369, + "column": 0 + }, + "end": { + "line": 369, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "convertTags", + "start": 10876, + "end": 10887, + "loc": { + "start": { + "line": 369, + "column": 9 + }, + "end": { + "line": 369, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10887, + "end": 10888, + "loc": { + "start": { + "line": 369, + "column": 20 + }, + "end": { + "line": 369, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 10888, + "end": 10892, + "loc": { + "start": { + "line": 369, + "column": 21 + }, + "end": { + "line": 369, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10892, + "end": 10893, + "loc": { + "start": { + "line": 369, + "column": 25 + }, + "end": { + "line": 369, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10894, + "end": 10895, + "loc": { + "start": { + "line": 369, + "column": 27 + }, + "end": { + "line": 369, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10898, + "end": 10904, + "loc": { + "start": { + "line": 370, + "column": 2 + }, + "end": { + "line": 370, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10905, + "end": 10906, + "loc": { + "start": { + "line": 370, + "column": 9 + }, + "end": { + "line": 370, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 10906, + "end": 10910, + "loc": { + "start": { + "line": 370, + "column": 10 + }, + "end": { + "line": 370, + "column": 14 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 10911, + "end": 10913, + "loc": { + "start": { + "line": 370, + "column": 15 + }, + "end": { + "line": 370, + "column": 17 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10914, + "end": 10915, + "loc": { + "start": { + "line": 370, + "column": 18 + }, + "end": { + "line": 370, + "column": 19 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10915, + "end": 10916, + "loc": { + "start": { + "line": 370, + "column": 19 + }, + "end": { + "line": 370, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10916, + "end": 10917, + "loc": { + "start": { + "line": 370, + "column": 20 + }, + "end": { + "line": 370, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10917, + "end": 10918, + "loc": { + "start": { + "line": 370, + "column": 21 + }, + "end": { + "line": 370, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 10918, + "end": 10921, + "loc": { + "start": { + "line": 370, + "column": 22 + }, + "end": { + "line": 370, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10921, + "end": 10922, + "loc": { + "start": { + "line": 370, + "column": 25 + }, + "end": { + "line": 370, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 10922, + "end": 10925, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 29 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10926, + "end": 10928, + "loc": { + "start": { + "line": 370, + "column": 30 + }, + "end": { + "line": 370, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10929, + "end": 10930, + "loc": { + "start": { + "line": 370, + "column": 33 + }, + "end": { + "line": 370, + "column": 34 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 10935, + "end": 10940, + "loc": { + "start": { + "line": 371, + "column": 4 + }, + "end": { + "line": 371, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTag", + "start": 10941, + "end": 10949, + "loc": { + "start": { + "line": 371, + "column": 10 + }, + "end": { + "line": 371, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 10950, + "end": 10951, + "loc": { + "start": { + "line": 371, + "column": 19 + }, + "end": { + "line": 371, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 10952, + "end": 10955, + "loc": { + "start": { + "line": 371, + "column": 21 + }, + "end": { + "line": 371, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterTag", + "start": 10956, + "end": 10964, + "loc": { + "start": { + "line": 371, + "column": 25 + }, + "end": { + "line": 371, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10964, + "end": 10965, + "loc": { + "start": { + "line": 371, + "column": 33 + }, + "end": { + "line": 371, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10965, + "end": 10966, + "loc": { + "start": { + "line": 371, + "column": 34 + }, + "end": { + "line": 371, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10966, + "end": 10967, + "loc": { + "start": { + "line": 371, + "column": 35 + }, + "end": { + "line": 371, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTag", + "start": 10972, + "end": 10980, + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 372, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10980, + "end": 10981, + "loc": { + "start": { + "line": 372, + "column": 12 + }, + "end": { + "line": 372, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setKey", + "start": 10981, + "end": 10987, + "loc": { + "start": { + "line": 372, + "column": 13 + }, + "end": { + "line": 372, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10987, + "end": 10988, + "loc": { + "start": { + "line": 372, + "column": 19 + }, + "end": { + "line": 372, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 10988, + "end": 10991, + "loc": { + "start": { + "line": 372, + "column": 20 + }, + "end": { + "line": 372, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10991, + "end": 10992, + "loc": { + "start": { + "line": 372, + "column": 23 + }, + "end": { + "line": 372, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 10992, + "end": 10995, + "loc": { + "start": { + "line": 372, + "column": 24 + }, + "end": { + "line": 372, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10995, + "end": 10996, + "loc": { + "start": { + "line": 372, + "column": 27 + }, + "end": { + "line": 372, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10996, + "end": 10997, + "loc": { + "start": { + "line": 372, + "column": 28 + }, + "end": { + "line": 372, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTag", + "start": 11002, + "end": 11010, + "loc": { + "start": { + "line": 373, + "column": 4 + }, + "end": { + "line": 373, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11010, + "end": 11011, + "loc": { + "start": { + "line": 373, + "column": 12 + }, + "end": { + "line": 373, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setValue", + "start": 11011, + "end": 11019, + "loc": { + "start": { + "line": 373, + "column": 13 + }, + "end": { + "line": 373, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11019, + "end": 11020, + "loc": { + "start": { + "line": 373, + "column": 21 + }, + "end": { + "line": 373, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 11020, + "end": 11023, + "loc": { + "start": { + "line": 373, + "column": 22 + }, + "end": { + "line": 373, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11023, + "end": 11024, + "loc": { + "start": { + "line": 373, + "column": 25 + }, + "end": { + "line": 373, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 11024, + "end": 11029, + "loc": { + "start": { + "line": 373, + "column": 26 + }, + "end": { + "line": 373, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11029, + "end": 11030, + "loc": { + "start": { + "line": 373, + "column": 31 + }, + "end": { + "line": 373, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11030, + "end": 11031, + "loc": { + "start": { + "line": 373, + "column": 32 + }, + "end": { + "line": 373, + "column": 33 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 11036, + "end": 11042, + "loc": { + "start": { + "line": 374, + "column": 4 + }, + "end": { + "line": 374, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTag", + "start": 11043, + "end": 11051, + "loc": { + "start": { + "line": 374, + "column": 11 + }, + "end": { + "line": 374, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11051, + "end": 11052, + "loc": { + "start": { + "line": 374, + "column": 19 + }, + "end": { + "line": 374, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11055, + "end": 11056, + "loc": { + "start": { + "line": 375, + "column": 2 + }, + "end": { + "line": 375, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11056, + "end": 11057, + "loc": { + "start": { + "line": 375, + "column": 3 + }, + "end": { + "line": 375, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11057, + "end": 11058, + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 375, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11059, + "end": 11060, + "loc": { + "start": { + "line": 376, + "column": 0 + }, + "end": { + "line": 376, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Convert milliseconds to nanoseconds.\n * Note: this is not safe for timestamps, just time measurements.\n *\n * @param {number} milliseconds - a number of milliseconds to convert\n * @return {number} the value of {@link milliseconds} converted to nanoseconds\n ", + "start": 11062, + "end": 11327, + "loc": { + "start": { + "line": 378, + "column": 0 + }, + "end": { + "line": 384, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 11328, + "end": 11336, + "loc": { + "start": { + "line": 385, + "column": 0 + }, + "end": { + "line": 385, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toNanoseconds", + "start": 11337, + "end": 11350, + "loc": { + "start": { + "line": 385, + "column": 9 + }, + "end": { + "line": 385, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11350, + "end": 11351, + "loc": { + "start": { + "line": 385, + "column": 22 + }, + "end": { + "line": 385, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "milliseconds", + "start": 11351, + "end": 11363, + "loc": { + "start": { + "line": 385, + "column": 23 + }, + "end": { + "line": 385, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11363, + "end": 11364, + "loc": { + "start": { + "line": 385, + "column": 35 + }, + "end": { + "line": 385, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11365, + "end": 11366, + "loc": { + "start": { + "line": 385, + "column": 37 + }, + "end": { + "line": 385, + "column": 38 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 11369, + "end": 11375, + "loc": { + "start": { + "line": 386, + "column": 2 + }, + "end": { + "line": 386, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "milliseconds", + "start": 11376, + "end": 11388, + "loc": { + "start": { + "line": 386, + "column": 9 + }, + "end": { + "line": 386, + "column": 21 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 11389, + "end": 11390, + "loc": { + "start": { + "line": 386, + "column": 22 + }, + "end": { + "line": 386, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 11391, + "end": 11395, + "loc": { + "start": { + "line": 386, + "column": 24 + }, + "end": { + "line": 386, + "column": 28 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 11396, + "end": 11397, + "loc": { + "start": { + "line": 386, + "column": 29 + }, + "end": { + "line": 386, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 11398, + "end": 11402, + "loc": { + "start": { + "line": 386, + "column": 31 + }, + "end": { + "line": 386, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11402, + "end": 11403, + "loc": { + "start": { + "line": 386, + "column": 35 + }, + "end": { + "line": 386, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11404, + "end": 11405, + "loc": { + "start": { + "line": 387, + "column": 0 + }, + "end": { + "line": 387, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Not currently functional.\n *\n * @todo Do something with this?\n * @param {Skew} skew\n ", + "start": 11407, + "end": 11501, + "loc": { + "start": { + "line": 389, + "column": 0 + }, + "end": { + "line": 394, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 11502, + "end": 11510, + "loc": { + "start": { + "line": 395, + "column": 0 + }, + "end": { + "line": 395, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "recordClockSkew", + "start": 11511, + "end": 11526, + "loc": { + "start": { + "line": 395, + "column": 9 + }, + "end": { + "line": 395, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11526, + "end": 11527, + "loc": { + "start": { + "line": 395, + "column": 24 + }, + "end": { + "line": 395, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "skew", + "start": 11527, + "end": 11531, + "loc": { + "start": { + "line": 395, + "column": 25 + }, + "end": { + "line": 395, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11531, + "end": 11532, + "loc": { + "start": { + "line": 395, + "column": 29 + }, + "end": { + "line": 395, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11533, + "end": 11534, + "loc": { + "start": { + "line": 395, + "column": 31 + }, + "end": { + "line": 395, + "column": 32 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: do something with this?", + "start": 11537, + "end": 11569, + "loc": { + "start": { + "line": 396, + "column": 2 + }, + "end": { + "line": 396, + "column": 34 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 11572, + "end": 11578, + "loc": { + "start": { + "line": 397, + "column": 2 + }, + "end": { + "line": 397, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11578, + "end": 11579, + "loc": { + "start": { + "line": 397, + "column": 8 + }, + "end": { + "line": 397, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11580, + "end": 11581, + "loc": { + "start": { + "line": 398, + "column": 0 + }, + "end": { + "line": 398, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11581, + "end": 11581, + "loc": { + "start": { + "line": 398, + "column": 1 + }, + "end": { + "line": 398, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsSingleSubscriber.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsSingleSubscriber.js.json new file mode 100644 index 0000000..428fb74 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsSingleSubscriber.js.json @@ -0,0 +1,12622 @@ +{ + "type": "File", + "start": 0, + "end": 2759, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 111, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2759, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 111, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 879, + "end": 911, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 32 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 886, + "end": 893, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 886, + "end": 893, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 14 + }, + "identifierName": "Counter" + }, + "name": "Counter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 899, + "end": 910, + "loc": { + "start": { + "line": 28, + "column": 20 + }, + "end": { + "line": 28, + "column": 31 + } + }, + "extra": { + "rawValue": "./Counter", + "raw": "'./Counter'" + }, + "value": "./Counter" + } + }, + { + "type": "ImportDeclaration", + "start": 912, + "end": 940, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 28 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 919, + "end": 924, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 12 + } + }, + "local": { + "type": "Identifier", + "start": 919, + "end": 924, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 12 + }, + "identifierName": "Timer" + }, + "name": "Timer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 930, + "end": 939, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 27 + } + }, + "extra": { + "rawValue": "./Timer", + "raw": "'./Timer'" + }, + "value": "./Timer" + } + }, + { + "type": "ImportDeclaration", + "start": 941, + "end": 983, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 42 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 950, + "end": 956, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 950, + "end": 956, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 15 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "local": { + "type": "Identifier", + "start": 950, + "end": 956, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 15 + }, + "identifierName": "Single" + }, + "name": "Single" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 964, + "end": 982, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 41 + } + }, + "extra": { + "rawValue": "rsocket-flowable", + "raw": "'rsocket-flowable'" + }, + "value": "rsocket-flowable" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n * @return {Single}\n ", + "start": 986, + "end": 1188, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 1189, + "end": 1489, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 47, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 1204, + "end": 1489, + "loc": { + "start": { + "line": 42, + "column": 15 + }, + "end": { + "line": 47, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1213, + "end": 1241, + "loc": { + "start": { + "line": 42, + "column": 24 + }, + "end": { + "line": 42, + "column": 52 + }, + "identifierName": "embedMetricsSingleSubscriber" + }, + "name": "embedMetricsSingleSubscriber", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1242, + "end": 1248, + "loc": { + "start": { + "line": 42, + "column": 53 + }, + "end": { + "line": 42, + "column": 59 + }, + "identifierName": "single" + }, + "name": "single" + }, + { + "type": "Identifier", + "start": 1250, + "end": 1254, + "loc": { + "start": { + "line": 42, + "column": 61 + }, + "end": { + "line": 42, + "column": 65 + }, + "identifierName": "next" + }, + "name": "next" + }, + { + "type": "Identifier", + "start": 1256, + "end": 1264, + "loc": { + "start": { + "line": 42, + "column": 67 + }, + "end": { + "line": 42, + "column": 75 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + { + "type": "Identifier", + "start": 1266, + "end": 1271, + "loc": { + "start": { + "line": 42, + "column": 77 + }, + "end": { + "line": 42, + "column": 82 + }, + "identifierName": "error" + }, + "name": "error" + }, + { + "type": "Identifier", + "start": 1273, + "end": 1282, + "loc": { + "start": { + "line": 42, + "column": 84 + }, + "end": { + "line": 42, + "column": 93 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + { + "type": "Identifier", + "start": 1284, + "end": 1289, + "loc": { + "start": { + "line": 42, + "column": 95 + }, + "end": { + "line": 42, + "column": 100 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ], + "body": { + "type": "BlockStatement", + "start": 1291, + "end": 1489, + "loc": { + "start": { + "line": 42, + "column": 102 + }, + "end": { + "line": 47, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1295, + "end": 1487, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 46, + "column": 5 + } + }, + "argument": { + "type": "NewExpression", + "start": 1302, + "end": 1486, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 46, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 1306, + "end": 1312, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 19 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1313, + "end": 1485, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1313, + "end": 1323, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 30 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "BlockStatement", + "start": 1327, + "end": 1485, + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1333, + "end": 1440, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 111 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1339, + "end": 1439, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 110 + } + }, + "id": { + "type": "Identifier", + "start": 1339, + "end": 1356, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 27 + }, + "identifierName": "metricsSubscriber" + }, + "name": "metricsSubscriber" + }, + "init": { + "type": "NewExpression", + "start": 1359, + "end": 1439, + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 110 + } + }, + "callee": { + "type": "Identifier", + "start": 1363, + "end": 1386, + "loc": { + "start": { + "line": 44, + "column": 34 + }, + "end": { + "line": 44, + "column": 57 + }, + "identifierName": "MetricsSingleSubscriber" + }, + "name": "MetricsSingleSubscriber" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1387, + "end": 1397, + "loc": { + "start": { + "line": 44, + "column": 58 + }, + "end": { + "line": 44, + "column": 68 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + { + "type": "Identifier", + "start": 1399, + "end": 1403, + "loc": { + "start": { + "line": 44, + "column": 70 + }, + "end": { + "line": 44, + "column": 74 + }, + "identifierName": "next" + }, + "name": "next" + }, + { + "type": "Identifier", + "start": 1405, + "end": 1413, + "loc": { + "start": { + "line": 44, + "column": 76 + }, + "end": { + "line": 44, + "column": 84 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + { + "type": "Identifier", + "start": 1415, + "end": 1420, + "loc": { + "start": { + "line": 44, + "column": 86 + }, + "end": { + "line": 44, + "column": 91 + }, + "identifierName": "error" + }, + "name": "error" + }, + { + "type": "Identifier", + "start": 1422, + "end": 1431, + "loc": { + "start": { + "line": 44, + "column": 93 + }, + "end": { + "line": 44, + "column": 102 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + { + "type": "Identifier", + "start": 1433, + "end": 1438, + "loc": { + "start": { + "line": 44, + "column": 104 + }, + "end": { + "line": 44, + "column": 109 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1445, + "end": 1481, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 1445, + "end": 1480, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1445, + "end": 1461, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 1445, + "end": 1451, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 10 + }, + "identifierName": "single" + }, + "name": "single" + }, + "property": { + "type": "Identifier", + "start": 1452, + "end": 1461, + "loc": { + "start": { + "line": 45, + "column": 11 + }, + "end": { + "line": 45, + "column": 20 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1462, + "end": 1479, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 38 + }, + "identifierName": "metricsSubscriber" + }, + "name": "metricsSubscriber" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n * @return {Single}\n ", + "start": 986, + "end": 1188, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1491, + "end": 1498, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n * @return {Single}\n ", + "start": 986, + "end": 1188, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1491, + "end": 1498, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ] + }, + { + "type": "ClassDeclaration", + "start": 1499, + "end": 2759, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 111, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1505, + "end": 1528, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 29 + }, + "identifierName": "MetricsSingleSubscriber" + }, + "name": "MetricsSingleSubscriber", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 1529, + "end": 2759, + "loc": { + "start": { + "line": 51, + "column": 30 + }, + "end": { + "line": 111, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 1744, + "end": 1974, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 68, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1744, + "end": 1755, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1756, + "end": 1762, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 20 + }, + "identifierName": "actual" + }, + "name": "actual" + }, + { + "type": "Identifier", + "start": 1764, + "end": 1768, + "loc": { + "start": { + "line": 61, + "column": 22 + }, + "end": { + "line": 61, + "column": 26 + }, + "identifierName": "next" + }, + "name": "next" + }, + { + "type": "Identifier", + "start": 1770, + "end": 1778, + "loc": { + "start": { + "line": 61, + "column": 28 + }, + "end": { + "line": 61, + "column": 36 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + { + "type": "Identifier", + "start": 1780, + "end": 1785, + "loc": { + "start": { + "line": 61, + "column": 38 + }, + "end": { + "line": 61, + "column": 43 + }, + "identifierName": "error" + }, + "name": "error" + }, + { + "type": "Identifier", + "start": 1787, + "end": 1796, + "loc": { + "start": { + "line": 61, + "column": 45 + }, + "end": { + "line": 61, + "column": 54 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + { + "type": "Identifier", + "start": 1798, + "end": 1803, + "loc": { + "start": { + "line": 61, + "column": 56 + }, + "end": { + "line": 61, + "column": 61 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ], + "body": { + "type": "BlockStatement", + "start": 1805, + "end": 1974, + "loc": { + "start": { + "line": 61, + "column": 63 + }, + "end": { + "line": 68, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1811, + "end": 1833, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1811, + "end": 1832, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1811, + "end": 1823, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1811, + "end": 1815, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1816, + "end": 1823, + "loc": { + "start": { + "line": 62, + "column": 9 + }, + "end": { + "line": 62, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1826, + "end": 1832, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 25 + }, + "identifierName": "actual" + }, + "name": "actual" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1838, + "end": 1856, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1838, + "end": 1855, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1838, + "end": 1848, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1838, + "end": 1842, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1843, + "end": 1848, + "loc": { + "start": { + "line": 63, + "column": 9 + }, + "end": { + "line": 63, + "column": 14 + }, + "identifierName": "_next" + }, + "name": "_next" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1851, + "end": 1855, + "loc": { + "start": { + "line": 63, + "column": 17 + }, + "end": { + "line": 63, + "column": 21 + }, + "identifierName": "next" + }, + "name": "next" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1861, + "end": 1887, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1861, + "end": 1886, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1861, + "end": 1875, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1861, + "end": 1865, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1866, + "end": 1875, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 18 + }, + "identifierName": "_complete" + }, + "name": "_complete" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1878, + "end": 1886, + "loc": { + "start": { + "line": 64, + "column": 21 + }, + "end": { + "line": 64, + "column": 29 + }, + "identifierName": "complete" + }, + "name": "complete" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1892, + "end": 1912, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1892, + "end": 1911, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1892, + "end": 1903, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1892, + "end": 1896, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1897, + "end": 1903, + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 15 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1906, + "end": 1911, + "loc": { + "start": { + "line": 65, + "column": 18 + }, + "end": { + "line": 65, + "column": 23 + }, + "identifierName": "error" + }, + "name": "error" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1917, + "end": 1945, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1917, + "end": 1944, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1917, + "end": 1932, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 1917, + "end": 1921, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1922, + "end": 1932, + "loc": { + "start": { + "line": 66, + "column": 9 + }, + "end": { + "line": 66, + "column": 19 + }, + "identifierName": "_cancelled" + }, + "name": "_cancelled" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1935, + "end": 1944, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 31 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1950, + "end": 1970, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1950, + "end": 1969, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1950, + "end": 1961, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1950, + "end": 1954, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1955, + "end": 1961, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 15 + }, + "identifierName": "_timer" + }, + "name": "_timer" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1964, + "end": 1969, + "loc": { + "start": { + "line": 67, + "column": 18 + }, + "end": { + "line": 67, + "column": 23 + }, + "identifierName": "timer" + }, + "name": "timer" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IFutureSubscriber} actual -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n ", + "start": 1534, + "end": 1741, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {function} cancel\n * @return {void}\n ", + "start": 1978, + "end": 2037, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2040, + "end": 2184, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 79, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2040, + "end": 2051, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 74, + "column": 13 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2052, + "end": 2058, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 20 + }, + "identifierName": "cancel" + }, + "name": "cancel" + } + ], + "body": { + "type": "BlockStatement", + "start": 2060, + "end": 2184, + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 79, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2066, + "end": 2088, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2066, + "end": 2087, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2066, + "end": 2078, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2066, + "end": 2070, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2071, + "end": 2078, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 16 + }, + "identifierName": "_cancel" + }, + "name": "_cancel" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 2081, + "end": 2087, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 25 + }, + "identifierName": "cancel" + }, + "name": "cancel" + } + } + }, + { + "type": "ExpressionStatement", + "start": 2093, + "end": 2128, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 39 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2093, + "end": 2127, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 38 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2093, + "end": 2104, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2093, + "end": 2097, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2098, + "end": 2104, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 15 + }, + "identifierName": "_start" + }, + "name": "_start" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 2107, + "end": 2127, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2107, + "end": 2125, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 36 + } + }, + "object": { + "type": "NewExpression", + "start": 2107, + "end": 2117, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 2111, + "end": 2115, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 26 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2118, + "end": 2125, + "loc": { + "start": { + "line": 76, + "column": 29 + }, + "end": { + "line": 76, + "column": 36 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 2134, + "end": 2180, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 2134, + "end": 2179, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2134, + "end": 2158, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 2134, + "end": 2146, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2134, + "end": 2138, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2139, + "end": 2146, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2147, + "end": 2158, + "loc": { + "start": { + "line": 78, + "column": 17 + }, + "end": { + "line": 78, + "column": 28 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2159, + "end": 2178, + "loc": { + "start": { + "line": 78, + "column": 29 + }, + "end": { + "line": 78, + "column": 48 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 2165, + "end": 2178, + "loc": { + "start": { + "line": 78, + "column": 35 + }, + "end": { + "line": 78, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2165, + "end": 2176, + "loc": { + "start": { + "line": 78, + "column": 35 + }, + "end": { + "line": 78, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 2165, + "end": 2169, + "loc": { + "start": { + "line": 78, + "column": 35 + }, + "end": { + "line": 78, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 2170, + "end": 2176, + "loc": { + "start": { + "line": 78, + "column": 40 + }, + "end": { + "line": 78, + "column": 46 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {function} cancel\n * @return {void}\n ", + "start": 1978, + "end": 2037, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Error} t\n * @return {void}\n ", + "start": 2188, + "end": 2239, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 84, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2242, + "end": 2371, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 90, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2242, + "end": 2249, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 9 + }, + "identifierName": "onError" + }, + "name": "onError", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2250, + "end": 2251, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 85, + "column": 11 + }, + "identifierName": "t" + }, + "name": "t" + } + ], + "body": { + "type": "BlockStatement", + "start": 2253, + "end": 2371, + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 90, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2259, + "end": 2277, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 2259, + "end": 2276, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2259, + "end": 2274, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 19 + } + }, + "object": { + "type": "MemberExpression", + "start": 2259, + "end": 2270, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2259, + "end": 2263, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2264, + "end": 2270, + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 15 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2271, + "end": 2274, + "loc": { + "start": { + "line": 86, + "column": 16 + }, + "end": { + "line": 86, + "column": 19 + }, + "identifierName": "inc" + }, + "name": "inc" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2282, + "end": 2337, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 2282, + "end": 2336, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2282, + "end": 2300, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2282, + "end": 2293, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2282, + "end": 2286, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2287, + "end": 2293, + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 15 + }, + "identifierName": "_timer" + }, + "name": "_timer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2294, + "end": 2300, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2301, + "end": 2335, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 57 + } + }, + "left": { + "type": "CallExpression", + "start": 2301, + "end": 2321, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2301, + "end": 2319, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 41 + } + }, + "object": { + "type": "NewExpression", + "start": 2301, + "end": 2311, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 2305, + "end": 2309, + "loc": { + "start": { + "line": 87, + "column": 27 + }, + "end": { + "line": 87, + "column": 31 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2312, + "end": 2319, + "loc": { + "start": { + "line": 87, + "column": 34 + }, + "end": { + "line": 87, + "column": 41 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 2324, + "end": 2335, + "loc": { + "start": { + "line": 87, + "column": 46 + }, + "end": { + "line": 87, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2324, + "end": 2328, + "loc": { + "start": { + "line": 87, + "column": 46 + }, + "end": { + "line": 87, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 2329, + "end": 2335, + "loc": { + "start": { + "line": 87, + "column": 51 + }, + "end": { + "line": 87, + "column": 57 + }, + "identifierName": "_start" + }, + "name": "_start" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2343, + "end": 2367, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 2343, + "end": 2366, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2343, + "end": 2363, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 2343, + "end": 2355, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2343, + "end": 2347, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2348, + "end": 2355, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2356, + "end": 2363, + "loc": { + "start": { + "line": 89, + "column": 17 + }, + "end": { + "line": 89, + "column": 24 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2364, + "end": 2365, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 26 + }, + "identifierName": "t" + }, + "name": "t" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Error} t\n * @return {void}\n ", + "start": 2188, + "end": 2239, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 84, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {T} t\n * @return {void}\n ", + "start": 2375, + "end": 2422, + "loc": { + "start": { + "line": 92, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2425, + "end": 2584, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2425, + "end": 2435, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 12 + }, + "identifierName": "onComplete" + }, + "name": "onComplete", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2436, + "end": 2437, + "loc": { + "start": { + "line": 96, + "column": 13 + }, + "end": { + "line": 96, + "column": 14 + }, + "identifierName": "t" + }, + "name": "t" + } + ], + "body": { + "type": "BlockStatement", + "start": 2439, + "end": 2584, + "loc": { + "start": { + "line": 96, + "column": 16 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2445, + "end": 2462, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 2445, + "end": 2461, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2445, + "end": 2459, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 18 + } + }, + "object": { + "type": "MemberExpression", + "start": 2445, + "end": 2455, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2445, + "end": 2449, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2450, + "end": 2455, + "loc": { + "start": { + "line": 97, + "column": 9 + }, + "end": { + "line": 97, + "column": 14 + }, + "identifierName": "_next" + }, + "name": "_next" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2456, + "end": 2459, + "loc": { + "start": { + "line": 97, + "column": 15 + }, + "end": { + "line": 97, + "column": 18 + }, + "identifierName": "inc" + }, + "name": "inc" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2467, + "end": 2488, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 2467, + "end": 2487, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2467, + "end": 2485, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2467, + "end": 2481, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2467, + "end": 2471, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2472, + "end": 2481, + "loc": { + "start": { + "line": 98, + "column": 9 + }, + "end": { + "line": 98, + "column": 18 + }, + "identifierName": "_complete" + }, + "name": "_complete" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2482, + "end": 2485, + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 22 + }, + "identifierName": "inc" + }, + "name": "inc" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2493, + "end": 2548, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 2493, + "end": 2547, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2493, + "end": 2511, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2493, + "end": 2504, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2493, + "end": 2497, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2498, + "end": 2504, + "loc": { + "start": { + "line": 99, + "column": 9 + }, + "end": { + "line": 99, + "column": 15 + }, + "identifierName": "_timer" + }, + "name": "_timer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2505, + "end": 2511, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2512, + "end": 2546, + "loc": { + "start": { + "line": 99, + "column": 23 + }, + "end": { + "line": 99, + "column": 57 + } + }, + "left": { + "type": "CallExpression", + "start": 2512, + "end": 2532, + "loc": { + "start": { + "line": 99, + "column": 23 + }, + "end": { + "line": 99, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2512, + "end": 2530, + "loc": { + "start": { + "line": 99, + "column": 23 + }, + "end": { + "line": 99, + "column": 41 + } + }, + "object": { + "type": "NewExpression", + "start": 2512, + "end": 2522, + "loc": { + "start": { + "line": 99, + "column": 23 + }, + "end": { + "line": 99, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 2516, + "end": 2520, + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 31 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2523, + "end": 2530, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 41 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 2535, + "end": 2546, + "loc": { + "start": { + "line": 99, + "column": 46 + }, + "end": { + "line": 99, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2535, + "end": 2539, + "loc": { + "start": { + "line": 99, + "column": 46 + }, + "end": { + "line": 99, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 2540, + "end": 2546, + "loc": { + "start": { + "line": 99, + "column": 51 + }, + "end": { + "line": 99, + "column": 57 + }, + "identifierName": "_start" + }, + "name": "_start" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2553, + "end": 2580, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 2553, + "end": 2579, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2553, + "end": 2576, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 2553, + "end": 2565, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2553, + "end": 2557, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2558, + "end": 2565, + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2566, + "end": 2576, + "loc": { + "start": { + "line": 100, + "column": 17 + }, + "end": { + "line": 100, + "column": 27 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2577, + "end": 2578, + "loc": { + "start": { + "line": 100, + "column": 28 + }, + "end": { + "line": 100, + "column": 29 + }, + "identifierName": "t" + }, + "name": "t" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {T} t\n * @return {void}\n ", + "start": 2375, + "end": 2422, + "loc": { + "start": { + "line": 92, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {void}\n ", + "start": 2588, + "end": 2617, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2620, + "end": 2757, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 110, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2620, + "end": 2626, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 8 + }, + "identifierName": "cancel" + }, + "name": "cancel", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2629, + "end": 2757, + "loc": { + "start": { + "line": 106, + "column": 11 + }, + "end": { + "line": 110, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2635, + "end": 2657, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 2635, + "end": 2656, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2635, + "end": 2654, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 2635, + "end": 2650, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2635, + "end": 2639, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2640, + "end": 2650, + "loc": { + "start": { + "line": 107, + "column": 9 + }, + "end": { + "line": 107, + "column": 19 + }, + "identifierName": "_cancelled" + }, + "name": "_cancelled" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2651, + "end": 2654, + "loc": { + "start": { + "line": 107, + "column": 20 + }, + "end": { + "line": 107, + "column": 23 + }, + "identifierName": "inc" + }, + "name": "inc" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2662, + "end": 2717, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 2662, + "end": 2716, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2662, + "end": 2680, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2662, + "end": 2673, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2662, + "end": 2666, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2667, + "end": 2673, + "loc": { + "start": { + "line": 108, + "column": 9 + }, + "end": { + "line": 108, + "column": 15 + }, + "identifierName": "_timer" + }, + "name": "_timer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2674, + "end": 2680, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2681, + "end": 2715, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 57 + } + }, + "left": { + "type": "CallExpression", + "start": 2681, + "end": 2701, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2681, + "end": 2699, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 41 + } + }, + "object": { + "type": "NewExpression", + "start": 2681, + "end": 2691, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 2685, + "end": 2689, + "loc": { + "start": { + "line": 108, + "column": 27 + }, + "end": { + "line": 108, + "column": 31 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2692, + "end": 2699, + "loc": { + "start": { + "line": 108, + "column": 34 + }, + "end": { + "line": 108, + "column": 41 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 2704, + "end": 2715, + "loc": { + "start": { + "line": 108, + "column": 46 + }, + "end": { + "line": 108, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2704, + "end": 2708, + "loc": { + "start": { + "line": 108, + "column": 46 + }, + "end": { + "line": 108, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 2709, + "end": 2715, + "loc": { + "start": { + "line": 108, + "column": 51 + }, + "end": { + "line": 108, + "column": 57 + }, + "identifierName": "_start" + }, + "name": "_start" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2722, + "end": 2753, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 35 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 2722, + "end": 2752, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 2722, + "end": 2734, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2722, + "end": 2726, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2727, + "end": 2734, + "loc": { + "start": { + "line": 109, + "column": 9 + }, + "end": { + "line": 109, + "column": 16 + }, + "identifierName": "_cancel" + }, + "name": "_cancel" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2738, + "end": 2752, + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2738, + "end": 2750, + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 32 + } + }, + "object": { + "type": "ThisExpression", + "start": 2738, + "end": 2742, + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 2743, + "end": 2750, + "loc": { + "start": { + "line": 109, + "column": 25 + }, + "end": { + "line": 109, + "column": 32 + }, + "identifierName": "_cancel" + }, + "name": "_cancel" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {void}\n ", + "start": 2588, + "end": 2617, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1491, + "end": 1498, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 864, + "end": 877, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 864, + "end": 876, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsSingleSubscriber.js\n * @fileoverview Defines the MetricsSingleSubscriber class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @requires Counter\n * @requires Timer\n * @requires NPM:rsocket-flowable\n * @exports embedMetricsSingleSubscriber\n ", + "start": 0, + "end": 862, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsSingleSubscriber.js\n * @fileoverview Defines the MetricsSingleSubscriber class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @requires Counter\n * @requires Timer\n * @requires NPM:rsocket-flowable\n * @exports embedMetricsSingleSubscriber\n ", + "start": 0, + "end": 862, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n * @return {Single}\n ", + "start": 986, + "end": 1188, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1491, + "end": 1498, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IFutureSubscriber} actual -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n ", + "start": 1534, + "end": 1741, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {function} cancel\n * @return {void}\n ", + "start": 1978, + "end": 2037, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Error} t\n * @return {void}\n ", + "start": 2188, + "end": 2239, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 84, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {T} t\n * @return {void}\n ", + "start": 2375, + "end": 2422, + "loc": { + "start": { + "line": 92, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {void}\n ", + "start": 2588, + "end": 2617, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsSingleSubscriber.js\n * @fileoverview Defines the MetricsSingleSubscriber class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @requires Counter\n * @requires Timer\n * @requires NPM:rsocket-flowable\n * @exports embedMetricsSingleSubscriber\n ", + "start": 0, + "end": 862, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 864, + "end": 876, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 876, + "end": 877, + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 879, + "end": 885, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 886, + "end": 893, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 894, + "end": 898, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Counter", + "start": 899, + "end": 910, + "loc": { + "start": { + "line": 28, + "column": 20 + }, + "end": { + "line": 28, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 910, + "end": 911, + "loc": { + "start": { + "line": 28, + "column": 31 + }, + "end": { + "line": 28, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 912, + "end": 918, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 919, + "end": 924, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 925, + "end": 929, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Timer", + "start": 930, + "end": 939, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 939, + "end": 940, + "loc": { + "start": { + "line": 29, + "column": 27 + }, + "end": { + "line": 29, + "column": 28 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 941, + "end": 947, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 948, + "end": 949, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 950, + "end": 956, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 957, + "end": 958, + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 959, + "end": 963, + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-flowable", + "start": 964, + "end": 982, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 982, + "end": 983, + "loc": { + "start": { + "line": 30, + "column": 41 + }, + "end": { + "line": 30, + "column": 42 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n * @return {Single}\n ", + "start": 986, + "end": 1188, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1189, + "end": 1195, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 1196, + "end": 1203, + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 14 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1204, + "end": 1212, + "loc": { + "start": { + "line": 42, + "column": 15 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "embedMetricsSingleSubscriber", + "start": 1213, + "end": 1241, + "loc": { + "start": { + "line": 42, + "column": 24 + }, + "end": { + "line": 42, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1241, + "end": 1242, + "loc": { + "start": { + "line": 42, + "column": 52 + }, + "end": { + "line": 42, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 1242, + "end": 1248, + "loc": { + "start": { + "line": 42, + "column": 53 + }, + "end": { + "line": 42, + "column": 59 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1248, + "end": 1249, + "loc": { + "start": { + "line": 42, + "column": 59 + }, + "end": { + "line": 42, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 1250, + "end": 1254, + "loc": { + "start": { + "line": 42, + "column": 61 + }, + "end": { + "line": 42, + "column": 65 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1254, + "end": 1255, + "loc": { + "start": { + "line": 42, + "column": 65 + }, + "end": { + "line": 42, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 1256, + "end": 1264, + "loc": { + "start": { + "line": 42, + "column": 67 + }, + "end": { + "line": 42, + "column": 75 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1264, + "end": 1265, + "loc": { + "start": { + "line": 42, + "column": 75 + }, + "end": { + "line": 42, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 1266, + "end": 1271, + "loc": { + "start": { + "line": 42, + "column": 77 + }, + "end": { + "line": 42, + "column": 82 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1271, + "end": 1272, + "loc": { + "start": { + "line": 42, + "column": 82 + }, + "end": { + "line": 42, + "column": 83 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 1273, + "end": 1282, + "loc": { + "start": { + "line": 42, + "column": 84 + }, + "end": { + "line": 42, + "column": 93 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1282, + "end": 1283, + "loc": { + "start": { + "line": 42, + "column": 93 + }, + "end": { + "line": 42, + "column": 94 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 1284, + "end": 1289, + "loc": { + "start": { + "line": 42, + "column": 95 + }, + "end": { + "line": 42, + "column": 100 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1289, + "end": 1290, + "loc": { + "start": { + "line": 42, + "column": 100 + }, + "end": { + "line": 42, + "column": 101 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1291, + "end": 1292, + "loc": { + "start": { + "line": 42, + "column": 102 + }, + "end": { + "line": 42, + "column": 103 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1295, + "end": 1301, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1302, + "end": 1305, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 1306, + "end": 1312, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1312, + "end": 1313, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 1313, + "end": 1323, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1324, + "end": 1326, + "loc": { + "start": { + "line": 43, + "column": 31 + }, + "end": { + "line": 43, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1327, + "end": 1328, + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 43, + "column": 35 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1333, + "end": 1338, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metricsSubscriber", + "start": 1339, + "end": 1356, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1357, + "end": 1358, + "loc": { + "start": { + "line": 44, + "column": 28 + }, + "end": { + "line": 44, + "column": 29 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1359, + "end": 1362, + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSingleSubscriber", + "start": 1363, + "end": 1386, + "loc": { + "start": { + "line": 44, + "column": 34 + }, + "end": { + "line": 44, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1386, + "end": 1387, + "loc": { + "start": { + "line": 44, + "column": 57 + }, + "end": { + "line": 44, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 1387, + "end": 1397, + "loc": { + "start": { + "line": 44, + "column": 58 + }, + "end": { + "line": 44, + "column": 68 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1397, + "end": 1398, + "loc": { + "start": { + "line": 44, + "column": 68 + }, + "end": { + "line": 44, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 1399, + "end": 1403, + "loc": { + "start": { + "line": 44, + "column": 70 + }, + "end": { + "line": 44, + "column": 74 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1403, + "end": 1404, + "loc": { + "start": { + "line": 44, + "column": 74 + }, + "end": { + "line": 44, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 1405, + "end": 1413, + "loc": { + "start": { + "line": 44, + "column": 76 + }, + "end": { + "line": 44, + "column": 84 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1413, + "end": 1414, + "loc": { + "start": { + "line": 44, + "column": 84 + }, + "end": { + "line": 44, + "column": 85 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 1415, + "end": 1420, + "loc": { + "start": { + "line": 44, + "column": 86 + }, + "end": { + "line": 44, + "column": 91 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1420, + "end": 1421, + "loc": { + "start": { + "line": 44, + "column": 91 + }, + "end": { + "line": 44, + "column": 92 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 1422, + "end": 1431, + "loc": { + "start": { + "line": 44, + "column": 93 + }, + "end": { + "line": 44, + "column": 102 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 44, + "column": 102 + }, + "end": { + "line": 44, + "column": 103 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 1433, + "end": 1438, + "loc": { + "start": { + "line": 44, + "column": 104 + }, + "end": { + "line": 44, + "column": 109 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1438, + "end": 1439, + "loc": { + "start": { + "line": 44, + "column": 109 + }, + "end": { + "line": 44, + "column": 110 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1439, + "end": 1440, + "loc": { + "start": { + "line": 44, + "column": 110 + }, + "end": { + "line": 44, + "column": 111 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 1445, + "end": 1451, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 1452, + "end": 1461, + "loc": { + "start": { + "line": 45, + "column": 11 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1461, + "end": 1462, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metricsSubscriber", + "start": 1462, + "end": 1479, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1479, + "end": 1480, + "loc": { + "start": { + "line": 45, + "column": 38 + }, + "end": { + "line": 45, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1480, + "end": 1481, + "loc": { + "start": { + "line": 45, + "column": 39 + }, + "end": { + "line": 45, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1484, + "end": 1485, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1485, + "end": 1486, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1486, + "end": 1487, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1488, + "end": 1489, + "loc": { + "start": { + "line": 47, + "column": 0 + }, + "end": { + "line": 47, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1491, + "end": 1498, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 1499, + "end": 1504, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 51, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSingleSubscriber", + "start": 1505, + "end": 1528, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1529, + "end": 1530, + "loc": { + "start": { + "line": 51, + "column": 30 + }, + "end": { + "line": 51, + "column": 31 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IFutureSubscriber} actual -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n ", + "start": 1534, + "end": 1741, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 1744, + "end": 1755, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1755, + "end": 1756, + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1756, + "end": 1762, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1762, + "end": 1763, + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 1764, + "end": 1768, + "loc": { + "start": { + "line": 61, + "column": 22 + }, + "end": { + "line": 61, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1768, + "end": 1769, + "loc": { + "start": { + "line": 61, + "column": 26 + }, + "end": { + "line": 61, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 1770, + "end": 1778, + "loc": { + "start": { + "line": 61, + "column": 28 + }, + "end": { + "line": 61, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1778, + "end": 1779, + "loc": { + "start": { + "line": 61, + "column": 36 + }, + "end": { + "line": 61, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 1780, + "end": 1785, + "loc": { + "start": { + "line": 61, + "column": 38 + }, + "end": { + "line": 61, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1785, + "end": 1786, + "loc": { + "start": { + "line": 61, + "column": 43 + }, + "end": { + "line": 61, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 1787, + "end": 1796, + "loc": { + "start": { + "line": 61, + "column": 45 + }, + "end": { + "line": 61, + "column": 54 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1796, + "end": 1797, + "loc": { + "start": { + "line": 61, + "column": 54 + }, + "end": { + "line": 61, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 1798, + "end": 1803, + "loc": { + "start": { + "line": 61, + "column": 56 + }, + "end": { + "line": 61, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1803, + "end": 1804, + "loc": { + "start": { + "line": 61, + "column": 61 + }, + "end": { + "line": 61, + "column": 62 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1805, + "end": 1806, + "loc": { + "start": { + "line": 61, + "column": 63 + }, + "end": { + "line": 61, + "column": 64 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1811, + "end": 1815, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1815, + "end": 1816, + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 1816, + "end": 1823, + "loc": { + "start": { + "line": 62, + "column": 9 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1824, + "end": 1825, + "loc": { + "start": { + "line": 62, + "column": 17 + }, + "end": { + "line": 62, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1826, + "end": 1832, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1832, + "end": 1833, + "loc": { + "start": { + "line": 62, + "column": 25 + }, + "end": { + "line": 62, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1838, + "end": 1842, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1842, + "end": 1843, + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_next", + "start": 1843, + "end": 1848, + "loc": { + "start": { + "line": 63, + "column": 9 + }, + "end": { + "line": 63, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1849, + "end": 1850, + "loc": { + "start": { + "line": 63, + "column": 15 + }, + "end": { + "line": 63, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 1851, + "end": 1855, + "loc": { + "start": { + "line": 63, + "column": 17 + }, + "end": { + "line": 63, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1855, + "end": 1856, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 63, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1861, + "end": 1865, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1865, + "end": 1866, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_complete", + "start": 1866, + "end": 1875, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1876, + "end": 1877, + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 1878, + "end": 1886, + "loc": { + "start": { + "line": 64, + "column": 21 + }, + "end": { + "line": 64, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1886, + "end": 1887, + "loc": { + "start": { + "line": 64, + "column": 29 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1892, + "end": 1896, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1896, + "end": 1897, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 1897, + "end": 1903, + "loc": { + "start": { + "line": 65, + "column": 9 + }, + "end": { + "line": 65, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1904, + "end": 1905, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 1906, + "end": 1911, + "loc": { + "start": { + "line": 65, + "column": 18 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1911, + "end": 1912, + "loc": { + "start": { + "line": 65, + "column": 23 + }, + "end": { + "line": 65, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1917, + "end": 1921, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1921, + "end": 1922, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancelled", + "start": 1922, + "end": 1932, + "loc": { + "start": { + "line": 66, + "column": 9 + }, + "end": { + "line": 66, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1933, + "end": 1934, + "loc": { + "start": { + "line": 66, + "column": 20 + }, + "end": { + "line": 66, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 1935, + "end": 1944, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1944, + "end": 1945, + "loc": { + "start": { + "line": 66, + "column": 31 + }, + "end": { + "line": 66, + "column": 32 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1950, + "end": 1954, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1954, + "end": 1955, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_timer", + "start": 1955, + "end": 1961, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1962, + "end": 1963, + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 1964, + "end": 1969, + "loc": { + "start": { + "line": 67, + "column": 18 + }, + "end": { + "line": 67, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1969, + "end": 1970, + "loc": { + "start": { + "line": 67, + "column": 23 + }, + "end": { + "line": 67, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1973, + "end": 1974, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {function} cancel\n * @return {void}\n ", + "start": 1978, + "end": 2037, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 2040, + "end": 2051, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 74, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2051, + "end": 2052, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2052, + "end": 2058, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2058, + "end": 2059, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2060, + "end": 2061, + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 74, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2066, + "end": 2070, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2070, + "end": 2071, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancel", + "start": 2071, + "end": 2078, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2079, + "end": 2080, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2081, + "end": 2087, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2087, + "end": 2088, + "loc": { + "start": { + "line": 75, + "column": 25 + }, + "end": { + "line": 75, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2093, + "end": 2097, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2097, + "end": 2098, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_start", + "start": 2098, + "end": 2104, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2105, + "end": 2106, + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2107, + "end": 2110, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2111, + "end": 2115, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2115, + "end": 2116, + "loc": { + "start": { + "line": 76, + "column": 26 + }, + "end": { + "line": 76, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2116, + "end": 2117, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 76, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2117, + "end": 2118, + "loc": { + "start": { + "line": 76, + "column": 28 + }, + "end": { + "line": 76, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 2118, + "end": 2125, + "loc": { + "start": { + "line": 76, + "column": 29 + }, + "end": { + "line": 76, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2125, + "end": 2126, + "loc": { + "start": { + "line": 76, + "column": 36 + }, + "end": { + "line": 76, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2126, + "end": 2127, + "loc": { + "start": { + "line": 76, + "column": 37 + }, + "end": { + "line": 76, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2127, + "end": 2128, + "loc": { + "start": { + "line": 76, + "column": 38 + }, + "end": { + "line": 76, + "column": 39 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2134, + "end": 2138, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2138, + "end": 2139, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 2139, + "end": 2146, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2146, + "end": 2147, + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 78, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 2147, + "end": 2158, + "loc": { + "start": { + "line": 78, + "column": 17 + }, + "end": { + "line": 78, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2158, + "end": 2159, + "loc": { + "start": { + "line": 78, + "column": 28 + }, + "end": { + "line": 78, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2159, + "end": 2160, + "loc": { + "start": { + "line": 78, + "column": 29 + }, + "end": { + "line": 78, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2160, + "end": 2161, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 31 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2162, + "end": 2164, + "loc": { + "start": { + "line": 78, + "column": 32 + }, + "end": { + "line": 78, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2165, + "end": 2169, + "loc": { + "start": { + "line": 78, + "column": 35 + }, + "end": { + "line": 78, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2169, + "end": 2170, + "loc": { + "start": { + "line": 78, + "column": 39 + }, + "end": { + "line": 78, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2170, + "end": 2176, + "loc": { + "start": { + "line": 78, + "column": 40 + }, + "end": { + "line": 78, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2176, + "end": 2177, + "loc": { + "start": { + "line": 78, + "column": 46 + }, + "end": { + "line": 78, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2177, + "end": 2178, + "loc": { + "start": { + "line": 78, + "column": 47 + }, + "end": { + "line": 78, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2178, + "end": 2179, + "loc": { + "start": { + "line": 78, + "column": 48 + }, + "end": { + "line": 78, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2179, + "end": 2180, + "loc": { + "start": { + "line": 78, + "column": 49 + }, + "end": { + "line": 78, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2183, + "end": 2184, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Error} t\n * @return {void}\n ", + "start": 2188, + "end": 2239, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 84, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2242, + "end": 2249, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2249, + "end": 2250, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 2250, + "end": 2251, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 85, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2251, + "end": 2252, + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2253, + "end": 2254, + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2259, + "end": 2263, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2263, + "end": 2264, + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 2264, + "end": 2270, + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2270, + "end": 2271, + "loc": { + "start": { + "line": 86, + "column": 15 + }, + "end": { + "line": 86, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 2271, + "end": 2274, + "loc": { + "start": { + "line": 86, + "column": 16 + }, + "end": { + "line": 86, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2274, + "end": 2275, + "loc": { + "start": { + "line": 86, + "column": 19 + }, + "end": { + "line": 86, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2275, + "end": 2276, + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2276, + "end": 2277, + "loc": { + "start": { + "line": 86, + "column": 21 + }, + "end": { + "line": 86, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2282, + "end": 2286, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2286, + "end": 2287, + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_timer", + "start": 2287, + "end": 2293, + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2293, + "end": 2294, + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2294, + "end": 2300, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2300, + "end": 2301, + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 23 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2301, + "end": 2304, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2305, + "end": 2309, + "loc": { + "start": { + "line": 87, + "column": 27 + }, + "end": { + "line": 87, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2309, + "end": 2310, + "loc": { + "start": { + "line": 87, + "column": 31 + }, + "end": { + "line": 87, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2310, + "end": 2311, + "loc": { + "start": { + "line": 87, + "column": 32 + }, + "end": { + "line": 87, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2311, + "end": 2312, + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 2312, + "end": 2319, + "loc": { + "start": { + "line": 87, + "column": 34 + }, + "end": { + "line": 87, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2319, + "end": 2320, + "loc": { + "start": { + "line": 87, + "column": 41 + }, + "end": { + "line": 87, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2320, + "end": 2321, + "loc": { + "start": { + "line": 87, + "column": 42 + }, + "end": { + "line": 87, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2322, + "end": 2323, + "loc": { + "start": { + "line": 87, + "column": 44 + }, + "end": { + "line": 87, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2324, + "end": 2328, + "loc": { + "start": { + "line": 87, + "column": 46 + }, + "end": { + "line": 87, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2328, + "end": 2329, + "loc": { + "start": { + "line": 87, + "column": 50 + }, + "end": { + "line": 87, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_start", + "start": 2329, + "end": 2335, + "loc": { + "start": { + "line": 87, + "column": 51 + }, + "end": { + "line": 87, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2335, + "end": 2336, + "loc": { + "start": { + "line": 87, + "column": 57 + }, + "end": { + "line": 87, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2336, + "end": 2337, + "loc": { + "start": { + "line": 87, + "column": 58 + }, + "end": { + "line": 87, + "column": 59 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2343, + "end": 2347, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2347, + "end": 2348, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 2348, + "end": 2355, + "loc": { + "start": { + "line": 89, + "column": 9 + }, + "end": { + "line": 89, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2355, + "end": 2356, + "loc": { + "start": { + "line": 89, + "column": 16 + }, + "end": { + "line": 89, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2356, + "end": 2363, + "loc": { + "start": { + "line": 89, + "column": 17 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2363, + "end": 2364, + "loc": { + "start": { + "line": 89, + "column": 24 + }, + "end": { + "line": 89, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 2364, + "end": 2365, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2365, + "end": 2366, + "loc": { + "start": { + "line": 89, + "column": 26 + }, + "end": { + "line": 89, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2366, + "end": 2367, + "loc": { + "start": { + "line": 89, + "column": 27 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2370, + "end": 2371, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {T} t\n * @return {void}\n ", + "start": 2375, + "end": 2422, + "loc": { + "start": { + "line": 92, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2425, + "end": 2435, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2435, + "end": 2436, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 2436, + "end": 2437, + "loc": { + "start": { + "line": 96, + "column": 13 + }, + "end": { + "line": 96, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2437, + "end": 2438, + "loc": { + "start": { + "line": 96, + "column": 14 + }, + "end": { + "line": 96, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2439, + "end": 2440, + "loc": { + "start": { + "line": 96, + "column": 16 + }, + "end": { + "line": 96, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2445, + "end": 2449, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2449, + "end": 2450, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_next", + "start": 2450, + "end": 2455, + "loc": { + "start": { + "line": 97, + "column": 9 + }, + "end": { + "line": 97, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2455, + "end": 2456, + "loc": { + "start": { + "line": 97, + "column": 14 + }, + "end": { + "line": 97, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 2456, + "end": 2459, + "loc": { + "start": { + "line": 97, + "column": 15 + }, + "end": { + "line": 97, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2459, + "end": 2460, + "loc": { + "start": { + "line": 97, + "column": 18 + }, + "end": { + "line": 97, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2460, + "end": 2461, + "loc": { + "start": { + "line": 97, + "column": 19 + }, + "end": { + "line": 97, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2461, + "end": 2462, + "loc": { + "start": { + "line": 97, + "column": 20 + }, + "end": { + "line": 97, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2467, + "end": 2471, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2471, + "end": 2472, + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_complete", + "start": 2472, + "end": 2481, + "loc": { + "start": { + "line": 98, + "column": 9 + }, + "end": { + "line": 98, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2481, + "end": 2482, + "loc": { + "start": { + "line": 98, + "column": 18 + }, + "end": { + "line": 98, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 2482, + "end": 2485, + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2485, + "end": 2486, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2486, + "end": 2487, + "loc": { + "start": { + "line": 98, + "column": 23 + }, + "end": { + "line": 98, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2487, + "end": 2488, + "loc": { + "start": { + "line": 98, + "column": 24 + }, + "end": { + "line": 98, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2493, + "end": 2497, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2497, + "end": 2498, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_timer", + "start": 2498, + "end": 2504, + "loc": { + "start": { + "line": 99, + "column": 9 + }, + "end": { + "line": 99, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2504, + "end": 2505, + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2505, + "end": 2511, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2511, + "end": 2512, + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 23 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2512, + "end": 2515, + "loc": { + "start": { + "line": 99, + "column": 23 + }, + "end": { + "line": 99, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2516, + "end": 2520, + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2520, + "end": 2521, + "loc": { + "start": { + "line": 99, + "column": 31 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2521, + "end": 2522, + "loc": { + "start": { + "line": 99, + "column": 32 + }, + "end": { + "line": 99, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2522, + "end": 2523, + "loc": { + "start": { + "line": 99, + "column": 33 + }, + "end": { + "line": 99, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 2523, + "end": 2530, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2530, + "end": 2531, + "loc": { + "start": { + "line": 99, + "column": 41 + }, + "end": { + "line": 99, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2531, + "end": 2532, + "loc": { + "start": { + "line": 99, + "column": 42 + }, + "end": { + "line": 99, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2533, + "end": 2534, + "loc": { + "start": { + "line": 99, + "column": 44 + }, + "end": { + "line": 99, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2535, + "end": 2539, + "loc": { + "start": { + "line": 99, + "column": 46 + }, + "end": { + "line": 99, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2539, + "end": 2540, + "loc": { + "start": { + "line": 99, + "column": 50 + }, + "end": { + "line": 99, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_start", + "start": 2540, + "end": 2546, + "loc": { + "start": { + "line": 99, + "column": 51 + }, + "end": { + "line": 99, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2546, + "end": 2547, + "loc": { + "start": { + "line": 99, + "column": 57 + }, + "end": { + "line": 99, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2547, + "end": 2548, + "loc": { + "start": { + "line": 99, + "column": 58 + }, + "end": { + "line": 99, + "column": 59 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2553, + "end": 2557, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2557, + "end": 2558, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 2558, + "end": 2565, + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2565, + "end": 2566, + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2566, + "end": 2576, + "loc": { + "start": { + "line": 100, + "column": 17 + }, + "end": { + "line": 100, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2576, + "end": 2577, + "loc": { + "start": { + "line": 100, + "column": 27 + }, + "end": { + "line": 100, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 2577, + "end": 2578, + "loc": { + "start": { + "line": 100, + "column": 28 + }, + "end": { + "line": 100, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2578, + "end": 2579, + "loc": { + "start": { + "line": 100, + "column": 29 + }, + "end": { + "line": 100, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2579, + "end": 2580, + "loc": { + "start": { + "line": 100, + "column": 30 + }, + "end": { + "line": 100, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2583, + "end": 2584, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 101, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {void}\n ", + "start": 2588, + "end": 2617, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2620, + "end": 2626, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2626, + "end": 2627, + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2627, + "end": 2628, + "loc": { + "start": { + "line": 106, + "column": 9 + }, + "end": { + "line": 106, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2629, + "end": 2630, + "loc": { + "start": { + "line": 106, + "column": 11 + }, + "end": { + "line": 106, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2635, + "end": 2639, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2639, + "end": 2640, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancelled", + "start": 2640, + "end": 2650, + "loc": { + "start": { + "line": 107, + "column": 9 + }, + "end": { + "line": 107, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2650, + "end": 2651, + "loc": { + "start": { + "line": 107, + "column": 19 + }, + "end": { + "line": 107, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 2651, + "end": 2654, + "loc": { + "start": { + "line": 107, + "column": 20 + }, + "end": { + "line": 107, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2654, + "end": 2655, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2655, + "end": 2656, + "loc": { + "start": { + "line": 107, + "column": 24 + }, + "end": { + "line": 107, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2656, + "end": 2657, + "loc": { + "start": { + "line": 107, + "column": 25 + }, + "end": { + "line": 107, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2662, + "end": 2666, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2666, + "end": 2667, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_timer", + "start": 2667, + "end": 2673, + "loc": { + "start": { + "line": 108, + "column": 9 + }, + "end": { + "line": 108, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2673, + "end": 2674, + "loc": { + "start": { + "line": 108, + "column": 15 + }, + "end": { + "line": 108, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2674, + "end": 2680, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2680, + "end": 2681, + "loc": { + "start": { + "line": 108, + "column": 22 + }, + "end": { + "line": 108, + "column": 23 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2681, + "end": 2684, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2685, + "end": 2689, + "loc": { + "start": { + "line": 108, + "column": 27 + }, + "end": { + "line": 108, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2689, + "end": 2690, + "loc": { + "start": { + "line": 108, + "column": 31 + }, + "end": { + "line": 108, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2690, + "end": 2691, + "loc": { + "start": { + "line": 108, + "column": 32 + }, + "end": { + "line": 108, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2691, + "end": 2692, + "loc": { + "start": { + "line": 108, + "column": 33 + }, + "end": { + "line": 108, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 2692, + "end": 2699, + "loc": { + "start": { + "line": 108, + "column": 34 + }, + "end": { + "line": 108, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2699, + "end": 2700, + "loc": { + "start": { + "line": 108, + "column": 41 + }, + "end": { + "line": 108, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2700, + "end": 2701, + "loc": { + "start": { + "line": 108, + "column": 42 + }, + "end": { + "line": 108, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2702, + "end": 2703, + "loc": { + "start": { + "line": 108, + "column": 44 + }, + "end": { + "line": 108, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2704, + "end": 2708, + "loc": { + "start": { + "line": 108, + "column": 46 + }, + "end": { + "line": 108, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2708, + "end": 2709, + "loc": { + "start": { + "line": 108, + "column": 50 + }, + "end": { + "line": 108, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_start", + "start": 2709, + "end": 2715, + "loc": { + "start": { + "line": 108, + "column": 51 + }, + "end": { + "line": 108, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2715, + "end": 2716, + "loc": { + "start": { + "line": 108, + "column": 57 + }, + "end": { + "line": 108, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2716, + "end": 2717, + "loc": { + "start": { + "line": 108, + "column": 58 + }, + "end": { + "line": 108, + "column": 59 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2722, + "end": 2726, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2726, + "end": 2727, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancel", + "start": 2727, + "end": 2734, + "loc": { + "start": { + "line": 109, + "column": 9 + }, + "end": { + "line": 109, + "column": 16 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2735, + "end": 2737, + "loc": { + "start": { + "line": 109, + "column": 17 + }, + "end": { + "line": 109, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2738, + "end": 2742, + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2742, + "end": 2743, + "loc": { + "start": { + "line": 109, + "column": 24 + }, + "end": { + "line": 109, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancel", + "start": 2743, + "end": 2750, + "loc": { + "start": { + "line": 109, + "column": 25 + }, + "end": { + "line": 109, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2750, + "end": 2751, + "loc": { + "start": { + "line": 109, + "column": 32 + }, + "end": { + "line": 109, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2751, + "end": 2752, + "loc": { + "start": { + "line": 109, + "column": 33 + }, + "end": { + "line": 109, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2752, + "end": 2753, + "loc": { + "start": { + "line": 109, + "column": 34 + }, + "end": { + "line": 109, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2756, + "end": 2757, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 110, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2758, + "end": 2759, + "loc": { + "start": { + "line": 111, + "column": 0 + }, + "end": { + "line": 111, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2759, + "end": 2759, + "loc": { + "start": { + "line": 111, + "column": 1 + }, + "end": { + "line": 111, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsSubscriber.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsSubscriber.js.json new file mode 100644 index 0000000..6406035 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/MetricsSubscriber.js.json @@ -0,0 +1,12490 @@ +{ + "type": "File", + "start": 0, + "end": 2552, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 110, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2552, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 110, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 855, + "end": 914, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 59 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 864, + "end": 877, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 22 + } + }, + "imported": { + "type": "Identifier", + "start": 864, + "end": 877, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 22 + }, + "identifierName": "ISubscription" + }, + "name": "ISubscription" + }, + "local": { + "type": "Identifier", + "start": 864, + "end": 877, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 22 + }, + "identifierName": "ISubscription" + }, + "name": "ISubscription" + } + }, + { + "type": "ImportSpecifier", + "start": 879, + "end": 890, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 35 + } + }, + "imported": { + "type": "Identifier", + "start": 879, + "end": 890, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 35 + }, + "identifierName": "ISubscriber" + }, + "name": "ISubscriber" + }, + "local": { + "type": "Identifier", + "start": 879, + "end": 890, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 35 + }, + "identifierName": "ISubscriber" + }, + "name": "ISubscriber" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 898, + "end": 913, + "loc": { + "start": { + "line": 28, + "column": 43 + }, + "end": { + "line": 28, + "column": 58 + } + }, + "extra": { + "rawValue": "rsocket-types", + "raw": "'rsocket-types'" + }, + "value": "rsocket-types" + } + }, + { + "type": "ImportDeclaration", + "start": 915, + "end": 947, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 32 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 922, + "end": 929, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 922, + "end": 929, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 14 + }, + "identifierName": "Counter" + }, + "name": "Counter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 935, + "end": 946, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 31 + } + }, + "extra": { + "rawValue": "./Counter", + "raw": "'./Counter'" + }, + "value": "./Counter" + } + }, + { + "type": "ImportDeclaration", + "start": 948, + "end": 976, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 28 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 955, + "end": 960, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 12 + } + }, + "local": { + "type": "Identifier", + "start": 955, + "end": 960, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 12 + }, + "identifierName": "Timer" + }, + "name": "Timer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 966, + "end": 975, + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 27 + } + }, + "extra": { + "rawValue": "./Timer", + "raw": "'./Timer'" + }, + "value": "./Timer" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 978, + "end": 985, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 986, + "end": 2552, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 110, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 1001, + "end": 2552, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 110, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1007, + "end": 1024, + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 38 + }, + "identifierName": "MetricsSubscriber" + }, + "name": "MetricsSubscriber", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 1025, + "end": 2552, + "loc": { + "start": { + "line": 34, + "column": 39 + }, + "end": { + "line": 110, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 1234, + "end": 1631, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1234, + "end": 1245, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1246, + "end": 1252, + "loc": { + "start": { + "line": 44, + "column": 14 + }, + "end": { + "line": 44, + "column": 20 + }, + "identifierName": "actual" + }, + "name": "actual" + }, + { + "type": "Identifier", + "start": 1254, + "end": 1258, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 26 + }, + "identifierName": "next" + }, + "name": "next" + }, + { + "type": "Identifier", + "start": 1260, + "end": 1268, + "loc": { + "start": { + "line": 44, + "column": 28 + }, + "end": { + "line": 44, + "column": 36 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + { + "type": "Identifier", + "start": 1270, + "end": 1275, + "loc": { + "start": { + "line": 44, + "column": 38 + }, + "end": { + "line": 44, + "column": 43 + }, + "identifierName": "error" + }, + "name": "error" + }, + { + "type": "Identifier", + "start": 1277, + "end": 1286, + "loc": { + "start": { + "line": 44, + "column": 45 + }, + "end": { + "line": 44, + "column": 54 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + { + "type": "Identifier", + "start": 1288, + "end": 1293, + "loc": { + "start": { + "line": 44, + "column": 56 + }, + "end": { + "line": 44, + "column": 61 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ], + "body": { + "type": "BlockStatement", + "start": 1295, + "end": 1631, + "loc": { + "start": { + "line": 44, + "column": 63 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1335, + "end": 1357, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1335, + "end": 1356, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1335, + "end": 1347, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1335, + "end": 1339, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1340, + "end": 1347, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1350, + "end": 1356, + "loc": { + "start": { + "line": 46, + "column": 19 + }, + "end": { + "line": 46, + "column": 25 + }, + "identifierName": "actual" + }, + "name": "actual" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 1301, + "end": 1330, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 33 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1362, + "end": 1384, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1389, + "end": 1407, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1389, + "end": 1406, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1389, + "end": 1399, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1389, + "end": 1393, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1394, + "end": 1399, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 14 + }, + "identifierName": "_next" + }, + "name": "_next" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1402, + "end": 1406, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 21 + }, + "identifierName": "next" + }, + "name": "next" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1362, + "end": 1384, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1412, + "end": 1434, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1439, + "end": 1465, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1439, + "end": 1464, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1439, + "end": 1453, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1439, + "end": 1443, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1444, + "end": 1453, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 18 + }, + "identifierName": "_complete" + }, + "name": "_complete" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1456, + "end": 1464, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 29 + }, + "identifierName": "complete" + }, + "name": "complete" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1412, + "end": 1434, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1470, + "end": 1492, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1497, + "end": 1517, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1497, + "end": 1516, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1497, + "end": 1508, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1497, + "end": 1501, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1502, + "end": 1508, + "loc": { + "start": { + "line": 52, + "column": 9 + }, + "end": { + "line": 52, + "column": 15 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1511, + "end": 1516, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 23 + }, + "identifierName": "error" + }, + "name": "error" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1470, + "end": 1492, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1522, + "end": 1544, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1549, + "end": 1577, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1549, + "end": 1576, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1549, + "end": 1564, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 1549, + "end": 1553, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1554, + "end": 1564, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 19 + }, + "identifierName": "_cancelled" + }, + "name": "_cancelled" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1567, + "end": 1576, + "loc": { + "start": { + "line": 54, + "column": 22 + }, + "end": { + "line": 54, + "column": 31 + }, + "identifierName": "cancelled" + }, + "name": "cancelled" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1522, + "end": 1544, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Timer} ", + "start": 1582, + "end": 1602, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 24 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1607, + "end": 1627, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1607, + "end": 1626, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1607, + "end": 1618, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1607, + "end": 1611, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1612, + "end": 1618, + "loc": { + "start": { + "line": 56, + "column": 9 + }, + "end": { + "line": 56, + "column": 15 + }, + "identifierName": "_timer" + }, + "name": "_timer" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1621, + "end": 1626, + "loc": { + "start": { + "line": 56, + "column": 18 + }, + "end": { + "line": 56, + "column": 23 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Timer} ", + "start": 1582, + "end": 1602, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 24 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} actual -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n ", + "start": 1030, + "end": 1231, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 43, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscription} s -\n ", + "start": 1635, + "end": 1676, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1679, + "end": 1863, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1679, + "end": 1690, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 13 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1691, + "end": 1692, + "loc": { + "start": { + "line": 62, + "column": 14 + }, + "end": { + "line": 62, + "column": 15 + }, + "identifierName": "s" + }, + "name": "s" + } + ], + "body": { + "type": "BlockStatement", + "start": 1694, + "end": 1863, + "loc": { + "start": { + "line": 62, + "column": 17 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1733, + "end": 1756, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1733, + "end": 1755, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1733, + "end": 1751, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1733, + "end": 1737, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1738, + "end": 1751, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 22 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1754, + "end": 1755, + "loc": { + "start": { + "line": 64, + "column": 25 + }, + "end": { + "line": 64, + "column": 26 + }, + "identifierName": "s" + }, + "name": "s" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {ISubscription} ", + "start": 1700, + "end": 1728, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1761, + "end": 1782, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1787, + "end": 1822, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 39 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1787, + "end": 1821, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 38 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1787, + "end": 1798, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1787, + "end": 1791, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1792, + "end": 1798, + "loc": { + "start": { + "line": 66, + "column": 9 + }, + "end": { + "line": 66, + "column": 15 + }, + "identifierName": "_start" + }, + "name": "_start" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 1801, + "end": 1821, + "loc": { + "start": { + "line": 66, + "column": 18 + }, + "end": { + "line": 66, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1801, + "end": 1819, + "loc": { + "start": { + "line": 66, + "column": 18 + }, + "end": { + "line": 66, + "column": 36 + } + }, + "object": { + "type": "NewExpression", + "start": 1801, + "end": 1811, + "loc": { + "start": { + "line": 66, + "column": 18 + }, + "end": { + "line": 66, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 1805, + "end": 1809, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 26 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 1812, + "end": 1819, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 36 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1761, + "end": 1782, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1828, + "end": 1859, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 1828, + "end": 1858, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1828, + "end": 1852, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 1828, + "end": 1840, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1828, + "end": 1832, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1833, + "end": 1840, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1841, + "end": 1852, + "loc": { + "start": { + "line": 68, + "column": 17 + }, + "end": { + "line": 68, + "column": 28 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 1853, + "end": 1857, + "loc": { + "start": { + "line": 68, + "column": 29 + }, + "end": { + "line": 68, + "column": 33 + } + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscription} s -\n ", + "start": 1635, + "end": 1676, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1867, + "end": 1876, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 72, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1879, + "end": 1944, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1879, + "end": 1885, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, + "column": 8 + }, + "identifierName": "onNext" + }, + "name": "onNext", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1886, + "end": 1887, + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 10 + }, + "identifierName": "t" + }, + "name": "t" + } + ], + "body": { + "type": "BlockStatement", + "start": 1889, + "end": 1944, + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1895, + "end": 1912, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 1895, + "end": 1911, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1895, + "end": 1909, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 18 + } + }, + "object": { + "type": "MemberExpression", + "start": 1895, + "end": 1905, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1895, + "end": 1899, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1900, + "end": 1905, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 14 + }, + "identifierName": "_next" + }, + "name": "_next" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1906, + "end": 1909, + "loc": { + "start": { + "line": 74, + "column": 15 + }, + "end": { + "line": 74, + "column": 18 + }, + "identifierName": "inc" + }, + "name": "inc" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 1917, + "end": 1940, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 1917, + "end": 1939, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1917, + "end": 1936, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 1917, + "end": 1929, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1917, + "end": 1921, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1922, + "end": 1929, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1930, + "end": 1936, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 23 + }, + "identifierName": "onNext" + }, + "name": "onNext" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1937, + "end": 1938, + "loc": { + "start": { + "line": 75, + "column": 24 + }, + "end": { + "line": 75, + "column": 25 + }, + "identifierName": "t" + }, + "name": "t" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1867, + "end": 1876, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 72, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Error} t -\n ", + "start": 1948, + "end": 1981, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 80, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1984, + "end": 2113, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 86, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1984, + "end": 1991, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 81, + "column": 9 + }, + "identifierName": "onError" + }, + "name": "onError", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1992, + "end": 1993, + "loc": { + "start": { + "line": 81, + "column": 10 + }, + "end": { + "line": 81, + "column": 11 + }, + "identifierName": "t" + }, + "name": "t" + } + ], + "body": { + "type": "BlockStatement", + "start": 1995, + "end": 2113, + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 86, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2001, + "end": 2019, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 2001, + "end": 2018, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2001, + "end": 2016, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 19 + } + }, + "object": { + "type": "MemberExpression", + "start": 2001, + "end": 2012, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2001, + "end": 2005, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2006, + "end": 2012, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 15 + }, + "identifierName": "_error" + }, + "name": "_error" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2013, + "end": 2016, + "loc": { + "start": { + "line": 82, + "column": 16 + }, + "end": { + "line": 82, + "column": 19 + }, + "identifierName": "inc" + }, + "name": "inc" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2024, + "end": 2079, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 2024, + "end": 2078, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2024, + "end": 2042, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2024, + "end": 2035, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2024, + "end": 2028, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2029, + "end": 2035, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 15 + }, + "identifierName": "_timer" + }, + "name": "_timer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2036, + "end": 2042, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2043, + "end": 2077, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 57 + } + }, + "left": { + "type": "CallExpression", + "start": 2043, + "end": 2063, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2043, + "end": 2061, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 41 + } + }, + "object": { + "type": "NewExpression", + "start": 2043, + "end": 2053, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 2047, + "end": 2051, + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 31 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2054, + "end": 2061, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 41 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 2066, + "end": 2077, + "loc": { + "start": { + "line": 83, + "column": 46 + }, + "end": { + "line": 83, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2066, + "end": 2070, + "loc": { + "start": { + "line": 83, + "column": 46 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 2071, + "end": 2077, + "loc": { + "start": { + "line": 83, + "column": 51 + }, + "end": { + "line": 83, + "column": 57 + }, + "identifierName": "_start" + }, + "name": "_start" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2085, + "end": 2109, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 2085, + "end": 2108, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2085, + "end": 2105, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 2085, + "end": 2097, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2085, + "end": 2089, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2090, + "end": 2097, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2098, + "end": 2105, + "loc": { + "start": { + "line": 85, + "column": 17 + }, + "end": { + "line": 85, + "column": 24 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2106, + "end": 2107, + "loc": { + "start": { + "line": 85, + "column": 25 + }, + "end": { + "line": 85, + "column": 26 + }, + "identifierName": "t" + }, + "name": "t" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Error} t -\n ", + "start": 1948, + "end": 1981, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 80, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2117, + "end": 2126, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2129, + "end": 2264, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 94, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2129, + "end": 2139, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 12 + }, + "identifierName": "onComplete" + }, + "name": "onComplete", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2142, + "end": 2264, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 94, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2148, + "end": 2169, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 2148, + "end": 2168, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2148, + "end": 2166, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2148, + "end": 2162, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2148, + "end": 2152, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2153, + "end": 2162, + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 18 + }, + "identifierName": "_complete" + }, + "name": "_complete" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2163, + "end": 2166, + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 22 + }, + "identifierName": "inc" + }, + "name": "inc" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2174, + "end": 2229, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 2174, + "end": 2228, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2174, + "end": 2192, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2174, + "end": 2185, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2174, + "end": 2178, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2179, + "end": 2185, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 15 + }, + "identifierName": "_timer" + }, + "name": "_timer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2186, + "end": 2192, + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2193, + "end": 2227, + "loc": { + "start": { + "line": 92, + "column": 23 + }, + "end": { + "line": 92, + "column": 57 + } + }, + "left": { + "type": "CallExpression", + "start": 2193, + "end": 2213, + "loc": { + "start": { + "line": 92, + "column": 23 + }, + "end": { + "line": 92, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2193, + "end": 2211, + "loc": { + "start": { + "line": 92, + "column": 23 + }, + "end": { + "line": 92, + "column": 41 + } + }, + "object": { + "type": "NewExpression", + "start": 2193, + "end": 2203, + "loc": { + "start": { + "line": 92, + "column": 23 + }, + "end": { + "line": 92, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 2197, + "end": 2201, + "loc": { + "start": { + "line": 92, + "column": 27 + }, + "end": { + "line": 92, + "column": 31 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2204, + "end": 2211, + "loc": { + "start": { + "line": 92, + "column": 34 + }, + "end": { + "line": 92, + "column": 41 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 2216, + "end": 2227, + "loc": { + "start": { + "line": 92, + "column": 46 + }, + "end": { + "line": 92, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2216, + "end": 2220, + "loc": { + "start": { + "line": 92, + "column": 46 + }, + "end": { + "line": 92, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 2221, + "end": 2227, + "loc": { + "start": { + "line": 92, + "column": 51 + }, + "end": { + "line": 92, + "column": 57 + }, + "identifierName": "_start" + }, + "name": "_start" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2234, + "end": 2260, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 2234, + "end": 2259, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2234, + "end": 2257, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 2234, + "end": 2246, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2234, + "end": 2238, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2239, + "end": 2246, + "loc": { + "start": { + "line": 93, + "column": 9 + }, + "end": { + "line": 93, + "column": 16 + }, + "identifierName": "_source" + }, + "name": "_source" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2247, + "end": 2257, + "loc": { + "start": { + "line": 93, + "column": 17 + }, + "end": { + "line": 93, + "column": 27 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2117, + "end": 2126, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} n -\n ", + "start": 2268, + "end": 2302, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 98, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2305, + "end": 2378, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2305, + "end": 2312, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 99, + "column": 9 + }, + "identifierName": "request" + }, + "name": "request", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2313, + "end": 2314, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 11 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 2316, + "end": 2378, + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2322, + "end": 2374, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 56 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 2322, + "end": 2373, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 55 + } + }, + "left": { + "type": "MemberExpression", + "start": 2322, + "end": 2340, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2322, + "end": 2326, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2327, + "end": 2340, + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 22 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2344, + "end": 2373, + "loc": { + "start": { + "line": 100, + "column": 26 + }, + "end": { + "line": 100, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2344, + "end": 2370, + "loc": { + "start": { + "line": 100, + "column": 26 + }, + "end": { + "line": 100, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 2344, + "end": 2362, + "loc": { + "start": { + "line": 100, + "column": 26 + }, + "end": { + "line": 100, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 2344, + "end": 2348, + "loc": { + "start": { + "line": 100, + "column": 26 + }, + "end": { + "line": 100, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2349, + "end": 2362, + "loc": { + "start": { + "line": 100, + "column": 31 + }, + "end": { + "line": 100, + "column": 44 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2363, + "end": 2370, + "loc": { + "start": { + "line": 100, + "column": 45 + }, + "end": { + "line": 100, + "column": 52 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2371, + "end": 2372, + "loc": { + "start": { + "line": 100, + "column": 53 + }, + "end": { + "line": 100, + "column": 54 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} n -\n ", + "start": 2268, + "end": 2302, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 98, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2382, + "end": 2391, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 104, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2394, + "end": 2550, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 109, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2394, + "end": 2400, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 105, + "column": 8 + }, + "identifierName": "cancel" + }, + "name": "cancel", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2403, + "end": 2550, + "loc": { + "start": { + "line": 105, + "column": 11 + }, + "end": { + "line": 109, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2409, + "end": 2431, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 2409, + "end": 2430, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2409, + "end": 2428, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 2409, + "end": 2424, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2409, + "end": 2413, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2414, + "end": 2424, + "loc": { + "start": { + "line": 106, + "column": 9 + }, + "end": { + "line": 106, + "column": 19 + }, + "identifierName": "_cancelled" + }, + "name": "_cancelled" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2425, + "end": 2428, + "loc": { + "start": { + "line": 106, + "column": 20 + }, + "end": { + "line": 106, + "column": 23 + }, + "identifierName": "inc" + }, + "name": "inc" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2436, + "end": 2491, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 2436, + "end": 2490, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2436, + "end": 2454, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2436, + "end": 2447, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2436, + "end": 2440, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2441, + "end": 2447, + "loc": { + "start": { + "line": 107, + "column": 9 + }, + "end": { + "line": 107, + "column": 15 + }, + "identifierName": "_timer" + }, + "name": "_timer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2448, + "end": 2454, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 22 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2455, + "end": 2489, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 57 + } + }, + "left": { + "type": "CallExpression", + "start": 2455, + "end": 2475, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2455, + "end": 2473, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 41 + } + }, + "object": { + "type": "NewExpression", + "start": 2455, + "end": 2465, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 2459, + "end": 2463, + "loc": { + "start": { + "line": 107, + "column": 27 + }, + "end": { + "line": 107, + "column": 31 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2466, + "end": 2473, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 41 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 2478, + "end": 2489, + "loc": { + "start": { + "line": 107, + "column": 46 + }, + "end": { + "line": 107, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2478, + "end": 2482, + "loc": { + "start": { + "line": 107, + "column": 46 + }, + "end": { + "line": 107, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 2483, + "end": 2489, + "loc": { + "start": { + "line": 107, + "column": 51 + }, + "end": { + "line": 107, + "column": 57 + }, + "identifierName": "_start" + }, + "name": "_start" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2496, + "end": 2546, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 54 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 2496, + "end": 2545, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 53 + } + }, + "left": { + "type": "MemberExpression", + "start": 2496, + "end": 2514, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2496, + "end": 2500, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2501, + "end": 2514, + "loc": { + "start": { + "line": 108, + "column": 9 + }, + "end": { + "line": 108, + "column": 22 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2518, + "end": 2545, + "loc": { + "start": { + "line": 108, + "column": 26 + }, + "end": { + "line": 108, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2518, + "end": 2543, + "loc": { + "start": { + "line": 108, + "column": 26 + }, + "end": { + "line": 108, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 2518, + "end": 2536, + "loc": { + "start": { + "line": 108, + "column": 26 + }, + "end": { + "line": 108, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 2518, + "end": 2522, + "loc": { + "start": { + "line": 108, + "column": 26 + }, + "end": { + "line": 108, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2523, + "end": 2536, + "loc": { + "start": { + "line": 108, + "column": 31 + }, + "end": { + "line": 108, + "column": 44 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2537, + "end": 2543, + "loc": { + "start": { + "line": 108, + "column": 45 + }, + "end": { + "line": 108, + "column": 51 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2382, + "end": 2391, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 104, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 978, + "end": 985, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 978, + "end": 985, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 840, + "end": 853, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 840, + "end": 852, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsSubscriber.js\n * @fileoverview Defines the \"MetricsSubscriber\" class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @requires NPM:rsocket-types\n * @requires Counter\n * @requires Timer\n * @exports MetricsSubscriber\n ", + "start": 0, + "end": 838, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsSubscriber.js\n * @fileoverview Defines the \"MetricsSubscriber\" class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @requires NPM:rsocket-types\n * @requires Counter\n * @requires Timer\n * @exports MetricsSubscriber\n ", + "start": 0, + "end": 838, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 978, + "end": 985, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} actual -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n ", + "start": 1030, + "end": 1231, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 43, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 1301, + "end": 1330, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 33 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1362, + "end": 1384, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1412, + "end": 1434, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1470, + "end": 1492, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1522, + "end": 1544, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Timer} ", + "start": 1582, + "end": 1602, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscription} s -\n ", + "start": 1635, + "end": 1676, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscription} ", + "start": 1700, + "end": 1728, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1761, + "end": 1782, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1867, + "end": 1876, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 72, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Error} t -\n ", + "start": 1948, + "end": 1981, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 80, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2117, + "end": 2126, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} n -\n ", + "start": 2268, + "end": 2302, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 98, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2382, + "end": 2391, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 104, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name MetricsSubscriber.js\n * @fileoverview Defines the \"MetricsSubscriber\" class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @requires NPM:rsocket-types\n * @requires Counter\n * @requires Timer\n * @exports MetricsSubscriber\n ", + "start": 0, + "end": 838, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 840, + "end": 852, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 852, + "end": 853, + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 855, + "end": 861, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 862, + "end": 863, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISubscription", + "start": 864, + "end": 877, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 877, + "end": 878, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISubscriber", + "start": 879, + "end": 890, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 891, + "end": 892, + "loc": { + "start": { + "line": 28, + "column": 36 + }, + "end": { + "line": 28, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 893, + "end": 897, + "loc": { + "start": { + "line": 28, + "column": 38 + }, + "end": { + "line": 28, + "column": 42 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-types", + "start": 898, + "end": 913, + "loc": { + "start": { + "line": 28, + "column": 43 + }, + "end": { + "line": 28, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 28, + "column": 58 + }, + "end": { + "line": 28, + "column": 59 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 915, + "end": 921, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 922, + "end": 929, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 930, + "end": 934, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Counter", + "start": 935, + "end": 946, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 946, + "end": 947, + "loc": { + "start": { + "line": 29, + "column": 31 + }, + "end": { + "line": 29, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 948, + "end": 954, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 955, + "end": 960, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Timer", + "start": 966, + "end": 975, + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 975, + "end": 976, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 28 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 978, + "end": 985, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 986, + "end": 992, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 993, + "end": 1000, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 1001, + "end": 1006, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSubscriber", + "start": 1007, + "end": 1024, + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1025, + "end": 1026, + "loc": { + "start": { + "line": 34, + "column": 39 + }, + "end": { + "line": 34, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} actual -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n ", + "start": 1030, + "end": 1231, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 43, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 1234, + "end": 1245, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1245, + "end": 1246, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1246, + "end": 1252, + "loc": { + "start": { + "line": 44, + "column": 14 + }, + "end": { + "line": 44, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1252, + "end": 1253, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 1254, + "end": 1258, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1258, + "end": 1259, + "loc": { + "start": { + "line": 44, + "column": 26 + }, + "end": { + "line": 44, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 1260, + "end": 1268, + "loc": { + "start": { + "line": 44, + "column": 28 + }, + "end": { + "line": 44, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1268, + "end": 1269, + "loc": { + "start": { + "line": 44, + "column": 36 + }, + "end": { + "line": 44, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 1270, + "end": 1275, + "loc": { + "start": { + "line": 44, + "column": 38 + }, + "end": { + "line": 44, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1275, + "end": 1276, + "loc": { + "start": { + "line": 44, + "column": 43 + }, + "end": { + "line": 44, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 1277, + "end": 1286, + "loc": { + "start": { + "line": 44, + "column": 45 + }, + "end": { + "line": 44, + "column": 54 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1286, + "end": 1287, + "loc": { + "start": { + "line": 44, + "column": 54 + }, + "end": { + "line": 44, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 1288, + "end": 1293, + "loc": { + "start": { + "line": 44, + "column": 56 + }, + "end": { + "line": 44, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1293, + "end": 1294, + "loc": { + "start": { + "line": 44, + "column": 61 + }, + "end": { + "line": 44, + "column": 62 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1295, + "end": 1296, + "loc": { + "start": { + "line": 44, + "column": 63 + }, + "end": { + "line": 44, + "column": 64 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 1301, + "end": 1330, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1335, + "end": 1339, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1339, + "end": 1340, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 1340, + "end": 1347, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1348, + "end": 1349, + "loc": { + "start": { + "line": 46, + "column": 17 + }, + "end": { + "line": 46, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "actual", + "start": 1350, + "end": 1356, + "loc": { + "start": { + "line": 46, + "column": 19 + }, + "end": { + "line": 46, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1356, + "end": 1357, + "loc": { + "start": { + "line": 46, + "column": 25 + }, + "end": { + "line": 46, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1362, + "end": 1384, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1389, + "end": 1393, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1393, + "end": 1394, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_next", + "start": 1394, + "end": 1399, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1400, + "end": 1401, + "loc": { + "start": { + "line": 48, + "column": 15 + }, + "end": { + "line": 48, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "next", + "start": 1402, + "end": 1406, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1406, + "end": 1407, + "loc": { + "start": { + "line": 48, + "column": 21 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1412, + "end": 1434, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1439, + "end": 1443, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1443, + "end": 1444, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_complete", + "start": 1444, + "end": 1453, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1454, + "end": 1455, + "loc": { + "start": { + "line": 50, + "column": 19 + }, + "end": { + "line": 50, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "complete", + "start": 1456, + "end": 1464, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1464, + "end": 1465, + "loc": { + "start": { + "line": 50, + "column": 29 + }, + "end": { + "line": 50, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1470, + "end": 1492, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1497, + "end": 1501, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1501, + "end": 1502, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 1502, + "end": 1508, + "loc": { + "start": { + "line": 52, + "column": 9 + }, + "end": { + "line": 52, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1509, + "end": 1510, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 1511, + "end": 1516, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1516, + "end": 1517, + "loc": { + "start": { + "line": 52, + "column": 23 + }, + "end": { + "line": 52, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Counter} ", + "start": 1522, + "end": 1544, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1549, + "end": 1553, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1553, + "end": 1554, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancelled", + "start": 1554, + "end": 1564, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1565, + "end": 1566, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancelled", + "start": 1567, + "end": 1576, + "loc": { + "start": { + "line": 54, + "column": 22 + }, + "end": { + "line": 54, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1576, + "end": 1577, + "loc": { + "start": { + "line": 54, + "column": 31 + }, + "end": { + "line": 54, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Timer} ", + "start": 1582, + "end": 1602, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1607, + "end": 1611, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1611, + "end": 1612, + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_timer", + "start": 1612, + "end": 1618, + "loc": { + "start": { + "line": 56, + "column": 9 + }, + "end": { + "line": 56, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1619, + "end": 1620, + "loc": { + "start": { + "line": 56, + "column": 16 + }, + "end": { + "line": 56, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 1621, + "end": 1626, + "loc": { + "start": { + "line": 56, + "column": 18 + }, + "end": { + "line": 56, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1626, + "end": 1627, + "loc": { + "start": { + "line": 56, + "column": 23 + }, + "end": { + "line": 56, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1630, + "end": 1631, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscription} s -\n ", + "start": 1635, + "end": 1676, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 1679, + "end": 1690, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1690, + "end": 1691, + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 1691, + "end": 1692, + "loc": { + "start": { + "line": 62, + "column": 14 + }, + "end": { + "line": 62, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1692, + "end": 1693, + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1694, + "end": 1695, + "loc": { + "start": { + "line": 62, + "column": 17 + }, + "end": { + "line": 62, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscription} ", + "start": 1700, + "end": 1728, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 32 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1733, + "end": 1737, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1737, + "end": 1738, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 1738, + "end": 1751, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1752, + "end": 1753, + "loc": { + "start": { + "line": 64, + "column": 23 + }, + "end": { + "line": 64, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "s", + "start": 1754, + "end": 1755, + "loc": { + "start": { + "line": 64, + "column": 25 + }, + "end": { + "line": 64, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1755, + "end": 1756, + "loc": { + "start": { + "line": 64, + "column": 26 + }, + "end": { + "line": 64, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1761, + "end": 1782, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1787, + "end": 1791, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1791, + "end": 1792, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_start", + "start": 1792, + "end": 1798, + "loc": { + "start": { + "line": 66, + "column": 9 + }, + "end": { + "line": 66, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 66, + "column": 16 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1801, + "end": 1804, + "loc": { + "start": { + "line": 66, + "column": 18 + }, + "end": { + "line": 66, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 1805, + "end": 1809, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1809, + "end": 1810, + "loc": { + "start": { + "line": 66, + "column": 26 + }, + "end": { + "line": 66, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1810, + "end": 1811, + "loc": { + "start": { + "line": 66, + "column": 27 + }, + "end": { + "line": 66, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1811, + "end": 1812, + "loc": { + "start": { + "line": 66, + "column": 28 + }, + "end": { + "line": 66, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 1812, + "end": 1819, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1819, + "end": 1820, + "loc": { + "start": { + "line": 66, + "column": 36 + }, + "end": { + "line": 66, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1820, + "end": 1821, + "loc": { + "start": { + "line": 66, + "column": 37 + }, + "end": { + "line": 66, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1821, + "end": 1822, + "loc": { + "start": { + "line": 66, + "column": 38 + }, + "end": { + "line": 66, + "column": 39 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1828, + "end": 1832, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1832, + "end": 1833, + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 1833, + "end": 1840, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1840, + "end": 1841, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 1841, + "end": 1852, + "loc": { + "start": { + "line": 68, + "column": 17 + }, + "end": { + "line": 68, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1852, + "end": 1853, + "loc": { + "start": { + "line": 68, + "column": 28 + }, + "end": { + "line": 68, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1853, + "end": 1857, + "loc": { + "start": { + "line": 68, + "column": 29 + }, + "end": { + "line": 68, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1857, + "end": 1858, + "loc": { + "start": { + "line": 68, + "column": 33 + }, + "end": { + "line": 68, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1858, + "end": 1859, + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1862, + "end": 1863, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1867, + "end": 1876, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 72, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 1879, + "end": 1885, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1885, + "end": 1886, + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 1886, + "end": 1887, + "loc": { + "start": { + "line": 73, + "column": 9 + }, + "end": { + "line": 73, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1887, + "end": 1888, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1889, + "end": 1890, + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 73, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1895, + "end": 1899, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1899, + "end": 1900, + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_next", + "start": 1900, + "end": 1905, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1905, + "end": 1906, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 1906, + "end": 1909, + "loc": { + "start": { + "line": 74, + "column": 15 + }, + "end": { + "line": 74, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1909, + "end": 1910, + "loc": { + "start": { + "line": 74, + "column": 18 + }, + "end": { + "line": 74, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1910, + "end": 1911, + "loc": { + "start": { + "line": 74, + "column": 19 + }, + "end": { + "line": 74, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1911, + "end": 1912, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1917, + "end": 1921, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1921, + "end": 1922, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 1922, + "end": 1929, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1929, + "end": 1930, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 1930, + "end": 1936, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1936, + "end": 1937, + "loc": { + "start": { + "line": 75, + "column": 23 + }, + "end": { + "line": 75, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 1937, + "end": 1938, + "loc": { + "start": { + "line": 75, + "column": 24 + }, + "end": { + "line": 75, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1938, + "end": 1939, + "loc": { + "start": { + "line": 75, + "column": 25 + }, + "end": { + "line": 75, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1939, + "end": 1940, + "loc": { + "start": { + "line": 75, + "column": 26 + }, + "end": { + "line": 75, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1943, + "end": 1944, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Error} t -\n ", + "start": 1948, + "end": 1981, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 80, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 1984, + "end": 1991, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 81, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1991, + "end": 1992, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 1992, + "end": 1993, + "loc": { + "start": { + "line": 81, + "column": 10 + }, + "end": { + "line": 81, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1993, + "end": 1994, + "loc": { + "start": { + "line": 81, + "column": 11 + }, + "end": { + "line": 81, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1995, + "end": 1996, + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2001, + "end": 2005, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2005, + "end": 2006, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_error", + "start": 2006, + "end": 2012, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2012, + "end": 2013, + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 82, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 2013, + "end": 2016, + "loc": { + "start": { + "line": 82, + "column": 16 + }, + "end": { + "line": 82, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2016, + "end": 2017, + "loc": { + "start": { + "line": 82, + "column": 19 + }, + "end": { + "line": 82, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2017, + "end": 2018, + "loc": { + "start": { + "line": 82, + "column": 20 + }, + "end": { + "line": 82, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2018, + "end": 2019, + "loc": { + "start": { + "line": 82, + "column": 21 + }, + "end": { + "line": 82, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2024, + "end": 2028, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2028, + "end": 2029, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_timer", + "start": 2029, + "end": 2035, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2035, + "end": 2036, + "loc": { + "start": { + "line": 83, + "column": 15 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2036, + "end": 2042, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2042, + "end": 2043, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 23 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2043, + "end": 2046, + "loc": { + "start": { + "line": 83, + "column": 23 + }, + "end": { + "line": 83, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2047, + "end": 2051, + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2051, + "end": 2052, + "loc": { + "start": { + "line": 83, + "column": 31 + }, + "end": { + "line": 83, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2052, + "end": 2053, + "loc": { + "start": { + "line": 83, + "column": 32 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2053, + "end": 2054, + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 83, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 2054, + "end": 2061, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2061, + "end": 2062, + "loc": { + "start": { + "line": 83, + "column": 41 + }, + "end": { + "line": 83, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2062, + "end": 2063, + "loc": { + "start": { + "line": 83, + "column": 42 + }, + "end": { + "line": 83, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2064, + "end": 2065, + "loc": { + "start": { + "line": 83, + "column": 44 + }, + "end": { + "line": 83, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2066, + "end": 2070, + "loc": { + "start": { + "line": 83, + "column": 46 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2070, + "end": 2071, + "loc": { + "start": { + "line": 83, + "column": 50 + }, + "end": { + "line": 83, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_start", + "start": 2071, + "end": 2077, + "loc": { + "start": { + "line": 83, + "column": 51 + }, + "end": { + "line": 83, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2077, + "end": 2078, + "loc": { + "start": { + "line": 83, + "column": 57 + }, + "end": { + "line": 83, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2078, + "end": 2079, + "loc": { + "start": { + "line": 83, + "column": 58 + }, + "end": { + "line": 83, + "column": 59 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2085, + "end": 2089, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2089, + "end": 2090, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 2090, + "end": 2097, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2097, + "end": 2098, + "loc": { + "start": { + "line": 85, + "column": 16 + }, + "end": { + "line": 85, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2098, + "end": 2105, + "loc": { + "start": { + "line": 85, + "column": 17 + }, + "end": { + "line": 85, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2105, + "end": 2106, + "loc": { + "start": { + "line": 85, + "column": 24 + }, + "end": { + "line": 85, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "t", + "start": 2106, + "end": 2107, + "loc": { + "start": { + "line": 85, + "column": 25 + }, + "end": { + "line": 85, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2107, + "end": 2108, + "loc": { + "start": { + "line": 85, + "column": 26 + }, + "end": { + "line": 85, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2108, + "end": 2109, + "loc": { + "start": { + "line": 85, + "column": 27 + }, + "end": { + "line": 85, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2112, + "end": 2113, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2117, + "end": 2126, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2129, + "end": 2139, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2139, + "end": 2140, + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2140, + "end": 2141, + "loc": { + "start": { + "line": 90, + "column": 13 + }, + "end": { + "line": 90, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2142, + "end": 2143, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 90, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2148, + "end": 2152, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_complete", + "start": 2153, + "end": 2162, + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2162, + "end": 2163, + "loc": { + "start": { + "line": 91, + "column": 18 + }, + "end": { + "line": 91, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 2163, + "end": 2166, + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2166, + "end": 2167, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2167, + "end": 2168, + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2168, + "end": 2169, + "loc": { + "start": { + "line": 91, + "column": 24 + }, + "end": { + "line": 91, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2174, + "end": 2178, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2178, + "end": 2179, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_timer", + "start": 2179, + "end": 2185, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2185, + "end": 2186, + "loc": { + "start": { + "line": 92, + "column": 15 + }, + "end": { + "line": 92, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2186, + "end": 2192, + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2192, + "end": 2193, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 23 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2193, + "end": 2196, + "loc": { + "start": { + "line": 92, + "column": 23 + }, + "end": { + "line": 92, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2197, + "end": 2201, + "loc": { + "start": { + "line": 92, + "column": 27 + }, + "end": { + "line": 92, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2201, + "end": 2202, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2202, + "end": 2203, + "loc": { + "start": { + "line": 92, + "column": 32 + }, + "end": { + "line": 92, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2203, + "end": 2204, + "loc": { + "start": { + "line": 92, + "column": 33 + }, + "end": { + "line": 92, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 2204, + "end": 2211, + "loc": { + "start": { + "line": 92, + "column": 34 + }, + "end": { + "line": 92, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2211, + "end": 2212, + "loc": { + "start": { + "line": 92, + "column": 41 + }, + "end": { + "line": 92, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2212, + "end": 2213, + "loc": { + "start": { + "line": 92, + "column": 42 + }, + "end": { + "line": 92, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2214, + "end": 2215, + "loc": { + "start": { + "line": 92, + "column": 44 + }, + "end": { + "line": 92, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2216, + "end": 2220, + "loc": { + "start": { + "line": 92, + "column": 46 + }, + "end": { + "line": 92, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2220, + "end": 2221, + "loc": { + "start": { + "line": 92, + "column": 50 + }, + "end": { + "line": 92, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_start", + "start": 2221, + "end": 2227, + "loc": { + "start": { + "line": 92, + "column": 51 + }, + "end": { + "line": 92, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2227, + "end": 2228, + "loc": { + "start": { + "line": 92, + "column": 57 + }, + "end": { + "line": 92, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2228, + "end": 2229, + "loc": { + "start": { + "line": 92, + "column": 58 + }, + "end": { + "line": 92, + "column": 59 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2234, + "end": 2238, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2238, + "end": 2239, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_source", + "start": 2239, + "end": 2246, + "loc": { + "start": { + "line": 93, + "column": 9 + }, + "end": { + "line": 93, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2246, + "end": 2247, + "loc": { + "start": { + "line": 93, + "column": 16 + }, + "end": { + "line": 93, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2247, + "end": 2257, + "loc": { + "start": { + "line": 93, + "column": 17 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2257, + "end": 2258, + "loc": { + "start": { + "line": 93, + "column": 27 + }, + "end": { + "line": 93, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2258, + "end": 2259, + "loc": { + "start": { + "line": 93, + "column": 28 + }, + "end": { + "line": 93, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2259, + "end": 2260, + "loc": { + "start": { + "line": 93, + "column": 29 + }, + "end": { + "line": 93, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2263, + "end": 2264, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 94, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} n -\n ", + "start": 2268, + "end": 2302, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 98, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 2305, + "end": 2312, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 99, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2312, + "end": 2313, + "loc": { + "start": { + "line": 99, + "column": 9 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2313, + "end": 2314, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2314, + "end": 2315, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2316, + "end": 2317, + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2322, + "end": 2326, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2326, + "end": 2327, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2327, + "end": 2340, + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 22 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2341, + "end": 2343, + "loc": { + "start": { + "line": 100, + "column": 23 + }, + "end": { + "line": 100, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2344, + "end": 2348, + "loc": { + "start": { + "line": 100, + "column": 26 + }, + "end": { + "line": 100, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2348, + "end": 2349, + "loc": { + "start": { + "line": 100, + "column": 30 + }, + "end": { + "line": 100, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2349, + "end": 2362, + "loc": { + "start": { + "line": 100, + "column": 31 + }, + "end": { + "line": 100, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2362, + "end": 2363, + "loc": { + "start": { + "line": 100, + "column": 44 + }, + "end": { + "line": 100, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 2363, + "end": 2370, + "loc": { + "start": { + "line": 100, + "column": 45 + }, + "end": { + "line": 100, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2370, + "end": 2371, + "loc": { + "start": { + "line": 100, + "column": 52 + }, + "end": { + "line": 100, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2371, + "end": 2372, + "loc": { + "start": { + "line": 100, + "column": 53 + }, + "end": { + "line": 100, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2372, + "end": 2373, + "loc": { + "start": { + "line": 100, + "column": 54 + }, + "end": { + "line": 100, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2373, + "end": 2374, + "loc": { + "start": { + "line": 100, + "column": 55 + }, + "end": { + "line": 100, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2377, + "end": 2378, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 101, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2382, + "end": 2391, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 104, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2394, + "end": 2400, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 105, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2400, + "end": 2401, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2401, + "end": 2402, + "loc": { + "start": { + "line": 105, + "column": 9 + }, + "end": { + "line": 105, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2403, + "end": 2404, + "loc": { + "start": { + "line": 105, + "column": 11 + }, + "end": { + "line": 105, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2409, + "end": 2413, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2413, + "end": 2414, + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancelled", + "start": 2414, + "end": 2424, + "loc": { + "start": { + "line": 106, + "column": 9 + }, + "end": { + "line": 106, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2424, + "end": 2425, + "loc": { + "start": { + "line": 106, + "column": 19 + }, + "end": { + "line": 106, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inc", + "start": 2425, + "end": 2428, + "loc": { + "start": { + "line": 106, + "column": 20 + }, + "end": { + "line": 106, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2428, + "end": 2429, + "loc": { + "start": { + "line": 106, + "column": 23 + }, + "end": { + "line": 106, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2429, + "end": 2430, + "loc": { + "start": { + "line": 106, + "column": 24 + }, + "end": { + "line": 106, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2430, + "end": 2431, + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 106, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2436, + "end": 2440, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2440, + "end": 2441, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_timer", + "start": 2441, + "end": 2447, + "loc": { + "start": { + "line": 107, + "column": 9 + }, + "end": { + "line": 107, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2447, + "end": 2448, + "loc": { + "start": { + "line": 107, + "column": 15 + }, + "end": { + "line": 107, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 2448, + "end": 2454, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2454, + "end": 2455, + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 23 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2455, + "end": 2458, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2459, + "end": 2463, + "loc": { + "start": { + "line": 107, + "column": 27 + }, + "end": { + "line": 107, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2463, + "end": 2464, + "loc": { + "start": { + "line": 107, + "column": 31 + }, + "end": { + "line": 107, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2464, + "end": 2465, + "loc": { + "start": { + "line": 107, + "column": 32 + }, + "end": { + "line": 107, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2465, + "end": 2466, + "loc": { + "start": { + "line": 107, + "column": 33 + }, + "end": { + "line": 107, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 2466, + "end": 2473, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2473, + "end": 2474, + "loc": { + "start": { + "line": 107, + "column": 41 + }, + "end": { + "line": 107, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2474, + "end": 2475, + "loc": { + "start": { + "line": 107, + "column": 42 + }, + "end": { + "line": 107, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2476, + "end": 2477, + "loc": { + "start": { + "line": 107, + "column": 44 + }, + "end": { + "line": 107, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2478, + "end": 2482, + "loc": { + "start": { + "line": 107, + "column": 46 + }, + "end": { + "line": 107, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2482, + "end": 2483, + "loc": { + "start": { + "line": 107, + "column": 50 + }, + "end": { + "line": 107, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_start", + "start": 2483, + "end": 2489, + "loc": { + "start": { + "line": 107, + "column": 51 + }, + "end": { + "line": 107, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2489, + "end": 2490, + "loc": { + "start": { + "line": 107, + "column": 57 + }, + "end": { + "line": 107, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2490, + "end": 2491, + "loc": { + "start": { + "line": 107, + "column": 58 + }, + "end": { + "line": 107, + "column": 59 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2496, + "end": 2500, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2500, + "end": 2501, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2501, + "end": 2514, + "loc": { + "start": { + "line": 108, + "column": 9 + }, + "end": { + "line": 108, + "column": 22 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2515, + "end": 2517, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2518, + "end": 2522, + "loc": { + "start": { + "line": 108, + "column": 26 + }, + "end": { + "line": 108, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2522, + "end": 2523, + "loc": { + "start": { + "line": 108, + "column": 30 + }, + "end": { + "line": 108, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2523, + "end": 2536, + "loc": { + "start": { + "line": 108, + "column": 31 + }, + "end": { + "line": 108, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2536, + "end": 2537, + "loc": { + "start": { + "line": 108, + "column": 44 + }, + "end": { + "line": 108, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2537, + "end": 2543, + "loc": { + "start": { + "line": 108, + "column": 45 + }, + "end": { + "line": 108, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2543, + "end": 2544, + "loc": { + "start": { + "line": 108, + "column": 51 + }, + "end": { + "line": 108, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2544, + "end": 2545, + "loc": { + "start": { + "line": 108, + "column": 52 + }, + "end": { + "line": 108, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2545, + "end": 2546, + "loc": { + "start": { + "line": 108, + "column": 53 + }, + "end": { + "line": 108, + "column": 54 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2549, + "end": 2550, + "loc": { + "start": { + "line": 109, + "column": 2 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2551, + "end": 2552, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 110, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2552, + "end": 2552, + "loc": { + "start": { + "line": 110, + "column": 1 + }, + "end": { + "line": 110, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/RawMeterTag.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/RawMeterTag.js.json new file mode 100644 index 0000000..fdba78b --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/RawMeterTag.js.json @@ -0,0 +1,1500 @@ +{ + "type": "File", + "start": 0, + "end": 366, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 366, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExportDefaultDeclaration", + "start": 133, + "end": 366, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 148, + "end": 366, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 154, + "end": 165, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 32 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 166, + "end": 366, + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 239, + "end": 364, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 239, + "end": 250, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 251, + "end": 254, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 17 + }, + "identifierName": "key" + }, + "name": "key" + }, + { + "type": "Identifier", + "start": 256, + "end": 261, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 24 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "body": { + "type": "BlockStatement", + "start": 263, + "end": 364, + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 295, + "end": 310, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 295, + "end": 309, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 295, + "end": 303, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 295, + "end": 299, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 300, + "end": 303, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 12 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 306, + "end": 309, + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 23, + "column": 18 + }, + "identifierName": "key" + }, + "name": "key" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 269, + "end": 290, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 315, + "end": 336, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 341, + "end": 360, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 341, + "end": 359, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 341, + "end": 351, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 341, + "end": 345, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 346, + "end": 351, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 14 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 354, + "end": 359, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 22 + }, + "identifierName": "value" + }, + "name": "value" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 315, + "end": 336, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 25 + } + } + } + ] + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {string} key -\n * @param {string} value -\n ", + "start": 171, + "end": 236, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 20, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 124, + "end": 131, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 124, + "end": 131, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 109, + "end": 122, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 109, + "end": 121, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name RawMeterTag.js\n * @fileoverview A simple counter object.\n *\n * \n *\n * @exports RawMeterTag\n ", + "start": 0, + "end": 107, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 124, + "end": 131, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name RawMeterTag.js\n * @fileoverview A simple counter object.\n *\n * \n *\n * @exports RawMeterTag\n ", + "start": 0, + "end": 107, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 124, + "end": 131, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} key -\n * @param {string} value -\n ", + "start": 171, + "end": 236, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 269, + "end": 290, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 315, + "end": 336, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 25 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name RawMeterTag.js\n * @fileoverview A simple counter object.\n *\n * \n *\n * @exports RawMeterTag\n ", + "start": 0, + "end": 107, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 109, + "end": 121, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 121, + "end": 122, + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 124, + "end": 131, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 133, + "end": 139, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 140, + "end": 147, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 148, + "end": 153, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 154, + "end": 165, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 166, + "end": 167, + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} key -\n * @param {string} value -\n ", + "start": 171, + "end": 236, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 239, + "end": 250, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 250, + "end": 251, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 251, + "end": 254, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 254, + "end": 255, + "loc": { + "start": { + "line": 21, + "column": 17 + }, + "end": { + "line": 21, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 256, + "end": 261, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 261, + "end": 262, + "loc": { + "start": { + "line": 21, + "column": 24 + }, + "end": { + "line": 21, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 263, + "end": 264, + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 269, + "end": 290, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 295, + "end": 299, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 299, + "end": 300, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 300, + "end": 303, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 304, + "end": 305, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 306, + "end": 309, + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 309, + "end": 310, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {string} ", + "start": 315, + "end": 336, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 341, + "end": 345, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 345, + "end": 346, + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 346, + "end": 351, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 352, + "end": 353, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 25, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 354, + "end": 359, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 359, + "end": 360, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 363, + "end": 364, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 365, + "end": 366, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 366, + "end": 366, + "loc": { + "start": { + "line": 27, + "column": 1 + }, + "end": { + "line": 27, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/SimpleMeterRegistry.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/SimpleMeterRegistry.js.json new file mode 100644 index 0000000..9447979 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/SimpleMeterRegistry.js.json @@ -0,0 +1,6447 @@ +{ + "type": "File", + "start": 0, + "end": 1638, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 70, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1638, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 70, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 841, + "end": 891, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 50 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 850, + "end": 864, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 23 + } + }, + "imported": { + "type": "Identifier", + "start": 850, + "end": 864, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 23 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + }, + "local": { + "type": "Identifier", + "start": 850, + "end": 864, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 23 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 872, + "end": 890, + "loc": { + "start": { + "line": 28, + "column": 31 + }, + "end": { + "line": 28, + "column": 49 + } + }, + "extra": { + "rawValue": "./IMeterRegistry", + "raw": "'./IMeterRegistry'" + }, + "value": "./IMeterRegistry" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The default implementation of {@link IMeterRegistry}.\n ", + "start": 893, + "end": 957, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 958, + "end": 1638, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 70, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 973, + "end": 1638, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 70, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 979, + "end": 998, + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 40 + }, + "identifierName": "SimpleMeterRegistry" + }, + "name": "SimpleMeterRegistry", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 999, + "end": 1638, + "loc": { + "start": { + "line": 33, + "column": 41 + }, + "end": { + "line": 70, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 1004, + "end": 1073, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1004, + "end": 1015, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1018, + "end": 1073, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 38, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1050, + "end": 1069, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1050, + "end": 1068, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1050, + "end": 1063, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 1050, + "end": 1054, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1055, + "end": 1063, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 17 + }, + "identifierName": "meterMap" + }, + "name": "meterMap" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 1066, + "end": 1068, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 22 + } + }, + "properties": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Object} ", + "start": 1024, + "end": 1045, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 25 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} meter\n ", + "start": 1077, + "end": 1113, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1116, + "end": 1340, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 55, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1116, + "end": 1129, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 15 + }, + "identifierName": "registerMeter" + }, + "name": "registerMeter", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1130, + "end": 1135, + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 21 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ], + "body": { + "type": "BlockStatement", + "start": 1137, + "end": 1340, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 55, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1143, + "end": 1233, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 48, + "column": 6 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1149, + "end": 1232, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 48, + "column": 5 + } + }, + "id": { + "type": "Identifier", + "start": 1149, + "end": 1151, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 12 + }, + "identifierName": "id" + }, + "name": "id" + }, + "init": { + "type": "ObjectExpression", + "start": 1154, + "end": 1232, + "loc": { + "start": { + "line": 44, + "column": 15 + }, + "end": { + "line": 48, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1162, + "end": 1178, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1162, + "end": 1166, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 10 + }, + "identifierName": "name" + }, + "name": "name" + }, + "value": { + "type": "MemberExpression", + "start": 1168, + "end": 1178, + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1168, + "end": 1173, + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 17 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 1174, + "end": 1178, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 22 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1186, + "end": 1202, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1186, + "end": 1190, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 10 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "value": { + "type": "MemberExpression", + "start": 1192, + "end": 1202, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1192, + "end": 1197, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 17 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 1198, + "end": 1202, + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 22 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1210, + "end": 1226, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1210, + "end": 1214, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 10 + }, + "identifierName": "type" + }, + "name": "type" + }, + "value": { + "type": "MemberExpression", + "start": 1216, + "end": 1226, + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1216, + "end": 1221, + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 17 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 1222, + "end": 1226, + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 22 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 1239, + "end": 1300, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 1243, + "end": 1261, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 26 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1244, + "end": 1261, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 1244, + "end": 1257, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1244, + "end": 1248, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 1249, + "end": 1257, + "loc": { + "start": { + "line": 50, + "column": 14 + }, + "end": { + "line": 50, + "column": 22 + }, + "identifierName": "meterMap" + }, + "name": "meterMap" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1258, + "end": 1260, + "loc": { + "start": { + "line": 50, + "column": 23 + }, + "end": { + "line": 50, + "column": 25 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": true + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1263, + "end": 1300, + "loc": { + "start": { + "line": 50, + "column": 28 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1271, + "end": 1294, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1271, + "end": 1293, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1271, + "end": 1288, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 1271, + "end": 1284, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 1271, + "end": 1275, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1276, + "end": 1284, + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 19 + }, + "identifierName": "meterMap" + }, + "name": "meterMap" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1285, + "end": 1287, + "loc": { + "start": { + "line": 51, + "column": 20 + }, + "end": { + "line": 51, + "column": 22 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": true + }, + "right": { + "type": "ArrayExpression", + "start": 1291, + "end": 1293, + "loc": { + "start": { + "line": 51, + "column": 26 + }, + "end": { + "line": 51, + "column": 28 + } + }, + "elements": [] + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 1306, + "end": 1336, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 34 + } + }, + "expression": { + "type": "CallExpression", + "start": 1306, + "end": 1335, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1306, + "end": 1328, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 1306, + "end": 1323, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 1306, + "end": 1319, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 1306, + "end": 1310, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1311, + "end": 1319, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 17 + }, + "identifierName": "meterMap" + }, + "name": "meterMap" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1320, + "end": 1322, + "loc": { + "start": { + "line": 54, + "column": 18 + }, + "end": { + "line": 54, + "column": 20 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 1324, + "end": 1328, + "loc": { + "start": { + "line": 54, + "column": 22 + }, + "end": { + "line": 54, + "column": 26 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1329, + "end": 1334, + "loc": { + "start": { + "line": 54, + "column": 27 + }, + "end": { + "line": 54, + "column": 32 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} meter\n ", + "start": 1077, + "end": 1113, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter[]} meters\n ", + "start": 1344, + "end": 1383, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 59, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1386, + "end": 1478, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1386, + "end": 1400, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 60, + "column": 16 + }, + "identifierName": "registerMeters" + }, + "name": "registerMeters", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1401, + "end": 1407, + "loc": { + "start": { + "line": 60, + "column": 17 + }, + "end": { + "line": 60, + "column": 23 + }, + "identifierName": "meters" + }, + "name": "meters" + } + ], + "body": { + "type": "BlockStatement", + "start": 1409, + "end": 1478, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1415, + "end": 1474, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 1415, + "end": 1473, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1415, + "end": 1437, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 26 + } + }, + "object": { + "type": "LogicalExpression", + "start": 1416, + "end": 1428, + "loc": { + "start": { + "line": 61, + "column": 5 + }, + "end": { + "line": 61, + "column": 17 + } + }, + "left": { + "type": "Identifier", + "start": 1416, + "end": 1422, + "loc": { + "start": { + "line": 61, + "column": 5 + }, + "end": { + "line": 61, + "column": 11 + }, + "identifierName": "meters" + }, + "name": "meters" + }, + "operator": "||", + "right": { + "type": "ArrayExpression", + "start": 1426, + "end": 1428, + "loc": { + "start": { + "line": 61, + "column": 15 + }, + "end": { + "line": 61, + "column": 17 + } + }, + "elements": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 1415 + } + }, + "property": { + "type": "Identifier", + "start": 1430, + "end": 1437, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 26 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1438, + "end": 1472, + "loc": { + "start": { + "line": 61, + "column": 27 + }, + "end": { + "line": 61, + "column": 61 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1438, + "end": 1443, + "loc": { + "start": { + "line": 61, + "column": 27 + }, + "end": { + "line": 61, + "column": 32 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ], + "body": { + "type": "CallExpression", + "start": 1447, + "end": 1472, + "loc": { + "start": { + "line": 61, + "column": 36 + }, + "end": { + "line": 61, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1447, + "end": 1465, + "loc": { + "start": { + "line": 61, + "column": 36 + }, + "end": { + "line": 61, + "column": 54 + } + }, + "object": { + "type": "ThisExpression", + "start": 1447, + "end": 1451, + "loc": { + "start": { + "line": 61, + "column": 36 + }, + "end": { + "line": 61, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "start": 1452, + "end": 1465, + "loc": { + "start": { + "line": 61, + "column": 41 + }, + "end": { + "line": 61, + "column": 54 + }, + "identifierName": "registerMeter" + }, + "name": "registerMeter" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1466, + "end": 1471, + "loc": { + "start": { + "line": 61, + "column": 55 + }, + "end": { + "line": 61, + "column": 60 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter[]} meters\n ", + "start": 1344, + "end": 1383, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 59, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {IMeter[]}\n ", + "start": 1482, + "end": 1515, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1518, + "end": 1636, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1518, + "end": 1524, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 8 + }, + "identifierName": "meters" + }, + "name": "meters", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1527, + "end": 1636, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1533, + "end": 1632, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 103 + } + }, + "argument": { + "type": "CallExpression", + "start": 1540, + "end": 1631, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 102 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1540, + "end": 1568, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 1540, + "end": 1562, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 1540, + "end": 1555, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 1540, + "end": 1545, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 16 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 1546, + "end": 1555, + "loc": { + "start": { + "line": 68, + "column": 17 + }, + "end": { + "line": 68, + "column": 26 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1556, + "end": 1562, + "loc": { + "start": { + "line": 68, + "column": 27 + }, + "end": { + "line": 68, + "column": 33 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1563, + "end": 1568, + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 39 + }, + "identifierName": "apply" + }, + "name": "apply" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 1569, + "end": 1571, + "loc": { + "start": { + "line": 68, + "column": 40 + }, + "end": { + "line": 68, + "column": 42 + } + }, + "elements": [] + }, + { + "type": "CallExpression", + "start": 1573, + "end": 1630, + "loc": { + "start": { + "line": 68, + "column": 44 + }, + "end": { + "line": 68, + "column": 101 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1573, + "end": 1603, + "loc": { + "start": { + "line": 68, + "column": 44 + }, + "end": { + "line": 68, + "column": 74 + } + }, + "object": { + "type": "CallExpression", + "start": 1573, + "end": 1599, + "loc": { + "start": { + "line": 68, + "column": 44 + }, + "end": { + "line": 68, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1573, + "end": 1584, + "loc": { + "start": { + "line": 68, + "column": 44 + }, + "end": { + "line": 68, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 1573, + "end": 1579, + "loc": { + "start": { + "line": 68, + "column": 44 + }, + "end": { + "line": 68, + "column": 50 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 1580, + "end": 1584, + "loc": { + "start": { + "line": 68, + "column": 51 + }, + "end": { + "line": 68, + "column": 55 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1585, + "end": 1598, + "loc": { + "start": { + "line": 68, + "column": 56 + }, + "end": { + "line": 68, + "column": 69 + } + }, + "object": { + "type": "ThisExpression", + "start": 1585, + "end": 1589, + "loc": { + "start": { + "line": 68, + "column": 56 + }, + "end": { + "line": 68, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "start": 1590, + "end": 1598, + "loc": { + "start": { + "line": 68, + "column": 61 + }, + "end": { + "line": 68, + "column": 69 + }, + "identifierName": "meterMap" + }, + "name": "meterMap" + }, + "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 1600, + "end": 1603, + "loc": { + "start": { + "line": 68, + "column": 71 + }, + "end": { + "line": 68, + "column": 74 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1604, + "end": 1629, + "loc": { + "start": { + "line": 68, + "column": 75 + }, + "end": { + "line": 68, + "column": 100 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1604, + "end": 1607, + "loc": { + "start": { + "line": 68, + "column": 75 + }, + "end": { + "line": 68, + "column": 78 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "MemberExpression", + "start": 1611, + "end": 1629, + "loc": { + "start": { + "line": 68, + "column": 82 + }, + "end": { + "line": 68, + "column": 100 + } + }, + "object": { + "type": "MemberExpression", + "start": 1611, + "end": 1624, + "loc": { + "start": { + "line": 68, + "column": 82 + }, + "end": { + "line": 68, + "column": 95 + } + }, + "object": { + "type": "ThisExpression", + "start": 1611, + "end": 1615, + "loc": { + "start": { + "line": 68, + "column": 82 + }, + "end": { + "line": 68, + "column": 86 + } + } + }, + "property": { + "type": "Identifier", + "start": 1616, + "end": 1624, + "loc": { + "start": { + "line": 68, + "column": 87 + }, + "end": { + "line": 68, + "column": 95 + }, + "identifierName": "meterMap" + }, + "name": "meterMap" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1625, + "end": 1628, + "loc": { + "start": { + "line": 68, + "column": 96 + }, + "end": { + "line": 68, + "column": 99 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {IMeter[]}\n ", + "start": 1482, + "end": 1515, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The default implementation of {@link IMeterRegistry}.\n ", + "start": 893, + "end": 957, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The default implementation of {@link IMeterRegistry}.\n ", + "start": 893, + "end": 957, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 826, + "end": 839, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 826, + "end": 838, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name SimpleMeterRegistry.js\n * @fileoverview Defines the \"SimpleMeterRegistry\" class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires IMeter\n * @requires IMeterRegistry\n * @exports SimpleMeterRegistry\n ", + "start": 0, + "end": 824, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name SimpleMeterRegistry.js\n * @fileoverview Defines the \"SimpleMeterRegistry\" class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires IMeter\n * @requires IMeterRegistry\n * @exports SimpleMeterRegistry\n ", + "start": 0, + "end": 824, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The default implementation of {@link IMeterRegistry}.\n ", + "start": 893, + "end": 957, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Object} ", + "start": 1024, + "end": 1045, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} meter\n ", + "start": 1077, + "end": 1113, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter[]} meters\n ", + "start": 1344, + "end": 1383, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 59, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {IMeter[]}\n ", + "start": 1482, + "end": 1515, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name SimpleMeterRegistry.js\n * @fileoverview Defines the \"SimpleMeterRegistry\" class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires IMeter\n * @requires IMeterRegistry\n * @exports SimpleMeterRegistry\n ", + "start": 0, + "end": 824, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 826, + "end": 838, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 838, + "end": 839, + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 841, + "end": 847, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 848, + "end": 849, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IMeterRegistry", + "start": 850, + "end": 864, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 867, + "end": 871, + "loc": { + "start": { + "line": 28, + "column": 26 + }, + "end": { + "line": 28, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./IMeterRegistry", + "start": 872, + "end": 890, + "loc": { + "start": { + "line": 28, + "column": 31 + }, + "end": { + "line": 28, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 890, + "end": 891, + "loc": { + "start": { + "line": 28, + "column": 49 + }, + "end": { + "line": 28, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The default implementation of {@link IMeterRegistry}.\n ", + "start": 893, + "end": 957, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 958, + "end": 964, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 965, + "end": 972, + "loc": { + "start": { + "line": 33, + "column": 7 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 973, + "end": 978, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SimpleMeterRegistry", + "start": 979, + "end": 998, + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 999, + "end": 1000, + "loc": { + "start": { + "line": 33, + "column": 41 + }, + "end": { + "line": 33, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 1004, + "end": 1015, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1015, + "end": 1016, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1016, + "end": 1017, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1018, + "end": 1019, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Object} ", + "start": 1024, + "end": 1045, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1050, + "end": 1054, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1054, + "end": 1055, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterMap", + "start": 1055, + "end": 1063, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1064, + "end": 1065, + "loc": { + "start": { + "line": 37, + "column": 18 + }, + "end": { + "line": 37, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1066, + "end": 1067, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1067, + "end": 1068, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1068, + "end": 1069, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1072, + "end": 1073, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter} meter\n ", + "start": 1077, + "end": 1113, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registerMeter", + "start": 1116, + "end": 1129, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1129, + "end": 1130, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 43, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 1130, + "end": 1135, + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1135, + "end": 1136, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1137, + "end": 1138, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 24 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1143, + "end": 1148, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1149, + "end": 1151, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1152, + "end": 1153, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1154, + "end": 1155, + "loc": { + "start": { + "line": 44, + "column": 15 + }, + "end": { + "line": 44, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1162, + "end": 1166, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1166, + "end": 1167, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 1168, + "end": 1173, + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1173, + "end": 1174, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1174, + "end": 1178, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1178, + "end": 1179, + "loc": { + "start": { + "line": 45, + "column": 22 + }, + "end": { + "line": 45, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1186, + "end": 1190, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1190, + "end": 1191, + "loc": { + "start": { + "line": 46, + "column": 10 + }, + "end": { + "line": 46, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 1192, + "end": 1197, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1197, + "end": 1198, + "loc": { + "start": { + "line": 46, + "column": 17 + }, + "end": { + "line": 46, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1198, + "end": 1202, + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1202, + "end": 1203, + "loc": { + "start": { + "line": 46, + "column": 22 + }, + "end": { + "line": 46, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 1210, + "end": 1214, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1214, + "end": 1215, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 1216, + "end": 1221, + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1221, + "end": 1222, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 1222, + "end": 1226, + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1231, + "end": 1232, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1232, + "end": 1233, + "loc": { + "start": { + "line": 48, + "column": 5 + }, + "end": { + "line": 48, + "column": 6 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1239, + "end": 1241, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1242, + "end": 1243, + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1243, + "end": 1244, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1244, + "end": 1248, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1248, + "end": 1249, + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterMap", + "start": 1249, + "end": 1257, + "loc": { + "start": { + "line": 50, + "column": 14 + }, + "end": { + "line": 50, + "column": 22 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1257, + "end": 1258, + "loc": { + "start": { + "line": 50, + "column": 22 + }, + "end": { + "line": 50, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1258, + "end": 1260, + "loc": { + "start": { + "line": 50, + "column": 23 + }, + "end": { + "line": 50, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1260, + "end": 1261, + "loc": { + "start": { + "line": 50, + "column": 25 + }, + "end": { + "line": 50, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1261, + "end": 1262, + "loc": { + "start": { + "line": 50, + "column": 26 + }, + "end": { + "line": 50, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1263, + "end": 1264, + "loc": { + "start": { + "line": 50, + "column": 28 + }, + "end": { + "line": 50, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1271, + "end": 1275, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1275, + "end": 1276, + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 51, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterMap", + "start": 1276, + "end": 1284, + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1284, + "end": 1285, + "loc": { + "start": { + "line": 51, + "column": 19 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1285, + "end": 1287, + "loc": { + "start": { + "line": 51, + "column": 20 + }, + "end": { + "line": 51, + "column": 22 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1287, + "end": 1288, + "loc": { + "start": { + "line": 51, + "column": 22 + }, + "end": { + "line": 51, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1289, + "end": 1290, + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1291, + "end": 1292, + "loc": { + "start": { + "line": 51, + "column": 26 + }, + "end": { + "line": 51, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1292, + "end": 1293, + "loc": { + "start": { + "line": 51, + "column": 27 + }, + "end": { + "line": 51, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1293, + "end": 1294, + "loc": { + "start": { + "line": 51, + "column": 28 + }, + "end": { + "line": 51, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1299, + "end": 1300, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1306, + "end": 1310, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1310, + "end": 1311, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterMap", + "start": 1311, + "end": 1319, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 17 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1319, + "end": 1320, + "loc": { + "start": { + "line": 54, + "column": 17 + }, + "end": { + "line": 54, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1320, + "end": 1322, + "loc": { + "start": { + "line": 54, + "column": 18 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1322, + "end": 1323, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1323, + "end": 1324, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 1324, + "end": 1328, + "loc": { + "start": { + "line": 54, + "column": 22 + }, + "end": { + "line": 54, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1328, + "end": 1329, + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 54, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 1329, + "end": 1334, + "loc": { + "start": { + "line": 54, + "column": 27 + }, + "end": { + "line": 54, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1334, + "end": 1335, + "loc": { + "start": { + "line": 54, + "column": 32 + }, + "end": { + "line": 54, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1335, + "end": 1336, + "loc": { + "start": { + "line": 54, + "column": 33 + }, + "end": { + "line": 54, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1339, + "end": 1340, + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IMeter[]} meters\n ", + "start": 1344, + "end": 1383, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 59, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registerMeters", + "start": 1386, + "end": 1400, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 60, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1400, + "end": 1401, + "loc": { + "start": { + "line": 60, + "column": 16 + }, + "end": { + "line": 60, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 1401, + "end": 1407, + "loc": { + "start": { + "line": 60, + "column": 17 + }, + "end": { + "line": 60, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1407, + "end": 1408, + "loc": { + "start": { + "line": 60, + "column": 23 + }, + "end": { + "line": 60, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1409, + "end": 1410, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 60, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1415, + "end": 1416, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 1416, + "end": 1422, + "loc": { + "start": { + "line": 61, + "column": 5 + }, + "end": { + "line": 61, + "column": 11 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1423, + "end": 1425, + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 14 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1426, + "end": 1427, + "loc": { + "start": { + "line": 61, + "column": 15 + }, + "end": { + "line": 61, + "column": 16 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1427, + "end": 1428, + "loc": { + "start": { + "line": 61, + "column": 16 + }, + "end": { + "line": 61, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1428, + "end": 1429, + "loc": { + "start": { + "line": 61, + "column": 17 + }, + "end": { + "line": 61, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1429, + "end": 1430, + "loc": { + "start": { + "line": 61, + "column": 18 + }, + "end": { + "line": 61, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 1430, + "end": 1437, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1437, + "end": 1438, + "loc": { + "start": { + "line": 61, + "column": 26 + }, + "end": { + "line": 61, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 1438, + "end": 1443, + "loc": { + "start": { + "line": 61, + "column": 27 + }, + "end": { + "line": 61, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1444, + "end": 1446, + "loc": { + "start": { + "line": 61, + "column": 33 + }, + "end": { + "line": 61, + "column": 35 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1447, + "end": 1451, + "loc": { + "start": { + "line": 61, + "column": 36 + }, + "end": { + "line": 61, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 61, + "column": 40 + }, + "end": { + "line": 61, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registerMeter", + "start": 1452, + "end": 1465, + "loc": { + "start": { + "line": 61, + "column": 41 + }, + "end": { + "line": 61, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1465, + "end": 1466, + "loc": { + "start": { + "line": 61, + "column": 54 + }, + "end": { + "line": 61, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 1466, + "end": 1471, + "loc": { + "start": { + "line": 61, + "column": 55 + }, + "end": { + "line": 61, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1471, + "end": 1472, + "loc": { + "start": { + "line": 61, + "column": 60 + }, + "end": { + "line": 61, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1472, + "end": 1473, + "loc": { + "start": { + "line": 61, + "column": 61 + }, + "end": { + "line": 61, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1473, + "end": 1474, + "loc": { + "start": { + "line": 61, + "column": 62 + }, + "end": { + "line": 61, + "column": 63 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1477, + "end": 1478, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {IMeter[]}\n ", + "start": 1482, + "end": 1515, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meters", + "start": 1518, + "end": 1524, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1524, + "end": 1525, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1525, + "end": 1526, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1527, + "end": 1528, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1533, + "end": 1539, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 1540, + "end": 1545, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1545, + "end": 1546, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prototype", + "start": 1546, + "end": 1555, + "loc": { + "start": { + "line": 68, + "column": 17 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1555, + "end": 1556, + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "concat", + "start": 1556, + "end": 1562, + "loc": { + "start": { + "line": 68, + "column": 27 + }, + "end": { + "line": 68, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1562, + "end": 1563, + "loc": { + "start": { + "line": 68, + "column": 33 + }, + "end": { + "line": 68, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "apply", + "start": 1563, + "end": 1568, + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1568, + "end": 1569, + "loc": { + "start": { + "line": 68, + "column": 39 + }, + "end": { + "line": 68, + "column": 40 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1569, + "end": 1570, + "loc": { + "start": { + "line": 68, + "column": 40 + }, + "end": { + "line": 68, + "column": 41 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1570, + "end": 1571, + "loc": { + "start": { + "line": 68, + "column": 41 + }, + "end": { + "line": 68, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1571, + "end": 1572, + "loc": { + "start": { + "line": 68, + "column": 42 + }, + "end": { + "line": 68, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 1573, + "end": 1579, + "loc": { + "start": { + "line": 68, + "column": 44 + }, + "end": { + "line": 68, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1579, + "end": 1580, + "loc": { + "start": { + "line": 68, + "column": 50 + }, + "end": { + "line": 68, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 1580, + "end": 1584, + "loc": { + "start": { + "line": 68, + "column": 51 + }, + "end": { + "line": 68, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1584, + "end": 1585, + "loc": { + "start": { + "line": 68, + "column": 55 + }, + "end": { + "line": 68, + "column": 56 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1585, + "end": 1589, + "loc": { + "start": { + "line": 68, + "column": 56 + }, + "end": { + "line": 68, + "column": 60 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1589, + "end": 1590, + "loc": { + "start": { + "line": 68, + "column": 60 + }, + "end": { + "line": 68, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterMap", + "start": 1590, + "end": 1598, + "loc": { + "start": { + "line": 68, + "column": 61 + }, + "end": { + "line": 68, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1598, + "end": 1599, + "loc": { + "start": { + "line": 68, + "column": 69 + }, + "end": { + "line": 68, + "column": 70 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1599, + "end": 1600, + "loc": { + "start": { + "line": 68, + "column": 70 + }, + "end": { + "line": 68, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 1600, + "end": 1603, + "loc": { + "start": { + "line": 68, + "column": 71 + }, + "end": { + "line": 68, + "column": 74 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1603, + "end": 1604, + "loc": { + "start": { + "line": 68, + "column": 74 + }, + "end": { + "line": 68, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1604, + "end": 1607, + "loc": { + "start": { + "line": 68, + "column": 75 + }, + "end": { + "line": 68, + "column": 78 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1608, + "end": 1610, + "loc": { + "start": { + "line": 68, + "column": 79 + }, + "end": { + "line": 68, + "column": 81 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1611, + "end": 1615, + "loc": { + "start": { + "line": 68, + "column": 82 + }, + "end": { + "line": 68, + "column": 86 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1615, + "end": 1616, + "loc": { + "start": { + "line": 68, + "column": 86 + }, + "end": { + "line": 68, + "column": 87 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meterMap", + "start": 1616, + "end": 1624, + "loc": { + "start": { + "line": 68, + "column": 87 + }, + "end": { + "line": 68, + "column": 95 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1624, + "end": 1625, + "loc": { + "start": { + "line": 68, + "column": 95 + }, + "end": { + "line": 68, + "column": 96 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1625, + "end": 1628, + "loc": { + "start": { + "line": 68, + "column": 96 + }, + "end": { + "line": 68, + "column": 99 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1628, + "end": 1629, + "loc": { + "start": { + "line": 68, + "column": 99 + }, + "end": { + "line": 68, + "column": 100 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1629, + "end": 1630, + "loc": { + "start": { + "line": 68, + "column": 100 + }, + "end": { + "line": 68, + "column": 101 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1630, + "end": 1631, + "loc": { + "start": { + "line": 68, + "column": 101 + }, + "end": { + "line": 68, + "column": 102 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1631, + "end": 1632, + "loc": { + "start": { + "line": 68, + "column": 102 + }, + "end": { + "line": 68, + "column": 103 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1635, + "end": 1636, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1637, + "end": 1638, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 70, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1638, + "end": 1638, + "loc": { + "start": { + "line": 70, + "column": 1 + }, + "end": { + "line": 70, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/Timer.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/Timer.js.json new file mode 100644 index 0000000..45c414f --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/Timer.js.json @@ -0,0 +1,11097 @@ +{ + "type": "File", + "start": 0, + "end": 2470, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 108, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2470, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 108, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 204, + "end": 240, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 36 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 211, + "end": 220, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 211, + "end": 220, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 16 + }, + "identifierName": "BaseMeter" + }, + "name": "BaseMeter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 226, + "end": 239, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 35 + } + }, + "extra": { + "rawValue": "./BaseMeter", + "raw": "'./BaseMeter'" + }, + "value": "./BaseMeter" + } + }, + { + "type": "ImportDeclaration", + "start": 241, + "end": 281, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 248, + "end": 259, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 248, + "end": 259, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 18 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 265, + "end": 280, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 39 + } + }, + "extra": { + "rawValue": "./RawMeterTag", + "raw": "'./RawMeterTag'" + }, + "value": "./RawMeterTag" + } + }, + { + "type": "ImportDeclaration", + "start": 282, + "end": 322, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 291, + "end": 300, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 18 + } + }, + "imported": { + "type": "Identifier", + "start": 291, + "end": 300, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 18 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "local": { + "type": "Identifier", + "start": 291, + "end": 300, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 18 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 308, + "end": 321, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 39 + } + }, + "extra": { + "rawValue": "./Histogram", + "raw": "'./Histogram'" + }, + "value": "./Histogram" + } + }, + { + "type": "ImportDeclaration", + "start": 323, + "end": 377, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 54 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 332, + "end": 359, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 36 + } + }, + "imported": { + "type": "Identifier", + "start": 332, + "end": 359, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 36 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "local": { + "type": "Identifier", + "start": 332, + "end": 359, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 36 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 367, + "end": 376, + "loc": { + "start": { + "line": 19, + "column": 44 + }, + "end": { + "line": 19, + "column": 53 + } + }, + "extra": { + "rawValue": "./stats", + "raw": "'./stats'" + }, + "value": "./stats" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Basically a timer that tracks the rate of events and histograms the durations.\n * @extends {BaseMeter}\n ", + "start": 379, + "end": 492, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 493, + "end": 2470, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 108, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 508, + "end": 2470, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 108, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 514, + "end": 519, + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 26 + }, + "identifierName": "Timer" + }, + "name": "Timer", + "leadingComments": null + }, + "superClass": { + "type": "Identifier", + "start": 528, + "end": 537, + "loc": { + "start": { + "line": 25, + "column": 35 + }, + "end": { + "line": 25, + "column": 44 + }, + "identifierName": "BaseMeter" + }, + "name": "BaseMeter" + }, + "body": { + "type": "ClassBody", + "start": 538, + "end": 2470, + "loc": { + "start": { + "line": 25, + "column": 45 + }, + "end": { + "line": 108, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 681, + "end": 946, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 681, + "end": 692, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 693, + "end": 697, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 18 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 699, + "end": 710, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 31 + }, + "identifierName": "description" + }, + "name": "description" + }, + { + "type": "Identifier", + "start": 712, + "end": 716, + "loc": { + "start": { + "line": 32, + "column": 33 + }, + "end": { + "line": 32, + "column": 37 + }, + "identifierName": "tags" + }, + "name": "tags" + } + ], + "body": { + "type": "BlockStatement", + "start": 718, + "end": 946, + "loc": { + "start": { + "line": 32, + "column": 39 + }, + "end": { + "line": 39, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 724, + "end": 755, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 724, + "end": 754, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 34 + } + }, + "callee": { + "type": "Super", + "start": 724, + "end": 729, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 9 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "start": 730, + "end": 734, + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 14 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 736, + "end": 747, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 27 + }, + "identifierName": "description" + }, + "name": "description" + }, + { + "type": "Identifier", + "start": 749, + "end": 753, + "loc": { + "start": { + "line": 33, + "column": 29 + }, + "end": { + "line": 33, + "column": 33 + }, + "identifierName": "tags" + }, + "name": "tags" + } + ] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Histogram} ", + "start": 760, + "end": 784, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 28 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 789, + "end": 866, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 81 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 789, + "end": 865, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 80 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 789, + "end": 803, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 789, + "end": 793, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 794, + "end": 803, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 18 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NewExpression", + "start": 806, + "end": 865, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 80 + } + }, + "callee": { + "type": "Identifier", + "start": 810, + "end": 819, + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 34 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "arguments": [ + { + "type": "NewExpression", + "start": 820, + "end": 864, + "loc": { + "start": { + "line": 35, + "column": 35 + }, + "end": { + "line": 35, + "column": 79 + } + }, + "callee": { + "type": "Identifier", + "start": 824, + "end": 851, + "loc": { + "start": { + "line": 35, + "column": 39 + }, + "end": { + "line": 35, + "column": 66 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 852, + "end": 856, + "loc": { + "start": { + "line": 35, + "column": 67 + }, + "end": { + "line": 35, + "column": 71 + } + }, + "extra": { + "rawValue": 1028, + "raw": "1028" + }, + "value": 1028 + }, + { + "type": "NumericLiteral", + "start": 858, + "end": 863, + "loc": { + "start": { + "line": 35, + "column": 73 + }, + "end": { + "line": 35, + "column": 78 + } + }, + "extra": { + "rawValue": 0.015, + "raw": "0.015" + }, + "value": 0.015 + } + ] + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Histogram} ", + "start": 760, + "end": 784, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 28 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 871, + "end": 884, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 871, + "end": 883, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 871, + "end": 881, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 871, + "end": 875, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 876, + "end": 881, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 14 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 889, + "end": 909, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 889, + "end": 908, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 889, + "end": 898, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 889, + "end": 893, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 894, + "end": 898, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 13 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 901, + "end": 908, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 23 + } + }, + "extra": { + "rawValue": "timer", + "raw": "'timer'" + }, + "value": "timer" + } + } + }, + { + "type": "ExpressionStatement", + "start": 914, + "end": 942, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 914, + "end": 941, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 914, + "end": 928, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 914, + "end": 918, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 919, + "end": 928, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 18 + }, + "identifierName": "statistic" + }, + "name": "statistic" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 931, + "end": 941, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 31 + } + }, + "extra": { + "rawValue": "duration", + "raw": "'duration'" + }, + "value": "duration" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {string} name -\n * @param {?string} [description] - (optional)\n * @param {?RawMeterTag[]} [tags] - (optional)\n ", + "start": 543, + "end": 678, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 950, + "end": 959, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 962, + "end": 1038, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 962, + "end": 968, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 8 + }, + "identifierName": "update" + }, + "name": "update", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 969, + "end": 977, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 17 + }, + "identifierName": "duration" + }, + "name": "duration" + } + ], + "body": { + "type": "BlockStatement", + "start": 979, + "end": 1038, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 985, + "end": 1017, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 985, + "end": 1016, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 985, + "end": 1006, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 985, + "end": 999, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 985, + "end": 989, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 990, + "end": 999, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 18 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1000, + "end": 1006, + "loc": { + "start": { + "line": 44, + "column": 19 + }, + "end": { + "line": 44, + "column": 25 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1007, + "end": 1015, + "loc": { + "start": { + "line": 44, + "column": 26 + }, + "end": { + "line": 44, + "column": 34 + }, + "identifierName": "duration" + }, + "name": "duration" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1022, + "end": 1034, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 16 + } + }, + "expression": { + "type": "CallExpression", + "start": 1022, + "end": 1033, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1022, + "end": 1031, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1022, + "end": 1026, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1027, + "end": 1031, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 13 + }, + "identifierName": "mark" + }, + "name": "mark" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 950, + "end": 959, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " delegate these to histogram", + "start": 1042, + "end": 1072, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#clear}\n * @return {void} ", + "start": 1075, + "end": 1138, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 50, + "column": 22 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1141, + "end": 1189, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 53, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1141, + "end": 1146, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 7 + }, + "identifierName": "clear" + }, + "name": "clear", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1149, + "end": 1189, + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 53, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1155, + "end": 1185, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 34 + } + }, + "argument": { + "type": "CallExpression", + "start": 1162, + "end": 1184, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1162, + "end": 1182, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 31 + } + }, + "object": { + "type": "MemberExpression", + "start": 1162, + "end": 1176, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 1162, + "end": 1166, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1167, + "end": 1176, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 25 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1177, + "end": 1182, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 31 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " delegate these to histogram", + "start": 1042, + "end": 1072, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#clear}\n * @return {void} ", + "start": 1075, + "end": 1138, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 50, + "column": 22 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#totalCount}\n * @return {?number} ", + "start": 1192, + "end": 1263, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 55, + "column": 25 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1266, + "end": 1317, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 58, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1266, + "end": 1276, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 12 + }, + "identifierName": "totalCount" + }, + "name": "totalCount", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1279, + "end": 1317, + "loc": { + "start": { + "line": 56, + "column": 15 + }, + "end": { + "line": 58, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1285, + "end": 1313, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 32 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1292, + "end": 1312, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 31 + } + }, + "object": { + "type": "MemberExpression", + "start": 1292, + "end": 1306, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 1292, + "end": 1296, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1297, + "end": 1306, + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 25 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1307, + "end": 1312, + "loc": { + "start": { + "line": 57, + "column": 26 + }, + "end": { + "line": 57, + "column": 31 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#totalCount}\n * @return {?number} ", + "start": 1192, + "end": 1263, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 55, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#min}\n * @return {?number} ", + "start": 1320, + "end": 1384, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 60, + "column": 25 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1387, + "end": 1429, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1387, + "end": 1390, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + }, + "identifierName": "min" + }, + "name": "min", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1393, + "end": 1429, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1399, + "end": 1425, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 30 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1406, + "end": 1424, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 1406, + "end": 1420, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 1406, + "end": 1410, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1411, + "end": 1420, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 25 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1421, + "end": 1424, + "loc": { + "start": { + "line": 62, + "column": 26 + }, + "end": { + "line": 62, + "column": 29 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#min}\n * @return {?number} ", + "start": 1320, + "end": 1384, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 60, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#max}\n * @return {?number} ", + "start": 1432, + "end": 1496, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 65, + "column": 25 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1499, + "end": 1541, + "loc": { + "start": { + "line": 66, + "column": 2 + }, + "end": { + "line": 68, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1499, + "end": 1502, + "loc": { + "start": { + "line": 66, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + }, + "identifierName": "max" + }, + "name": "max", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1505, + "end": 1541, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 68, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1511, + "end": 1537, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 30 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1518, + "end": 1536, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 1518, + "end": 1532, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 1518, + "end": 1522, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1523, + "end": 1532, + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 25 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1533, + "end": 1536, + "loc": { + "start": { + "line": 67, + "column": 26 + }, + "end": { + "line": 67, + "column": 29 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#max}\n * @return {?number} ", + "start": 1432, + "end": 1496, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 65, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#mean}\n * @return {?number} ", + "start": 1544, + "end": 1609, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 70, + "column": 25 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1612, + "end": 1658, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1612, + "end": 1616, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 71, + "column": 6 + }, + "identifierName": "mean" + }, + "name": "mean", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1619, + "end": 1658, + "loc": { + "start": { + "line": 71, + "column": 9 + }, + "end": { + "line": 73, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1625, + "end": 1654, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 33 + } + }, + "argument": { + "type": "CallExpression", + "start": 1632, + "end": 1653, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1632, + "end": 1651, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 1632, + "end": 1646, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 1632, + "end": 1636, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1637, + "end": 1646, + "loc": { + "start": { + "line": 72, + "column": 16 + }, + "end": { + "line": 72, + "column": 25 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1647, + "end": 1651, + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 30 + }, + "identifierName": "mean" + }, + "name": "mean" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#mean}\n * @return {?number} ", + "start": 1544, + "end": 1609, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 70, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#stdDev}\n * @return {?number} ", + "start": 1661, + "end": 1728, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 75, + "column": 25 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1731, + "end": 1781, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 78, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1731, + "end": 1737, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 8 + }, + "identifierName": "stdDev" + }, + "name": "stdDev", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1740, + "end": 1781, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 78, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1746, + "end": 1777, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 1753, + "end": 1776, + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1753, + "end": 1774, + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 1753, + "end": 1767, + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 1753, + "end": 1757, + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1758, + "end": 1767, + "loc": { + "start": { + "line": 77, + "column": 16 + }, + "end": { + "line": 77, + "column": 25 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1768, + "end": 1774, + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 32 + }, + "identifierName": "stdDev" + }, + "name": "stdDev" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#stdDev}\n * @return {?number} ", + "start": 1661, + "end": 1728, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 75, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#percentiles}\n * @param {?number[]} percentiles\n * @return {number[]} ", + "start": 1784, + "end": 1893, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 81, + "column": 26 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1896, + "end": 1978, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1896, + "end": 1907, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 13 + }, + "identifierName": "percentiles" + }, + "name": "percentiles", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1908, + "end": 1919, + "loc": { + "start": { + "line": 82, + "column": 14 + }, + "end": { + "line": 82, + "column": 25 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + } + ], + "body": { + "type": "BlockStatement", + "start": 1921, + "end": 1978, + "loc": { + "start": { + "line": 82, + "column": 27 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1927, + "end": 1974, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 51 + } + }, + "argument": { + "type": "CallExpression", + "start": 1934, + "end": 1973, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1934, + "end": 1960, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 1934, + "end": 1948, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 1934, + "end": 1938, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1939, + "end": 1948, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 25 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1949, + "end": 1960, + "loc": { + "start": { + "line": 83, + "column": 26 + }, + "end": { + "line": 83, + "column": 37 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1961, + "end": 1972, + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 49 + }, + "identifierName": "percentiles" + }, + "name": "percentiles" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#percentiles}\n * @param {?number[]} percentiles\n * @return {number[]} ", + "start": 1784, + "end": 1893, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 81, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#values}\n * @returnn {any[]} ", + "start": 1981, + "end": 2047, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 86, + "column": 24 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2050, + "end": 2100, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 89, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2050, + "end": 2056, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 87, + "column": 8 + }, + "identifierName": "values" + }, + "name": "values", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2059, + "end": 2100, + "loc": { + "start": { + "line": 87, + "column": 11 + }, + "end": { + "line": 89, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2065, + "end": 2096, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 2072, + "end": 2095, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2072, + "end": 2093, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 2072, + "end": 2086, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 2072, + "end": 2076, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2077, + "end": 2086, + "loc": { + "start": { + "line": 88, + "column": 16 + }, + "end": { + "line": 88, + "column": 25 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2087, + "end": 2093, + "loc": { + "start": { + "line": 88, + "column": 26 + }, + "end": { + "line": 88, + "column": 32 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#values}\n * @returnn {any[]} ", + "start": 1981, + "end": 2047, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 86, + "column": 24 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {Object}\n * @property {string} type\n * @property {Object} duration\n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name\n ", + "start": 2104, + "end": 2293, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 98, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2296, + "end": 2468, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 107, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2296, + "end": 2304, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 99, + "column": 10 + }, + "identifierName": "toObject" + }, + "name": "toObject", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2307, + "end": 2468, + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 107, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2313, + "end": 2464, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 106, + "column": 6 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 2320, + "end": 2463, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 106, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2328, + "end": 2343, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2328, + "end": 2332, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 10 + }, + "identifierName": "type" + }, + "name": "type" + }, + "value": { + "type": "MemberExpression", + "start": 2334, + "end": 2343, + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 2334, + "end": 2338, + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2339, + "end": 2343, + "loc": { + "start": { + "line": 101, + "column": 17 + }, + "end": { + "line": 101, + "column": 21 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2351, + "end": 2386, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 41 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2351, + "end": 2359, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 14 + }, + "identifierName": "duration" + }, + "name": "duration" + }, + "value": { + "type": "CallExpression", + "start": 2361, + "end": 2386, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2361, + "end": 2384, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 2361, + "end": 2375, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2361, + "end": 2365, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 2366, + "end": 2375, + "loc": { + "start": { + "line": 102, + "column": 21 + }, + "end": { + "line": 102, + "column": 30 + }, + "identifierName": "histogram" + }, + "name": "histogram" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2376, + "end": 2384, + "loc": { + "start": { + "line": 102, + "column": 31 + }, + "end": { + "line": 102, + "column": 39 + }, + "identifierName": "toObject" + }, + "name": "toObject" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ObjectProperty", + "start": 2394, + "end": 2411, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2394, + "end": 2399, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 11 + }, + "identifierName": "count" + }, + "name": "count" + }, + "value": { + "type": "MemberExpression", + "start": 2401, + "end": 2411, + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 103, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 2401, + "end": 2405, + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 103, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 2406, + "end": 2411, + "loc": { + "start": { + "line": 103, + "column": 18 + }, + "end": { + "line": 103, + "column": 23 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2419, + "end": 2434, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2419, + "end": 2423, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 10 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "value": { + "type": "MemberExpression", + "start": 2425, + "end": 2434, + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 2425, + "end": 2429, + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2430, + "end": 2434, + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 21 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2442, + "end": 2457, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2442, + "end": 2446, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 10 + }, + "identifierName": "name" + }, + "name": "name" + }, + "value": { + "type": "MemberExpression", + "start": 2448, + "end": 2457, + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 2448, + "end": 2452, + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2453, + "end": 2457, + "loc": { + "start": { + "line": 105, + "column": 17 + }, + "end": { + "line": 105, + "column": 21 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {Object}\n * @property {string} type\n * @property {Object} duration\n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name\n ", + "start": 2104, + "end": 2293, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 98, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Basically a timer that tracks the rate of events and histograms the durations.\n * @extends {BaseMeter}\n ", + "start": 379, + "end": 492, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Basically a timer that tracks the rate of events and histograms the durations.\n * @extends {BaseMeter}\n ", + "start": 379, + "end": 492, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 189, + "end": 202, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 189, + "end": 201, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Timer.js\n * @fileoverview Defines the \"Timer\" class.\n *\n * \n *\n * @requires BaseMeter\n * @requires RawMeterTag\n * @requires Histogram\n * @requires stats\n * @exports Timer\n ", + "start": 0, + "end": 187, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Timer.js\n * @fileoverview Defines the \"Timer\" class.\n *\n * \n *\n * @requires BaseMeter\n * @requires RawMeterTag\n * @requires Histogram\n * @requires stats\n * @exports Timer\n ", + "start": 0, + "end": 187, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Basically a timer that tracks the rate of events and histograms the durations.\n * @extends {BaseMeter}\n ", + "start": 379, + "end": 492, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} name -\n * @param {?string} [description] - (optional)\n * @param {?RawMeterTag[]} [tags] - (optional)\n ", + "start": 543, + "end": 678, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Histogram} ", + "start": 760, + "end": 784, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 28 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 950, + "end": 959, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " delegate these to histogram", + "start": 1042, + "end": 1072, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#clear}\n * @return {void} ", + "start": 1075, + "end": 1138, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 50, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#totalCount}\n * @return {?number} ", + "start": 1192, + "end": 1263, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 55, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#min}\n * @return {?number} ", + "start": 1320, + "end": 1384, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 60, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#max}\n * @return {?number} ", + "start": 1432, + "end": 1496, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#mean}\n * @return {?number} ", + "start": 1544, + "end": 1609, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 70, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#stdDev}\n * @return {?number} ", + "start": 1661, + "end": 1728, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 75, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#percentiles}\n * @param {?number[]} percentiles\n * @return {number[]} ", + "start": 1784, + "end": 1893, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 81, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#values}\n * @returnn {any[]} ", + "start": 1981, + "end": 2047, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 86, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {Object}\n * @property {string} type\n * @property {Object} duration\n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name\n ", + "start": 2104, + "end": 2293, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 98, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name Timer.js\n * @fileoverview Defines the \"Timer\" class.\n *\n * \n *\n * @requires BaseMeter\n * @requires RawMeterTag\n * @requires Histogram\n * @requires stats\n * @exports Timer\n ", + "start": 0, + "end": 187, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 189, + "end": 201, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 201, + "end": 202, + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 204, + "end": 210, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BaseMeter", + "start": 211, + "end": 220, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 221, + "end": 225, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./BaseMeter", + "start": 226, + "end": 239, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 16, + "column": 35 + }, + "end": { + "line": 16, + "column": 36 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 241, + "end": 247, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 248, + "end": 259, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 260, + "end": 264, + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RawMeterTag", + "start": 265, + "end": 280, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 280, + "end": 281, + "loc": { + "start": { + "line": 17, + "column": 39 + }, + "end": { + "line": 17, + "column": 40 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 282, + "end": 288, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 289, + "end": 290, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 291, + "end": 300, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 301, + "end": 302, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 303, + "end": 307, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Histogram", + "start": 308, + "end": 321, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 18, + "column": 39 + }, + "end": { + "line": 18, + "column": 40 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 323, + "end": 329, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 330, + "end": 331, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 332, + "end": 359, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 19, + "column": 37 + }, + "end": { + "line": 19, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 362, + "end": 366, + "loc": { + "start": { + "line": 19, + "column": 39 + }, + "end": { + "line": 19, + "column": 43 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./stats", + "start": 367, + "end": 376, + "loc": { + "start": { + "line": 19, + "column": 44 + }, + "end": { + "line": 19, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 376, + "end": 377, + "loc": { + "start": { + "line": 19, + "column": 53 + }, + "end": { + "line": 19, + "column": 54 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Basically a timer that tracks the rate of events and histograms the durations.\n * @extends {BaseMeter}\n ", + "start": 379, + "end": 492, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 493, + "end": 499, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 500, + "end": 507, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 508, + "end": 513, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 514, + "end": 519, + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 26 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 520, + "end": 527, + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BaseMeter", + "start": 528, + "end": 537, + "loc": { + "start": { + "line": 25, + "column": 35 + }, + "end": { + "line": 25, + "column": 44 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 25, + "column": 45 + }, + "end": { + "line": 25, + "column": 46 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} name -\n * @param {?string} [description] - (optional)\n * @param {?RawMeterTag[]} [tags] - (optional)\n ", + "start": 543, + "end": 678, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 681, + "end": 692, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 692, + "end": 693, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 693, + "end": 697, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 697, + "end": 698, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 699, + "end": 710, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 710, + "end": 711, + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 712, + "end": 716, + "loc": { + "start": { + "line": 32, + "column": 33 + }, + "end": { + "line": 32, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 716, + "end": 717, + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 718, + "end": 719, + "loc": { + "start": { + "line": 32, + "column": 39 + }, + "end": { + "line": 32, + "column": 40 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 724, + "end": 729, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 729, + "end": 730, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 730, + "end": 734, + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 734, + "end": 735, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "description", + "start": 736, + "end": 747, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 747, + "end": 748, + "loc": { + "start": { + "line": 33, + "column": 27 + }, + "end": { + "line": 33, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 749, + "end": 753, + "loc": { + "start": { + "line": 33, + "column": 29 + }, + "end": { + "line": 33, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 753, + "end": 754, + "loc": { + "start": { + "line": 33, + "column": 33 + }, + "end": { + "line": 33, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 754, + "end": 755, + "loc": { + "start": { + "line": 33, + "column": 34 + }, + "end": { + "line": 33, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Histogram} ", + "start": 760, + "end": 784, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 789, + "end": 793, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 793, + "end": 794, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 794, + "end": 803, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 804, + "end": 805, + "loc": { + "start": { + "line": 35, + "column": 19 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 806, + "end": 809, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 810, + "end": 819, + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 819, + "end": 820, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 35 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 820, + "end": 823, + "loc": { + "start": { + "line": 35, + "column": 35 + }, + "end": { + "line": 35, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 824, + "end": 851, + "loc": { + "start": { + "line": 35, + "column": 39 + }, + "end": { + "line": 35, + "column": 66 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 851, + "end": 852, + "loc": { + "start": { + "line": 35, + "column": 66 + }, + "end": { + "line": 35, + "column": 67 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1028, + "start": 852, + "end": 856, + "loc": { + "start": { + "line": 35, + "column": 67 + }, + "end": { + "line": 35, + "column": 71 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 856, + "end": 857, + "loc": { + "start": { + "line": 35, + "column": 71 + }, + "end": { + "line": 35, + "column": 72 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.015, + "start": 858, + "end": 863, + "loc": { + "start": { + "line": 35, + "column": 73 + }, + "end": { + "line": 35, + "column": 78 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 863, + "end": 864, + "loc": { + "start": { + "line": 35, + "column": 78 + }, + "end": { + "line": 35, + "column": 79 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 864, + "end": 865, + "loc": { + "start": { + "line": 35, + "column": 79 + }, + "end": { + "line": 35, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 35, + "column": 80 + }, + "end": { + "line": 35, + "column": 81 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 871, + "end": 875, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 875, + "end": 876, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 876, + "end": 881, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 881, + "end": 882, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 882, + "end": 883, + "loc": { + "start": { + "line": 36, + "column": 15 + }, + "end": { + "line": 36, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 883, + "end": 884, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 889, + "end": 893, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 893, + "end": 894, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 894, + "end": 898, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 899, + "end": 900, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "timer", + "start": 901, + "end": 908, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 908, + "end": 909, + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 914, + "end": 918, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 918, + "end": 919, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "statistic", + "start": 919, + "end": 928, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 929, + "end": 930, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "duration", + "start": 931, + "end": 941, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 941, + "end": 942, + "loc": { + "start": { + "line": 38, + "column": 31 + }, + "end": { + "line": 38, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 945, + "end": 946, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 950, + "end": 959, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 962, + "end": 968, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 968, + "end": 969, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "duration", + "start": 969, + "end": 977, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 977, + "end": 978, + "loc": { + "start": { + "line": 43, + "column": 17 + }, + "end": { + "line": 43, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 979, + "end": 980, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 985, + "end": 989, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 989, + "end": 990, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 990, + "end": 999, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 999, + "end": 1000, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 1000, + "end": 1006, + "loc": { + "start": { + "line": 44, + "column": 19 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1006, + "end": 1007, + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 44, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "duration", + "start": 1007, + "end": 1015, + "loc": { + "start": { + "line": 44, + "column": 26 + }, + "end": { + "line": 44, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1015, + "end": 1016, + "loc": { + "start": { + "line": 44, + "column": 34 + }, + "end": { + "line": 44, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1016, + "end": 1017, + "loc": { + "start": { + "line": 44, + "column": 35 + }, + "end": { + "line": 44, + "column": 36 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1022, + "end": 1026, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1026, + "end": 1027, + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mark", + "start": 1027, + "end": 1031, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1031, + "end": 1032, + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1032, + "end": 1033, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1033, + "end": 1034, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1037, + "end": 1038, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " delegate these to histogram", + "start": 1042, + "end": 1072, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#clear}\n * @return {void} ", + "start": 1075, + "end": 1138, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 50, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 1141, + "end": 1146, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1146, + "end": 1147, + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 51, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1147, + "end": 1148, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1149, + "end": 1150, + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 51, + "column": 11 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1155, + "end": 1161, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1162, + "end": 1166, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1166, + "end": 1167, + "loc": { + "start": { + "line": 52, + "column": 15 + }, + "end": { + "line": 52, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 1167, + "end": 1176, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1176, + "end": 1177, + "loc": { + "start": { + "line": 52, + "column": 25 + }, + "end": { + "line": 52, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 1177, + "end": 1182, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1182, + "end": 1183, + "loc": { + "start": { + "line": 52, + "column": 31 + }, + "end": { + "line": 52, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1183, + "end": 1184, + "loc": { + "start": { + "line": 52, + "column": 32 + }, + "end": { + "line": 52, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1184, + "end": 1185, + "loc": { + "start": { + "line": 52, + "column": 33 + }, + "end": { + "line": 52, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1188, + "end": 1189, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#totalCount}\n * @return {?number} ", + "start": 1192, + "end": 1263, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 55, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalCount", + "start": 1266, + "end": 1276, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1276, + "end": 1277, + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1277, + "end": 1278, + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1279, + "end": 1280, + "loc": { + "start": { + "line": 56, + "column": 15 + }, + "end": { + "line": 56, + "column": 16 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1285, + "end": 1291, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1292, + "end": 1296, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1296, + "end": 1297, + "loc": { + "start": { + "line": 57, + "column": 15 + }, + "end": { + "line": 57, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 1297, + "end": 1306, + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1306, + "end": 1307, + "loc": { + "start": { + "line": 57, + "column": 25 + }, + "end": { + "line": 57, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1307, + "end": 1312, + "loc": { + "start": { + "line": 57, + "column": 26 + }, + "end": { + "line": 57, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1312, + "end": 1313, + "loc": { + "start": { + "line": 57, + "column": 31 + }, + "end": { + "line": 57, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1316, + "end": 1317, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#min}\n * @return {?number} ", + "start": 1320, + "end": 1384, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 60, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 1387, + "end": 1390, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1390, + "end": 1391, + "loc": { + "start": { + "line": 61, + "column": 5 + }, + "end": { + "line": 61, + "column": 6 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1391, + "end": 1392, + "loc": { + "start": { + "line": 61, + "column": 6 + }, + "end": { + "line": 61, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1393, + "end": 1394, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 9 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1399, + "end": 1405, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1406, + "end": 1410, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1410, + "end": 1411, + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 1411, + "end": 1420, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1420, + "end": 1421, + "loc": { + "start": { + "line": 62, + "column": 25 + }, + "end": { + "line": 62, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 1421, + "end": 1424, + "loc": { + "start": { + "line": 62, + "column": 26 + }, + "end": { + "line": 62, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1424, + "end": 1425, + "loc": { + "start": { + "line": 62, + "column": 29 + }, + "end": { + "line": 62, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1428, + "end": 1429, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#max}\n * @return {?number} ", + "start": 1432, + "end": 1496, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 1499, + "end": 1502, + "loc": { + "start": { + "line": 66, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1502, + "end": 1503, + "loc": { + "start": { + "line": 66, + "column": 5 + }, + "end": { + "line": 66, + "column": 6 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1503, + "end": 1504, + "loc": { + "start": { + "line": 66, + "column": 6 + }, + "end": { + "line": 66, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1505, + "end": 1506, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 9 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1511, + "end": 1517, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1518, + "end": 1522, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1522, + "end": 1523, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 1523, + "end": 1532, + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1532, + "end": 1533, + "loc": { + "start": { + "line": 67, + "column": 25 + }, + "end": { + "line": 67, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 1533, + "end": 1536, + "loc": { + "start": { + "line": 67, + "column": 26 + }, + "end": { + "line": 67, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1536, + "end": 1537, + "loc": { + "start": { + "line": 67, + "column": 29 + }, + "end": { + "line": 67, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1540, + "end": 1541, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#mean}\n * @return {?number} ", + "start": 1544, + "end": 1609, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 70, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 1612, + "end": 1616, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 71, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1616, + "end": 1617, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1617, + "end": 1618, + "loc": { + "start": { + "line": 71, + "column": 7 + }, + "end": { + "line": 71, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1619, + "end": 1620, + "loc": { + "start": { + "line": 71, + "column": 9 + }, + "end": { + "line": 71, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1625, + "end": 1631, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1632, + "end": 1636, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1636, + "end": 1637, + "loc": { + "start": { + "line": 72, + "column": 15 + }, + "end": { + "line": 72, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 1637, + "end": 1646, + "loc": { + "start": { + "line": 72, + "column": 16 + }, + "end": { + "line": 72, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1646, + "end": 1647, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 1647, + "end": 1651, + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1651, + "end": 1652, + "loc": { + "start": { + "line": 72, + "column": 30 + }, + "end": { + "line": 72, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1652, + "end": 1653, + "loc": { + "start": { + "line": 72, + "column": 31 + }, + "end": { + "line": 72, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1653, + "end": 1654, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1657, + "end": 1658, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#stdDev}\n * @return {?number} ", + "start": 1661, + "end": 1728, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 75, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stdDev", + "start": 1731, + "end": 1737, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1737, + "end": 1738, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1738, + "end": 1739, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1740, + "end": 1741, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1746, + "end": 1752, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1753, + "end": 1757, + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1757, + "end": 1758, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 1758, + "end": 1767, + "loc": { + "start": { + "line": 77, + "column": 16 + }, + "end": { + "line": 77, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1767, + "end": 1768, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stdDev", + "start": 1768, + "end": 1774, + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1774, + "end": 1775, + "loc": { + "start": { + "line": 77, + "column": 32 + }, + "end": { + "line": 77, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1775, + "end": 1776, + "loc": { + "start": { + "line": 77, + "column": 33 + }, + "end": { + "line": 77, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1776, + "end": 1777, + "loc": { + "start": { + "line": 77, + "column": 34 + }, + "end": { + "line": 77, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1780, + "end": 1781, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#percentiles}\n * @param {?number[]} percentiles\n * @return {number[]} ", + "start": 1784, + "end": 1893, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 81, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 1896, + "end": 1907, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1907, + "end": 1908, + "loc": { + "start": { + "line": 82, + "column": 13 + }, + "end": { + "line": 82, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 1908, + "end": 1919, + "loc": { + "start": { + "line": 82, + "column": 14 + }, + "end": { + "line": 82, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1919, + "end": 1920, + "loc": { + "start": { + "line": 82, + "column": 25 + }, + "end": { + "line": 82, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1921, + "end": 1922, + "loc": { + "start": { + "line": 82, + "column": 27 + }, + "end": { + "line": 82, + "column": 28 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1927, + "end": 1933, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1934, + "end": 1938, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1938, + "end": 1939, + "loc": { + "start": { + "line": 83, + "column": 15 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 1939, + "end": 1948, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1948, + "end": 1949, + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "end": { + "line": 83, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 1949, + "end": 1960, + "loc": { + "start": { + "line": 83, + "column": 26 + }, + "end": { + "line": 83, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1960, + "end": 1961, + "loc": { + "start": { + "line": 83, + "column": 37 + }, + "end": { + "line": 83, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "percentiles", + "start": 1961, + "end": 1972, + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1972, + "end": 1973, + "loc": { + "start": { + "line": 83, + "column": 49 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1973, + "end": 1974, + "loc": { + "start": { + "line": 83, + "column": 50 + }, + "end": { + "line": 83, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1977, + "end": 1978, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* delegated to {@link Histogram#values}\n * @returnn {any[]} ", + "start": 1981, + "end": 2047, + "loc": { + "start": { + "line": 85, + "column": 2 + }, + "end": { + "line": 86, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 2050, + "end": 2056, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 87, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2056, + "end": 2057, + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2057, + "end": 2058, + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2059, + "end": 2060, + "loc": { + "start": { + "line": 87, + "column": 11 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2065, + "end": 2071, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2072, + "end": 2076, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2076, + "end": 2077, + "loc": { + "start": { + "line": 88, + "column": 15 + }, + "end": { + "line": 88, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 2077, + "end": 2086, + "loc": { + "start": { + "line": 88, + "column": 16 + }, + "end": { + "line": 88, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2086, + "end": 2087, + "loc": { + "start": { + "line": 88, + "column": 25 + }, + "end": { + "line": 88, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 2087, + "end": 2093, + "loc": { + "start": { + "line": 88, + "column": 26 + }, + "end": { + "line": 88, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2093, + "end": 2094, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 88, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2094, + "end": 2095, + "loc": { + "start": { + "line": 88, + "column": 33 + }, + "end": { + "line": 88, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2095, + "end": 2096, + "loc": { + "start": { + "line": 88, + "column": 34 + }, + "end": { + "line": 88, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2099, + "end": 2100, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {Object}\n * @property {string} type\n * @property {Object} duration\n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name\n ", + "start": 2104, + "end": 2293, + "loc": { + "start": { + "line": 91, + "column": 2 + }, + "end": { + "line": 98, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toObject", + "start": 2296, + "end": 2304, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2304, + "end": 2305, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2305, + "end": 2306, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2307, + "end": 2308, + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 14 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2313, + "end": 2319, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2320, + "end": 2321, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 2328, + "end": 2332, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2332, + "end": 2333, + "loc": { + "start": { + "line": 101, + "column": 10 + }, + "end": { + "line": 101, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2334, + "end": 2338, + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2338, + "end": 2339, + "loc": { + "start": { + "line": 101, + "column": 16 + }, + "end": { + "line": 101, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "type", + "start": 2339, + "end": 2343, + "loc": { + "start": { + "line": 101, + "column": 17 + }, + "end": { + "line": 101, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2343, + "end": 2344, + "loc": { + "start": { + "line": 101, + "column": 21 + }, + "end": { + "line": 101, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "duration", + "start": 2351, + "end": 2359, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2359, + "end": 2360, + "loc": { + "start": { + "line": 102, + "column": 14 + }, + "end": { + "line": 102, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2361, + "end": 2365, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2365, + "end": 2366, + "loc": { + "start": { + "line": 102, + "column": 20 + }, + "end": { + "line": 102, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "histogram", + "start": 2366, + "end": 2375, + "loc": { + "start": { + "line": 102, + "column": 21 + }, + "end": { + "line": 102, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2375, + "end": 2376, + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 102, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toObject", + "start": 2376, + "end": 2384, + "loc": { + "start": { + "line": 102, + "column": 31 + }, + "end": { + "line": 102, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2384, + "end": 2385, + "loc": { + "start": { + "line": 102, + "column": 39 + }, + "end": { + "line": 102, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2385, + "end": 2386, + "loc": { + "start": { + "line": 102, + "column": 40 + }, + "end": { + "line": 102, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2386, + "end": 2387, + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2394, + "end": 2399, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2399, + "end": 2400, + "loc": { + "start": { + "line": 103, + "column": 11 + }, + "end": { + "line": 103, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2401, + "end": 2405, + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 103, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2405, + "end": 2406, + "loc": { + "start": { + "line": 103, + "column": 17 + }, + "end": { + "line": 103, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2406, + "end": 2411, + "loc": { + "start": { + "line": 103, + "column": 18 + }, + "end": { + "line": 103, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2411, + "end": 2412, + "loc": { + "start": { + "line": 103, + "column": 23 + }, + "end": { + "line": 103, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 2419, + "end": 2423, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2423, + "end": 2424, + "loc": { + "start": { + "line": 104, + "column": 10 + }, + "end": { + "line": 104, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2425, + "end": 2429, + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2429, + "end": 2430, + "loc": { + "start": { + "line": 104, + "column": 16 + }, + "end": { + "line": 104, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 2430, + "end": 2434, + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2434, + "end": 2435, + "loc": { + "start": { + "line": 104, + "column": 21 + }, + "end": { + "line": 104, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 2442, + "end": 2446, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2446, + "end": 2447, + "loc": { + "start": { + "line": 105, + "column": 10 + }, + "end": { + "line": 105, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2448, + "end": 2452, + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2452, + "end": 2453, + "loc": { + "start": { + "line": 105, + "column": 16 + }, + "end": { + "line": 105, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 2453, + "end": 2457, + "loc": { + "start": { + "line": 105, + "column": 17 + }, + "end": { + "line": 105, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2462, + "end": 2463, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2463, + "end": 2464, + "loc": { + "start": { + "line": 106, + "column": 5 + }, + "end": { + "line": 106, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2467, + "end": 2468, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 107, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2469, + "end": 2470, + "loc": { + "start": { + "line": 108, + "column": 0 + }, + "end": { + "line": 108, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2470, + "end": 2470, + "loc": { + "start": { + "line": 108, + "column": 1 + }, + "end": { + "line": 108, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/exponentially_decaying_sample-test.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/exponentially_decaying_sample-test.js.json new file mode 100644 index 0000000..1704bdb --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/exponentially_decaying_sample-test.js.json @@ -0,0 +1,10356 @@ +{ + "type": "File", + "start": 0, + "end": 1038, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 45, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1038, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 45, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 0, + "end": 149, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 2, + "column": 55 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4, + "end": 92, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 92 + } + }, + "id": { + "type": "Identifier", + "start": 4, + "end": 31, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 31 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "init": { + "type": "MemberExpression", + "start": 34, + "end": 92, + "loc": { + "start": { + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "column": 92 + } + }, + "object": { + "type": "CallExpression", + "start": 34, + "end": 84, + "loc": { + "start": { + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "column": 84 + } + }, + "callee": { + "type": "Identifier", + "start": 34, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "column": 41 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 42, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 42 + }, + "end": { + "line": 1, + "column": 83 + } + }, + "extra": { + "rawValue": "../stats/ExponentiallyDecayingSample.js", + "raw": "'../stats/ExponentiallyDecayingSample.js'" + }, + "value": "../stats/ExponentiallyDecayingSample.js" + } + ] + }, + "property": { + "type": "Identifier", + "start": 85, + "end": 92, + "loc": { + "start": { + "line": 1, + "column": 85 + }, + "end": { + "line": 1, + "column": 92 + }, + "identifierName": "default" + }, + "name": "default" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 98, + "end": 148, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 54 + } + }, + "id": { + "type": "Identifier", + "start": 98, + "end": 101, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 7 + }, + "identifierName": "eds" + }, + "name": "eds" + }, + "init": { + "type": "NewExpression", + "start": 104, + "end": 148, + "loc": { + "start": { + "line": 2, + "column": 10 + }, + "end": { + "line": 2, + "column": 54 + } + }, + "callee": { + "type": "Identifier", + "start": 108, + "end": 135, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 41 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 136, + "end": 140, + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 46 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + }, + { + "type": "NumericLiteral", + "start": 142, + "end": 147, + "loc": { + "start": { + "line": 2, + "column": 48 + }, + "end": { + "line": 2, + "column": 53 + } + }, + "extra": { + "rawValue": 0.015, + "raw": "0.015" + }, + "value": 0.015 + } + ] + } + } + ], + "kind": "var" + }, + { + "type": "VariableDeclaration", + "start": 151, + "end": 970, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 39, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 155, + "end": 969, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 39, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 155, + "end": 159, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 8 + }, + "identifierName": "test" + }, + "name": "test" + }, + "init": { + "type": "FunctionExpression", + "start": 162, + "end": 969, + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 39, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 155, + "end": 159, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 8 + }, + "identifierName": "test" + }, + "name": "test" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 172, + "end": 180, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 29 + }, + "identifierName": "callback" + }, + "name": "callback" + } + ], + "body": { + "type": "BlockStatement", + "start": 182, + "end": 969, + "loc": { + "start": { + "line": 4, + "column": 31 + }, + "end": { + "line": 39, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 186, + "end": 198, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 5, + "column": 14 + } + }, + "expression": { + "type": "CallExpression", + "start": 186, + "end": 197, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 5, + "column": 13 + } + }, + "callee": { + "type": "MemberExpression", + "start": 186, + "end": 195, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 5, + "column": 11 + } + }, + "object": { + "type": "Identifier", + "start": 186, + "end": 189, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 5, + "column": 5 + }, + "identifierName": "eds" + }, + "name": "eds" + }, + "property": { + "type": "Identifier", + "start": 190, + "end": 195, + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 11 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "VariableDeclaration", + "start": 202, + "end": 273, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 8, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 206, + "end": 233, + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 206, + "end": 210, + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 10 + }, + "identifierName": "time" + }, + "name": "time" + }, + "init": { + "type": "CallExpression", + "start": 213, + "end": 233, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 213, + "end": 231, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 31 + } + }, + "object": { + "type": "NewExpression", + "start": 213, + "end": 223, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 23 + } + }, + "callee": { + "type": "Identifier", + "start": 217, + "end": 221, + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 21 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 224, + "end": 231, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 31 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "VariableDeclarator", + "start": 241, + "end": 272, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 241, + "end": 249, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 14 + }, + "identifierName": "interval" + }, + "name": "interval" + }, + "init": { + "type": "BinaryExpression", + "start": 252, + "end": 272, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 37 + } + }, + "left": { + "type": "BinaryExpression", + "start": 252, + "end": 266, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 31 + } + }, + "left": { + "type": "BinaryExpression", + "start": 252, + "end": 259, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 24 + } + }, + "left": { + "type": "NumericLiteral", + "start": 252, + "end": 254, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 19 + } + }, + "extra": { + "rawValue": 60, + "raw": "60" + }, + "value": 60 + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 257, + "end": 259, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 24 + } + }, + "extra": { + "rawValue": 60, + "raw": "60" + }, + "value": 60 + } + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 262, + "end": 266, + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 31 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 269, + "end": 272, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "column": 37 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + } + } + ], + "kind": "var" + }, + { + "type": "ForStatement", + "start": 276, + "end": 395, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 13, + "column": 3 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 281, + "end": 290, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 285, + "end": 290, + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 16 + } + }, + "id": { + "type": "Identifier", + "start": 285, + "end": 286, + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 12 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 289, + "end": 290, + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 16 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 292, + "end": 299, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 25 + } + }, + "left": { + "type": "Identifier", + "start": 292, + "end": 293, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 296, + "end": 299, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 25 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + }, + "update": { + "type": "UpdateExpression", + "start": 301, + "end": 304, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 30 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 301, + "end": 302, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 28 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 306, + "end": 395, + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 13, + "column": 3 + } + }, + "body": [ + { + "type": "ForStatement", + "start": 312, + "end": 391, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 12, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 317, + "end": 326, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 321, + "end": 326, + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + }, + "identifierName": "j" + }, + "name": "j" + }, + "init": { + "type": "NumericLiteral", + "start": 325, + "end": 326, + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 328, + "end": 335, + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 328, + "end": 329, + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 21 + }, + "identifierName": "j" + }, + "name": "j" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 332, + "end": 335, + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 27 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + }, + "update": { + "type": "UpdateExpression", + "start": 337, + "end": 340, + "loc": { + "start": { + "line": 10, + "column": 29 + }, + "end": { + "line": 10, + "column": 32 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 337, + "end": 338, + "loc": { + "start": { + "line": 10, + "column": 29 + }, + "end": { + "line": 10, + "column": 30 + }, + "identifierName": "j" + }, + "name": "j" + } + }, + "body": { + "type": "BlockStatement", + "start": 342, + "end": 391, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 12, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 350, + "end": 385, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 350, + "end": 384, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 350, + "end": 360, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 350, + "end": 353, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 9 + }, + "identifierName": "eds" + }, + "name": "eds" + }, + "property": { + "type": "Identifier", + "start": 354, + "end": 360, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 16 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 361, + "end": 362, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 18 + }, + "identifierName": "i" + }, + "name": "i" + }, + { + "type": "BinaryExpression", + "start": 364, + "end": 383, + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 364, + "end": 368, + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 24 + }, + "identifierName": "time" + }, + "name": "time" + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 371, + "end": 383, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 371, + "end": 372, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 28 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "*", + "right": { + "type": "Identifier", + "start": 375, + "end": 383, + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 39 + }, + "identifierName": "interval" + }, + "name": "interval" + } + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + }, + { + "type": "FunctionDeclaration", + "start": 399, + "end": 705, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 27, + "column": 3 + } + }, + "id": { + "type": "Identifier", + "start": 408, + "end": 419, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 22 + }, + "identifierName": "printSample" + }, + "name": "printSample" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 420, + "end": 423, + "loc": { + "start": { + "line": 15, + "column": 23 + }, + "end": { + "line": 15, + "column": 26 + }, + "identifierName": "eds" + }, + "name": "eds" + } + ], + "body": { + "type": "BlockStatement", + "start": 425, + "end": 705, + "loc": { + "start": { + "line": 15, + "column": 28 + }, + "end": { + "line": 27, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 431, + "end": 486, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 17, + "column": 33 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 435, + "end": 451, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 435, + "end": 446, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 19 + }, + "identifierName": "valueCounts" + }, + "name": "valueCounts" + }, + "init": { + "type": "ObjectExpression", + "start": 449, + "end": 451, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "properties": [] + } + }, + { + "type": "VariableDeclarator", + "start": 461, + "end": 485, + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 32 + } + }, + "id": { + "type": "Identifier", + "start": 461, + "end": 467, + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 14 + }, + "identifierName": "values" + }, + "name": "values" + }, + "init": { + "type": "CallExpression", + "start": 470, + "end": 485, + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 470, + "end": 483, + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 470, + "end": 473, + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 20 + }, + "identifierName": "eds" + }, + "name": "eds" + }, + "property": { + "type": "Identifier", + "start": 474, + "end": 483, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 30 + }, + "identifierName": "getValues" + }, + "name": "getValues" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "var" + }, + { + "type": "ForStatement", + "start": 492, + "end": 677, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 25, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 497, + "end": 506, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 501, + "end": 506, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 501, + "end": 502, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 505, + "end": 506, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 508, + "end": 522, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 34 + } + }, + "left": { + "type": "Identifier", + "start": 508, + "end": 509, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "CallExpression", + "start": 512, + "end": 522, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 512, + "end": 520, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 512, + "end": 515, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 27 + }, + "identifierName": "eds" + }, + "name": "eds" + }, + "property": { + "type": "Identifier", + "start": 516, + "end": 520, + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 32 + }, + "identifierName": "size" + }, + "name": "size" + }, + "computed": false + }, + "arguments": [] + } + }, + "update": { + "type": "UpdateExpression", + "start": 524, + "end": 527, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 39 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 524, + "end": 525, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 37 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 529, + "end": 677, + "loc": { + "start": { + "line": 19, + "column": 41 + }, + "end": { + "line": 25, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 537, + "end": 671, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 24, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 541, + "end": 567, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 541, + "end": 552, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 21 + }, + "identifierName": "valueCounts" + }, + "name": "valueCounts" + }, + "property": { + "type": "MemberExpression", + "start": 553, + "end": 566, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 553, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 553, + "end": 559, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 28 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "Identifier", + "start": 560, + "end": 561, + "loc": { + "start": { + "line": 20, + "column": 29 + }, + "end": { + "line": 20, + "column": 30 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 563, + "end": 566, + "loc": { + "start": { + "line": 20, + "column": 32 + }, + "end": { + "line": 20, + "column": 35 + }, + "identifierName": "val" + }, + "name": "val" + }, + "computed": false + }, + "computed": true + }, + "consequent": { + "type": "BlockStatement", + "start": 569, + "end": 616, + "loc": { + "start": { + "line": 20, + "column": 38 + }, + "end": { + "line": 22, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 579, + "end": 608, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 37 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 579, + "end": 607, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 36 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 579, + "end": 605, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 579, + "end": 590, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 19 + }, + "identifierName": "valueCounts" + }, + "name": "valueCounts" + }, + "property": { + "type": "MemberExpression", + "start": 591, + "end": 604, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 591, + "end": 600, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 591, + "end": 597, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 26 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "Identifier", + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 28 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 601, + "end": 604, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 33 + }, + "identifierName": "val" + }, + "name": "val" + }, + "computed": false + }, + "computed": true + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 622, + "end": 671, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 24, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 632, + "end": 663, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 39 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 632, + "end": 662, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 38 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 632, + "end": 658, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 632, + "end": 643, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 19 + }, + "identifierName": "valueCounts" + }, + "name": "valueCounts" + }, + "property": { + "type": "MemberExpression", + "start": 644, + "end": 657, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 644, + "end": 653, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 644, + "end": 650, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 26 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "Identifier", + "start": 651, + "end": 652, + "loc": { + "start": { + "line": 23, + "column": 27 + }, + "end": { + "line": 23, + "column": 28 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 654, + "end": 657, + "loc": { + "start": { + "line": 23, + "column": 30 + }, + "end": { + "line": 23, + "column": 33 + }, + "identifierName": "val" + }, + "name": "val" + }, + "computed": false + }, + "computed": true + }, + "right": { + "type": "NumericLiteral", + "start": 661, + "end": 662, + "loc": { + "start": { + "line": 23, + "column": 37 + }, + "end": { + "line": 23, + "column": 38 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 682, + "end": 701, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 23 + } + }, + "argument": { + "type": "Identifier", + "start": 689, + "end": 700, + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 26, + "column": 22 + }, + "identifierName": "valueCounts" + }, + "name": "valueCounts" + } + } + ], + "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 709, + "end": 761, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 54 + } + }, + "expression": { + "type": "CallExpression", + "start": 709, + "end": 760, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 709, + "end": 720, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 709, + "end": 716, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 9 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 717, + "end": 720, + "loc": { + "start": { + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 13 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 721, + "end": 759, + "loc": { + "start": { + "line": 29, + "column": 14 + }, + "end": { + "line": 29, + "column": 52 + } + }, + "extra": { + "rawValue": "This is an exponential distribution:", + "raw": "'This is an exponential distribution:'" + }, + "value": "This is an exponential distribution:" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 764, + "end": 794, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 764, + "end": 793, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 764, + "end": 775, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 764, + "end": 771, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 9 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 772, + "end": 775, + "loc": { + "start": { + "line": 30, + "column": 10 + }, + "end": { + "line": 30, + "column": 13 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 776, + "end": 792, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 776, + "end": 787, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 25 + }, + "identifierName": "printSample" + }, + "name": "printSample" + }, + "arguments": [ + { + "type": "Identifier", + "start": 788, + "end": 791, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 29 + }, + "identifierName": "eds" + }, + "name": "eds" + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 798, + "end": 833, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 798, + "end": 832, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 798, + "end": 809, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 798, + "end": 801, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + }, + "identifierName": "eds" + }, + "name": "eds" + }, + "property": { + "type": "Identifier", + "start": 802, + "end": 809, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 13 + }, + "identifierName": "rescale" + }, + "name": "rescale" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 810, + "end": 831, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 35 + } + }, + "left": { + "type": "Identifier", + "start": 810, + "end": 814, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 18 + }, + "identifierName": "time" + }, + "name": "time" + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 817, + "end": 831, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 35 + } + }, + "left": { + "type": "NumericLiteral", + "start": 817, + "end": 820, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 24 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + }, + "operator": "*", + "right": { + "type": "Identifier", + "start": 823, + "end": 831, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 35 + }, + "identifierName": "interval" + }, + "name": "interval" + } + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 837, + "end": 876, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 837, + "end": 875, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 837, + "end": 848, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 837, + "end": 844, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 9 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 845, + "end": 848, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 13 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 849, + "end": 874, + "loc": { + "start": { + "line": 34, + "column": 14 + }, + "end": { + "line": 34, + "column": 39 + } + }, + "extra": { + "rawValue": "This is after rescaling", + "raw": "'This is after rescaling'" + }, + "value": "This is after rescaling" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 879, + "end": 908, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 879, + "end": 907, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 879, + "end": 890, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 879, + "end": 886, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 9 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 887, + "end": 890, + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 13 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 891, + "end": 906, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 891, + "end": 904, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 891, + "end": 894, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 17 + }, + "identifierName": "eds" + }, + "name": "eds" + }, + "property": { + "type": "Identifier", + "start": 895, + "end": 904, + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 27 + }, + "identifierName": "getValues" + }, + "name": "getValues" + }, + "computed": false + }, + "arguments": [] + } + ] + } + }, + { + "type": "IfStatement", + "start": 911, + "end": 967, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 915, + "end": 944, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 35 + } + }, + "left": { + "type": "UnaryExpression", + "start": 915, + "end": 930, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 21 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 922, + "end": 930, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 21 + }, + "identifierName": "callback" + }, + "name": "callback" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "==", + "right": { + "type": "StringLiteral", + "start": 934, + "end": 944, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 35 + } + }, + "extra": { + "rawValue": "function", + "raw": "'function'" + }, + "value": "function" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 946, + "end": 967, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 38, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 952, + "end": 963, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 952, + "end": 962, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 952, + "end": 960, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 12 + }, + "identifierName": "callback" + }, + "name": "callback" + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + } + ], + "kind": "var" + }, + { + "type": "IfStatement", + "start": 972, + "end": 1038, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 45, + "column": 1 + } + }, + "test": { + "type": "MemberExpression", + "start": 976, + "end": 989, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 976, + "end": 982, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 10 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 983, + "end": 989, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 17 + }, + "identifierName": "parent" + }, + "name": "parent" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 991, + "end": 1019, + "loc": { + "start": { + "line": 41, + "column": 19 + }, + "end": { + "line": 43, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 995, + "end": 1017, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 995, + "end": 1016, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 995, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 995, + "end": 1001, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 8 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 1002, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 16 + }, + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1012, + "end": 1016, + "loc": { + "start": { + "line": 42, + "column": 19 + }, + "end": { + "line": 42, + "column": 23 + }, + "identifierName": "test" + }, + "name": "test" + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1025, + "end": 1038, + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 45, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1029, + "end": 1036, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 1029, + "end": 1035, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 8 + } + }, + "callee": { + "type": "Identifier", + "start": 1029, + "end": 1033, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 6 + }, + "identifierName": "test" + }, + "name": "test" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 0, + "end": 3, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 4, + "end": 31, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 31 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 32, + "end": 33, + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 34, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 41, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 41 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../stats/ExponentiallyDecayingSample.js", + "start": 42, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 42 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 83, + "end": 84, + "loc": { + "start": { + "line": 1, + "column": 83 + }, + "end": { + "line": 1, + "column": 84 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 84, + "end": 85, + "loc": { + "start": { + "line": 1, + "column": 84 + }, + "end": { + "line": 1, + "column": 85 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 85, + "end": 92, + "loc": { + "start": { + "line": 1, + "column": 85 + }, + "end": { + "line": 1, + "column": 92 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 92, + "end": 93, + "loc": { + "start": { + "line": 1, + "column": 92 + }, + "end": { + "line": 1, + "column": 93 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 98, + "end": 101, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 7 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 102, + "end": 103, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 9 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 104, + "end": 107, + "loc": { + "start": { + "line": 2, + "column": 10 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 108, + "end": 135, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 135, + "end": 136, + "loc": { + "start": { + "line": 2, + "column": 41 + }, + "end": { + "line": 2, + "column": 42 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 136, + "end": 140, + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 140, + "end": 141, + "loc": { + "start": { + "line": 2, + "column": 46 + }, + "end": { + "line": 2, + "column": 47 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.015, + "start": 142, + "end": 147, + "loc": { + "start": { + "line": 2, + "column": 48 + }, + "end": { + "line": 2, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 147, + "end": 148, + "loc": { + "start": { + "line": 2, + "column": 53 + }, + "end": { + "line": 2, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 2, + "column": 54 + }, + "end": { + "line": 2, + "column": 55 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 151, + "end": 154, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "test", + "start": 155, + "end": 159, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 160, + "end": 161, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 162, + "end": 170, + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 171, + "end": 172, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 172, + "end": 180, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 180, + "end": 181, + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 182, + "end": 183, + "loc": { + "start": { + "line": 4, + "column": 31 + }, + "end": { + "line": 4, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 186, + "end": 189, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 5, + "column": 5 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 189, + "end": 190, + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 190, + "end": 195, + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 195, + "end": 196, + "loc": { + "start": { + "line": 5, + "column": 11 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 196, + "end": 197, + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 197, + "end": 198, + "loc": { + "start": { + "line": 5, + "column": 13 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 202, + "end": 205, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "time", + "start": 206, + "end": 210, + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 211, + "end": 212, + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 213, + "end": 216, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 217, + "end": 221, + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 223, + "end": 224, + "loc": { + "start": { + "line": 7, + "column": 23 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 224, + "end": 231, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 232, + "end": 233, + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 233, + "end": 234, + "loc": { + "start": { + "line": 7, + "column": 33 + }, + "end": { + "line": 7, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 241, + "end": 249, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 250, + "end": 251, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 60, + "start": 252, + "end": 254, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 19 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 255, + "end": 256, + "loc": { + "start": { + "line": 8, + "column": 20 + }, + "end": { + "line": 8, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 60, + "start": 257, + "end": 259, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 24 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 260, + "end": 261, + "loc": { + "start": { + "line": 8, + "column": 25 + }, + "end": { + "line": 8, + "column": 26 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 262, + "end": 266, + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 31 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 267, + "end": 268, + "loc": { + "start": { + "line": 8, + "column": 32 + }, + "end": { + "line": 8, + "column": 33 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 269, + "end": 272, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 8, + "column": 37 + }, + "end": { + "line": 8, + "column": 38 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 276, + "end": 279, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 280, + "end": 281, + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 7 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 281, + "end": 284, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 285, + "end": 286, + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 287, + "end": 288, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 289, + "end": 290, + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 290, + "end": 291, + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 292, + "end": 293, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 294, + "end": 295, + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 296, + "end": 299, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 299, + "end": 300, + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 301, + "end": 302, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 28 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 302, + "end": 304, + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 304, + "end": 305, + "loc": { + "start": { + "line": 9, + "column": 30 + }, + "end": { + "line": 9, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 306, + "end": 307, + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 33 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 312, + "end": 315, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 316, + "end": 317, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 317, + "end": 320, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "j", + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 323, + "end": 324, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 325, + "end": 326, + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 326, + "end": 327, + "loc": { + "start": { + "line": 10, + "column": 18 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "j", + "start": 328, + "end": 329, + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 330, + "end": 331, + "loc": { + "start": { + "line": 10, + "column": 22 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 332, + "end": 335, + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 335, + "end": 336, + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "j", + "start": 337, + "end": 338, + "loc": { + "start": { + "line": 10, + "column": 29 + }, + "end": { + "line": 10, + "column": 30 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 338, + "end": 340, + "loc": { + "start": { + "line": 10, + "column": 30 + }, + "end": { + "line": 10, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 340, + "end": 341, + "loc": { + "start": { + "line": 10, + "column": 32 + }, + "end": { + "line": 10, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 342, + "end": 343, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 10, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 350, + "end": 353, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 353, + "end": 354, + "loc": { + "start": { + "line": 11, + "column": 9 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 354, + "end": 360, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 361, + "end": 362, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 362, + "end": 363, + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "time", + "start": 364, + "end": 368, + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 24 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 369, + "end": 370, + "loc": { + "start": { + "line": 11, + "column": 25 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 371, + "end": 372, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 28 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 373, + "end": 374, + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 375, + "end": 383, + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 11, + "column": 39 + }, + "end": { + "line": 11, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 384, + "end": 385, + "loc": { + "start": { + "line": 11, + "column": 40 + }, + "end": { + "line": 11, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 390, + "end": 391, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 394, + "end": 395, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 399, + "end": 407, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "printSample", + "start": 408, + "end": 419, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 419, + "end": 420, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 420, + "end": 423, + "loc": { + "start": { + "line": 15, + "column": 23 + }, + "end": { + "line": 15, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 423, + "end": 424, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 425, + "end": 426, + "loc": { + "start": { + "line": 15, + "column": 28 + }, + "end": { + "line": 15, + "column": 29 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 431, + "end": 434, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valueCounts", + "start": 435, + "end": 446, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 447, + "end": 448, + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 449, + "end": 450, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 450, + "end": 451, + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 451, + "end": 452, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 461, + "end": 467, + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 468, + "end": 469, + "loc": { + "start": { + "line": 17, + "column": 15 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 470, + "end": 473, + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 473, + "end": 474, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getValues", + "start": 474, + "end": 483, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 483, + "end": 484, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 484, + "end": 485, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 485, + "end": 486, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 33 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 492, + "end": 495, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 496, + "end": 497, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 497, + "end": 500, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 501, + "end": 502, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 503, + "end": 504, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 505, + "end": 506, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 506, + "end": 507, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 508, + "end": 509, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 510, + "end": 511, + "loc": { + "start": { + "line": 19, + "column": 22 + }, + "end": { + "line": 19, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 512, + "end": 515, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 515, + "end": 516, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 516, + "end": 520, + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 521, + "end": 522, + "loc": { + "start": { + "line": 19, + "column": 33 + }, + "end": { + "line": 19, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 522, + "end": 523, + "loc": { + "start": { + "line": 19, + "column": 34 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 524, + "end": 525, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 525, + "end": 527, + "loc": { + "start": { + "line": 19, + "column": 37 + }, + "end": { + "line": 19, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 527, + "end": 528, + "loc": { + "start": { + "line": 19, + "column": 39 + }, + "end": { + "line": 19, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 529, + "end": 530, + "loc": { + "start": { + "line": 19, + "column": 41 + }, + "end": { + "line": 19, + "column": 42 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 537, + "end": 539, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 540, + "end": 541, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valueCounts", + "start": 541, + "end": 552, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 21 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 552, + "end": 553, + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 553, + "end": 559, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 28 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 559, + "end": 560, + "loc": { + "start": { + "line": 20, + "column": 28 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 560, + "end": 561, + "loc": { + "start": { + "line": 20, + "column": 29 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 562, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 563, + "end": 566, + "loc": { + "start": { + "line": 20, + "column": 32 + }, + "end": { + "line": 20, + "column": 35 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 20, + "column": 35 + }, + "end": { + "line": 20, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 567, + "end": 568, + "loc": { + "start": { + "line": 20, + "column": 36 + }, + "end": { + "line": 20, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 569, + "end": 570, + "loc": { + "start": { + "line": 20, + "column": 38 + }, + "end": { + "line": 20, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valueCounts", + "start": 579, + "end": 590, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 590, + "end": 591, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 591, + "end": 597, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 26 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 597, + "end": 598, + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 599, + "end": 600, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 601, + "end": 604, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 34 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 605, + "end": 607, + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 607, + "end": 608, + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 21, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 615, + "end": 616, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 617, + "end": 621, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valueCounts", + "start": 632, + "end": 643, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 643, + "end": 644, + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 644, + "end": 650, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 26 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 650, + "end": 651, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 651, + "end": 652, + "loc": { + "start": { + "line": 23, + "column": 27 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 652, + "end": 653, + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 653, + "end": 654, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 654, + "end": 657, + "loc": { + "start": { + "line": 23, + "column": 30 + }, + "end": { + "line": 23, + "column": 33 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 657, + "end": 658, + "loc": { + "start": { + "line": 23, + "column": 33 + }, + "end": { + "line": 23, + "column": 34 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 659, + "end": 660, + "loc": { + "start": { + "line": 23, + "column": 35 + }, + "end": { + "line": 23, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 661, + "end": 662, + "loc": { + "start": { + "line": 23, + "column": 37 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 662, + "end": 663, + "loc": { + "start": { + "line": 23, + "column": 38 + }, + "end": { + "line": 23, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 670, + "end": 671, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 676, + "end": 677, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 682, + "end": 688, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valueCounts", + "start": 689, + "end": 700, + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 26, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 700, + "end": 701, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 704, + "end": 705, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 709, + "end": 716, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 716, + "end": 717, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 717, + "end": 720, + "loc": { + "start": { + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "This is an exponential distribution:", + "start": 721, + "end": 759, + "loc": { + "start": { + "line": 29, + "column": 14 + }, + "end": { + "line": 29, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 759, + "end": 760, + "loc": { + "start": { + "line": 29, + "column": 52 + }, + "end": { + "line": 29, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 760, + "end": 761, + "loc": { + "start": { + "line": 29, + "column": 53 + }, + "end": { + "line": 29, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 764, + "end": 771, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 771, + "end": 772, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 772, + "end": 775, + "loc": { + "start": { + "line": 30, + "column": 10 + }, + "end": { + "line": 30, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 775, + "end": 776, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "printSample", + "start": 776, + "end": 787, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 787, + "end": 788, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 788, + "end": 791, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 791, + "end": 792, + "loc": { + "start": { + "line": 30, + "column": 29 + }, + "end": { + "line": 30, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 792, + "end": 793, + "loc": { + "start": { + "line": 30, + "column": 30 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 793, + "end": 794, + "loc": { + "start": { + "line": 30, + "column": 31 + }, + "end": { + "line": 30, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 798, + "end": 801, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 801, + "end": 802, + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rescale", + "start": 802, + "end": 809, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 809, + "end": 810, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "time", + "start": 810, + "end": 814, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 18 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 815, + "end": 816, + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 817, + "end": 820, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 24 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 821, + "end": 822, + "loc": { + "start": { + "line": 32, + "column": 25 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 823, + "end": 831, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 831, + "end": 832, + "loc": { + "start": { + "line": 32, + "column": 35 + }, + "end": { + "line": 32, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 832, + "end": 833, + "loc": { + "start": { + "line": 32, + "column": 36 + }, + "end": { + "line": 32, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 837, + "end": 844, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 844, + "end": 845, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 845, + "end": 848, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 848, + "end": 849, + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "This is after rescaling", + "start": 849, + "end": 874, + "loc": { + "start": { + "line": 34, + "column": 14 + }, + "end": { + "line": 34, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 874, + "end": 875, + "loc": { + "start": { + "line": 34, + "column": 39 + }, + "end": { + "line": 34, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 875, + "end": 876, + "loc": { + "start": { + "line": 34, + "column": 40 + }, + "end": { + "line": 34, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 879, + "end": 886, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 886, + "end": 887, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 887, + "end": 890, + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 890, + "end": 891, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eds", + "start": 891, + "end": 894, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 894, + "end": 895, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getValues", + "start": 895, + "end": 904, + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 904, + "end": 905, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 905, + "end": 906, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 906, + "end": 907, + "loc": { + "start": { + "line": 35, + "column": 29 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 907, + "end": 908, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 31 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 911, + "end": 913, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 914, + "end": 915, + "loc": { + "start": { + "line": 36, + "column": 5 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 915, + "end": 921, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 922, + "end": 930, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 21 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 931, + "end": 933, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "function", + "start": 934, + "end": 944, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 944, + "end": 945, + "loc": { + "start": { + "line": 36, + "column": 35 + }, + "end": { + "line": 36, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 946, + "end": 947, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 952, + "end": 960, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 960, + "end": 961, + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 961, + "end": 962, + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 962, + "end": 963, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 966, + "end": 967, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 968, + "end": 969, + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 969, + "end": 970, + "loc": { + "start": { + "line": 39, + "column": 1 + }, + "end": { + "line": 39, + "column": 2 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 972, + "end": 974, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 2 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 975, + "end": 976, + "loc": { + "start": { + "line": 41, + "column": 3 + }, + "end": { + "line": 41, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 976, + "end": 982, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 982, + "end": 983, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parent", + "start": 983, + "end": 989, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 989, + "end": 990, + "loc": { + "start": { + "line": 41, + "column": 17 + }, + "end": { + "line": 41, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 991, + "end": 992, + "loc": { + "start": { + "line": 41, + "column": 19 + }, + "end": { + "line": 41, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 995, + "end": 1001, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1001, + "end": 1002, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exports", + "start": 1002, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1010, + "end": 1011, + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "test", + "start": 1012, + "end": 1016, + "loc": { + "start": { + "line": 42, + "column": 19 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1016, + "end": 1017, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1018, + "end": 1019, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 1 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1020, + "end": 1024, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1025, + "end": 1026, + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "test", + "start": 1029, + "end": 1033, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1033, + "end": 1034, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1034, + "end": 1035, + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1035, + "end": 1036, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1037, + "end": 1038, + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 45, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1038, + "end": 1038, + "loc": { + "start": { + "line": 45, + "column": 1 + }, + "end": { + "line": 45, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/exponentially_weighted_moving_average-test.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/exponentially_weighted_moving_average-test.js.json new file mode 100644 index 0000000..40fa5a8 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/exponentially_weighted_moving_average-test.js.json @@ -0,0 +1,5362 @@ +{ + "type": "File", + "start": 0, + "end": 912, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 28, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 912, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 28, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 0, + "end": 104, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 104 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4, + "end": 103, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 103 + } + }, + "id": { + "type": "Identifier", + "start": 4, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 38 + }, + "identifierName": "ExponentiallyWeightedMovingAverage" + }, + "name": "ExponentiallyWeightedMovingAverage" + }, + "init": { + "type": "MemberExpression", + "start": 41, + "end": 103, + "loc": { + "start": { + "line": 1, + "column": 41 + }, + "end": { + "line": 1, + "column": 103 + } + }, + "object": { + "type": "CallExpression", + "start": 41, + "end": 95, + "loc": { + "start": { + "line": 1, + "column": 41 + }, + "end": { + "line": 1, + "column": 95 + } + }, + "callee": { + "type": "Identifier", + "start": 41, + "end": 48, + "loc": { + "start": { + "line": 1, + "column": 41 + }, + "end": { + "line": 1, + "column": 48 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 49, + "end": 94, + "loc": { + "start": { + "line": 1, + "column": 49 + }, + "end": { + "line": 1, + "column": 94 + } + }, + "extra": { + "rawValue": "../stats/ExponentiallyWeightedMovingAverage", + "raw": "'../stats/ExponentiallyWeightedMovingAverage'" + }, + "value": "../stats/ExponentiallyWeightedMovingAverage" + } + ] + }, + "property": { + "type": "Identifier", + "start": 96, + "end": 103, + "loc": { + "start": { + "line": 1, + "column": 96 + }, + "end": { + "line": 1, + "column": 103 + }, + "identifierName": "default" + }, + "name": "default" + }, + "computed": false + } + } + ], + "kind": "var" + }, + { + "type": "VariableDeclaration", + "start": 105, + "end": 203, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 98 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 109, + "end": 202, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 97 + } + }, + "id": { + "type": "Identifier", + "start": 109, + "end": 146, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 41 + }, + "identifierName": "exponentially_weighted_moving_average" + }, + "name": "exponentially_weighted_moving_average" + }, + "init": { + "type": "NewExpression", + "start": 149, + "end": 202, + "loc": { + "start": { + "line": 2, + "column": 44 + }, + "end": { + "line": 2, + "column": 97 + } + }, + "callee": { + "type": "MemberExpression", + "start": 153, + "end": 200, + "loc": { + "start": { + "line": 2, + "column": 48 + }, + "end": { + "line": 2, + "column": 95 + } + }, + "object": { + "type": "Identifier", + "start": 153, + "end": 187, + "loc": { + "start": { + "line": 2, + "column": 48 + }, + "end": { + "line": 2, + "column": 82 + }, + "identifierName": "ExponentiallyWeightedMovingAverage" + }, + "name": "ExponentiallyWeightedMovingAverage" + }, + "property": { + "type": "Identifier", + "start": 188, + "end": 200, + "loc": { + "start": { + "line": 2, + "column": 83 + }, + "end": { + "line": 2, + "column": 95 + }, + "identifierName": "createM1EWMA" + }, + "name": "createM1EWMA" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "var", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {ExponentiallyWeightedMovingAverage}\n ", + "start": 205, + "end": 258, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 259, + "end": 844, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 22, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 263, + "end": 843, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 263, + "end": 267, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 8 + }, + "identifierName": "test" + }, + "name": "test", + "leadingComments": null + }, + "init": { + "type": "FunctionExpression", + "start": 270, + "end": 843, + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 263, + "end": 267, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 8 + }, + "identifierName": "test" + }, + "name": "test", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 280, + "end": 288, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 29 + }, + "identifierName": "callback" + }, + "name": "callback" + } + ], + "body": { + "type": "BlockStatement", + "start": 290, + "end": 843, + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 294, + "end": 356, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 64 + } + }, + "expression": { + "type": "CallExpression", + "start": 294, + "end": 355, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 294, + "end": 305, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 294, + "end": 301, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 9 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 302, + "end": 305, + "loc": { + "start": { + "line": 8, + "column": 10 + }, + "end": { + "line": 8, + "column": 13 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 306, + "end": 354, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 62 + } + }, + "extra": { + "rawValue": "\nTesting ExponentiallyWeightedMovingAverage\n", + "raw": "'\\nTesting ExponentiallyWeightedMovingAverage\\n'" + }, + "value": "\nTesting ExponentiallyWeightedMovingAverage\n" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 359, + "end": 429, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 72 + } + }, + "expression": { + "type": "CallExpression", + "start": 359, + "end": 428, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 71 + } + }, + "callee": { + "type": "MemberExpression", + "start": 359, + "end": 370, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 359, + "end": 366, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 9 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 367, + "end": 370, + "loc": { + "start": { + "line": 9, + "column": 10 + }, + "end": { + "line": 9, + "column": 13 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 371, + "end": 427, + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 70 + } + }, + "extra": { + "rawValue": "Sending updates every 100 milliseconds for 30 seconds.", + "raw": "'Sending updates every 100 milliseconds for 30 seconds.'" + }, + "value": "Sending updates every 100 milliseconds for 30 seconds." + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 433, + "end": 542, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 13, + "column": 10 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 437, + "end": 541, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 13, + "column": 9 + } + }, + "id": { + "type": "Identifier", + "start": 437, + "end": 451, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 20 + }, + "identifierName": "updateInterval" + }, + "name": "updateInterval" + }, + "init": { + "type": "CallExpression", + "start": 454, + "end": 541, + "loc": { + "start": { + "line": 11, + "column": 23 + }, + "end": { + "line": 13, + "column": 9 + } + }, + "callee": { + "type": "Identifier", + "start": 454, + "end": 465, + "loc": { + "start": { + "line": 11, + "column": 23 + }, + "end": { + "line": 11, + "column": 34 + }, + "identifierName": "setInterval" + }, + "name": "setInterval" + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 466, + "end": 535, + "loc": { + "start": { + "line": 11, + "column": 35 + }, + "end": { + "line": 13, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 478, + "end": 535, + "loc": { + "start": { + "line": 11, + "column": 47 + }, + "end": { + "line": 13, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 484, + "end": 531, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 51 + } + }, + "expression": { + "type": "CallExpression", + "start": 484, + "end": 530, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 484, + "end": 528, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 484, + "end": 521, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 41 + }, + "identifierName": "exponentially_weighted_moving_average" + }, + "name": "exponentially_weighted_moving_average" + }, + "property": { + "type": "Identifier", + "start": 522, + "end": 528, + "loc": { + "start": { + "line": 12, + "column": 42 + }, + "end": { + "line": 12, + "column": 48 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 537, + "end": 540, + "loc": { + "start": { + "line": 13, + "column": 5 + }, + "end": { + "line": 13, + "column": 8 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + ] + } + } + ], + "kind": "var" + }, + { + "type": "ExpressionStatement", + "start": 545, + "end": 841, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 21, + "column": 12 + } + }, + "expression": { + "type": "CallExpression", + "start": 545, + "end": 840, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 21, + "column": 11 + } + }, + "callee": { + "type": "Identifier", + "start": 545, + "end": 555, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 12 + }, + "identifierName": "setTimeout" + }, + "name": "setTimeout" + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 556, + "end": 832, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 21, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 568, + "end": 832, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 21, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 574, + "end": 604, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 34 + } + }, + "expression": { + "type": "CallExpression", + "start": 574, + "end": 603, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 574, + "end": 587, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 17 + }, + "identifierName": "clearInterval" + }, + "name": "clearInterval" + }, + "arguments": [ + { + "type": "Identifier", + "start": 588, + "end": 602, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 32 + }, + "identifierName": "updateInterval" + }, + "name": "updateInterval" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 609, + "end": 649, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 609, + "end": 648, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 609, + "end": 620, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 609, + "end": 616, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 11 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 617, + "end": 620, + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 15 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 621, + "end": 647, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 42 + } + }, + "extra": { + "rawValue": "\n\nExpected Average: 10", + "raw": "'\\n\\nExpected Average: 10'" + }, + "value": "\n\nExpected Average: 10" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 654, + "end": 763, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 113 + } + }, + "expression": { + "type": "CallExpression", + "start": 654, + "end": 762, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 112 + } + }, + "callee": { + "type": "MemberExpression", + "start": 654, + "end": 665, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 654, + "end": 661, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 11 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 662, + "end": 665, + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 15 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 666, + "end": 761, + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 111 + } + }, + "left": { + "type": "BinaryExpression", + "start": 666, + "end": 754, + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 104 + } + }, + "left": { + "type": "StringLiteral", + "start": 666, + "end": 707, + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 57 + } + }, + "extra": { + "rawValue": "Exponentially Weighted Moving Average: ", + "raw": "'Exponentially Weighted Moving Average: '" + }, + "value": "Exponentially Weighted Moving Average: " + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 710, + "end": 754, + "loc": { + "start": { + "line": 17, + "column": 60 + }, + "end": { + "line": 17, + "column": 104 + } + }, + "callee": { + "type": "MemberExpression", + "start": 710, + "end": 752, + "loc": { + "start": { + "line": 17, + "column": 60 + }, + "end": { + "line": 17, + "column": 102 + } + }, + "object": { + "type": "Identifier", + "start": 710, + "end": 747, + "loc": { + "start": { + "line": 17, + "column": 60 + }, + "end": { + "line": 17, + "column": 97 + }, + "identifierName": "exponentially_weighted_moving_average" + }, + "name": "exponentially_weighted_moving_average" + }, + "property": { + "type": "Identifier", + "start": 748, + "end": 752, + "loc": { + "start": { + "line": 17, + "column": 98 + }, + "end": { + "line": 17, + "column": 102 + }, + "identifierName": "rate" + }, + "name": "rate" + }, + "computed": false + }, + "arguments": [] + } + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 757, + "end": 761, + "loc": { + "start": { + "line": 17, + "column": 107 + }, + "end": { + "line": 17, + "column": 111 + } + }, + "extra": { + "rawValue": "\n", + "raw": "'\\n'" + }, + "value": "\n" + } + } + ] + } + }, + { + "type": "IfStatement", + "start": 768, + "end": 828, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 20, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 772, + "end": 801, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 37 + } + }, + "left": { + "type": "UnaryExpression", + "start": 772, + "end": 787, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 23 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 779, + "end": 787, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 23 + }, + "identifierName": "callback" + }, + "name": "callback" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "==", + "right": { + "type": "StringLiteral", + "start": 791, + "end": 801, + "loc": { + "start": { + "line": 18, + "column": 27 + }, + "end": { + "line": 18, + "column": 37 + } + }, + "extra": { + "rawValue": "function", + "raw": "'function'" + }, + "value": "function" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 803, + "end": 828, + "loc": { + "start": { + "line": 18, + "column": 39 + }, + "end": { + "line": 20, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 811, + "end": 822, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 811, + "end": 821, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 811, + "end": 819, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 14 + }, + "identifierName": "callback" + }, + "name": "callback" + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 834, + "end": 839, + "loc": { + "start": { + "line": 21, + "column": 5 + }, + "end": { + "line": 21, + "column": 10 + } + }, + "extra": { + "rawValue": 30000, + "raw": "30000" + }, + "value": 30000 + } + ] + } + } + ], + "directives": [] + } + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {ExponentiallyWeightedMovingAverage}\n ", + "start": 205, + "end": 258, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 846, + "end": 912, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 28, + "column": 1 + } + }, + "test": { + "type": "MemberExpression", + "start": 850, + "end": 863, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 850, + "end": 856, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 10 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 857, + "end": 863, + "loc": { + "start": { + "line": 24, + "column": 11 + }, + "end": { + "line": 24, + "column": 17 + }, + "identifierName": "parent" + }, + "name": "parent" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 865, + "end": 893, + "loc": { + "start": { + "line": 24, + "column": 19 + }, + "end": { + "line": 26, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 869, + "end": 891, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 869, + "end": 890, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 869, + "end": 883, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 869, + "end": 875, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 8 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 876, + "end": 883, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 16 + }, + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 886, + "end": 890, + "loc": { + "start": { + "line": 25, + "column": 19 + }, + "end": { + "line": 25, + "column": 23 + }, + "identifierName": "test" + }, + "name": "test" + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 899, + "end": 912, + "loc": { + "start": { + "line": 26, + "column": 7 + }, + "end": { + "line": 28, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 903, + "end": 910, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 903, + "end": 909, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 8 + } + }, + "callee": { + "type": "Identifier", + "start": 903, + "end": 907, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 6 + }, + "identifierName": "test" + }, + "name": "test" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {ExponentiallyWeightedMovingAverage}\n ", + "start": 205, + "end": 258, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 0, + "end": 3, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyWeightedMovingAverage", + "start": 4, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 39, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 39 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 41, + "end": 48, + "loc": { + "start": { + "line": 1, + "column": 41 + }, + "end": { + "line": 1, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 48 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../stats/ExponentiallyWeightedMovingAverage", + "start": 49, + "end": 94, + "loc": { + "start": { + "line": 1, + "column": 49 + }, + "end": { + "line": 1, + "column": 94 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 94, + "end": 95, + "loc": { + "start": { + "line": 1, + "column": 94 + }, + "end": { + "line": 1, + "column": 95 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 95, + "end": 96, + "loc": { + "start": { + "line": 1, + "column": 95 + }, + "end": { + "line": 1, + "column": 96 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 96, + "end": 103, + "loc": { + "start": { + "line": 1, + "column": 96 + }, + "end": { + "line": 1, + "column": 103 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 103, + "end": 104, + "loc": { + "start": { + "line": 1, + "column": 103 + }, + "end": { + "line": 1, + "column": 104 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 105, + "end": 108, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exponentially_weighted_moving_average", + "start": 109, + "end": 146, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 147, + "end": 148, + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 43 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 149, + "end": 152, + "loc": { + "start": { + "line": 2, + "column": 44 + }, + "end": { + "line": 2, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyWeightedMovingAverage", + "start": 153, + "end": 187, + "loc": { + "start": { + "line": 2, + "column": 48 + }, + "end": { + "line": 2, + "column": 82 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 187, + "end": 188, + "loc": { + "start": { + "line": 2, + "column": 82 + }, + "end": { + "line": 2, + "column": 83 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createM1EWMA", + "start": 188, + "end": 200, + "loc": { + "start": { + "line": 2, + "column": 83 + }, + "end": { + "line": 2, + "column": 95 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 200, + "end": 201, + "loc": { + "start": { + "line": 2, + "column": 95 + }, + "end": { + "line": 2, + "column": 96 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 201, + "end": 202, + "loc": { + "start": { + "line": 2, + "column": 96 + }, + "end": { + "line": 2, + "column": 97 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 202, + "end": 203, + "loc": { + "start": { + "line": 2, + "column": 97 + }, + "end": { + "line": 2, + "column": 98 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @test {ExponentiallyWeightedMovingAverage}\n ", + "start": 205, + "end": 258, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 259, + "end": 262, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "test", + "start": 263, + "end": 267, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 268, + "end": 269, + "loc": { + "start": { + "line": 7, + "column": 9 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 270, + "end": 278, + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 279, + "end": 280, + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 280, + "end": 288, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 288, + "end": 289, + "loc": { + "start": { + "line": 7, + "column": 29 + }, + "end": { + "line": 7, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 290, + "end": 291, + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 294, + "end": 301, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 301, + "end": 302, + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 302, + "end": 305, + "loc": { + "start": { + "line": 8, + "column": 10 + }, + "end": { + "line": 8, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 305, + "end": 306, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "\nTesting ExponentiallyWeightedMovingAverage\n", + "start": 306, + "end": 354, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 354, + "end": 355, + "loc": { + "start": { + "line": 8, + "column": 62 + }, + "end": { + "line": 8, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 355, + "end": 356, + "loc": { + "start": { + "line": 8, + "column": 63 + }, + "end": { + "line": 8, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 359, + "end": 366, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 366, + "end": 367, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 367, + "end": 370, + "loc": { + "start": { + "line": 9, + "column": 10 + }, + "end": { + "line": 9, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 370, + "end": 371, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Sending updates every 100 milliseconds for 30 seconds.", + "start": 371, + "end": 427, + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 70 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 427, + "end": 428, + "loc": { + "start": { + "line": 9, + "column": 70 + }, + "end": { + "line": 9, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 428, + "end": 429, + "loc": { + "start": { + "line": 9, + "column": 71 + }, + "end": { + "line": 9, + "column": 72 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 433, + "end": 436, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateInterval", + "start": 437, + "end": 451, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 452, + "end": 453, + "loc": { + "start": { + "line": 11, + "column": 21 + }, + "end": { + "line": 11, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setInterval", + "start": 454, + "end": 465, + "loc": { + "start": { + "line": 11, + "column": 23 + }, + "end": { + "line": 11, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 465, + "end": 466, + "loc": { + "start": { + "line": 11, + "column": 34 + }, + "end": { + "line": 11, + "column": 35 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 466, + "end": 474, + "loc": { + "start": { + "line": 11, + "column": 35 + }, + "end": { + "line": 11, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 475, + "end": 476, + "loc": { + "start": { + "line": 11, + "column": 44 + }, + "end": { + "line": 11, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 476, + "end": 477, + "loc": { + "start": { + "line": 11, + "column": 45 + }, + "end": { + "line": 11, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 478, + "end": 479, + "loc": { + "start": { + "line": 11, + "column": 47 + }, + "end": { + "line": 11, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exponentially_weighted_moving_average", + "start": 484, + "end": 521, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 521, + "end": 522, + "loc": { + "start": { + "line": 12, + "column": 41 + }, + "end": { + "line": 12, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 522, + "end": 528, + "loc": { + "start": { + "line": 12, + "column": 42 + }, + "end": { + "line": 12, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 528, + "end": 529, + "loc": { + "start": { + "line": 12, + "column": 48 + }, + "end": { + "line": 12, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 529, + "end": 530, + "loc": { + "start": { + "line": 12, + "column": 49 + }, + "end": { + "line": 12, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 530, + "end": 531, + "loc": { + "start": { + "line": 12, + "column": 50 + }, + "end": { + "line": 12, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 534, + "end": 535, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 535, + "end": 536, + "loc": { + "start": { + "line": 13, + "column": 3 + }, + "end": { + "line": 13, + "column": 4 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 537, + "end": 540, + "loc": { + "start": { + "line": 13, + "column": 5 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 540, + "end": 541, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 541, + "end": 542, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setTimeout", + "start": 545, + "end": 555, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 556, + "end": 564, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 565, + "end": 566, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 568, + "end": 569, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearInterval", + "start": 574, + "end": 587, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 587, + "end": 588, + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateInterval", + "start": 588, + "end": 602, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 602, + "end": 603, + "loc": { + "start": { + "line": 15, + "column": 32 + }, + "end": { + "line": 15, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 603, + "end": 604, + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 609, + "end": 616, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 616, + "end": 617, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 617, + "end": 620, + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 620, + "end": 621, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "\n\nExpected Average: 10", + "start": 621, + "end": 647, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 647, + "end": 648, + "loc": { + "start": { + "line": 16, + "column": 42 + }, + "end": { + "line": 16, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 654, + "end": 661, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 661, + "end": 662, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 662, + "end": 665, + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 17, + "column": 15 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Exponentially Weighted Moving Average: ", + "start": 666, + "end": 707, + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 57 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 708, + "end": 709, + "loc": { + "start": { + "line": 17, + "column": 58 + }, + "end": { + "line": 17, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exponentially_weighted_moving_average", + "start": 710, + "end": 747, + "loc": { + "start": { + "line": 17, + "column": 60 + }, + "end": { + "line": 17, + "column": 97 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 747, + "end": 748, + "loc": { + "start": { + "line": 17, + "column": 97 + }, + "end": { + "line": 17, + "column": 98 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rate", + "start": 748, + "end": 752, + "loc": { + "start": { + "line": 17, + "column": 98 + }, + "end": { + "line": 17, + "column": 102 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 752, + "end": 753, + "loc": { + "start": { + "line": 17, + "column": 102 + }, + "end": { + "line": 17, + "column": 103 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 753, + "end": 754, + "loc": { + "start": { + "line": 17, + "column": 103 + }, + "end": { + "line": 17, + "column": 104 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 755, + "end": 756, + "loc": { + "start": { + "line": 17, + "column": 105 + }, + "end": { + "line": 17, + "column": 106 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "\n", + "start": 757, + "end": 761, + "loc": { + "start": { + "line": 17, + "column": 107 + }, + "end": { + "line": 17, + "column": 111 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 761, + "end": 762, + "loc": { + "start": { + "line": 17, + "column": 111 + }, + "end": { + "line": 17, + "column": 112 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 762, + "end": 763, + "loc": { + "start": { + "line": 17, + "column": 112 + }, + "end": { + "line": 17, + "column": 113 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 768, + "end": 770, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 771, + "end": 772, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 772, + "end": 778, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 779, + "end": 787, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 23 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 788, + "end": 790, + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "function", + "start": 791, + "end": 801, + "loc": { + "start": { + "line": 18, + "column": 27 + }, + "end": { + "line": 18, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 801, + "end": 802, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 803, + "end": 804, + "loc": { + "start": { + "line": 18, + "column": 39 + }, + "end": { + "line": 18, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 811, + "end": 819, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 819, + "end": 820, + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 820, + "end": 821, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 821, + "end": 822, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 827, + "end": 828, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 831, + "end": 832, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 832, + "end": 833, + "loc": { + "start": { + "line": 21, + "column": 3 + }, + "end": { + "line": 21, + "column": 4 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 30000, + "start": 834, + "end": 839, + "loc": { + "start": { + "line": 21, + "column": 5 + }, + "end": { + "line": 21, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 839, + "end": 840, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 840, + "end": 841, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 842, + "end": 843, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 843, + "end": 844, + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 2 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 846, + "end": 848, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 2 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 849, + "end": 850, + "loc": { + "start": { + "line": 24, + "column": 3 + }, + "end": { + "line": 24, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 850, + "end": 856, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 856, + "end": 857, + "loc": { + "start": { + "line": 24, + "column": 10 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parent", + "start": 857, + "end": 863, + "loc": { + "start": { + "line": 24, + "column": 11 + }, + "end": { + "line": 24, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 863, + "end": 864, + "loc": { + "start": { + "line": 24, + "column": 17 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 24, + "column": 19 + }, + "end": { + "line": 24, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 869, + "end": 875, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 875, + "end": 876, + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exports", + "start": 876, + "end": 883, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 884, + "end": 885, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "test", + "start": 886, + "end": 890, + "loc": { + "start": { + "line": 25, + "column": 19 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 890, + "end": 891, + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 892, + "end": 893, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 1 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 894, + "end": 898, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 899, + "end": 900, + "loc": { + "start": { + "line": 26, + "column": 7 + }, + "end": { + "line": 26, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "test", + "start": 903, + "end": 907, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 907, + "end": 908, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 908, + "end": 909, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 909, + "end": 910, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 911, + "end": 912, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 912, + "end": 912, + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/histogram-test.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/histogram-test.js.json new file mode 100644 index 0000000..938b535 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/histogram-test.js.json @@ -0,0 +1,7234 @@ +{ + "type": "File", + "start": 0, + "end": 726, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 726, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 0, + "end": 159, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 50 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 4, + "end": 10, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "init": { + "type": "MemberExpression", + "start": 13, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 35 + } + }, + "object": { + "type": "CallExpression", + "start": 13, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 13, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 20 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 27 + } + }, + "extra": { + "rawValue": "chai", + "raw": "'chai'" + }, + "value": "chai" + } + ] + }, + "property": { + "type": "Identifier", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 35 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 41, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 41, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 12 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "init": { + "type": "MemberExpression", + "start": 52, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 40 + } + }, + "object": { + "type": "CallExpression", + "start": 52, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 22 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 60, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 30 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + ] + }, + "property": { + "type": "Identifier", + "start": 69, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 40 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 83, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 83, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 6 + }, + "identifierName": "it" + }, + "name": "it" + }, + "init": { + "type": "MemberExpression", + "start": 88, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 28 + } + }, + "object": { + "type": "CallExpression", + "start": 88, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 25 + } + }, + "callee": { + "type": "Identifier", + "start": 88, + "end": 95, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 16 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 96, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + ] + }, + "property": { + "type": "Identifier", + "start": 105, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 28 + }, + "identifierName": "it" + }, + "name": "it" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 113, + "end": 158, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 49 + } + }, + "id": { + "type": "Identifier", + "start": 113, + "end": 122, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 13 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "init": { + "type": "MemberExpression", + "start": 125, + "end": 158, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 49 + } + }, + "object": { + "type": "CallExpression", + "start": 125, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 125, + "end": 132, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 23 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 133, + "end": 147, + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 38 + } + }, + "extra": { + "rawValue": "../Histogram", + "raw": "'../Histogram'" + }, + "value": "../Histogram" + } + ] + }, + "property": { + "type": "Identifier", + "start": 149, + "end": 158, + "loc": { + "start": { + "line": 4, + "column": 40 + }, + "end": { + "line": 4, + "column": 49 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "computed": false + } + } + ], + "kind": "var", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Histogram}\n ", + "start": 161, + "end": 189, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 190, + "end": 726, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 190, + "end": 725, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 24, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 190, + "end": 198, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe", + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 199, + "end": 210, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 20 + } + }, + "extra": { + "rawValue": "Histogram", + "raw": "'Histogram'" + }, + "value": "Histogram" + }, + { + "type": "FunctionExpression", + "start": 212, + "end": 724, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 24, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 224, + "end": 724, + "loc": { + "start": { + "line": 9, + "column": 34 + }, + "end": { + "line": 24, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 228, + "end": 722, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 23, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 228, + "end": 721, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 23, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 228, + "end": 230, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 4 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 231, + "end": 294, + "loc": { + "start": { + "line": 10, + "column": 5 + }, + "end": { + "line": 10, + "column": 68 + } + }, + "extra": { + "rawValue": "should properly record percentiles from uniform distribution.", + "raw": "'should properly record percentiles from uniform distribution.'" + }, + "value": "should properly record percentiles from uniform distribution." + }, + { + "type": "FunctionExpression", + "start": 296, + "end": 720, + "loc": { + "start": { + "line": 10, + "column": 70 + }, + "end": { + "line": 23, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 308, + "end": 720, + "loc": { + "start": { + "line": 10, + "column": 82 + }, + "end": { + "line": 23, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 314, + "end": 368, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 58 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 318, + "end": 367, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 57 + } + }, + "id": { + "type": "Identifier", + "start": 318, + "end": 326, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 16 + }, + "identifierName": "unifHist" + }, + "name": "unifHist" + }, + "init": { + "type": "CallExpression", + "start": 329, + "end": 367, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 329, + "end": 361, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 329, + "end": 338, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 28 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "property": { + "type": "Identifier", + "start": 339, + "end": 361, + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 51 + }, + "identifierName": "createUniformHistogram" + }, + "name": "createUniformHistogram" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 362, + "end": 366, + "loc": { + "start": { + "line": 11, + "column": 52 + }, + "end": { + "line": 11, + "column": 56 + } + }, + "extra": { + "rawValue": 5000, + "raw": "5000" + }, + "value": 5000 + } + ] + } + } + ], + "kind": "var" + }, + { + "type": "ForStatement", + "start": 374, + "end": 439, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 15, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 379, + "end": 388, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 383, + "end": 388, + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 387, + "end": 388, + "loc": { + "start": { + "line": 13, + "column": 17 + }, + "end": { + "line": 13, + "column": 18 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 390, + "end": 399, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 29 + } + }, + "left": { + "type": "Identifier", + "start": 390, + "end": 391, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 394, + "end": 399, + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 29 + } + }, + "extra": { + "rawValue": 10000, + "raw": "10000" + }, + "value": 10000 + } + }, + "update": { + "type": "UpdateExpression", + "start": 401, + "end": 404, + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 34 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 401, + "end": 402, + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 32 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 406, + "end": 439, + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 15, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 414, + "end": 433, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 414, + "end": 432, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 414, + "end": 429, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 414, + "end": 422, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 14 + }, + "identifierName": "unifHist" + }, + "name": "unifHist" + }, + "property": { + "type": "Identifier", + "start": 423, + "end": 429, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 21 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 23 + }, + "identifierName": "i" + }, + "name": "i" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 445, + "end": 484, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 445, + "end": 483, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 445, + "end": 477, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 445, + "end": 471, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 445, + "end": 468, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 27 + } + }, + "callee": { + "type": "Identifier", + "start": 445, + "end": 451, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 452, + "end": 467, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 452, + "end": 465, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 452, + "end": 460, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 19 + }, + "identifierName": "unifHist" + }, + "name": "unifHist" + }, + "property": { + "type": "Identifier", + "start": 461, + "end": 465, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 24 + }, + "identifierName": "mean" + }, + "name": "mean" + }, + "computed": false + }, + "arguments": [] + } + ] + }, + "property": { + "type": "Identifier", + "start": 469, + "end": 471, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 30 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 472, + "end": 477, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 36 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 478, + "end": 482, + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 41 + } + }, + "extra": { + "rawValue": 5000, + "raw": "5000" + }, + "value": 5000 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 489, + "end": 535, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 489, + "end": 534, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 489, + "end": 525, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 489, + "end": 519, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 489, + "end": 516, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 489, + "end": 495, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 496, + "end": 515, + "loc": { + "start": { + "line": 18, + "column": 11 + }, + "end": { + "line": 18, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 496, + "end": 513, + "loc": { + "start": { + "line": 18, + "column": 11 + }, + "end": { + "line": 18, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 496, + "end": 504, + "loc": { + "start": { + "line": 18, + "column": 11 + }, + "end": { + "line": 18, + "column": 19 + }, + "identifierName": "unifHist" + }, + "name": "unifHist" + }, + "property": { + "type": "Identifier", + "start": 505, + "end": 513, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 28 + }, + "identifierName": "variance" + }, + "name": "variance" + }, + "computed": false + }, + "arguments": [] + } + ] + }, + "property": { + "type": "Identifier", + "start": 517, + "end": 519, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 34 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 520, + "end": 525, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 40 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 526, + "end": 533, + "loc": { + "start": { + "line": 18, + "column": 41 + }, + "end": { + "line": 18, + "column": 48 + } + }, + "extra": { + "rawValue": 8332500, + "raw": "8332500" + }, + "value": 8332500 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 540, + "end": 594, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 58 + } + }, + "expression": { + "type": "CallExpression", + "start": 540, + "end": 593, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 540, + "end": 574, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 540, + "end": 568, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 540, + "end": 565, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 29 + } + }, + "callee": { + "type": "Identifier", + "start": 540, + "end": 546, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 547, + "end": 564, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 28 + } + }, + "callee": { + "type": "MemberExpression", + "start": 547, + "end": 562, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 547, + "end": 555, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 19 + }, + "identifierName": "unifHist" + }, + "name": "unifHist" + }, + "property": { + "type": "Identifier", + "start": 556, + "end": 562, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 26 + }, + "identifierName": "stdDev" + }, + "name": "stdDev" + }, + "computed": false + }, + "arguments": [] + } + ] + }, + "property": { + "type": "Identifier", + "start": 566, + "end": 568, + "loc": { + "start": { + "line": 19, + "column": 30 + }, + "end": { + "line": 19, + "column": 32 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 569, + "end": 574, + "loc": { + "start": { + "line": 19, + "column": 33 + }, + "end": { + "line": 19, + "column": 38 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 575, + "end": 592, + "loc": { + "start": { + "line": 19, + "column": 39 + }, + "end": { + "line": 19, + "column": 56 + } + }, + "extra": { + "rawValue": 2886.607004772212, + "raw": "2886.607004772212" + }, + "value": 2886.607004772212 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 599, + "end": 637, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 599, + "end": 636, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 599, + "end": 630, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 599, + "end": 624, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 29 + } + }, + "object": { + "type": "CallExpression", + "start": 599, + "end": 621, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 26 + } + }, + "callee": { + "type": "Identifier", + "start": 599, + "end": 605, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 606, + "end": 620, + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 606, + "end": 614, + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 19 + }, + "identifierName": "unifHist" + }, + "name": "unifHist" + }, + "property": { + "type": "Identifier", + "start": 615, + "end": 620, + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 25 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 622, + "end": 624, + "loc": { + "start": { + "line": 20, + "column": 27 + }, + "end": { + "line": 20, + "column": 29 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 625, + "end": 630, + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 35 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 631, + "end": 635, + "loc": { + "start": { + "line": 20, + "column": 36 + }, + "end": { + "line": 20, + "column": 40 + } + }, + "extra": { + "rawValue": 9999, + "raw": "9999" + }, + "value": 9999 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 642, + "end": 675, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 642, + "end": 674, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 642, + "end": 671, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 642, + "end": 665, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 27 + } + }, + "object": { + "type": "CallExpression", + "start": 642, + "end": 662, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 24 + } + }, + "callee": { + "type": "Identifier", + "start": 642, + "end": 648, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 649, + "end": 661, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 649, + "end": 657, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 19 + }, + "identifierName": "unifHist" + }, + "name": "unifHist" + }, + "property": { + "type": "Identifier", + "start": 658, + "end": 661, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 23 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 663, + "end": 665, + "loc": { + "start": { + "line": 21, + "column": 25 + }, + "end": { + "line": 21, + "column": 27 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 666, + "end": 671, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 33 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 672, + "end": 673, + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 35 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 680, + "end": 716, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 680, + "end": 715, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 680, + "end": 709, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 680, + "end": 703, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 27 + } + }, + "object": { + "type": "CallExpression", + "start": 680, + "end": 700, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 24 + } + }, + "callee": { + "type": "Identifier", + "start": 680, + "end": 686, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 687, + "end": 699, + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 22, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 687, + "end": 695, + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 22, + "column": 19 + }, + "identifierName": "unifHist" + }, + "name": "unifHist" + }, + "property": { + "type": "Identifier", + "start": 696, + "end": 699, + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 23 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 701, + "end": 703, + "loc": { + "start": { + "line": 22, + "column": 25 + }, + "end": { + "line": 22, + "column": 27 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 704, + "end": 709, + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 33 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 710, + "end": 714, + "loc": { + "start": { + "line": 22, + "column": 34 + }, + "end": { + "line": 22, + "column": 38 + } + }, + "extra": { + "rawValue": 9999, + "raw": "9999" + }, + "value": 9999 + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Histogram}\n ", + "start": 161, + "end": 189, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Histogram}\n ", + "start": 161, + "end": 189, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 0, + "end": 3, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 4, + "end": 10, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 11, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 11 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 13, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20, + "end": 21, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "chai", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 28, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 35, + "end": 36, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 41, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 50, + "end": 51, + "loc": { + "start": { + "line": 2, + "column": 13 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 59, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 60, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 67, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 68, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 69, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 77, + "end": 78, + "loc": { + "start": { + "line": 2, + "column": 40 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 83, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 86, + "end": 87, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 88, + "end": 95, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 95, + "end": 96, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 96, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 103, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 104, + "end": 105, + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 105, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 107, + "end": 108, + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 113, + "end": 122, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 123, + "end": 124, + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 125, + "end": 132, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 132, + "end": 133, + "loc": { + "start": { + "line": 4, + "column": 23 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../Histogram", + "start": 133, + "end": 147, + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 147, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 38 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 4, + "column": 39 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 149, + "end": 158, + "loc": { + "start": { + "line": 4, + "column": 40 + }, + "end": { + "line": 4, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 158, + "end": 159, + "loc": { + "start": { + "line": 4, + "column": 49 + }, + "end": { + "line": 4, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @test {Histogram}\n ", + "start": 161, + "end": 189, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 190, + "end": 198, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 198, + "end": 199, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Histogram", + "start": 199, + "end": 210, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 210, + "end": 211, + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 212, + "end": 220, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 9, + "column": 31 + }, + "end": { + "line": 9, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 224, + "end": 225, + "loc": { + "start": { + "line": 9, + "column": 34 + }, + "end": { + "line": 9, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 228, + "end": 230, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 230, + "end": 231, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should properly record percentiles from uniform distribution.", + "start": 231, + "end": 294, + "loc": { + "start": { + "line": 10, + "column": 5 + }, + "end": { + "line": 10, + "column": 68 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 294, + "end": 295, + "loc": { + "start": { + "line": 10, + "column": 68 + }, + "end": { + "line": 10, + "column": 69 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 296, + "end": 304, + "loc": { + "start": { + "line": 10, + "column": 70 + }, + "end": { + "line": 10, + "column": 78 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 305, + "end": 306, + "loc": { + "start": { + "line": 10, + "column": 79 + }, + "end": { + "line": 10, + "column": 80 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 306, + "end": 307, + "loc": { + "start": { + "line": 10, + "column": 80 + }, + "end": { + "line": 10, + "column": 81 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 308, + "end": 309, + "loc": { + "start": { + "line": 10, + "column": 82 + }, + "end": { + "line": 10, + "column": 83 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 314, + "end": 317, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unifHist", + "start": 318, + "end": 326, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 327, + "end": 328, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 329, + "end": 338, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 338, + "end": 339, + "loc": { + "start": { + "line": 11, + "column": 28 + }, + "end": { + "line": 11, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createUniformHistogram", + "start": 339, + "end": 361, + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 361, + "end": 362, + "loc": { + "start": { + "line": 11, + "column": 51 + }, + "end": { + "line": 11, + "column": 52 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5000, + "start": 362, + "end": 366, + "loc": { + "start": { + "line": 11, + "column": 52 + }, + "end": { + "line": 11, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 366, + "end": 367, + "loc": { + "start": { + "line": 11, + "column": 56 + }, + "end": { + "line": 11, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 367, + "end": 368, + "loc": { + "start": { + "line": 11, + "column": 57 + }, + "end": { + "line": 11, + "column": 58 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 374, + "end": 377, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 378, + "end": 379, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 379, + "end": 382, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 385, + "end": 386, + "loc": { + "start": { + "line": 13, + "column": 15 + }, + "end": { + "line": 13, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 387, + "end": 388, + "loc": { + "start": { + "line": 13, + "column": 17 + }, + "end": { + "line": 13, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 388, + "end": 389, + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 390, + "end": 391, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 392, + "end": 393, + "loc": { + "start": { + "line": 13, + "column": 22 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10000, + "start": 394, + "end": 399, + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 399, + "end": 400, + "loc": { + "start": { + "line": 13, + "column": 29 + }, + "end": { + "line": 13, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 401, + "end": 402, + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 32 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 402, + "end": 404, + "loc": { + "start": { + "line": 13, + "column": 32 + }, + "end": { + "line": 13, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 404, + "end": 405, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 406, + "end": 407, + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 13, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unifHist", + "start": 414, + "end": 422, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 422, + "end": 423, + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 423, + "end": 429, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 429, + "end": 430, + "loc": { + "start": { + "line": 14, + "column": 21 + }, + "end": { + "line": 14, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 431, + "end": 432, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 432, + "end": 433, + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 438, + "end": 439, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 445, + "end": 451, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 451, + "end": 452, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unifHist", + "start": 452, + "end": 460, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 460, + "end": 461, + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 461, + "end": 465, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 465, + "end": 466, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 466, + "end": 467, + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 467, + "end": 468, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 468, + "end": 469, + "loc": { + "start": { + "line": 17, + "column": 27 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 469, + "end": 471, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 471, + "end": 472, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 472, + "end": 477, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 477, + "end": 478, + "loc": { + "start": { + "line": 17, + "column": 36 + }, + "end": { + "line": 17, + "column": 37 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5000, + "start": 478, + "end": 482, + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 482, + "end": 483, + "loc": { + "start": { + "line": 17, + "column": 41 + }, + "end": { + "line": 17, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 483, + "end": 484, + "loc": { + "start": { + "line": 17, + "column": 42 + }, + "end": { + "line": 17, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 489, + "end": 495, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 495, + "end": 496, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unifHist", + "start": 496, + "end": 504, + "loc": { + "start": { + "line": 18, + "column": 11 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 504, + "end": 505, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "variance", + "start": 505, + "end": 513, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 513, + "end": 514, + "loc": { + "start": { + "line": 18, + "column": 28 + }, + "end": { + "line": 18, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 514, + "end": 515, + "loc": { + "start": { + "line": 18, + "column": 29 + }, + "end": { + "line": 18, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 515, + "end": 516, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 516, + "end": 517, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 517, + "end": 519, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 519, + "end": 520, + "loc": { + "start": { + "line": 18, + "column": 34 + }, + "end": { + "line": 18, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 520, + "end": 525, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 525, + "end": 526, + "loc": { + "start": { + "line": 18, + "column": 40 + }, + "end": { + "line": 18, + "column": 41 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 8332500, + "start": 526, + "end": 533, + "loc": { + "start": { + "line": 18, + "column": 41 + }, + "end": { + "line": 18, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 533, + "end": 534, + "loc": { + "start": { + "line": 18, + "column": 48 + }, + "end": { + "line": 18, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 534, + "end": 535, + "loc": { + "start": { + "line": 18, + "column": 49 + }, + "end": { + "line": 18, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 540, + "end": 546, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 546, + "end": 547, + "loc": { + "start": { + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unifHist", + "start": 547, + "end": 555, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stdDev", + "start": 556, + "end": 562, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 562, + "end": 563, + "loc": { + "start": { + "line": 19, + "column": 26 + }, + "end": { + "line": 19, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 563, + "end": 564, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 564, + "end": 565, + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 565, + "end": 566, + "loc": { + "start": { + "line": 19, + "column": 29 + }, + "end": { + "line": 19, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 566, + "end": 568, + "loc": { + "start": { + "line": 19, + "column": 30 + }, + "end": { + "line": 19, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 568, + "end": 569, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 569, + "end": 574, + "loc": { + "start": { + "line": 19, + "column": 33 + }, + "end": { + "line": 19, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 574, + "end": 575, + "loc": { + "start": { + "line": 19, + "column": 38 + }, + "end": { + "line": 19, + "column": 39 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2886.607004772212, + "start": 575, + "end": 592, + "loc": { + "start": { + "line": 19, + "column": 39 + }, + "end": { + "line": 19, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 592, + "end": 593, + "loc": { + "start": { + "line": 19, + "column": 56 + }, + "end": { + "line": 19, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 19, + "column": 57 + }, + "end": { + "line": 19, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 599, + "end": 605, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 605, + "end": 606, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unifHist", + "start": 606, + "end": 614, + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 614, + "end": 615, + "loc": { + "start": { + "line": 20, + "column": 19 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 615, + "end": 620, + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 620, + "end": 621, + "loc": { + "start": { + "line": 20, + "column": 25 + }, + "end": { + "line": 20, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 621, + "end": 622, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 622, + "end": 624, + "loc": { + "start": { + "line": 20, + "column": 27 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 624, + "end": 625, + "loc": { + "start": { + "line": 20, + "column": 29 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 625, + "end": 630, + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 630, + "end": 631, + "loc": { + "start": { + "line": 20, + "column": 35 + }, + "end": { + "line": 20, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 9999, + "start": 631, + "end": 635, + "loc": { + "start": { + "line": 20, + "column": 36 + }, + "end": { + "line": 20, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 635, + "end": 636, + "loc": { + "start": { + "line": 20, + "column": 40 + }, + "end": { + "line": 20, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 636, + "end": 637, + "loc": { + "start": { + "line": 20, + "column": 41 + }, + "end": { + "line": 20, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 642, + "end": 648, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unifHist", + "start": 649, + "end": 657, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 657, + "end": 658, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 658, + "end": 661, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 661, + "end": 662, + "loc": { + "start": { + "line": 21, + "column": 23 + }, + "end": { + "line": 21, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 662, + "end": 663, + "loc": { + "start": { + "line": 21, + "column": 24 + }, + "end": { + "line": 21, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 663, + "end": 665, + "loc": { + "start": { + "line": 21, + "column": 25 + }, + "end": { + "line": 21, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 666, + "end": 671, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 671, + "end": 672, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 672, + "end": 673, + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 673, + "end": 674, + "loc": { + "start": { + "line": 21, + "column": 35 + }, + "end": { + "line": 21, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 674, + "end": 675, + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 21, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 680, + "end": 686, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 686, + "end": 687, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unifHist", + "start": 687, + "end": 695, + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 22, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 695, + "end": 696, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 696, + "end": 699, + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 699, + "end": 700, + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 22, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 700, + "end": 701, + "loc": { + "start": { + "line": 22, + "column": 24 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 701, + "end": 703, + "loc": { + "start": { + "line": 22, + "column": 25 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 703, + "end": 704, + "loc": { + "start": { + "line": 22, + "column": 27 + }, + "end": { + "line": 22, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 704, + "end": 709, + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 22, + "column": 33 + }, + "end": { + "line": 22, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 9999, + "start": 710, + "end": 714, + "loc": { + "start": { + "line": 22, + "column": 34 + }, + "end": { + "line": 22, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 714, + "end": 715, + "loc": { + "start": { + "line": 22, + "column": 38 + }, + "end": { + "line": 22, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 715, + "end": 716, + "loc": { + "start": { + "line": 22, + "column": 39 + }, + "end": { + "line": 22, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 23, + "column": 3 + }, + "end": { + "line": 23, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 721, + "end": 722, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 723, + "end": 724, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 724, + "end": 725, + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 725, + "end": 726, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 726, + "end": 726, + "loc": { + "start": { + "line": 24, + "column": 3 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/meter-test.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/meter-test.js.json new file mode 100644 index 0000000..5089459 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/meter-test.js.json @@ -0,0 +1,7408 @@ +{ + "type": "File", + "start": 0, + "end": 721, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 721, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 0, + "end": 153, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 44 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 4, + "end": 10, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "init": { + "type": "MemberExpression", + "start": 13, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 35 + } + }, + "object": { + "type": "CallExpression", + "start": 13, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 13, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 20 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 27 + } + }, + "extra": { + "rawValue": "chai", + "raw": "'chai'" + }, + "value": "chai" + } + ] + }, + "property": { + "type": "Identifier", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 35 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 41, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 41, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 12 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "init": { + "type": "MemberExpression", + "start": 52, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 40 + } + }, + "object": { + "type": "CallExpression", + "start": 52, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 22 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 60, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 30 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + ] + }, + "property": { + "type": "Identifier", + "start": 69, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 40 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 83, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 83, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 6 + }, + "identifierName": "it" + }, + "name": "it" + }, + "init": { + "type": "MemberExpression", + "start": 88, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 28 + } + }, + "object": { + "type": "CallExpression", + "start": 88, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 25 + } + }, + "callee": { + "type": "Identifier", + "start": 88, + "end": 95, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 16 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 96, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + ] + }, + "property": { + "type": "Identifier", + "start": 105, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 28 + }, + "identifierName": "it" + }, + "name": "it" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 113, + "end": 152, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 43 + } + }, + "id": { + "type": "Identifier", + "start": 113, + "end": 118, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 9 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "init": { + "type": "MemberExpression", + "start": 121, + "end": 152, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 43 + } + }, + "object": { + "type": "CallExpression", + "start": 121, + "end": 144, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 121, + "end": 128, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 19 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 129, + "end": 143, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 34 + } + }, + "extra": { + "rawValue": "../BaseMeter", + "raw": "'../BaseMeter'" + }, + "value": "../BaseMeter" + } + ] + }, + "property": { + "type": "Identifier", + "start": 145, + "end": 152, + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 43 + }, + "identifierName": "default" + }, + "name": "default" + }, + "computed": false + } + } + ], + "kind": "var", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Meter}\n ", + "start": 155, + "end": 179, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 180, + "end": 721, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 180, + "end": 720, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 26, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 180, + "end": 188, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe", + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 189, + "end": 196, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 16 + } + }, + "extra": { + "rawValue": "Meter", + "raw": "'Meter'" + }, + "value": "Meter" + }, + { + "type": "FunctionExpression", + "start": 198, + "end": 719, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 26, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 210, + "end": 719, + "loc": { + "start": { + "line": 9, + "column": 30 + }, + "end": { + "line": 26, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 214, + "end": 234, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 214, + "end": 233, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 214, + "end": 226, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 214, + "end": 218, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 219, + "end": 226, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 14 + }, + "identifierName": "timeout" + }, + "name": "timeout" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 227, + "end": 232, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 20 + } + }, + "extra": { + "rawValue": 10000, + "raw": "10000" + }, + "value": 10000 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 237, + "end": 717, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 25, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 237, + "end": 716, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 25, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 237, + "end": 239, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 4 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 240, + "end": 280, + "loc": { + "start": { + "line": 11, + "column": 5 + }, + "end": { + "line": 11, + "column": 45 + } + }, + "extra": { + "rawValue": "should properly record rate and count.", + "raw": "'should properly record rate and count.'" + }, + "value": "should properly record rate and count." + }, + { + "type": "FunctionExpression", + "start": 282, + "end": 715, + "loc": { + "start": { + "line": 11, + "column": 47 + }, + "end": { + "line": 25, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 292, + "end": 296, + "loc": { + "start": { + "line": 11, + "column": 57 + }, + "end": { + "line": 11, + "column": 61 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 298, + "end": 715, + "loc": { + "start": { + "line": 11, + "column": 63 + }, + "end": { + "line": 25, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 304, + "end": 328, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 308, + "end": 327, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 308, + "end": 313, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 13 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "init": { + "type": "NewExpression", + "start": 316, + "end": 327, + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 27 + } + }, + "callee": { + "type": "Identifier", + "start": 320, + "end": 325, + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 25 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "arguments": [] + } + } + ], + "kind": "var" + }, + { + "type": "VariableDeclaration", + "start": 333, + "end": 413, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 15, + "column": 12 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 337, + "end": 412, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 15, + "column": 11 + } + }, + "id": { + "type": "Identifier", + "start": 337, + "end": 351, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 22 + }, + "identifierName": "updateInterval" + }, + "name": "updateInterval" + }, + "init": { + "type": "CallExpression", + "start": 354, + "end": 412, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 15, + "column": 11 + } + }, + "callee": { + "type": "Identifier", + "start": 354, + "end": 365, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 36 + }, + "identifierName": "setInterval" + }, + "name": "setInterval" + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 366, + "end": 406, + "loc": { + "start": { + "line": 13, + "column": 37 + }, + "end": { + "line": 15, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 378, + "end": 406, + "loc": { + "start": { + "line": 13, + "column": 49 + }, + "end": { + "line": 15, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 386, + "end": 400, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 386, + "end": 399, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 386, + "end": 396, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 386, + "end": 391, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 11 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 392, + "end": 396, + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 16 + }, + "identifierName": "mark" + }, + "name": "mark" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 397, + "end": 398, + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 18 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 408, + "end": 411, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 10 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + ] + } + } + ], + "kind": "var" + }, + { + "type": "ExpressionStatement", + "start": 419, + "end": 711, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 24, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 419, + "end": 710, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 24, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 419, + "end": 429, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 14 + }, + "identifierName": "setTimeout" + }, + "name": "setTimeout" + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 430, + "end": 703, + "loc": { + "start": { + "line": 17, + "column": 15 + }, + "end": { + "line": 24, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 442, + "end": 703, + "loc": { + "start": { + "line": 17, + "column": 27 + }, + "end": { + "line": 24, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 450, + "end": 480, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 450, + "end": 479, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 450, + "end": 463, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 19 + }, + "identifierName": "clearInterval" + }, + "name": "clearInterval" + }, + "arguments": [ + { + "type": "Identifier", + "start": 464, + "end": 478, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 34 + }, + "identifierName": "updateInterval" + }, + "name": "updateInterval" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 487, + "end": 548, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 67 + } + }, + "expression": { + "type": "CallExpression", + "start": 487, + "end": 547, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 487, + "end": 539, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 58 + } + }, + "object": { + "type": "MemberExpression", + "start": 487, + "end": 532, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 487, + "end": 529, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 48 + } + }, + "object": { + "type": "CallExpression", + "start": 487, + "end": 526, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 487, + "end": 517, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 487, + "end": 508, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 487, + "end": 503, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 487, + "end": 500, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 487, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 494, + "end": 499, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 18 + }, + "identifierName": "meter" + }, + "name": "meter" + } + ] + }, + "property": { + "type": "Identifier", + "start": 501, + "end": 503, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 504, + "end": 508, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 509, + "end": 517, + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 518, + "end": 525, + "loc": { + "start": { + "line": 19, + "column": 37 + }, + "end": { + "line": 19, + "column": 44 + } + }, + "extra": { + "rawValue": "count", + "raw": "'count'" + }, + "value": "count" + } + ] + }, + "property": { + "type": "Identifier", + "start": 527, + "end": 529, + "loc": { + "start": { + "line": 19, + "column": 46 + }, + "end": { + "line": 19, + "column": 48 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 530, + "end": 532, + "loc": { + "start": { + "line": 19, + "column": 49 + }, + "end": { + "line": 19, + "column": 51 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 533, + "end": 539, + "loc": { + "start": { + "line": 19, + "column": 52 + }, + "end": { + "line": 19, + "column": 58 + }, + "identifierName": "within" + }, + "name": "within" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 540, + "end": 542, + "loc": { + "start": { + "line": 19, + "column": 59 + }, + "end": { + "line": 19, + "column": 61 + } + }, + "extra": { + "rawValue": 45, + "raw": "45" + }, + "value": 45 + }, + { + "type": "NumericLiteral", + "start": 544, + "end": 546, + "loc": { + "start": { + "line": 19, + "column": 63 + }, + "end": { + "line": 19, + "column": 65 + } + }, + "extra": { + "rawValue": 55, + "raw": "55" + }, + "value": 55 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 555, + "end": 683, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 22, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 555, + "end": 682, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 22, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 555, + "end": 587, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 38 + } + }, + "object": { + "type": "ArrayExpression", + "start": 555, + "end": 579, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 30 + } + }, + "elements": [ + { + "type": "StringLiteral", + "start": 556, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 13 + } + }, + "extra": { + "rawValue": "mean", + "raw": "'mean'" + }, + "value": "mean" + }, + { + "type": "StringLiteral", + "start": 564, + "end": 567, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 18 + } + }, + "extra": { + "rawValue": "1", + "raw": "'1'" + }, + "value": "1" + }, + { + "type": "StringLiteral", + "start": 569, + "end": 572, + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 23 + } + }, + "extra": { + "rawValue": "5", + "raw": "'5'" + }, + "value": "5" + }, + { + "type": "StringLiteral", + "start": 574, + "end": 578, + "loc": { + "start": { + "line": 20, + "column": 25 + }, + "end": { + "line": 20, + "column": 29 + } + }, + "extra": { + "rawValue": "15", + "raw": "'15'" + }, + "value": "15" + } + ] + }, + "property": { + "type": "Identifier", + "start": 580, + "end": 587, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 38 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 588, + "end": 681, + "loc": { + "start": { + "line": 20, + "column": 39 + }, + "end": { + "line": 22, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 20, + "column": 49 + }, + "end": { + "line": 20, + "column": 50 + }, + "identifierName": "v" + }, + "name": "v" + } + ], + "body": { + "type": "BlockStatement", + "start": 601, + "end": 681, + "loc": { + "start": { + "line": 20, + "column": 52 + }, + "end": { + "line": 22, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 611, + "end": 673, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 70 + } + }, + "expression": { + "type": "CallExpression", + "start": 611, + "end": 672, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 69 + } + }, + "callee": { + "type": "MemberExpression", + "start": 611, + "end": 665, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 62 + } + }, + "object": { + "type": "MemberExpression", + "start": 611, + "end": 658, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 611, + "end": 655, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 52 + } + }, + "object": { + "type": "CallExpression", + "start": 611, + "end": 652, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 611, + "end": 649, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 611, + "end": 640, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 611, + "end": 635, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 611, + "end": 632, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 29 + } + }, + "callee": { + "type": "Identifier", + "start": 611, + "end": 617, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 14 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 618, + "end": 631, + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 21, + "column": 28 + } + }, + "callee": { + "type": "MemberExpression", + "start": 618, + "end": 629, + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 21, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 618, + "end": 623, + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 21, + "column": 20 + }, + "identifierName": "meter" + }, + "name": "meter" + }, + "property": { + "type": "Identifier", + "start": 624, + "end": 629, + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 26 + }, + "identifierName": "rates" + }, + "name": "rates" + }, + "computed": false + }, + "arguments": [] + } + ] + }, + "property": { + "type": "Identifier", + "start": 633, + "end": 635, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 32 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 636, + "end": 640, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 37 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 641, + "end": 649, + "loc": { + "start": { + "line": 21, + "column": 38 + }, + "end": { + "line": 21, + "column": 46 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 650, + "end": 651, + "loc": { + "start": { + "line": 21, + "column": 47 + }, + "end": { + "line": 21, + "column": 48 + }, + "identifierName": "v" + }, + "name": "v" + } + ] + }, + "property": { + "type": "Identifier", + "start": 653, + "end": 655, + "loc": { + "start": { + "line": 21, + "column": 50 + }, + "end": { + "line": 21, + "column": 52 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 656, + "end": 658, + "loc": { + "start": { + "line": 21, + "column": 53 + }, + "end": { + "line": 21, + "column": 55 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 659, + "end": 665, + "loc": { + "start": { + "line": 21, + "column": 56 + }, + "end": { + "line": 21, + "column": 62 + }, + "identifierName": "within" + }, + "name": "within" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 666, + "end": 667, + "loc": { + "start": { + "line": 21, + "column": 63 + }, + "end": { + "line": 21, + "column": 64 + } + }, + "extra": { + "rawValue": 9, + "raw": "9" + }, + "value": 9 + }, + { + "type": "NumericLiteral", + "start": 669, + "end": 671, + "loc": { + "start": { + "line": 21, + "column": 66 + }, + "end": { + "line": 21, + "column": 68 + } + }, + "extra": { + "rawValue": 11, + "raw": "11" + }, + "value": 11 + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 690, + "end": 697, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 690, + "end": 696, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 690, + "end": 694, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 10 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 705, + "end": 709, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 11 + } + }, + "extra": { + "rawValue": 5000, + "raw": "5000" + }, + "value": 5000 + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Meter}\n ", + "start": 155, + "end": 179, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Meter}\n ", + "start": 155, + "end": 179, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 0, + "end": 3, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 4, + "end": 10, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 11, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 11 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 13, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20, + "end": 21, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "chai", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 28, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 35, + "end": 36, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 41, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 50, + "end": 51, + "loc": { + "start": { + "line": 2, + "column": 13 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 59, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 60, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 67, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 68, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 69, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 77, + "end": 78, + "loc": { + "start": { + "line": 2, + "column": 40 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 83, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 86, + "end": 87, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 88, + "end": 95, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 95, + "end": 96, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 96, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 103, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 104, + "end": 105, + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 105, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 107, + "end": 108, + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 113, + "end": 118, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 119, + "end": 120, + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 121, + "end": 128, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 128, + "end": 129, + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../BaseMeter", + "start": 129, + "end": 143, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 143, + "end": 144, + "loc": { + "start": { + "line": 4, + "column": 34 + }, + "end": { + "line": 4, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 144, + "end": 145, + "loc": { + "start": { + "line": 4, + "column": 35 + }, + "end": { + "line": 4, + "column": 36 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 145, + "end": 152, + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 152, + "end": 153, + "loc": { + "start": { + "line": 4, + "column": 43 + }, + "end": { + "line": 4, + "column": 44 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @test {Meter}\n ", + "start": 155, + "end": 179, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 180, + "end": 188, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 188, + "end": 189, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Meter", + "start": 189, + "end": 196, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 196, + "end": 197, + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 198, + "end": 206, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 207, + "end": 208, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 208, + "end": 209, + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 210, + "end": 211, + "loc": { + "start": { + "line": 9, + "column": 30 + }, + "end": { + "line": 9, + "column": 31 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 214, + "end": 218, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 218, + "end": 219, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeout", + "start": 219, + "end": 226, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 226, + "end": 227, + "loc": { + "start": { + "line": 10, + "column": 14 + }, + "end": { + "line": 10, + "column": 15 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10000, + "start": 227, + "end": 232, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 232, + "end": 233, + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 233, + "end": 234, + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 237, + "end": 239, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should properly record rate and count.", + "start": 240, + "end": 280, + "loc": { + "start": { + "line": 11, + "column": 5 + }, + "end": { + "line": 11, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 280, + "end": 281, + "loc": { + "start": { + "line": 11, + "column": 45 + }, + "end": { + "line": 11, + "column": 46 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 282, + "end": 290, + "loc": { + "start": { + "line": 11, + "column": 47 + }, + "end": { + "line": 11, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 291, + "end": 292, + "loc": { + "start": { + "line": 11, + "column": 56 + }, + "end": { + "line": 11, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 292, + "end": 296, + "loc": { + "start": { + "line": 11, + "column": 57 + }, + "end": { + "line": 11, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 296, + "end": 297, + "loc": { + "start": { + "line": 11, + "column": 61 + }, + "end": { + "line": 11, + "column": 62 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 298, + "end": 299, + "loc": { + "start": { + "line": 11, + "column": 63 + }, + "end": { + "line": 11, + "column": 64 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 304, + "end": 307, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 308, + "end": 313, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 314, + "end": 315, + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 15 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 316, + "end": 319, + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 320, + "end": 325, + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 325, + "end": 326, + "loc": { + "start": { + "line": 12, + "column": 25 + }, + "end": { + "line": 12, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 326, + "end": 327, + "loc": { + "start": { + "line": 12, + "column": 26 + }, + "end": { + "line": 12, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 327, + "end": 328, + "loc": { + "start": { + "line": 12, + "column": 27 + }, + "end": { + "line": 12, + "column": 28 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 333, + "end": 336, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateInterval", + "start": 337, + "end": 351, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 352, + "end": 353, + "loc": { + "start": { + "line": 13, + "column": 23 + }, + "end": { + "line": 13, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setInterval", + "start": 354, + "end": 365, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 365, + "end": 366, + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 13, + "column": 37 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 366, + "end": 374, + "loc": { + "start": { + "line": 13, + "column": 37 + }, + "end": { + "line": 13, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 375, + "end": 376, + "loc": { + "start": { + "line": 13, + "column": 46 + }, + "end": { + "line": 13, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 376, + "end": 377, + "loc": { + "start": { + "line": 13, + "column": 47 + }, + "end": { + "line": 13, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 378, + "end": 379, + "loc": { + "start": { + "line": 13, + "column": 49 + }, + "end": { + "line": 13, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 386, + "end": 391, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 391, + "end": 392, + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mark", + "start": 392, + "end": 396, + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 396, + "end": 397, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 17 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 397, + "end": 398, + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 398, + "end": 399, + "loc": { + "start": { + "line": 14, + "column": 18 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 399, + "end": 400, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 405, + "end": 406, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 406, + "end": 407, + "loc": { + "start": { + "line": 15, + "column": 5 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 408, + "end": 411, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 411, + "end": 412, + "loc": { + "start": { + "line": 15, + "column": 10 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 412, + "end": 413, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setTimeout", + "start": 419, + "end": 429, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 429, + "end": 430, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 15 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 430, + "end": 438, + "loc": { + "start": { + "line": 17, + "column": 15 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 439, + "end": 440, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 440, + "end": 441, + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 442, + "end": 443, + "loc": { + "start": { + "line": 17, + "column": 27 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearInterval", + "start": 450, + "end": 463, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 463, + "end": 464, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateInterval", + "start": 464, + "end": 478, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 478, + "end": 479, + "loc": { + "start": { + "line": 18, + "column": 34 + }, + "end": { + "line": 18, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 479, + "end": 480, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 487, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 493, + "end": 494, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 494, + "end": 499, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 499, + "end": 500, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 500, + "end": 501, + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 501, + "end": 503, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 503, + "end": 504, + "loc": { + "start": { + "line": 19, + "column": 22 + }, + "end": { + "line": 19, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 504, + "end": 508, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 508, + "end": 509, + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 509, + "end": 517, + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 517, + "end": 518, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "count", + "start": 518, + "end": 525, + "loc": { + "start": { + "line": 19, + "column": 37 + }, + "end": { + "line": 19, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 525, + "end": 526, + "loc": { + "start": { + "line": 19, + "column": 44 + }, + "end": { + "line": 19, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 526, + "end": 527, + "loc": { + "start": { + "line": 19, + "column": 45 + }, + "end": { + "line": 19, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 527, + "end": 529, + "loc": { + "start": { + "line": 19, + "column": 46 + }, + "end": { + "line": 19, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 529, + "end": 530, + "loc": { + "start": { + "line": 19, + "column": 48 + }, + "end": { + "line": 19, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 530, + "end": 532, + "loc": { + "start": { + "line": 19, + "column": 49 + }, + "end": { + "line": 19, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 532, + "end": 533, + "loc": { + "start": { + "line": 19, + "column": 51 + }, + "end": { + "line": 19, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "within", + "start": 533, + "end": 539, + "loc": { + "start": { + "line": 19, + "column": 52 + }, + "end": { + "line": 19, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 539, + "end": 540, + "loc": { + "start": { + "line": 19, + "column": 58 + }, + "end": { + "line": 19, + "column": 59 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 45, + "start": 540, + "end": 542, + "loc": { + "start": { + "line": 19, + "column": 59 + }, + "end": { + "line": 19, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 542, + "end": 543, + "loc": { + "start": { + "line": 19, + "column": 61 + }, + "end": { + "line": 19, + "column": 62 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 55, + "start": 544, + "end": 546, + "loc": { + "start": { + "line": 19, + "column": 63 + }, + "end": { + "line": 19, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 546, + "end": 547, + "loc": { + "start": { + "line": 19, + "column": 65 + }, + "end": { + "line": 19, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 547, + "end": 548, + "loc": { + "start": { + "line": 19, + "column": 66 + }, + "end": { + "line": 19, + "column": 67 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mean", + "start": 556, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 13 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 562, + "end": 563, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "1", + "start": 564, + "end": 567, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 567, + "end": 568, + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "5", + "start": 569, + "end": 572, + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 572, + "end": 573, + "loc": { + "start": { + "line": 20, + "column": 23 + }, + "end": { + "line": 20, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "15", + "start": 574, + "end": 578, + "loc": { + "start": { + "line": 20, + "column": 25 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 578, + "end": 579, + "loc": { + "start": { + "line": 20, + "column": 29 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 579, + "end": 580, + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 580, + "end": 587, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 587, + "end": 588, + "loc": { + "start": { + "line": 20, + "column": 38 + }, + "end": { + "line": 20, + "column": 39 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 588, + "end": 596, + "loc": { + "start": { + "line": 20, + "column": 39 + }, + "end": { + "line": 20, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 597, + "end": 598, + "loc": { + "start": { + "line": 20, + "column": 48 + }, + "end": { + "line": 20, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "v", + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 20, + "column": 49 + }, + "end": { + "line": 20, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 599, + "end": 600, + "loc": { + "start": { + "line": 20, + "column": 50 + }, + "end": { + "line": 20, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 601, + "end": 602, + "loc": { + "start": { + "line": 20, + "column": 52 + }, + "end": { + "line": 20, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 611, + "end": 617, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 617, + "end": 618, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meter", + "start": 618, + "end": 623, + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 623, + "end": 624, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rates", + "start": 624, + "end": 629, + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 630, + "end": 631, + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 632, + "end": 633, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 633, + "end": 635, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 635, + "end": 636, + "loc": { + "start": { + "line": 21, + "column": 32 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 636, + "end": 640, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 640, + "end": 641, + "loc": { + "start": { + "line": 21, + "column": 37 + }, + "end": { + "line": 21, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 641, + "end": 649, + "loc": { + "start": { + "line": 21, + "column": 38 + }, + "end": { + "line": 21, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 649, + "end": 650, + "loc": { + "start": { + "line": 21, + "column": 46 + }, + "end": { + "line": 21, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "v", + "start": 650, + "end": 651, + "loc": { + "start": { + "line": 21, + "column": 47 + }, + "end": { + "line": 21, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 651, + "end": 652, + "loc": { + "start": { + "line": 21, + "column": 48 + }, + "end": { + "line": 21, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 652, + "end": 653, + "loc": { + "start": { + "line": 21, + "column": 49 + }, + "end": { + "line": 21, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 653, + "end": 655, + "loc": { + "start": { + "line": 21, + "column": 50 + }, + "end": { + "line": 21, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 655, + "end": 656, + "loc": { + "start": { + "line": 21, + "column": 52 + }, + "end": { + "line": 21, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 656, + "end": 658, + "loc": { + "start": { + "line": 21, + "column": 53 + }, + "end": { + "line": 21, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 658, + "end": 659, + "loc": { + "start": { + "line": 21, + "column": 55 + }, + "end": { + "line": 21, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "within", + "start": 659, + "end": 665, + "loc": { + "start": { + "line": 21, + "column": 56 + }, + "end": { + "line": 21, + "column": 62 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 21, + "column": 62 + }, + "end": { + "line": 21, + "column": 63 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 9, + "start": 666, + "end": 667, + "loc": { + "start": { + "line": 21, + "column": 63 + }, + "end": { + "line": 21, + "column": 64 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 667, + "end": 668, + "loc": { + "start": { + "line": 21, + "column": 64 + }, + "end": { + "line": 21, + "column": 65 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 11, + "start": 669, + "end": 671, + "loc": { + "start": { + "line": 21, + "column": 66 + }, + "end": { + "line": 21, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 671, + "end": 672, + "loc": { + "start": { + "line": 21, + "column": 68 + }, + "end": { + "line": 21, + "column": 69 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 672, + "end": 673, + "loc": { + "start": { + "line": 21, + "column": 69 + }, + "end": { + "line": 21, + "column": 70 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 680, + "end": 681, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 681, + "end": 682, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 682, + "end": 683, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 690, + "end": 694, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 694, + "end": 695, + "loc": { + "start": { + "line": 23, + "column": 10 + }, + "end": { + "line": 23, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 695, + "end": 696, + "loc": { + "start": { + "line": 23, + "column": 11 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 696, + "end": 697, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 702, + "end": 703, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 703, + "end": 704, + "loc": { + "start": { + "line": 24, + "column": 5 + }, + "end": { + "line": 24, + "column": 6 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5000, + "start": 705, + "end": 709, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 24, + "column": 11 + }, + "end": { + "line": 24, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 710, + "end": 711, + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 714, + "end": 715, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 715, + "end": 716, + "loc": { + "start": { + "line": 25, + "column": 3 + }, + "end": { + "line": 25, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 716, + "end": 717, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 718, + "end": 719, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 721, + "end": 721, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/timer-test.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/timer-test.js.json new file mode 100644 index 0000000..1ffa603 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/timer-test.js.json @@ -0,0 +1,11979 @@ +{ + "type": "File", + "start": 0, + "end": 1128, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1128, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 0, + "end": 149, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 4, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 4, + "end": 10, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "init": { + "type": "MemberExpression", + "start": 13, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 35 + } + }, + "object": { + "type": "CallExpression", + "start": 13, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 13, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 20 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 27 + } + }, + "extra": { + "rawValue": "chai", + "raw": "'chai'" + }, + "value": "chai" + } + ] + }, + "property": { + "type": "Identifier", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 35 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 41, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 41, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 12 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "init": { + "type": "MemberExpression", + "start": 52, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 40 + } + }, + "object": { + "type": "CallExpression", + "start": 52, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 22 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 60, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 30 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + ] + }, + "property": { + "type": "Identifier", + "start": 69, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 40 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 83, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 83, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 6 + }, + "identifierName": "it" + }, + "name": "it" + }, + "init": { + "type": "MemberExpression", + "start": 88, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 28 + } + }, + "object": { + "type": "CallExpression", + "start": 88, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 25 + } + }, + "callee": { + "type": "Identifier", + "start": 88, + "end": 95, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 16 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 96, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + ] + }, + "property": { + "type": "Identifier", + "start": 105, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 28 + }, + "identifierName": "it" + }, + "name": "it" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 113, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 113, + "end": 118, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 9 + }, + "identifierName": "Timer" + }, + "name": "Timer" + }, + "init": { + "type": "MemberExpression", + "start": 121, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 39 + } + }, + "object": { + "type": "CallExpression", + "start": 121, + "end": 140, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 121, + "end": 128, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 19 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 129, + "end": 139, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 30 + } + }, + "extra": { + "rawValue": "../Timer", + "raw": "'../Timer'" + }, + "value": "../Timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 141, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 39 + }, + "identifierName": "default" + }, + "name": "default" + }, + "computed": false + } + } + ], + "kind": "var", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Timer}\n ", + "start": 151, + "end": 175, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 176, + "end": 1128, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 176, + "end": 1127, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 36, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 176, + "end": 184, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe", + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 185, + "end": 192, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 16 + } + }, + "extra": { + "rawValue": "Timer", + "raw": "'Timer'" + }, + "value": "Timer" + }, + { + "type": "FunctionExpression", + "start": 194, + "end": 1126, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 36, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 206, + "end": 1126, + "loc": { + "start": { + "line": 9, + "column": 30 + }, + "end": { + "line": 36, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 210, + "end": 1124, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 35, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 210, + "end": 1123, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 35, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 210, + "end": 212, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 4 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 213, + "end": 248, + "loc": { + "start": { + "line": 10, + "column": 5 + }, + "end": { + "line": 10, + "column": 40 + } + }, + "extra": { + "rawValue": "should properly record durations.", + "raw": "'should properly record durations.'" + }, + "value": "should properly record durations." + }, + { + "type": "FunctionExpression", + "start": 250, + "end": 1122, + "loc": { + "start": { + "line": 10, + "column": 42 + }, + "end": { + "line": 35, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 260, + "end": 264, + "loc": { + "start": { + "line": 10, + "column": 52 + }, + "end": { + "line": 10, + "column": 56 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 266, + "end": 1122, + "loc": { + "start": { + "line": 10, + "column": 58 + }, + "end": { + "line": 35, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 272, + "end": 296, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 276, + "end": 295, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 276, + "end": 281, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 13 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "init": { + "type": "NewExpression", + "start": 284, + "end": 295, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 27 + } + }, + "callee": { + "type": "Identifier", + "start": 288, + "end": 293, + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 25 + }, + "identifierName": "Timer" + }, + "name": "Timer" + }, + "arguments": [] + } + } + ], + "kind": "var" + }, + { + "type": "VariableDeclaration", + "start": 302, + "end": 312, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 14 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 306, + "end": 311, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 13 + } + }, + "id": { + "type": "Identifier", + "start": 306, + "end": 307, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 9 + }, + "identifierName": "n" + }, + "name": "n" + }, + "init": { + "type": "NumericLiteral", + "start": 310, + "end": 311, + "loc": { + "start": { + "line": 13, + "column": 12 + }, + "end": { + "line": 13, + "column": 13 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + { + "type": "VariableDeclaration", + "start": 317, + "end": 401, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 12 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 321, + "end": 400, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 16, + "column": 11 + } + }, + "id": { + "type": "Identifier", + "start": 321, + "end": 335, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 22 + }, + "identifierName": "updateInterval" + }, + "name": "updateInterval" + }, + "init": { + "type": "CallExpression", + "start": 338, + "end": 400, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 16, + "column": 11 + } + }, + "callee": { + "type": "Identifier", + "start": 338, + "end": 349, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 36 + }, + "identifierName": "setInterval" + }, + "name": "setInterval" + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 350, + "end": 394, + "loc": { + "start": { + "line": 14, + "column": 37 + }, + "end": { + "line": 16, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 362, + "end": 394, + "loc": { + "start": { + "line": 14, + "column": 49 + }, + "end": { + "line": 16, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 370, + "end": 388, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 370, + "end": 387, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 370, + "end": 382, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 370, + "end": 375, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 11 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 376, + "end": 382, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 18 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "UpdateExpression", + "start": 383, + "end": 386, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 22 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "n" + }, + "name": "n" + } + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 396, + "end": 399, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 10 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + ] + } + } + ], + "kind": "var" + }, + { + "type": "ExpressionStatement", + "start": 407, + "end": 1118, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 34, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 407, + "end": 1117, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 34, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 407, + "end": 417, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 14 + }, + "identifierName": "setTimeout" + }, + "name": "setTimeout" + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 418, + "end": 1110, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 34, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 430, + "end": 1110, + "loc": { + "start": { + "line": 18, + "column": 27 + }, + "end": { + "line": 34, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 438, + "end": 468, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 438, + "end": 467, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 438, + "end": 451, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 19 + }, + "identifierName": "clearInterval" + }, + "name": "clearInterval" + }, + "arguments": [ + { + "type": "Identifier", + "start": 452, + "end": 466, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 34 + }, + "identifierName": "updateInterval" + }, + "name": "updateInterval" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 475, + "end": 488, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 475, + "end": 487, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 475, + "end": 485, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 475, + "end": 480, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 11 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 481, + "end": 485, + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 16 + }, + "identifierName": "tick" + }, + "name": "tick" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 495, + "end": 542, + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 53 + } + }, + "expression": { + "type": "CallExpression", + "start": 495, + "end": 541, + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 495, + "end": 534, + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 495, + "end": 527, + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 495, + "end": 524, + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 35 + } + }, + "object": { + "type": "CallExpression", + "start": 495, + "end": 521, + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 495, + "end": 501, + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 502, + "end": 520, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 502, + "end": 518, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 502, + "end": 507, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 508, + "end": 518, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 29 + }, + "identifierName": "totalCount" + }, + "name": "totalCount" + }, + "computed": false + }, + "arguments": [] + } + ] + }, + "property": { + "type": "Identifier", + "start": 522, + "end": 524, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 35 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 525, + "end": 527, + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 21, + "column": 38 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 528, + "end": 534, + "loc": { + "start": { + "line": 21, + "column": 39 + }, + "end": { + "line": 21, + "column": 45 + }, + "identifierName": "within" + }, + "name": "within" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 535, + "end": 536, + "loc": { + "start": { + "line": 21, + "column": 46 + }, + "end": { + "line": 21, + "column": 47 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 + }, + { + "type": "NumericLiteral", + "start": 538, + "end": 540, + "loc": { + "start": { + "line": 21, + "column": 49 + }, + "end": { + "line": 21, + "column": 51 + } + }, + "extra": { + "rawValue": 12, + "raw": "12" + }, + "value": 12 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 549, + "end": 581, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 549, + "end": 580, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 549, + "end": 577, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 549, + "end": 571, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 28 + } + }, + "object": { + "type": "CallExpression", + "start": 549, + "end": 568, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 25 + } + }, + "callee": { + "type": "Identifier", + "start": 549, + "end": 555, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 556, + "end": 567, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 556, + "end": 565, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 556, + "end": 561, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 562, + "end": 565, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 22 + }, + "identifierName": "min" + }, + "name": "min" + }, + "computed": false + }, + "arguments": [] + } + ] + }, + "property": { + "type": "Identifier", + "start": 569, + "end": 571, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 28 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 572, + "end": 577, + "loc": { + "start": { + "line": 22, + "column": 29 + }, + "end": { + "line": 22, + "column": 34 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 578, + "end": 579, + "loc": { + "start": { + "line": 22, + "column": 35 + }, + "end": { + "line": 22, + "column": 36 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 588, + "end": 628, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 46 + } + }, + "expression": { + "type": "CallExpression", + "start": 588, + "end": 627, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 588, + "end": 620, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 588, + "end": 613, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 31 + } + }, + "object": { + "type": "MemberExpression", + "start": 588, + "end": 610, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 28 + } + }, + "object": { + "type": "CallExpression", + "start": 588, + "end": 607, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 25 + } + }, + "callee": { + "type": "Identifier", + "start": 588, + "end": 594, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 595, + "end": 606, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 595, + "end": 604, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 595, + "end": 600, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + }, + "property": { + "type": "Identifier", + "start": 601, + "end": 604, + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 22 + }, + "identifierName": "max" + }, + "name": "max" + }, + "computed": false + }, + "arguments": [] + } + ] + }, + "property": { + "type": "Identifier", + "start": 608, + "end": 610, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 28 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 611, + "end": 613, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 31 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 614, + "end": 620, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 38 + }, + "identifierName": "within" + }, + "name": "within" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 621, + "end": 622, + "loc": { + "start": { + "line": 23, + "column": 39 + }, + "end": { + "line": 23, + "column": 40 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 + }, + { + "type": "NumericLiteral", + "start": 624, + "end": 626, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 44 + } + }, + "extra": { + "rawValue": 12, + "raw": "12" + }, + "value": 12 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 635, + "end": 674, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 45 + } + }, + "expression": { + "type": "CallExpression", + "start": 635, + "end": 673, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 635, + "end": 665, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 635, + "end": 656, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 635, + "end": 651, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 635, + "end": 648, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 635, + "end": 641, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 642, + "end": 647, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 649, + "end": 651, + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 24, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 652, + "end": 656, + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 657, + "end": 665, + "loc": { + "start": { + "line": 24, + "column": 28 + }, + "end": { + "line": 24, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 666, + "end": 672, + "loc": { + "start": { + "line": 24, + "column": 37 + }, + "end": { + "line": 24, + "column": 43 + } + }, + "extra": { + "rawValue": "mean", + "raw": "'mean'" + }, + "value": "mean" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 681, + "end": 722, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 681, + "end": 721, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 681, + "end": 711, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 681, + "end": 702, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 681, + "end": 697, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 681, + "end": 694, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 681, + "end": 687, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 688, + "end": 693, + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 695, + "end": 697, + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 698, + "end": 702, + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 703, + "end": 711, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 712, + "end": 720, + "loc": { + "start": { + "line": 25, + "column": 37 + }, + "end": { + "line": 25, + "column": 45 + } + }, + "extra": { + "rawValue": "stdDev", + "raw": "'stdDev'" + }, + "value": "stdDev" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 729, + "end": 775, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 52 + } + }, + "expression": { + "type": "CallExpression", + "start": 729, + "end": 774, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 729, + "end": 759, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 729, + "end": 750, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 729, + "end": 745, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 729, + "end": 742, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 729, + "end": 735, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 736, + "end": 741, + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 743, + "end": 745, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 746, + "end": 750, + "loc": { + "start": { + "line": 26, + "column": 23 + }, + "end": { + "line": 26, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 751, + "end": 759, + "loc": { + "start": { + "line": 26, + "column": 28 + }, + "end": { + "line": 26, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 760, + "end": 773, + "loc": { + "start": { + "line": 26, + "column": 37 + }, + "end": { + "line": 26, + "column": 50 + } + }, + "extra": { + "rawValue": "percentiles", + "raw": "'percentiles'" + }, + "value": "percentiles" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 782, + "end": 823, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 782, + "end": 822, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 782, + "end": 812, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 782, + "end": 803, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 782, + "end": 798, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 782, + "end": 795, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 782, + "end": 788, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 789, + "end": 794, + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 796, + "end": 798, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 799, + "end": 803, + "loc": { + "start": { + "line": 27, + "column": 23 + }, + "end": { + "line": 27, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 804, + "end": 812, + "loc": { + "start": { + "line": 27, + "column": 28 + }, + "end": { + "line": 27, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 813, + "end": 821, + "loc": { + "start": { + "line": 27, + "column": 37 + }, + "end": { + "line": 27, + "column": 45 + } + }, + "extra": { + "rawValue": "values", + "raw": "'values'" + }, + "value": "values" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 830, + "end": 878, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 54 + } + }, + "expression": { + "type": "CallExpression", + "start": 830, + "end": 877, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 830, + "end": 860, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 830, + "end": 851, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 830, + "end": 846, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 830, + "end": 843, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 830, + "end": 836, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 837, + "end": 842, + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 844, + "end": 846, + "loc": { + "start": { + "line": 28, + "column": 20 + }, + "end": { + "line": 28, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 847, + "end": 851, + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 852, + "end": 860, + "loc": { + "start": { + "line": 28, + "column": 28 + }, + "end": { + "line": 28, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 861, + "end": 876, + "loc": { + "start": { + "line": 28, + "column": 37 + }, + "end": { + "line": 28, + "column": 52 + } + }, + "extra": { + "rawValue": "oneMinuteRate", + "raw": "'oneMinuteRate'" + }, + "value": "oneMinuteRate" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 885, + "end": 934, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 55 + } + }, + "expression": { + "type": "CallExpression", + "start": 885, + "end": 933, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 885, + "end": 915, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 885, + "end": 906, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 885, + "end": 901, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 885, + "end": 898, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 885, + "end": 891, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 892, + "end": 897, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 899, + "end": 901, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 902, + "end": 906, + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 907, + "end": 915, + "loc": { + "start": { + "line": 29, + "column": 28 + }, + "end": { + "line": 29, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 916, + "end": 932, + "loc": { + "start": { + "line": 29, + "column": 37 + }, + "end": { + "line": 29, + "column": 53 + } + }, + "extra": { + "rawValue": "fiveMinuteRate", + "raw": "'fiveMinuteRate'" + }, + "value": "fiveMinuteRate" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 941, + "end": 993, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 58 + } + }, + "expression": { + "type": "CallExpression", + "start": 941, + "end": 992, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 941, + "end": 971, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 941, + "end": 962, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 941, + "end": 957, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 941, + "end": 954, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 941, + "end": 947, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 948, + "end": 953, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 955, + "end": 957, + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 958, + "end": 962, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 963, + "end": 971, + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 30, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 972, + "end": 991, + "loc": { + "start": { + "line": 30, + "column": 37 + }, + "end": { + "line": 30, + "column": 56 + } + }, + "extra": { + "rawValue": "fifteenMinuteRate", + "raw": "'fifteenMinuteRate'" + }, + "value": "fifteenMinuteRate" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1000, + "end": 1043, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 49 + } + }, + "expression": { + "type": "CallExpression", + "start": 1000, + "end": 1042, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1000, + "end": 1030, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 1000, + "end": 1021, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 1000, + "end": 1016, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 1000, + "end": 1013, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 1000, + "end": 1006, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1007, + "end": 1012, + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1014, + "end": 1016, + "loc": { + "start": { + "line": 31, + "column": 20 + }, + "end": { + "line": 31, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1017, + "end": 1021, + "loc": { + "start": { + "line": 31, + "column": 23 + }, + "end": { + "line": 31, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1022, + "end": 1030, + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1031, + "end": 1041, + "loc": { + "start": { + "line": 31, + "column": 37 + }, + "end": { + "line": 31, + "column": 47 + } + }, + "extra": { + "rawValue": "meanRate", + "raw": "'meanRate'" + }, + "value": "meanRate" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1050, + "end": 1090, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 46 + } + }, + "expression": { + "type": "CallExpression", + "start": 1050, + "end": 1089, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1050, + "end": 1080, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 1050, + "end": 1071, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 1050, + "end": 1066, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 1050, + "end": 1063, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 19 + } + }, + "callee": { + "type": "Identifier", + "start": 1050, + "end": 1056, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1057, + "end": 1062, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 18 + }, + "identifierName": "timer" + }, + "name": "timer" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1064, + "end": 1066, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 22 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1067, + "end": 1071, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 27 + }, + "identifierName": "have" + }, + "name": "have" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1072, + "end": 1080, + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 36 + }, + "identifierName": "property" + }, + "name": "property" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1081, + "end": 1088, + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 44 + } + }, + "extra": { + "rawValue": "rates", + "raw": "'rates'" + }, + "value": "rates" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1097, + "end": 1104, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 1097, + "end": 1103, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 1097, + "end": 1101, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 10 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 1112, + "end": 1116, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 11 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Timer}\n ", + "start": 151, + "end": 175, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Timer}\n ", + "start": 151, + "end": 175, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 0, + "end": 3, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 4, + "end": 10, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 11, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 11 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 13, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20, + "end": 21, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "chai", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 28, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 35, + "end": 36, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 41, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 50, + "end": 51, + "loc": { + "start": { + "line": 2, + "column": 13 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 59, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 60, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 67, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 68, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 69, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 77, + "end": 78, + "loc": { + "start": { + "line": 2, + "column": 40 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 83, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 86, + "end": 87, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 88, + "end": 95, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 95, + "end": 96, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 96, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 103, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 104, + "end": 105, + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 105, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 107, + "end": 108, + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 113, + "end": 118, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 119, + "end": 120, + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 121, + "end": 128, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 128, + "end": 129, + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../Timer", + "start": 129, + "end": 139, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 139, + "end": 140, + "loc": { + "start": { + "line": 4, + "column": 30 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 140, + "end": 141, + "loc": { + "start": { + "line": 4, + "column": 31 + }, + "end": { + "line": 4, + "column": 32 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 141, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 4, + "column": 39 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @test {Timer}\n ", + "start": 151, + "end": 175, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 176, + "end": 184, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 184, + "end": 185, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Timer", + "start": 185, + "end": 192, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 192, + "end": 193, + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 194, + "end": 202, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 203, + "end": 204, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 204, + "end": 205, + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 206, + "end": 207, + "loc": { + "start": { + "line": 9, + "column": 30 + }, + "end": { + "line": 9, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 210, + "end": 212, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 212, + "end": 213, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should properly record durations.", + "start": 213, + "end": 248, + "loc": { + "start": { + "line": 10, + "column": 5 + }, + "end": { + "line": 10, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 248, + "end": 249, + "loc": { + "start": { + "line": 10, + "column": 40 + }, + "end": { + "line": 10, + "column": 41 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 250, + "end": 258, + "loc": { + "start": { + "line": 10, + "column": 42 + }, + "end": { + "line": 10, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 259, + "end": 260, + "loc": { + "start": { + "line": 10, + "column": 51 + }, + "end": { + "line": 10, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 260, + "end": 264, + "loc": { + "start": { + "line": 10, + "column": 52 + }, + "end": { + "line": 10, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 264, + "end": 265, + "loc": { + "start": { + "line": 10, + "column": 56 + }, + "end": { + "line": 10, + "column": 57 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 266, + "end": 267, + "loc": { + "start": { + "line": 10, + "column": 58 + }, + "end": { + "line": 10, + "column": 59 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 272, + "end": 275, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 276, + "end": 281, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 282, + "end": 283, + "loc": { + "start": { + "line": 11, + "column": 14 + }, + "end": { + "line": 11, + "column": 15 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 284, + "end": 287, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 288, + "end": 293, + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 293, + "end": 294, + "loc": { + "start": { + "line": 11, + "column": 25 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 294, + "end": 295, + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 295, + "end": 296, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 28 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 302, + "end": 305, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 306, + "end": 307, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 308, + "end": 309, + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 11 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 310, + "end": 311, + "loc": { + "start": { + "line": 13, + "column": 12 + }, + "end": { + "line": 13, + "column": 13 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 311, + "end": 312, + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 14 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 317, + "end": 320, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateInterval", + "start": 321, + "end": 335, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 336, + "end": 337, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setInterval", + "start": 338, + "end": 349, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 349, + "end": 350, + "loc": { + "start": { + "line": 14, + "column": 36 + }, + "end": { + "line": 14, + "column": 37 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 350, + "end": 358, + "loc": { + "start": { + "line": 14, + "column": 37 + }, + "end": { + "line": 14, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 359, + "end": 360, + "loc": { + "start": { + "line": 14, + "column": 46 + }, + "end": { + "line": 14, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 14, + "column": 47 + }, + "end": { + "line": 14, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 362, + "end": 363, + "loc": { + "start": { + "line": 14, + "column": 49 + }, + "end": { + "line": 14, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 370, + "end": 375, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 375, + "end": 376, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 376, + "end": 382, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 382, + "end": 383, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 384, + "end": 386, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 386, + "end": 387, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 387, + "end": 388, + "loc": { + "start": { + "line": 15, + "column": 23 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 393, + "end": 394, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 394, + "end": 395, + "loc": { + "start": { + "line": 16, + "column": 5 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 396, + "end": 399, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 399, + "end": 400, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 400, + "end": 401, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setTimeout", + "start": 407, + "end": 417, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 417, + "end": 418, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 418, + "end": 426, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 427, + "end": 428, + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 428, + "end": 429, + "loc": { + "start": { + "line": 18, + "column": 25 + }, + "end": { + "line": 18, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 18, + "column": 27 + }, + "end": { + "line": 18, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearInterval", + "start": 438, + "end": 451, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 451, + "end": 452, + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateInterval", + "start": 452, + "end": 466, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 466, + "end": 467, + "loc": { + "start": { + "line": 19, + "column": 34 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 467, + "end": 468, + "loc": { + "start": { + "line": 19, + "column": 35 + }, + "end": { + "line": 19, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 475, + "end": 480, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 480, + "end": 481, + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 481, + "end": 485, + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 485, + "end": 486, + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 486, + "end": 487, + "loc": { + "start": { + "line": 20, + "column": 17 + }, + "end": { + "line": 20, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 487, + "end": 488, + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 495, + "end": 501, + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 501, + "end": 502, + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 502, + "end": 507, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 507, + "end": 508, + "loc": { + "start": { + "line": 21, + "column": 18 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalCount", + "start": 508, + "end": 518, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 518, + "end": 519, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 519, + "end": 520, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 21, + "column": 31 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 521, + "end": 522, + "loc": { + "start": { + "line": 21, + "column": 32 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 522, + "end": 524, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 524, + "end": 525, + "loc": { + "start": { + "line": 21, + "column": 35 + }, + "end": { + "line": 21, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 525, + "end": 527, + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 21, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 527, + "end": 528, + "loc": { + "start": { + "line": 21, + "column": 38 + }, + "end": { + "line": 21, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "within", + "start": 528, + "end": 534, + "loc": { + "start": { + "line": 21, + "column": 39 + }, + "end": { + "line": 21, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 534, + "end": 535, + "loc": { + "start": { + "line": 21, + "column": 45 + }, + "end": { + "line": 21, + "column": 46 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 8, + "start": 535, + "end": 536, + "loc": { + "start": { + "line": 21, + "column": 46 + }, + "end": { + "line": 21, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 536, + "end": 537, + "loc": { + "start": { + "line": 21, + "column": 47 + }, + "end": { + "line": 21, + "column": 48 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 12, + "start": 538, + "end": 540, + "loc": { + "start": { + "line": 21, + "column": 49 + }, + "end": { + "line": 21, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 540, + "end": 541, + "loc": { + "start": { + "line": 21, + "column": 51 + }, + "end": { + "line": 21, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 541, + "end": 542, + "loc": { + "start": { + "line": 21, + "column": 52 + }, + "end": { + "line": 21, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 549, + "end": 555, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 556, + "end": 561, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 562, + "end": 565, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 565, + "end": 566, + "loc": { + "start": { + "line": 22, + "column": 22 + }, + "end": { + "line": 22, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 22, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 567, + "end": 568, + "loc": { + "start": { + "line": 22, + "column": 24 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 568, + "end": 569, + "loc": { + "start": { + "line": 22, + "column": 25 + }, + "end": { + "line": 22, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 569, + "end": 571, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 571, + "end": 572, + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 572, + "end": 577, + "loc": { + "start": { + "line": 22, + "column": 29 + }, + "end": { + "line": 22, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 577, + "end": 578, + "loc": { + "start": { + "line": 22, + "column": 34 + }, + "end": { + "line": 22, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 578, + "end": 579, + "loc": { + "start": { + "line": 22, + "column": 35 + }, + "end": { + "line": 22, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 579, + "end": 580, + "loc": { + "start": { + "line": 22, + "column": 36 + }, + "end": { + "line": 22, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 580, + "end": 581, + "loc": { + "start": { + "line": 22, + "column": 37 + }, + "end": { + "line": 22, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 588, + "end": 594, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 594, + "end": 595, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 595, + "end": 600, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 601, + "end": 604, + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 605, + "end": 606, + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 606, + "end": 607, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 607, + "end": 608, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 608, + "end": 610, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 610, + "end": 611, + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 611, + "end": 613, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 613, + "end": 614, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "within", + "start": 614, + "end": 620, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 620, + "end": 621, + "loc": { + "start": { + "line": 23, + "column": 38 + }, + "end": { + "line": 23, + "column": 39 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 8, + "start": 621, + "end": 622, + "loc": { + "start": { + "line": 23, + "column": 39 + }, + "end": { + "line": 23, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 41 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 12, + "start": 624, + "end": 626, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 626, + "end": 627, + "loc": { + "start": { + "line": 23, + "column": 44 + }, + "end": { + "line": 23, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 627, + "end": 628, + "loc": { + "start": { + "line": 23, + "column": 45 + }, + "end": { + "line": 23, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 635, + "end": 641, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 641, + "end": 642, + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 642, + "end": 647, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 647, + "end": 648, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 24, + "column": 19 + }, + "end": { + "line": 24, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 649, + "end": 651, + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 651, + "end": 652, + "loc": { + "start": { + "line": 24, + "column": 22 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 652, + "end": 656, + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 656, + "end": 657, + "loc": { + "start": { + "line": 24, + "column": 27 + }, + "end": { + "line": 24, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 657, + "end": 665, + "loc": { + "start": { + "line": 24, + "column": 28 + }, + "end": { + "line": 24, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 24, + "column": 36 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mean", + "start": 666, + "end": 672, + "loc": { + "start": { + "line": 24, + "column": 37 + }, + "end": { + "line": 24, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 672, + "end": 673, + "loc": { + "start": { + "line": 24, + "column": 43 + }, + "end": { + "line": 24, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 673, + "end": 674, + "loc": { + "start": { + "line": 24, + "column": 44 + }, + "end": { + "line": 24, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 681, + "end": 687, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 687, + "end": 688, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 688, + "end": 693, + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 693, + "end": 694, + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 694, + "end": 695, + "loc": { + "start": { + "line": 25, + "column": 19 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 695, + "end": 697, + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 697, + "end": 698, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 698, + "end": 702, + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 702, + "end": 703, + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 703, + "end": 711, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 711, + "end": 712, + "loc": { + "start": { + "line": 25, + "column": 36 + }, + "end": { + "line": 25, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "stdDev", + "start": 712, + "end": 720, + "loc": { + "start": { + "line": 25, + "column": 37 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 25, + "column": 45 + }, + "end": { + "line": 25, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 721, + "end": 722, + "loc": { + "start": { + "line": 25, + "column": 46 + }, + "end": { + "line": 25, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 729, + "end": 735, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 735, + "end": 736, + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 736, + "end": 741, + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 741, + "end": 742, + "loc": { + "start": { + "line": 26, + "column": 18 + }, + "end": { + "line": 26, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 742, + "end": 743, + "loc": { + "start": { + "line": 26, + "column": 19 + }, + "end": { + "line": 26, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 743, + "end": 745, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 745, + "end": 746, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 746, + "end": 750, + "loc": { + "start": { + "line": 26, + "column": 23 + }, + "end": { + "line": 26, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 750, + "end": 751, + "loc": { + "start": { + "line": 26, + "column": 27 + }, + "end": { + "line": 26, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 751, + "end": 759, + "loc": { + "start": { + "line": 26, + "column": 28 + }, + "end": { + "line": 26, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 759, + "end": 760, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "percentiles", + "start": 760, + "end": 773, + "loc": { + "start": { + "line": 26, + "column": 37 + }, + "end": { + "line": 26, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 773, + "end": 774, + "loc": { + "start": { + "line": 26, + "column": 50 + }, + "end": { + "line": 26, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 774, + "end": 775, + "loc": { + "start": { + "line": 26, + "column": 51 + }, + "end": { + "line": 26, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 782, + "end": 788, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 788, + "end": 789, + "loc": { + "start": { + "line": 27, + "column": 12 + }, + "end": { + "line": 27, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 789, + "end": 794, + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 794, + "end": 795, + "loc": { + "start": { + "line": 27, + "column": 18 + }, + "end": { + "line": 27, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 795, + "end": 796, + "loc": { + "start": { + "line": 27, + "column": 19 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 796, + "end": 798, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 798, + "end": 799, + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 799, + "end": 803, + "loc": { + "start": { + "line": 27, + "column": 23 + }, + "end": { + "line": 27, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 803, + "end": 804, + "loc": { + "start": { + "line": 27, + "column": 27 + }, + "end": { + "line": 27, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 804, + "end": 812, + "loc": { + "start": { + "line": 27, + "column": 28 + }, + "end": { + "line": 27, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 812, + "end": 813, + "loc": { + "start": { + "line": 27, + "column": 36 + }, + "end": { + "line": 27, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "values", + "start": 813, + "end": 821, + "loc": { + "start": { + "line": 27, + "column": 37 + }, + "end": { + "line": 27, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 821, + "end": 822, + "loc": { + "start": { + "line": 27, + "column": 45 + }, + "end": { + "line": 27, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 822, + "end": 823, + "loc": { + "start": { + "line": 27, + "column": 46 + }, + "end": { + "line": 27, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 830, + "end": 836, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 836, + "end": 837, + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 837, + "end": 842, + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 842, + "end": 843, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 843, + "end": 844, + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 844, + "end": 846, + "loc": { + "start": { + "line": 28, + "column": 20 + }, + "end": { + "line": 28, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 846, + "end": 847, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 847, + "end": 851, + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 851, + "end": 852, + "loc": { + "start": { + "line": 28, + "column": 27 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 852, + "end": 860, + "loc": { + "start": { + "line": 28, + "column": 28 + }, + "end": { + "line": 28, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 860, + "end": 861, + "loc": { + "start": { + "line": 28, + "column": 36 + }, + "end": { + "line": 28, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "oneMinuteRate", + "start": 861, + "end": 876, + "loc": { + "start": { + "line": 28, + "column": 37 + }, + "end": { + "line": 28, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 876, + "end": 877, + "loc": { + "start": { + "line": 28, + "column": 52 + }, + "end": { + "line": 28, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 877, + "end": 878, + "loc": { + "start": { + "line": 28, + "column": 53 + }, + "end": { + "line": 28, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 885, + "end": 891, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 891, + "end": 892, + "loc": { + "start": { + "line": 29, + "column": 12 + }, + "end": { + "line": 29, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 892, + "end": 897, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 897, + "end": 898, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 898, + "end": 899, + "loc": { + "start": { + "line": 29, + "column": 19 + }, + "end": { + "line": 29, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 899, + "end": 901, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 901, + "end": 902, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 902, + "end": 906, + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 906, + "end": 907, + "loc": { + "start": { + "line": 29, + "column": 27 + }, + "end": { + "line": 29, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 907, + "end": 915, + "loc": { + "start": { + "line": 29, + "column": 28 + }, + "end": { + "line": 29, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 915, + "end": 916, + "loc": { + "start": { + "line": 29, + "column": 36 + }, + "end": { + "line": 29, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "fiveMinuteRate", + "start": 916, + "end": 932, + "loc": { + "start": { + "line": 29, + "column": 37 + }, + "end": { + "line": 29, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 932, + "end": 933, + "loc": { + "start": { + "line": 29, + "column": 53 + }, + "end": { + "line": 29, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 933, + "end": 934, + "loc": { + "start": { + "line": 29, + "column": 54 + }, + "end": { + "line": 29, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 941, + "end": 947, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 947, + "end": 948, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 948, + "end": 953, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 953, + "end": 954, + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 954, + "end": 955, + "loc": { + "start": { + "line": 30, + "column": 19 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 955, + "end": 957, + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 957, + "end": 958, + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 958, + "end": 962, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 962, + "end": 963, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 963, + "end": 971, + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 30, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 971, + "end": 972, + "loc": { + "start": { + "line": 30, + "column": 36 + }, + "end": { + "line": 30, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "fifteenMinuteRate", + "start": 972, + "end": 991, + "loc": { + "start": { + "line": 30, + "column": 37 + }, + "end": { + "line": 30, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 991, + "end": 992, + "loc": { + "start": { + "line": 30, + "column": 56 + }, + "end": { + "line": 30, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 992, + "end": 993, + "loc": { + "start": { + "line": 30, + "column": 57 + }, + "end": { + "line": 30, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1000, + "end": 1006, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1006, + "end": 1007, + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 1007, + "end": 1012, + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1012, + "end": 1013, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1013, + "end": 1014, + "loc": { + "start": { + "line": 31, + "column": 19 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1014, + "end": 1016, + "loc": { + "start": { + "line": 31, + "column": 20 + }, + "end": { + "line": 31, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1016, + "end": 1017, + "loc": { + "start": { + "line": 31, + "column": 22 + }, + "end": { + "line": 31, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 1017, + "end": 1021, + "loc": { + "start": { + "line": 31, + "column": 23 + }, + "end": { + "line": 31, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1021, + "end": 1022, + "loc": { + "start": { + "line": 31, + "column": 27 + }, + "end": { + "line": 31, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 1022, + "end": 1030, + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1030, + "end": 1031, + "loc": { + "start": { + "line": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "meanRate", + "start": 1031, + "end": 1041, + "loc": { + "start": { + "line": 31, + "column": 37 + }, + "end": { + "line": 31, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1041, + "end": 1042, + "loc": { + "start": { + "line": 31, + "column": 47 + }, + "end": { + "line": 31, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1042, + "end": 1043, + "loc": { + "start": { + "line": 31, + "column": 48 + }, + "end": { + "line": 31, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1050, + "end": 1056, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1056, + "end": 1057, + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timer", + "start": 1057, + "end": 1062, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1062, + "end": 1063, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1063, + "end": 1064, + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1064, + "end": 1066, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1066, + "end": 1067, + "loc": { + "start": { + "line": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "have", + "start": 1067, + "end": 1071, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1071, + "end": 1072, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 1072, + "end": 1080, + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1080, + "end": 1081, + "loc": { + "start": { + "line": 32, + "column": 36 + }, + "end": { + "line": 32, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rates", + "start": 1081, + "end": 1088, + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1088, + "end": 1089, + "loc": { + "start": { + "line": 32, + "column": 44 + }, + "end": { + "line": 32, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1089, + "end": 1090, + "loc": { + "start": { + "line": 32, + "column": 45 + }, + "end": { + "line": 32, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 1097, + "end": 1101, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1101, + "end": 1102, + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1102, + "end": 1103, + "loc": { + "start": { + "line": 33, + "column": 11 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1103, + "end": 1104, + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1109, + "end": 1110, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1110, + "end": 1111, + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 1112, + "end": 1116, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1116, + "end": 1117, + "loc": { + "start": { + "line": 34, + "column": 11 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1117, + "end": 1118, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1121, + "end": 1122, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1122, + "end": 1123, + "loc": { + "start": { + "line": 35, + "column": 3 + }, + "end": { + "line": 35, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1123, + "end": 1124, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1125, + "end": 1126, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1126, + "end": 1127, + "loc": { + "start": { + "line": 36, + "column": 1 + }, + "end": { + "line": 36, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1127, + "end": 1128, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1128, + "end": 1128, + "loc": { + "start": { + "line": 36, + "column": 3 + }, + "end": { + "line": 36, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/uniform_sample-test.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/uniform_sample-test.js.json new file mode 100644 index 0000000..40f7b3f --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/__tests__/uniform_sample-test.js.json @@ -0,0 +1,6608 @@ +{ + "type": "File", + "start": 0, + "end": 876, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 876, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 0, + "end": 212, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 5, + "column": 62 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 4, + "end": 10, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "init": { + "type": "MemberExpression", + "start": 13, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 35 + } + }, + "object": { + "type": "CallExpression", + "start": 13, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 13, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 20 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 27 + } + }, + "extra": { + "rawValue": "chai", + "raw": "'chai'" + }, + "value": "chai" + } + ] + }, + "property": { + "type": "Identifier", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 35 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 41, + "end": 76, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 41, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 9 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "init": { + "type": "CallExpression", + "start": 49, + "end": 76, + "loc": { + "start": { + "line": 2, + "column": 12 + }, + "end": { + "line": 2, + "column": 39 + } + }, + "callee": { + "type": "CallExpression", + "start": 49, + "end": 65, + "loc": { + "start": { + "line": 2, + "column": 12 + }, + "end": { + "line": 2, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 49, + "end": 56, + "loc": { + "start": { + "line": 2, + "column": 12 + }, + "end": { + "line": 2, + "column": 19 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 57, + "end": 64, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 27 + } + }, + "extra": { + "rawValue": "debug", + "raw": "'debug'" + }, + "value": "debug" + } + ] + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 66, + "end": 75, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 38 + } + }, + "extra": { + "rawValue": "metrics", + "raw": "'metrics'" + }, + "value": "metrics" + } + ] + } + }, + { + "type": "VariableDeclarator", + "start": 82, + "end": 118, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 82, + "end": 90, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "init": { + "type": "MemberExpression", + "start": 93, + "end": 118, + "loc": { + "start": { + "line": 3, + "column": 15 + }, + "end": { + "line": 3, + "column": 40 + } + }, + "object": { + "type": "CallExpression", + "start": 93, + "end": 109, + "loc": { + "start": { + "line": 3, + "column": 15 + }, + "end": { + "line": 3, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 93, + "end": 100, + "loc": { + "start": { + "line": 3, + "column": 15 + }, + "end": { + "line": 3, + "column": 22 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 101, + "end": 108, + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 30 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + ] + }, + "property": { + "type": "Identifier", + "start": 110, + "end": 118, + "loc": { + "start": { + "line": 3, + "column": 32 + }, + "end": { + "line": 3, + "column": 40 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 124, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 124, + "end": 126, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 6 + }, + "identifierName": "it" + }, + "name": "it" + }, + "init": { + "type": "MemberExpression", + "start": 129, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 28 + } + }, + "object": { + "type": "CallExpression", + "start": 129, + "end": 145, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 25 + } + }, + "callee": { + "type": "Identifier", + "start": 129, + "end": 136, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 16 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 137, + "end": 144, + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 24 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + ] + }, + "property": { + "type": "Identifier", + "start": 146, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 28 + }, + "identifierName": "it" + }, + "name": "it" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 154, + "end": 211, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 61 + } + }, + "id": { + "type": "Identifier", + "start": 154, + "end": 167, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 17 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + }, + "init": { + "type": "MemberExpression", + "start": 170, + "end": 211, + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 61 + } + }, + "object": { + "type": "CallExpression", + "start": 170, + "end": 203, + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 177, + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 27 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 178, + "end": 202, + "loc": { + "start": { + "line": 5, + "column": 28 + }, + "end": { + "line": 5, + "column": 52 + } + }, + "extra": { + "rawValue": "../stats/UniformSample", + "raw": "'../stats/UniformSample'" + }, + "value": "../stats/UniformSample" + } + ] + }, + "property": { + "type": "Identifier", + "start": 204, + "end": 211, + "loc": { + "start": { + "line": 5, + "column": 54 + }, + "end": { + "line": 5, + "column": 61 + }, + "identifierName": "default" + }, + "name": "default" + }, + "computed": false + } + } + ], + "kind": "var", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {UniformSample}\n ", + "start": 214, + "end": 246, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 247, + "end": 876, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 247, + "end": 875, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 27, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 247, + "end": 255, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe", + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 256, + "end": 271, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 24 + } + }, + "extra": { + "rawValue": "UniformSample", + "raw": "'UniformSample'" + }, + "value": "UniformSample" + }, + { + "type": "FunctionExpression", + "start": 273, + "end": 874, + "loc": { + "start": { + "line": 10, + "column": 26 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 285, + "end": 874, + "loc": { + "start": { + "line": 10, + "column": 38 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 289, + "end": 872, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 289, + "end": 871, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 26, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 289, + "end": 291, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 4 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 292, + "end": 371, + "loc": { + "start": { + "line": 11, + "column": 5 + }, + "end": { + "line": 11, + "column": 84 + } + }, + "extra": { + "rawValue": "average of sampled values should fall within acceptable range of actual mean.", + "raw": "'average of sampled values should fall within acceptable range of actual mean.'" + }, + "value": "average of sampled values should fall within acceptable range of actual mean." + }, + { + "type": "FunctionExpression", + "start": 373, + "end": 870, + "loc": { + "start": { + "line": 11, + "column": 86 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 385, + "end": 870, + "loc": { + "start": { + "line": 11, + "column": 98 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 391, + "end": 450, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 391, + "end": 449, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 62 + } + }, + "callee": { + "type": "Identifier", + "start": 391, + "end": 396, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 9 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 397, + "end": 448, + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 61 + } + }, + "extra": { + "rawValue": "Creating a new UniformSample with a limit of 600.", + "raw": "'Creating a new UniformSample with a limit of 600.'" + }, + "value": "Creating a new UniformSample with a limit of 600." + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 455, + "end": 498, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 459, + "end": 497, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 459, + "end": 472, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 21 + }, + "identifierName": "uniformSample" + }, + "name": "uniformSample" + }, + "init": { + "type": "NewExpression", + "start": 475, + "end": 497, + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 479, + "end": 492, + "loc": { + "start": { + "line": 13, + "column": 28 + }, + "end": { + "line": 13, + "column": 41 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 493, + "end": 496, + "loc": { + "start": { + "line": 13, + "column": 42 + }, + "end": { + "line": 13, + "column": 45 + } + }, + "extra": { + "rawValue": 600, + "raw": "600" + }, + "value": 600 + } + ] + } + } + ], + "kind": "var" + }, + { + "type": "ForStatement", + "start": 503, + "end": 573, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 508, + "end": 517, + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 512, + "end": 517, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 512, + "end": 513, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 516, + "end": 517, + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 519, + "end": 528, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 29 + } + }, + "left": { + "type": "Identifier", + "start": 519, + "end": 520, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 523, + "end": 528, + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 29 + } + }, + "extra": { + "rawValue": 10000, + "raw": "10000" + }, + "value": 10000 + } + }, + "update": { + "type": "UpdateExpression", + "start": 530, + "end": 533, + "loc": { + "start": { + "line": 14, + "column": 31 + }, + "end": { + "line": 14, + "column": 34 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 530, + "end": 531, + "loc": { + "start": { + "line": 14, + "column": 31 + }, + "end": { + "line": 14, + "column": 32 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 535, + "end": 573, + "loc": { + "start": { + "line": 14, + "column": 36 + }, + "end": { + "line": 16, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 543, + "end": 567, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 543, + "end": 566, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 543, + "end": 563, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 543, + "end": 556, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 19 + }, + "identifierName": "uniformSample" + }, + "name": "uniformSample" + }, + "property": { + "type": "Identifier", + "start": 557, + "end": 563, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 26 + }, + "identifierName": "update" + }, + "name": "update" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 564, + "end": 565, + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 28 + }, + "identifierName": "i" + }, + "name": "i" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "VariableDeclaration", + "start": 579, + "end": 591, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 583, + "end": 590, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 583, + "end": 586, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 11 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "init": { + "type": "NumericLiteral", + "start": 589, + "end": 590, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 15 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + { + "type": "ForInStatement", + "start": 596, + "end": 677, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 21, + "column": 5 + } + }, + "left": { + "type": "VariableDeclaration", + "start": 601, + "end": 606, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 14 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 605, + "end": 606, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + } + }, + "id": { + "type": "Identifier", + "start": 605, + "end": 606, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + }, + "identifierName": "k" + }, + "name": "k" + }, + "init": null + } + ], + "kind": "var" + }, + "right": { + "type": "MemberExpression", + "start": 610, + "end": 630, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 610, + "end": 623, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 31 + }, + "identifierName": "uniformSample" + }, + "name": "uniformSample" + }, + "property": { + "type": "Identifier", + "start": 624, + "end": 630, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 38 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "body": { + "type": "BlockStatement", + "start": 632, + "end": 677, + "loc": { + "start": { + "line": 19, + "column": 40 + }, + "end": { + "line": 21, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 640, + "end": 671, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 37 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 640, + "end": 670, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 36 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 640, + "end": 643, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 9 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "right": { + "type": "MemberExpression", + "start": 647, + "end": 670, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 647, + "end": 667, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 647, + "end": 660, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 26 + }, + "identifierName": "uniformSample" + }, + "name": "uniformSample" + }, + "property": { + "type": "Identifier", + "start": 661, + "end": 667, + "loc": { + "start": { + "line": 20, + "column": 27 + }, + "end": { + "line": 20, + "column": 33 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 668, + "end": 669, + "loc": { + "start": { + "line": 20, + "column": 34 + }, + "end": { + "line": 20, + "column": 35 + }, + "identifierName": "k" + }, + "name": "k" + }, + "computed": true + } + } + } + ], + "directives": [] + } + }, + { + "type": "VariableDeclaration", + "start": 682, + "end": 727, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 686, + "end": 726, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 48 + } + }, + "id": { + "type": "Identifier", + "start": 686, + "end": 690, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 12 + }, + "identifierName": "mean" + }, + "name": "mean" + }, + "init": { + "type": "BinaryExpression", + "start": 693, + "end": 726, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 48 + } + }, + "left": { + "type": "Identifier", + "start": 693, + "end": 696, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 18 + }, + "identifierName": "sum" + }, + "name": "sum" + }, + "operator": "/", + "right": { + "type": "MemberExpression", + "start": 699, + "end": 726, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 699, + "end": 719, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 699, + "end": 712, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 34 + }, + "identifierName": "uniformSample" + }, + "name": "uniformSample" + }, + "property": { + "type": "Identifier", + "start": 713, + "end": 719, + "loc": { + "start": { + "line": 22, + "column": 35 + }, + "end": { + "line": 22, + "column": 41 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 720, + "end": 726, + "loc": { + "start": { + "line": 22, + "column": 42 + }, + "end": { + "line": 22, + "column": 48 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + } + ], + "kind": "var" + }, + { + "type": "ExpressionStatement", + "start": 732, + "end": 768, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 732, + "end": 767, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 732, + "end": 737, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 9 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 738, + "end": 760, + "loc": { + "start": { + "line": 23, + "column": 10 + }, + "end": { + "line": 23, + "column": 32 + } + }, + "extra": { + "rawValue": "Mean of sample is %j", + "raw": "'Mean of sample is %j'" + }, + "value": "Mean of sample is %j" + }, + { + "type": "Identifier", + "start": 762, + "end": 766, + "loc": { + "start": { + "line": 23, + "column": 34 + }, + "end": { + "line": 23, + "column": 38 + }, + "identifierName": "mean" + }, + "name": "mean" + } + ] + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " actual mean of all 10000 values should be 5000.", + "start": 773, + "end": 823, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 54 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 828, + "end": 866, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 828, + "end": 865, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 828, + "end": 853, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 828, + "end": 846, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 828, + "end": 843, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 19 + } + }, + "object": { + "type": "CallExpression", + "start": 828, + "end": 840, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 828, + "end": 834, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 10 + }, + "identifierName": "expect" + }, + "name": "expect", + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 835, + "end": 839, + "loc": { + "start": { + "line": 25, + "column": 11 + }, + "end": { + "line": 25, + "column": 15 + }, + "identifierName": "mean" + }, + "name": "mean" + } + ], + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 841, + "end": 843, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 19 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 844, + "end": 846, + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 22 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 847, + "end": 853, + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 29 + }, + "identifierName": "within" + }, + "name": "within" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 854, + "end": 858, + "loc": { + "start": { + "line": 25, + "column": 30 + }, + "end": { + "line": 25, + "column": 34 + } + }, + "extra": { + "rawValue": 4500, + "raw": "4500" + }, + "value": 4500 + }, + { + "type": "NumericLiteral", + "start": 860, + "end": 864, + "loc": { + "start": { + "line": 25, + "column": 36 + }, + "end": { + "line": 25, + "column": 40 + } + }, + "extra": { + "rawValue": 5500, + "raw": "5500" + }, + "value": 5500 + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " actual mean of all 10000 values should be 5000.", + "start": 773, + "end": 823, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 54 + } + } + } + ] + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {UniformSample}\n ", + "start": 214, + "end": 246, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {UniformSample}\n ", + "start": 214, + "end": 246, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " actual mean of all 10000 values should be 5000.", + "start": 773, + "end": 823, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 54 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 0, + "end": 3, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 4, + "end": 10, + "loc": { + "start": { + "line": 1, + "column": 4 + }, + "end": { + "line": 1, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 11, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 11 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 13, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20, + "end": 21, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "chai", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 28, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 35, + "end": 36, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 41, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 4 + }, + "end": { + "line": 2, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 47, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 10 + }, + "end": { + "line": 2, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 49, + "end": 56, + "loc": { + "start": { + "line": 2, + "column": 12 + }, + "end": { + "line": 2, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 56, + "end": 57, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "debug", + "start": 57, + "end": 64, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 64, + "end": 65, + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 65, + "end": 66, + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "metrics", + "start": 66, + "end": 75, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 75, + "end": 76, + "loc": { + "start": { + "line": 2, + "column": 38 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 76, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 82, + "end": 90, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 93, + "end": 100, + "loc": { + "start": { + "line": 3, + "column": 15 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 100, + "end": 101, + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 101, + "end": 108, + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 108, + "end": 109, + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 109, + "end": 110, + "loc": { + "start": { + "line": 3, + "column": 31 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 110, + "end": 118, + "loc": { + "start": { + "line": 3, + "column": 32 + }, + "end": { + "line": 3, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 118, + "end": 119, + "loc": { + "start": { + "line": 3, + "column": 40 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 124, + "end": 126, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 127, + "end": 128, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 129, + "end": 136, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 136, + "end": 137, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 137, + "end": 144, + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 144, + "end": 145, + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 145, + "end": 146, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 146, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 4, + "column": 28 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 154, + "end": 167, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 168, + "end": 169, + "loc": { + "start": { + "line": 5, + "column": 18 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 170, + "end": 177, + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 177, + "end": 178, + "loc": { + "start": { + "line": 5, + "column": 27 + }, + "end": { + "line": 5, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../stats/UniformSample", + "start": 178, + "end": 202, + "loc": { + "start": { + "line": 5, + "column": 28 + }, + "end": { + "line": 5, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 202, + "end": 203, + "loc": { + "start": { + "line": 5, + "column": 52 + }, + "end": { + "line": 5, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 203, + "end": 204, + "loc": { + "start": { + "line": 5, + "column": 53 + }, + "end": { + "line": 5, + "column": 54 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 204, + "end": 211, + "loc": { + "start": { + "line": 5, + "column": 54 + }, + "end": { + "line": 5, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 211, + "end": 212, + "loc": { + "start": { + "line": 5, + "column": 61 + }, + "end": { + "line": 5, + "column": 62 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @test {UniformSample}\n ", + "start": 214, + "end": 246, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 247, + "end": 255, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 255, + "end": 256, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "UniformSample", + "start": 256, + "end": 271, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 271, + "end": 272, + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 273, + "end": 281, + "loc": { + "start": { + "line": 10, + "column": 26 + }, + "end": { + "line": 10, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 282, + "end": 283, + "loc": { + "start": { + "line": 10, + "column": 35 + }, + "end": { + "line": 10, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 283, + "end": 284, + "loc": { + "start": { + "line": 10, + "column": 36 + }, + "end": { + "line": 10, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 285, + "end": 286, + "loc": { + "start": { + "line": 10, + "column": 38 + }, + "end": { + "line": 10, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 289, + "end": 291, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 291, + "end": 292, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "average of sampled values should fall within acceptable range of actual mean.", + "start": 292, + "end": 371, + "loc": { + "start": { + "line": 11, + "column": 5 + }, + "end": { + "line": 11, + "column": 84 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 371, + "end": 372, + "loc": { + "start": { + "line": 11, + "column": 84 + }, + "end": { + "line": 11, + "column": 85 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 373, + "end": 381, + "loc": { + "start": { + "line": 11, + "column": 86 + }, + "end": { + "line": 11, + "column": 94 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 382, + "end": 383, + "loc": { + "start": { + "line": 11, + "column": 95 + }, + "end": { + "line": 11, + "column": 96 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 11, + "column": 96 + }, + "end": { + "line": 11, + "column": 97 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 385, + "end": 386, + "loc": { + "start": { + "line": 11, + "column": 98 + }, + "end": { + "line": 11, + "column": 99 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 391, + "end": 396, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 396, + "end": 397, + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Creating a new UniformSample with a limit of 600.", + "start": 397, + "end": 448, + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 448, + "end": 449, + "loc": { + "start": { + "line": 12, + "column": 61 + }, + "end": { + "line": 12, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 449, + "end": 450, + "loc": { + "start": { + "line": 12, + "column": 62 + }, + "end": { + "line": 12, + "column": 63 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 455, + "end": 458, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uniformSample", + "start": 459, + "end": 472, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 473, + "end": 474, + "loc": { + "start": { + "line": 13, + "column": 22 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 475, + "end": 478, + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 479, + "end": 492, + "loc": { + "start": { + "line": 13, + "column": 28 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 492, + "end": 493, + "loc": { + "start": { + "line": 13, + "column": 41 + }, + "end": { + "line": 13, + "column": 42 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 600, + "start": 493, + "end": 496, + "loc": { + "start": { + "line": 13, + "column": 42 + }, + "end": { + "line": 13, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 496, + "end": 497, + "loc": { + "start": { + "line": 13, + "column": 45 + }, + "end": { + "line": 13, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 497, + "end": 498, + "loc": { + "start": { + "line": 13, + "column": 46 + }, + "end": { + "line": 13, + "column": 47 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 503, + "end": 506, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 507, + "end": 508, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 508, + "end": 511, + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 512, + "end": 513, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 514, + "end": 515, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 516, + "end": 517, + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 517, + "end": 518, + "loc": { + "start": { + "line": 14, + "column": 18 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 519, + "end": 520, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 521, + "end": 522, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10000, + "start": 523, + "end": 528, + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 528, + "end": 529, + "loc": { + "start": { + "line": 14, + "column": 29 + }, + "end": { + "line": 14, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 530, + "end": 531, + "loc": { + "start": { + "line": 14, + "column": 31 + }, + "end": { + "line": 14, + "column": 32 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 531, + "end": 533, + "loc": { + "start": { + "line": 14, + "column": 32 + }, + "end": { + "line": 14, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 533, + "end": 534, + "loc": { + "start": { + "line": 14, + "column": 34 + }, + "end": { + "line": 14, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 535, + "end": 536, + "loc": { + "start": { + "line": 14, + "column": 36 + }, + "end": { + "line": 14, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uniformSample", + "start": 543, + "end": 556, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 556, + "end": 557, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 557, + "end": 563, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 563, + "end": 564, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 564, + "end": 565, + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 565, + "end": 566, + "loc": { + "start": { + "line": 15, + "column": 28 + }, + "end": { + "line": 15, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 572, + "end": 573, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 5 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 579, + "end": 582, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 583, + "end": 586, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 587, + "end": 588, + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 589, + "end": 590, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 590, + "end": 591, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 16 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 596, + "end": 599, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 601, + "end": 604, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "k", + "start": 605, + "end": 606, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "in", + "keyword": "in", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "in", + "start": 607, + "end": 609, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uniformSample", + "start": 610, + "end": 623, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 623, + "end": 624, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 624, + "end": 630, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 630, + "end": 631, + "loc": { + "start": { + "line": 19, + "column": 38 + }, + "end": { + "line": 19, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 632, + "end": 633, + "loc": { + "start": { + "line": 19, + "column": 40 + }, + "end": { + "line": 19, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 640, + "end": 643, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 9 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 644, + "end": 646, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uniformSample", + "start": 647, + "end": 660, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 660, + "end": 661, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 661, + "end": 667, + "loc": { + "start": { + "line": 20, + "column": 27 + }, + "end": { + "line": 20, + "column": 33 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 667, + "end": 668, + "loc": { + "start": { + "line": 20, + "column": 33 + }, + "end": { + "line": 20, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "k", + "start": 668, + "end": 669, + "loc": { + "start": { + "line": 20, + "column": 34 + }, + "end": { + "line": 20, + "column": 35 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 669, + "end": 670, + "loc": { + "start": { + "line": 20, + "column": 35 + }, + "end": { + "line": 20, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 670, + "end": 671, + "loc": { + "start": { + "line": 20, + "column": 36 + }, + "end": { + "line": 20, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 676, + "end": 677, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 5 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 682, + "end": 685, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 686, + "end": 690, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 691, + "end": 692, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sum", + "start": 693, + "end": 696, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 18 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 697, + "end": 698, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uniformSample", + "start": 699, + "end": 712, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 712, + "end": 713, + "loc": { + "start": { + "line": 22, + "column": 34 + }, + "end": { + "line": 22, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 713, + "end": 719, + "loc": { + "start": { + "line": 22, + "column": 35 + }, + "end": { + "line": 22, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 22, + "column": 41 + }, + "end": { + "line": 22, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 720, + "end": 726, + "loc": { + "start": { + "line": 22, + "column": 42 + }, + "end": { + "line": 22, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 726, + "end": 727, + "loc": { + "start": { + "line": 22, + "column": 48 + }, + "end": { + "line": 22, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 732, + "end": 737, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 737, + "end": 738, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 10 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Mean of sample is %j", + "start": 738, + "end": 760, + "loc": { + "start": { + "line": 23, + "column": 10 + }, + "end": { + "line": 23, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 760, + "end": 761, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 762, + "end": 766, + "loc": { + "start": { + "line": 23, + "column": 34 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 766, + "end": 767, + "loc": { + "start": { + "line": 23, + "column": 38 + }, + "end": { + "line": 23, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 767, + "end": 768, + "loc": { + "start": { + "line": 23, + "column": 39 + }, + "end": { + "line": 23, + "column": 40 + } + } + }, + { + "type": "CommentLine", + "value": " actual mean of all 10000 values should be 5000.", + "start": 773, + "end": 823, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 828, + "end": 834, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 834, + "end": 835, + "loc": { + "start": { + "line": 25, + "column": 10 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mean", + "start": 835, + "end": 839, + "loc": { + "start": { + "line": 25, + "column": 11 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 839, + "end": 840, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 25, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 840, + "end": 841, + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 841, + "end": 843, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 843, + "end": 844, + "loc": { + "start": { + "line": 25, + "column": 19 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 844, + "end": 846, + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 846, + "end": 847, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "within", + "start": 847, + "end": 853, + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 25, + "column": 29 + }, + "end": { + "line": 25, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4500, + "start": 854, + "end": 858, + "loc": { + "start": { + "line": 25, + "column": 30 + }, + "end": { + "line": 25, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 858, + "end": 859, + "loc": { + "start": { + "line": 25, + "column": 34 + }, + "end": { + "line": 25, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5500, + "start": 860, + "end": 864, + "loc": { + "start": { + "line": 25, + "column": 36 + }, + "end": { + "line": 25, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 864, + "end": 865, + "loc": { + "start": { + "line": 25, + "column": 40 + }, + "end": { + "line": 25, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 870, + "end": 871, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 871, + "end": 872, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 873, + "end": 874, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 874, + "end": 875, + "loc": { + "start": { + "line": 27, + "column": 1 + }, + "end": { + "line": 27, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 875, + "end": 876, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 876, + "end": 876, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/index.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/index.js.json new file mode 100644 index 0000000..14bd44e --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/index.js.json @@ -0,0 +1,7167 @@ +{ + "type": "File", + "start": 0, + "end": 2288, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 64, + "column": 397 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2288, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 64, + "column": 397 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 1092, + "end": 1222, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 130 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1101, + "end": 1109, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 1101, + "end": 1109, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 17 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + }, + "local": { + "type": "Identifier", + "start": 1101, + "end": 1109, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 17 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + } + }, + { + "type": "ImportSpecifier", + "start": 1111, + "end": 1120, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 38, + "column": 28 + } + }, + "imported": { + "type": "Identifier", + "start": 1111, + "end": 1120, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 38, + "column": 28 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "local": { + "type": "Identifier", + "start": 1111, + "end": 1120, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 38, + "column": 28 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + } + }, + { + "type": "ImportSpecifier", + "start": 1122, + "end": 1129, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 37 + } + }, + "imported": { + "type": "Identifier", + "start": 1122, + "end": 1129, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 37 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + }, + "local": { + "type": "Identifier", + "start": 1122, + "end": 1129, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 37 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + } + }, + { + "type": "ImportSpecifier", + "start": 1131, + "end": 1145, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 53 + } + }, + "imported": { + "type": "Identifier", + "start": 1131, + "end": 1145, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 53 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "local": { + "type": "Identifier", + "start": 1131, + "end": 1145, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 53 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + } + }, + { + "type": "ImportSpecifier", + "start": 1147, + "end": 1163, + "loc": { + "start": { + "line": 38, + "column": 55 + }, + "end": { + "line": 38, + "column": 71 + } + }, + "imported": { + "type": "Identifier", + "start": 1147, + "end": 1163, + "loc": { + "start": { + "line": 38, + "column": 55 + }, + "end": { + "line": 38, + "column": 71 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + }, + "local": { + "type": "Identifier", + "start": 1147, + "end": 1163, + "loc": { + "start": { + "line": 38, + "column": 55 + }, + "end": { + "line": 38, + "column": 71 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + } + }, + { + "type": "ImportSpecifier", + "start": 1165, + "end": 1170, + "loc": { + "start": { + "line": 38, + "column": 73 + }, + "end": { + "line": 38, + "column": 78 + } + }, + "imported": { + "type": "Identifier", + "start": 1165, + "end": 1170, + "loc": { + "start": { + "line": 38, + "column": 73 + }, + "end": { + "line": 38, + "column": 78 + }, + "identifierName": "Meter" + }, + "name": "Meter" + }, + "local": { + "type": "Identifier", + "start": 1165, + "end": 1170, + "loc": { + "start": { + "line": 38, + "column": 73 + }, + "end": { + "line": 38, + "column": 78 + }, + "identifierName": "Meter" + }, + "name": "Meter" + } + }, + { + "type": "ImportSpecifier", + "start": 1172, + "end": 1187, + "loc": { + "start": { + "line": 38, + "column": 80 + }, + "end": { + "line": 38, + "column": 95 + } + }, + "imported": { + "type": "Identifier", + "start": 1172, + "end": 1187, + "loc": { + "start": { + "line": 38, + "column": 80 + }, + "end": { + "line": 38, + "column": 95 + }, + "identifierName": "MetricsSnapshot" + }, + "name": "MetricsSnapshot" + }, + "local": { + "type": "Identifier", + "start": 1172, + "end": 1187, + "loc": { + "start": { + "line": 38, + "column": 80 + }, + "end": { + "line": 38, + "column": 95 + }, + "identifierName": "MetricsSnapshot" + }, + "name": "MetricsSnapshot" + } + }, + { + "type": "ImportSpecifier", + "start": 1189, + "end": 1193, + "loc": { + "start": { + "line": 38, + "column": 97 + }, + "end": { + "line": 38, + "column": 101 + } + }, + "imported": { + "type": "Identifier", + "start": 1189, + "end": 1193, + "loc": { + "start": { + "line": 38, + "column": 97 + }, + "end": { + "line": 38, + "column": 101 + }, + "identifierName": "Skew" + }, + "name": "Skew" + }, + "local": { + "type": "Identifier", + "start": 1189, + "end": 1193, + "loc": { + "start": { + "line": 38, + "column": 97 + }, + "end": { + "line": 38, + "column": 101 + }, + "identifierName": "Skew" + }, + "name": "Skew" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1201, + "end": 1221, + "loc": { + "start": { + "line": 38, + "column": 109 + }, + "end": { + "line": 38, + "column": 129 + } + }, + "extra": { + "rawValue": "./proto/metrics_pb", + "raw": "'./proto/metrics_pb'" + }, + "value": "./proto/metrics_pb" + } + }, + { + "type": "ImportDeclaration", + "start": 1224, + "end": 1328, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 104 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1233, + "end": 1261, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 37 + } + }, + "imported": { + "type": "Identifier", + "start": 1233, + "end": 1261, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 37 + }, + "identifierName": "MetricsSnapshotHandlerClient" + }, + "name": "MetricsSnapshotHandlerClient" + }, + "local": { + "type": "Identifier", + "start": 1233, + "end": 1261, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 37 + }, + "identifierName": "MetricsSnapshotHandlerClient" + }, + "name": "MetricsSnapshotHandlerClient" + } + }, + { + "type": "ImportSpecifier", + "start": 1263, + "end": 1291, + "loc": { + "start": { + "line": 40, + "column": 39 + }, + "end": { + "line": 40, + "column": 67 + } + }, + "imported": { + "type": "Identifier", + "start": 1263, + "end": 1291, + "loc": { + "start": { + "line": 40, + "column": 39 + }, + "end": { + "line": 40, + "column": 67 + }, + "identifierName": "MetricsSnapshotHandlerServer" + }, + "name": "MetricsSnapshotHandlerServer" + }, + "local": { + "type": "Identifier", + "start": 1263, + "end": 1291, + "loc": { + "start": { + "line": 40, + "column": 39 + }, + "end": { + "line": 40, + "column": 67 + }, + "identifierName": "MetricsSnapshotHandlerServer" + }, + "name": "MetricsSnapshotHandlerServer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1299, + "end": 1327, + "loc": { + "start": { + "line": 40, + "column": 75 + }, + "end": { + "line": 40, + "column": 103 + } + }, + "extra": { + "rawValue": "./proto/metrics_rsocket_pb", + "raw": "'./proto/metrics_rsocket_pb'" + }, + "value": "./proto/metrics_rsocket_pb" + } + }, + { + "type": "ImportDeclaration", + "start": 1330, + "end": 1452, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 122 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1339, + "end": 1366, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 36 + } + }, + "imported": { + "type": "Identifier", + "start": 1339, + "end": 1366, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 36 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "local": { + "type": "Identifier", + "start": 1339, + "end": 1366, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 36 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + } + }, + { + "type": "ImportSpecifier", + "start": 1368, + "end": 1402, + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 72 + } + }, + "imported": { + "type": "Identifier", + "start": 1368, + "end": 1402, + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 72 + }, + "identifierName": "ExponentiallyWeightedMovingAverage" + }, + "name": "ExponentiallyWeightedMovingAverage" + }, + "local": { + "type": "Identifier", + "start": 1368, + "end": 1402, + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 72 + }, + "identifierName": "ExponentiallyWeightedMovingAverage" + }, + "name": "ExponentiallyWeightedMovingAverage" + } + }, + { + "type": "ImportSpecifier", + "start": 1404, + "end": 1410, + "loc": { + "start": { + "line": 42, + "column": 74 + }, + "end": { + "line": 42, + "column": 80 + } + }, + "imported": { + "type": "Identifier", + "start": 1404, + "end": 1410, + "loc": { + "start": { + "line": 42, + "column": 74 + }, + "end": { + "line": 42, + "column": 80 + }, + "identifierName": "Sample" + }, + "name": "Sample" + }, + "local": { + "type": "Identifier", + "start": 1404, + "end": 1410, + "loc": { + "start": { + "line": 42, + "column": 74 + }, + "end": { + "line": 42, + "column": 80 + }, + "identifierName": "Sample" + }, + "name": "Sample" + } + }, + { + "type": "ImportSpecifier", + "start": 1412, + "end": 1425, + "loc": { + "start": { + "line": 42, + "column": 82 + }, + "end": { + "line": 42, + "column": 95 + } + }, + "imported": { + "type": "Identifier", + "start": 1412, + "end": 1425, + "loc": { + "start": { + "line": 42, + "column": 82 + }, + "end": { + "line": 42, + "column": 95 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + }, + "local": { + "type": "Identifier", + "start": 1412, + "end": 1425, + "loc": { + "start": { + "line": 42, + "column": 82 + }, + "end": { + "line": 42, + "column": 95 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + } + }, + { + "type": "ImportSpecifier", + "start": 1427, + "end": 1434, + "loc": { + "start": { + "line": 42, + "column": 97 + }, + "end": { + "line": 42, + "column": 104 + } + }, + "imported": { + "type": "Identifier", + "start": 1427, + "end": 1434, + "loc": { + "start": { + "line": 42, + "column": 97 + }, + "end": { + "line": 42, + "column": 104 + }, + "identifierName": "ISample" + }, + "name": "ISample" + }, + "local": { + "type": "Identifier", + "start": 1427, + "end": 1434, + "loc": { + "start": { + "line": 42, + "column": 97 + }, + "end": { + "line": 42, + "column": 104 + }, + "identifierName": "ISample" + }, + "name": "ISample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1442, + "end": 1451, + "loc": { + "start": { + "line": 42, + "column": 112 + }, + "end": { + "line": 42, + "column": 121 + } + }, + "extra": { + "rawValue": "./stats", + "raw": "'./stats'" + }, + "value": "./stats" + } + }, + { + "type": "ImportDeclaration", + "start": 1454, + "end": 1490, + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 36 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1461, + "end": 1470, + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 1461, + "end": 1470, + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 16 + }, + "identifierName": "BaseMeter" + }, + "name": "BaseMeter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1476, + "end": 1489, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 35 + } + }, + "extra": { + "rawValue": "./BaseMeter", + "raw": "'./BaseMeter'" + }, + "value": "./BaseMeter" + } + }, + { + "type": "ImportDeclaration", + "start": 1492, + "end": 1553, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 46, + "column": 61 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1501, + "end": 1510, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 18 + } + }, + "imported": { + "type": "Identifier", + "start": 1501, + "end": 1510, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 18 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "local": { + "type": "Identifier", + "start": 1501, + "end": 1510, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 18 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + } + }, + { + "type": "ImportSpecifier", + "start": 1512, + "end": 1531, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 39 + } + }, + "imported": { + "type": "Identifier", + "start": 1512, + "end": 1531, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 39 + }, + "identifierName": "DEFAULT_PERCENTILES" + }, + "name": "DEFAULT_PERCENTILES" + }, + "local": { + "type": "Identifier", + "start": 1512, + "end": 1531, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 39 + }, + "identifierName": "DEFAULT_PERCENTILES" + }, + "name": "DEFAULT_PERCENTILES" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1539, + "end": 1552, + "loc": { + "start": { + "line": 46, + "column": 47 + }, + "end": { + "line": 46, + "column": 60 + } + }, + "extra": { + "rawValue": "./Histogram", + "raw": "'./Histogram'" + }, + "value": "./Histogram" + } + }, + { + "type": "ImportDeclaration", + "start": 1555, + "end": 1583, + "loc": { + "start": { + "line": 48, + "column": 0 + }, + "end": { + "line": 48, + "column": 28 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1562, + "end": 1567, + "loc": { + "start": { + "line": 48, + "column": 7 + }, + "end": { + "line": 48, + "column": 12 + } + }, + "local": { + "type": "Identifier", + "start": 1562, + "end": 1567, + "loc": { + "start": { + "line": 48, + "column": 7 + }, + "end": { + "line": 48, + "column": 12 + }, + "identifierName": "Timer" + }, + "name": "Timer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1573, + "end": 1582, + "loc": { + "start": { + "line": 48, + "column": 18 + }, + "end": { + "line": 48, + "column": 27 + } + }, + "extra": { + "rawValue": "./Timer", + "raw": "'./Timer'" + }, + "value": "./Timer" + } + }, + { + "type": "ImportDeclaration", + "start": 1585, + "end": 1617, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 50, + "column": 32 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1592, + "end": 1599, + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 1592, + "end": 1599, + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 14 + }, + "identifierName": "Counter" + }, + "name": "Counter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1605, + "end": 1616, + "loc": { + "start": { + "line": 50, + "column": 20 + }, + "end": { + "line": 50, + "column": 31 + } + }, + "extra": { + "rawValue": "./Counter", + "raw": "'./Counter'" + }, + "value": "./Counter" + } + }, + { + "type": "ImportDeclaration", + "start": 1619, + "end": 1653, + "loc": { + "start": { + "line": 52, + "column": 0 + }, + "end": { + "line": 52, + "column": 34 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1628, + "end": 1634, + "loc": { + "start": { + "line": 52, + "column": 9 + }, + "end": { + "line": 52, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 1628, + "end": 1634, + "loc": { + "start": { + "line": 52, + "column": 9 + }, + "end": { + "line": 52, + "column": 15 + }, + "identifierName": "IMeter" + }, + "name": "IMeter" + }, + "local": { + "type": "Identifier", + "start": 1628, + "end": 1634, + "loc": { + "start": { + "line": 52, + "column": 9 + }, + "end": { + "line": 52, + "column": 15 + }, + "identifierName": "IMeter" + }, + "name": "IMeter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1642, + "end": 1652, + "loc": { + "start": { + "line": 52, + "column": 23 + }, + "end": { + "line": 52, + "column": 33 + } + }, + "extra": { + "rawValue": "./IMeter", + "raw": "'./IMeter'" + }, + "value": "./IMeter" + } + }, + { + "type": "ImportDeclaration", + "start": 1655, + "end": 1705, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 54, + "column": 50 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 1664, + "end": 1678, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 23 + } + }, + "imported": { + "type": "Identifier", + "start": 1664, + "end": 1678, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 23 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + }, + "local": { + "type": "Identifier", + "start": 1664, + "end": 1678, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 23 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1686, + "end": 1704, + "loc": { + "start": { + "line": 54, + "column": 31 + }, + "end": { + "line": 54, + "column": 49 + } + }, + "extra": { + "rawValue": "./IMeterRegistry", + "raw": "'./IMeterRegistry'" + }, + "value": "./IMeterRegistry" + } + }, + { + "type": "ImportDeclaration", + "start": 1707, + "end": 1763, + "loc": { + "start": { + "line": 56, + "column": 0 + }, + "end": { + "line": 56, + "column": 56 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1714, + "end": 1733, + "loc": { + "start": { + "line": 56, + "column": 7 + }, + "end": { + "line": 56, + "column": 26 + } + }, + "local": { + "type": "Identifier", + "start": 1714, + "end": 1733, + "loc": { + "start": { + "line": 56, + "column": 7 + }, + "end": { + "line": 56, + "column": 26 + }, + "identifierName": "SimpleMeterRegistry" + }, + "name": "SimpleMeterRegistry" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1739, + "end": 1762, + "loc": { + "start": { + "line": 56, + "column": 32 + }, + "end": { + "line": 56, + "column": 55 + } + }, + "extra": { + "rawValue": "./SimpleMeterRegistry", + "raw": "'./SimpleMeterRegistry'" + }, + "value": "./SimpleMeterRegistry" + } + }, + { + "type": "ImportDeclaration", + "start": 1765, + "end": 1813, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 58, + "column": 48 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1772, + "end": 1787, + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 22 + } + }, + "local": { + "type": "Identifier", + "start": 1772, + "end": 1787, + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 22 + }, + "identifierName": "MetricsExporter" + }, + "name": "MetricsExporter" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1793, + "end": 1812, + "loc": { + "start": { + "line": 58, + "column": 28 + }, + "end": { + "line": 58, + "column": 47 + } + }, + "extra": { + "rawValue": "./MetricsExporter", + "raw": "'./MetricsExporter'" + }, + "value": "./MetricsExporter" + } + }, + { + "type": "ImportDeclaration", + "start": 1815, + "end": 1847, + "loc": { + "start": { + "line": 60, + "column": 0 + }, + "end": { + "line": 60, + "column": 32 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1822, + "end": 1829, + "loc": { + "start": { + "line": 60, + "column": 7 + }, + "end": { + "line": 60, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 1822, + "end": 1829, + "loc": { + "start": { + "line": 60, + "column": 7 + }, + "end": { + "line": 60, + "column": 14 + }, + "identifierName": "Metrics" + }, + "name": "Metrics" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1835, + "end": 1846, + "loc": { + "start": { + "line": 60, + "column": 20 + }, + "end": { + "line": 60, + "column": 31 + } + }, + "extra": { + "rawValue": "./Metrics", + "raw": "'./Metrics'" + }, + "value": "./Metrics" + } + }, + { + "type": "ImportDeclaration", + "start": 1849, + "end": 1889, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 62, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 1856, + "end": 1867, + "loc": { + "start": { + "line": 62, + "column": 7 + }, + "end": { + "line": 62, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 1856, + "end": 1867, + "loc": { + "start": { + "line": 62, + "column": 7 + }, + "end": { + "line": 62, + "column": 18 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1873, + "end": 1888, + "loc": { + "start": { + "line": 62, + "column": 24 + }, + "end": { + "line": 62, + "column": 39 + } + }, + "extra": { + "rawValue": "./RawMeterTag", + "raw": "'./RawMeterTag'" + }, + "value": "./RawMeterTag" + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1891, + "end": 2288, + "loc": { + "start": { + "line": 64, + "column": 0 + }, + "end": { + "line": 64, + "column": 397 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 1900, + "end": 1909, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 1900, + "end": 1909, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 18 + }, + "identifierName": "BaseMeter" + }, + "name": "BaseMeter" + }, + "exported": { + "type": "Identifier", + "start": 1900, + "end": 1909, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 18 + }, + "identifierName": "BaseMeter" + }, + "name": "BaseMeter" + } + }, + { + "type": "ExportSpecifier", + "start": 1911, + "end": 1918, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 27 + } + }, + "local": { + "type": "Identifier", + "start": 1911, + "end": 1918, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 27 + }, + "identifierName": "Counter" + }, + "name": "Counter" + }, + "exported": { + "type": "Identifier", + "start": 1911, + "end": 1918, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 27 + }, + "identifierName": "Counter" + }, + "name": "Counter" + } + }, + { + "type": "ExportSpecifier", + "start": 1920, + "end": 1925, + "loc": { + "start": { + "line": 64, + "column": 29 + }, + "end": { + "line": 64, + "column": 34 + } + }, + "local": { + "type": "Identifier", + "start": 1920, + "end": 1925, + "loc": { + "start": { + "line": 64, + "column": 29 + }, + "end": { + "line": 64, + "column": 34 + }, + "identifierName": "Timer" + }, + "name": "Timer" + }, + "exported": { + "type": "Identifier", + "start": 1920, + "end": 1925, + "loc": { + "start": { + "line": 64, + "column": 29 + }, + "end": { + "line": 64, + "column": 34 + }, + "identifierName": "Timer" + }, + "name": "Timer" + } + }, + { + "type": "ExportSpecifier", + "start": 1927, + "end": 1938, + "loc": { + "start": { + "line": 64, + "column": 36 + }, + "end": { + "line": 64, + "column": 47 + } + }, + "local": { + "type": "Identifier", + "start": 1927, + "end": 1938, + "loc": { + "start": { + "line": 64, + "column": 36 + }, + "end": { + "line": 64, + "column": 47 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + }, + "exported": { + "type": "Identifier", + "start": 1927, + "end": 1938, + "loc": { + "start": { + "line": 64, + "column": 36 + }, + "end": { + "line": 64, + "column": 47 + }, + "identifierName": "RawMeterTag" + }, + "name": "RawMeterTag" + } + }, + { + "type": "ExportSpecifier", + "start": 1940, + "end": 1949, + "loc": { + "start": { + "line": 64, + "column": 49 + }, + "end": { + "line": 64, + "column": 58 + } + }, + "local": { + "type": "Identifier", + "start": 1940, + "end": 1949, + "loc": { + "start": { + "line": 64, + "column": 49 + }, + "end": { + "line": 64, + "column": 58 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + }, + "exported": { + "type": "Identifier", + "start": 1940, + "end": 1949, + "loc": { + "start": { + "line": 64, + "column": 49 + }, + "end": { + "line": 64, + "column": 58 + }, + "identifierName": "Histogram" + }, + "name": "Histogram" + } + }, + { + "type": "ExportSpecifier", + "start": 1951, + "end": 1978, + "loc": { + "start": { + "line": 64, + "column": 60 + }, + "end": { + "line": 64, + "column": 87 + } + }, + "local": { + "type": "Identifier", + "start": 1951, + "end": 1978, + "loc": { + "start": { + "line": 64, + "column": 60 + }, + "end": { + "line": 64, + "column": 87 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "exported": { + "type": "Identifier", + "start": 1951, + "end": 1978, + "loc": { + "start": { + "line": 64, + "column": 60 + }, + "end": { + "line": 64, + "column": 87 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + } + }, + { + "type": "ExportSpecifier", + "start": 1980, + "end": 2014, + "loc": { + "start": { + "line": 64, + "column": 89 + }, + "end": { + "line": 64, + "column": 123 + } + }, + "local": { + "type": "Identifier", + "start": 1980, + "end": 2014, + "loc": { + "start": { + "line": 64, + "column": 89 + }, + "end": { + "line": 64, + "column": 123 + }, + "identifierName": "ExponentiallyWeightedMovingAverage" + }, + "name": "ExponentiallyWeightedMovingAverage" + }, + "exported": { + "type": "Identifier", + "start": 1980, + "end": 2014, + "loc": { + "start": { + "line": 64, + "column": 89 + }, + "end": { + "line": 64, + "column": 123 + }, + "identifierName": "ExponentiallyWeightedMovingAverage" + }, + "name": "ExponentiallyWeightedMovingAverage" + } + }, + { + "type": "ExportSpecifier", + "start": 2016, + "end": 2022, + "loc": { + "start": { + "line": 64, + "column": 125 + }, + "end": { + "line": 64, + "column": 131 + } + }, + "local": { + "type": "Identifier", + "start": 2016, + "end": 2022, + "loc": { + "start": { + "line": 64, + "column": 125 + }, + "end": { + "line": 64, + "column": 131 + }, + "identifierName": "Sample" + }, + "name": "Sample" + }, + "exported": { + "type": "Identifier", + "start": 2016, + "end": 2022, + "loc": { + "start": { + "line": 64, + "column": 125 + }, + "end": { + "line": 64, + "column": 131 + }, + "identifierName": "Sample" + }, + "name": "Sample" + } + }, + { + "type": "ExportSpecifier", + "start": 2024, + "end": 2037, + "loc": { + "start": { + "line": 64, + "column": 133 + }, + "end": { + "line": 64, + "column": 146 + } + }, + "local": { + "type": "Identifier", + "start": 2024, + "end": 2037, + "loc": { + "start": { + "line": 64, + "column": 133 + }, + "end": { + "line": 64, + "column": 146 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + }, + "exported": { + "type": "Identifier", + "start": 2024, + "end": 2037, + "loc": { + "start": { + "line": 64, + "column": 133 + }, + "end": { + "line": 64, + "column": 146 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + } + }, + { + "type": "ExportSpecifier", + "start": 2039, + "end": 2046, + "loc": { + "start": { + "line": 64, + "column": 148 + }, + "end": { + "line": 64, + "column": 155 + } + }, + "local": { + "type": "Identifier", + "start": 2039, + "end": 2046, + "loc": { + "start": { + "line": 64, + "column": 148 + }, + "end": { + "line": 64, + "column": 155 + }, + "identifierName": "ISample" + }, + "name": "ISample" + }, + "exported": { + "type": "Identifier", + "start": 2039, + "end": 2046, + "loc": { + "start": { + "line": 64, + "column": 148 + }, + "end": { + "line": 64, + "column": 155 + }, + "identifierName": "ISample" + }, + "name": "ISample" + } + }, + { + "type": "ExportSpecifier", + "start": 2048, + "end": 2067, + "loc": { + "start": { + "line": 64, + "column": 157 + }, + "end": { + "line": 64, + "column": 176 + } + }, + "local": { + "type": "Identifier", + "start": 2048, + "end": 2067, + "loc": { + "start": { + "line": 64, + "column": 157 + }, + "end": { + "line": 64, + "column": 176 + }, + "identifierName": "DEFAULT_PERCENTILES" + }, + "name": "DEFAULT_PERCENTILES" + }, + "exported": { + "type": "Identifier", + "start": 2048, + "end": 2067, + "loc": { + "start": { + "line": 64, + "column": 157 + }, + "end": { + "line": 64, + "column": 176 + }, + "identifierName": "DEFAULT_PERCENTILES" + }, + "name": "DEFAULT_PERCENTILES" + } + }, + { + "type": "ExportSpecifier", + "start": 2069, + "end": 2075, + "loc": { + "start": { + "line": 64, + "column": 178 + }, + "end": { + "line": 64, + "column": 184 + } + }, + "local": { + "type": "Identifier", + "start": 2069, + "end": 2075, + "loc": { + "start": { + "line": 64, + "column": 178 + }, + "end": { + "line": 64, + "column": 184 + }, + "identifierName": "IMeter" + }, + "name": "IMeter" + }, + "exported": { + "type": "Identifier", + "start": 2069, + "end": 2075, + "loc": { + "start": { + "line": 64, + "column": 178 + }, + "end": { + "line": 64, + "column": 184 + }, + "identifierName": "IMeter" + }, + "name": "IMeter" + } + }, + { + "type": "ExportSpecifier", + "start": 2077, + "end": 2091, + "loc": { + "start": { + "line": 64, + "column": 186 + }, + "end": { + "line": 64, + "column": 200 + } + }, + "local": { + "type": "Identifier", + "start": 2077, + "end": 2091, + "loc": { + "start": { + "line": 64, + "column": 186 + }, + "end": { + "line": 64, + "column": 200 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + }, + "exported": { + "type": "Identifier", + "start": 2077, + "end": 2091, + "loc": { + "start": { + "line": 64, + "column": 186 + }, + "end": { + "line": 64, + "column": 200 + }, + "identifierName": "IMeterRegistry" + }, + "name": "IMeterRegistry" + } + }, + { + "type": "ExportSpecifier", + "start": 2093, + "end": 2112, + "loc": { + "start": { + "line": 64, + "column": 202 + }, + "end": { + "line": 64, + "column": 221 + } + }, + "local": { + "type": "Identifier", + "start": 2093, + "end": 2112, + "loc": { + "start": { + "line": 64, + "column": 202 + }, + "end": { + "line": 64, + "column": 221 + }, + "identifierName": "SimpleMeterRegistry" + }, + "name": "SimpleMeterRegistry" + }, + "exported": { + "type": "Identifier", + "start": 2093, + "end": 2112, + "loc": { + "start": { + "line": 64, + "column": 202 + }, + "end": { + "line": 64, + "column": 221 + }, + "identifierName": "SimpleMeterRegistry" + }, + "name": "SimpleMeterRegistry" + } + }, + { + "type": "ExportSpecifier", + "start": 2114, + "end": 2121, + "loc": { + "start": { + "line": 64, + "column": 223 + }, + "end": { + "line": 64, + "column": 230 + } + }, + "local": { + "type": "Identifier", + "start": 2114, + "end": 2121, + "loc": { + "start": { + "line": 64, + "column": 223 + }, + "end": { + "line": 64, + "column": 230 + }, + "identifierName": "Metrics" + }, + "name": "Metrics" + }, + "exported": { + "type": "Identifier", + "start": 2114, + "end": 2121, + "loc": { + "start": { + "line": 64, + "column": 223 + }, + "end": { + "line": 64, + "column": 230 + }, + "identifierName": "Metrics" + }, + "name": "Metrics" + } + }, + { + "type": "ExportSpecifier", + "start": 2123, + "end": 2138, + "loc": { + "start": { + "line": 64, + "column": 232 + }, + "end": { + "line": 64, + "column": 247 + } + }, + "local": { + "type": "Identifier", + "start": 2123, + "end": 2138, + "loc": { + "start": { + "line": 64, + "column": 232 + }, + "end": { + "line": 64, + "column": 247 + }, + "identifierName": "MetricsExporter" + }, + "name": "MetricsExporter" + }, + "exported": { + "type": "Identifier", + "start": 2123, + "end": 2138, + "loc": { + "start": { + "line": 64, + "column": 232 + }, + "end": { + "line": 64, + "column": 247 + }, + "identifierName": "MetricsExporter" + }, + "name": "MetricsExporter" + } + }, + { + "type": "ExportSpecifier", + "start": 2140, + "end": 2148, + "loc": { + "start": { + "line": 64, + "column": 249 + }, + "end": { + "line": 64, + "column": 257 + } + }, + "local": { + "type": "Identifier", + "start": 2140, + "end": 2148, + "loc": { + "start": { + "line": 64, + "column": 249 + }, + "end": { + "line": 64, + "column": 257 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + }, + "exported": { + "type": "Identifier", + "start": 2140, + "end": 2148, + "loc": { + "start": { + "line": 64, + "column": 249 + }, + "end": { + "line": 64, + "column": 257 + }, + "identifierName": "MeterTag" + }, + "name": "MeterTag" + } + }, + { + "type": "ExportSpecifier", + "start": 2150, + "end": 2157, + "loc": { + "start": { + "line": 64, + "column": 259 + }, + "end": { + "line": 64, + "column": 266 + } + }, + "local": { + "type": "Identifier", + "start": 2150, + "end": 2157, + "loc": { + "start": { + "line": 64, + "column": 259 + }, + "end": { + "line": 64, + "column": 266 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + }, + "exported": { + "type": "Identifier", + "start": 2150, + "end": 2157, + "loc": { + "start": { + "line": 64, + "column": 259 + }, + "end": { + "line": 64, + "column": 266 + }, + "identifierName": "MeterId" + }, + "name": "MeterId" + } + }, + { + "type": "ExportSpecifier", + "start": 2159, + "end": 2175, + "loc": { + "start": { + "line": 64, + "column": 268 + }, + "end": { + "line": 64, + "column": 284 + } + }, + "local": { + "type": "Identifier", + "start": 2159, + "end": 2175, + "loc": { + "start": { + "line": 64, + "column": 268 + }, + "end": { + "line": 64, + "column": 284 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + }, + "exported": { + "type": "Identifier", + "start": 2159, + "end": 2175, + "loc": { + "start": { + "line": 64, + "column": 268 + }, + "end": { + "line": 64, + "column": 284 + }, + "identifierName": "MeterMeasurement" + }, + "name": "MeterMeasurement" + } + }, + { + "type": "ExportSpecifier", + "start": 2177, + "end": 2192, + "loc": { + "start": { + "line": 64, + "column": 286 + }, + "end": { + "line": 64, + "column": 301 + } + }, + "local": { + "type": "Identifier", + "start": 2177, + "end": 2192, + "loc": { + "start": { + "line": 64, + "column": 286 + }, + "end": { + "line": 64, + "column": 301 + }, + "identifierName": "MetricsSnapshot" + }, + "name": "MetricsSnapshot" + }, + "exported": { + "type": "Identifier", + "start": 2177, + "end": 2192, + "loc": { + "start": { + "line": 64, + "column": 286 + }, + "end": { + "line": 64, + "column": 301 + }, + "identifierName": "MetricsSnapshot" + }, + "name": "MetricsSnapshot" + } + }, + { + "type": "ExportSpecifier", + "start": 2194, + "end": 2198, + "loc": { + "start": { + "line": 64, + "column": 303 + }, + "end": { + "line": 64, + "column": 307 + } + }, + "local": { + "type": "Identifier", + "start": 2194, + "end": 2198, + "loc": { + "start": { + "line": 64, + "column": 303 + }, + "end": { + "line": 64, + "column": 307 + }, + "identifierName": "Skew" + }, + "name": "Skew" + }, + "exported": { + "type": "Identifier", + "start": 2194, + "end": 2198, + "loc": { + "start": { + "line": 64, + "column": 303 + }, + "end": { + "line": 64, + "column": 307 + }, + "identifierName": "Skew" + }, + "name": "Skew" + } + }, + { + "type": "ExportSpecifier", + "start": 2200, + "end": 2209, + "loc": { + "start": { + "line": 64, + "column": 309 + }, + "end": { + "line": 64, + "column": 318 + } + }, + "local": { + "type": "Identifier", + "start": 2200, + "end": 2209, + "loc": { + "start": { + "line": 64, + "column": 309 + }, + "end": { + "line": 64, + "column": 318 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + }, + "exported": { + "type": "Identifier", + "start": 2200, + "end": 2209, + "loc": { + "start": { + "line": 64, + "column": 309 + }, + "end": { + "line": 64, + "column": 318 + }, + "identifierName": "MeterType" + }, + "name": "MeterType" + } + }, + { + "type": "ExportSpecifier", + "start": 2211, + "end": 2225, + "loc": { + "start": { + "line": 64, + "column": 320 + }, + "end": { + "line": 64, + "column": 334 + } + }, + "local": { + "type": "Identifier", + "start": 2211, + "end": 2225, + "loc": { + "start": { + "line": 64, + "column": 320 + }, + "end": { + "line": 64, + "column": 334 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + }, + "exported": { + "type": "Identifier", + "start": 2211, + "end": 2225, + "loc": { + "start": { + "line": 64, + "column": 320 + }, + "end": { + "line": 64, + "column": 334 + }, + "identifierName": "MeterStatistic" + }, + "name": "MeterStatistic" + } + }, + { + "type": "ExportSpecifier", + "start": 2227, + "end": 2255, + "loc": { + "start": { + "line": 64, + "column": 336 + }, + "end": { + "line": 64, + "column": 364 + } + }, + "local": { + "type": "Identifier", + "start": 2227, + "end": 2255, + "loc": { + "start": { + "line": 64, + "column": 336 + }, + "end": { + "line": 64, + "column": 364 + }, + "identifierName": "MetricsSnapshotHandlerServer" + }, + "name": "MetricsSnapshotHandlerServer" + }, + "exported": { + "type": "Identifier", + "start": 2227, + "end": 2255, + "loc": { + "start": { + "line": 64, + "column": 336 + }, + "end": { + "line": 64, + "column": 364 + }, + "identifierName": "MetricsSnapshotHandlerServer" + }, + "name": "MetricsSnapshotHandlerServer" + } + }, + { + "type": "ExportSpecifier", + "start": 2257, + "end": 2285, + "loc": { + "start": { + "line": 64, + "column": 366 + }, + "end": { + "line": 64, + "column": 394 + } + }, + "local": { + "type": "Identifier", + "start": 2257, + "end": 2285, + "loc": { + "start": { + "line": 64, + "column": 366 + }, + "end": { + "line": 64, + "column": 394 + }, + "identifierName": "MetricsSnapshotHandlerClient" + }, + "name": "MetricsSnapshotHandlerClient" + }, + "exported": { + "type": "Identifier", + "start": 2257, + "end": 2285, + "loc": { + "start": { + "line": 64, + "column": 366 + }, + "end": { + "line": 64, + "column": 394 + }, + "identifierName": "MetricsSnapshotHandlerClient" + }, + "name": "MetricsSnapshotHandlerClient" + } + } + ], + "source": null + } + ], + "directives": [ + { + "type": "Directive", + "start": 1077, + "end": 1090, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 1077, + "end": 1089, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/metrics\n * @fileoverview The set of exports for the \"Metrics\" package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires metrics_pb\n * @requires metrics_rsocket_pb\n * @requires stats\n * @requires BaseMeter\n * @requires Histogram\n * @requires Timer\n * @requires Counter\n * @requires IMeter\n * @requires IMeterRegistry\n * @requires SimpleMeterRegistry\n * @requires MetricsExporter\n * @requires Metrics\n * @requires RawMeterTag\n ", + "start": 0, + "end": 1075, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/metrics\n * @fileoverview The set of exports for the \"Metrics\" package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires metrics_pb\n * @requires metrics_rsocket_pb\n * @requires stats\n * @requires BaseMeter\n * @requires Histogram\n * @requires Timer\n * @requires Counter\n * @requires IMeter\n * @requires IMeterRegistry\n * @requires SimpleMeterRegistry\n * @requires MetricsExporter\n * @requires Metrics\n * @requires RawMeterTag\n ", + "start": 0, + "end": 1075, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/metrics\n * @fileoverview The set of exports for the \"Metrics\" package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires metrics_pb\n * @requires metrics_rsocket_pb\n * @requires stats\n * @requires BaseMeter\n * @requires Histogram\n * @requires Timer\n * @requires Counter\n * @requires IMeter\n * @requires IMeterRegistry\n * @requires SimpleMeterRegistry\n * @requires MetricsExporter\n * @requires Metrics\n * @requires RawMeterTag\n ", + "start": 0, + "end": 1075, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 1077, + "end": 1089, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1089, + "end": 1090, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1092, + "end": 1098, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1099, + "end": 1100, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterTag", + "start": 1101, + "end": 1109, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1109, + "end": 1110, + "loc": { + "start": { + "line": 38, + "column": 17 + }, + "end": { + "line": 38, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 1111, + "end": 1120, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 38, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1120, + "end": 1121, + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterId", + "start": 1122, + "end": 1129, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1129, + "end": 1130, + "loc": { + "start": { + "line": 38, + "column": 37 + }, + "end": { + "line": 38, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 1131, + "end": 1145, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1145, + "end": 1146, + "loc": { + "start": { + "line": 38, + "column": 53 + }, + "end": { + "line": 38, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterMeasurement", + "start": 1147, + "end": 1163, + "loc": { + "start": { + "line": 38, + "column": 55 + }, + "end": { + "line": 38, + "column": 71 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1163, + "end": 1164, + "loc": { + "start": { + "line": 38, + "column": 71 + }, + "end": { + "line": 38, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Meter", + "start": 1165, + "end": 1170, + "loc": { + "start": { + "line": 38, + "column": 73 + }, + "end": { + "line": 38, + "column": 78 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1170, + "end": 1171, + "loc": { + "start": { + "line": 38, + "column": 78 + }, + "end": { + "line": 38, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshot", + "start": 1172, + "end": 1187, + "loc": { + "start": { + "line": 38, + "column": 80 + }, + "end": { + "line": 38, + "column": 95 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1187, + "end": 1188, + "loc": { + "start": { + "line": 38, + "column": 95 + }, + "end": { + "line": 38, + "column": 96 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Skew", + "start": 1189, + "end": 1193, + "loc": { + "start": { + "line": 38, + "column": 97 + }, + "end": { + "line": 38, + "column": 101 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1194, + "end": 1195, + "loc": { + "start": { + "line": 38, + "column": 102 + }, + "end": { + "line": 38, + "column": 103 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1196, + "end": 1200, + "loc": { + "start": { + "line": 38, + "column": 104 + }, + "end": { + "line": 38, + "column": 108 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./proto/metrics_pb", + "start": 1201, + "end": 1221, + "loc": { + "start": { + "line": 38, + "column": 109 + }, + "end": { + "line": 38, + "column": 129 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1221, + "end": 1222, + "loc": { + "start": { + "line": 38, + "column": 129 + }, + "end": { + "line": 38, + "column": 130 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1224, + "end": 1230, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1231, + "end": 1232, + "loc": { + "start": { + "line": 40, + "column": 7 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshotHandlerClient", + "start": 1233, + "end": 1261, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1261, + "end": 1262, + "loc": { + "start": { + "line": 40, + "column": 37 + }, + "end": { + "line": 40, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshotHandlerServer", + "start": 1263, + "end": 1291, + "loc": { + "start": { + "line": 40, + "column": 39 + }, + "end": { + "line": 40, + "column": 67 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1292, + "end": 1293, + "loc": { + "start": { + "line": 40, + "column": 68 + }, + "end": { + "line": 40, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1294, + "end": 1298, + "loc": { + "start": { + "line": 40, + "column": 70 + }, + "end": { + "line": 40, + "column": 74 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./proto/metrics_rsocket_pb", + "start": 1299, + "end": 1327, + "loc": { + "start": { + "line": 40, + "column": 75 + }, + "end": { + "line": 40, + "column": 103 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1327, + "end": 1328, + "loc": { + "start": { + "line": 40, + "column": 103 + }, + "end": { + "line": 40, + "column": 104 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1330, + "end": 1336, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1337, + "end": 1338, + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 1339, + "end": 1366, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1366, + "end": 1367, + "loc": { + "start": { + "line": 42, + "column": 36 + }, + "end": { + "line": 42, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyWeightedMovingAverage", + "start": 1368, + "end": 1402, + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1402, + "end": 1403, + "loc": { + "start": { + "line": 42, + "column": 72 + }, + "end": { + "line": 42, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 1404, + "end": 1410, + "loc": { + "start": { + "line": 42, + "column": 74 + }, + "end": { + "line": 42, + "column": 80 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1410, + "end": 1411, + "loc": { + "start": { + "line": 42, + "column": 80 + }, + "end": { + "line": 42, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 1412, + "end": 1425, + "loc": { + "start": { + "line": 42, + "column": 82 + }, + "end": { + "line": 42, + "column": 95 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1425, + "end": 1426, + "loc": { + "start": { + "line": 42, + "column": 95 + }, + "end": { + "line": 42, + "column": 96 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISample", + "start": 1427, + "end": 1434, + "loc": { + "start": { + "line": 42, + "column": 97 + }, + "end": { + "line": 42, + "column": 104 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1435, + "end": 1436, + "loc": { + "start": { + "line": 42, + "column": 105 + }, + "end": { + "line": 42, + "column": 106 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1437, + "end": 1441, + "loc": { + "start": { + "line": 42, + "column": 107 + }, + "end": { + "line": 42, + "column": 111 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./stats", + "start": 1442, + "end": 1451, + "loc": { + "start": { + "line": 42, + "column": 112 + }, + "end": { + "line": 42, + "column": 121 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 42, + "column": 121 + }, + "end": { + "line": 42, + "column": 122 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1454, + "end": 1460, + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BaseMeter", + "start": 1461, + "end": 1470, + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1471, + "end": 1475, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./BaseMeter", + "start": 1476, + "end": 1489, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1489, + "end": 1490, + "loc": { + "start": { + "line": 44, + "column": 35 + }, + "end": { + "line": 44, + "column": 36 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1492, + "end": 1498, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 46, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1499, + "end": 1500, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 1501, + "end": 1510, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1510, + "end": 1511, + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_PERCENTILES", + "start": 1512, + "end": 1531, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1532, + "end": 1533, + "loc": { + "start": { + "line": 46, + "column": 40 + }, + "end": { + "line": 46, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1534, + "end": 1538, + "loc": { + "start": { + "line": 46, + "column": 42 + }, + "end": { + "line": 46, + "column": 46 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Histogram", + "start": 1539, + "end": 1552, + "loc": { + "start": { + "line": 46, + "column": 47 + }, + "end": { + "line": 46, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1552, + "end": 1553, + "loc": { + "start": { + "line": 46, + "column": 60 + }, + "end": { + "line": 46, + "column": 61 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1555, + "end": 1561, + "loc": { + "start": { + "line": 48, + "column": 0 + }, + "end": { + "line": 48, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 1562, + "end": 1567, + "loc": { + "start": { + "line": 48, + "column": 7 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1568, + "end": 1572, + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Timer", + "start": 1573, + "end": 1582, + "loc": { + "start": { + "line": 48, + "column": 18 + }, + "end": { + "line": 48, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1582, + "end": 1583, + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 28 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1585, + "end": 1591, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 50, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 1592, + "end": 1599, + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1600, + "end": 1604, + "loc": { + "start": { + "line": 50, + "column": 15 + }, + "end": { + "line": 50, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Counter", + "start": 1605, + "end": 1616, + "loc": { + "start": { + "line": 50, + "column": 20 + }, + "end": { + "line": 50, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1616, + "end": 1617, + "loc": { + "start": { + "line": 50, + "column": 31 + }, + "end": { + "line": 50, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1619, + "end": 1625, + "loc": { + "start": { + "line": 52, + "column": 0 + }, + "end": { + "line": 52, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1626, + "end": 1627, + "loc": { + "start": { + "line": 52, + "column": 7 + }, + "end": { + "line": 52, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IMeter", + "start": 1628, + "end": 1634, + "loc": { + "start": { + "line": 52, + "column": 9 + }, + "end": { + "line": 52, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1635, + "end": 1636, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1637, + "end": 1641, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./IMeter", + "start": 1642, + "end": 1652, + "loc": { + "start": { + "line": 52, + "column": 23 + }, + "end": { + "line": 52, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1652, + "end": 1653, + "loc": { + "start": { + "line": 52, + "column": 33 + }, + "end": { + "line": 52, + "column": 34 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1655, + "end": 1661, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 54, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1662, + "end": 1663, + "loc": { + "start": { + "line": 54, + "column": 7 + }, + "end": { + "line": 54, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IMeterRegistry", + "start": 1664, + "end": 1678, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1679, + "end": 1680, + "loc": { + "start": { + "line": 54, + "column": 24 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1681, + "end": 1685, + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 54, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./IMeterRegistry", + "start": 1686, + "end": 1704, + "loc": { + "start": { + "line": 54, + "column": 31 + }, + "end": { + "line": 54, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1704, + "end": 1705, + "loc": { + "start": { + "line": 54, + "column": 49 + }, + "end": { + "line": 54, + "column": 50 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1707, + "end": 1713, + "loc": { + "start": { + "line": 56, + "column": 0 + }, + "end": { + "line": 56, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SimpleMeterRegistry", + "start": 1714, + "end": 1733, + "loc": { + "start": { + "line": 56, + "column": 7 + }, + "end": { + "line": 56, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1734, + "end": 1738, + "loc": { + "start": { + "line": 56, + "column": 27 + }, + "end": { + "line": 56, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./SimpleMeterRegistry", + "start": 1739, + "end": 1762, + "loc": { + "start": { + "line": 56, + "column": 32 + }, + "end": { + "line": 56, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1762, + "end": 1763, + "loc": { + "start": { + "line": 56, + "column": 55 + }, + "end": { + "line": 56, + "column": 56 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1765, + "end": 1771, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 58, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsExporter", + "start": 1772, + "end": 1787, + "loc": { + "start": { + "line": 58, + "column": 7 + }, + "end": { + "line": 58, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1788, + "end": 1792, + "loc": { + "start": { + "line": 58, + "column": 23 + }, + "end": { + "line": 58, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./MetricsExporter", + "start": 1793, + "end": 1812, + "loc": { + "start": { + "line": 58, + "column": 28 + }, + "end": { + "line": 58, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1812, + "end": 1813, + "loc": { + "start": { + "line": 58, + "column": 47 + }, + "end": { + "line": 58, + "column": 48 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1815, + "end": 1821, + "loc": { + "start": { + "line": 60, + "column": 0 + }, + "end": { + "line": 60, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Metrics", + "start": 1822, + "end": 1829, + "loc": { + "start": { + "line": 60, + "column": 7 + }, + "end": { + "line": 60, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1830, + "end": 1834, + "loc": { + "start": { + "line": 60, + "column": 15 + }, + "end": { + "line": 60, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Metrics", + "start": 1835, + "end": 1846, + "loc": { + "start": { + "line": 60, + "column": 20 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1846, + "end": 1847, + "loc": { + "start": { + "line": 60, + "column": 31 + }, + "end": { + "line": 60, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 1849, + "end": 1855, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 62, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 1856, + "end": 1867, + "loc": { + "start": { + "line": 62, + "column": 7 + }, + "end": { + "line": 62, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1868, + "end": 1872, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./RawMeterTag", + "start": 1873, + "end": 1888, + "loc": { + "start": { + "line": 62, + "column": 24 + }, + "end": { + "line": 62, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1888, + "end": 1889, + "loc": { + "start": { + "line": 62, + "column": 39 + }, + "end": { + "line": 62, + "column": 40 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1891, + "end": 1897, + "loc": { + "start": { + "line": 64, + "column": 0 + }, + "end": { + "line": 64, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1898, + "end": 1899, + "loc": { + "start": { + "line": 64, + "column": 7 + }, + "end": { + "line": 64, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BaseMeter", + "start": 1900, + "end": 1909, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1909, + "end": 1910, + "loc": { + "start": { + "line": 64, + "column": 18 + }, + "end": { + "line": 64, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Counter", + "start": 1911, + "end": 1918, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1918, + "end": 1919, + "loc": { + "start": { + "line": 64, + "column": 27 + }, + "end": { + "line": 64, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Timer", + "start": 1920, + "end": 1925, + "loc": { + "start": { + "line": 64, + "column": 29 + }, + "end": { + "line": 64, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1925, + "end": 1926, + "loc": { + "start": { + "line": 64, + "column": 34 + }, + "end": { + "line": 64, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RawMeterTag", + "start": 1927, + "end": 1938, + "loc": { + "start": { + "line": 64, + "column": 36 + }, + "end": { + "line": 64, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1938, + "end": 1939, + "loc": { + "start": { + "line": 64, + "column": 47 + }, + "end": { + "line": 64, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Histogram", + "start": 1940, + "end": 1949, + "loc": { + "start": { + "line": 64, + "column": 49 + }, + "end": { + "line": 64, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1949, + "end": 1950, + "loc": { + "start": { + "line": 64, + "column": 58 + }, + "end": { + "line": 64, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 1951, + "end": 1978, + "loc": { + "start": { + "line": 64, + "column": 60 + }, + "end": { + "line": 64, + "column": 87 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1978, + "end": 1979, + "loc": { + "start": { + "line": 64, + "column": 87 + }, + "end": { + "line": 64, + "column": 88 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyWeightedMovingAverage", + "start": 1980, + "end": 2014, + "loc": { + "start": { + "line": 64, + "column": 89 + }, + "end": { + "line": 64, + "column": 123 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2014, + "end": 2015, + "loc": { + "start": { + "line": 64, + "column": 123 + }, + "end": { + "line": 64, + "column": 124 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 2016, + "end": 2022, + "loc": { + "start": { + "line": 64, + "column": 125 + }, + "end": { + "line": 64, + "column": 131 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2022, + "end": 2023, + "loc": { + "start": { + "line": 64, + "column": 131 + }, + "end": { + "line": 64, + "column": 132 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 2024, + "end": 2037, + "loc": { + "start": { + "line": 64, + "column": 133 + }, + "end": { + "line": 64, + "column": 146 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2037, + "end": 2038, + "loc": { + "start": { + "line": 64, + "column": 146 + }, + "end": { + "line": 64, + "column": 147 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISample", + "start": 2039, + "end": 2046, + "loc": { + "start": { + "line": 64, + "column": 148 + }, + "end": { + "line": 64, + "column": 155 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2046, + "end": 2047, + "loc": { + "start": { + "line": 64, + "column": 155 + }, + "end": { + "line": 64, + "column": 156 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DEFAULT_PERCENTILES", + "start": 2048, + "end": 2067, + "loc": { + "start": { + "line": 64, + "column": 157 + }, + "end": { + "line": 64, + "column": 176 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2067, + "end": 2068, + "loc": { + "start": { + "line": 64, + "column": 176 + }, + "end": { + "line": 64, + "column": 177 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IMeter", + "start": 2069, + "end": 2075, + "loc": { + "start": { + "line": 64, + "column": 178 + }, + "end": { + "line": 64, + "column": 184 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2075, + "end": 2076, + "loc": { + "start": { + "line": 64, + "column": 184 + }, + "end": { + "line": 64, + "column": 185 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IMeterRegistry", + "start": 2077, + "end": 2091, + "loc": { + "start": { + "line": 64, + "column": 186 + }, + "end": { + "line": 64, + "column": 200 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2091, + "end": 2092, + "loc": { + "start": { + "line": 64, + "column": 200 + }, + "end": { + "line": 64, + "column": 201 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SimpleMeterRegistry", + "start": 2093, + "end": 2112, + "loc": { + "start": { + "line": 64, + "column": 202 + }, + "end": { + "line": 64, + "column": 221 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2112, + "end": 2113, + "loc": { + "start": { + "line": 64, + "column": 221 + }, + "end": { + "line": 64, + "column": 222 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Metrics", + "start": 2114, + "end": 2121, + "loc": { + "start": { + "line": 64, + "column": 223 + }, + "end": { + "line": 64, + "column": 230 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2121, + "end": 2122, + "loc": { + "start": { + "line": 64, + "column": 230 + }, + "end": { + "line": 64, + "column": 231 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsExporter", + "start": 2123, + "end": 2138, + "loc": { + "start": { + "line": 64, + "column": 232 + }, + "end": { + "line": 64, + "column": 247 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2138, + "end": 2139, + "loc": { + "start": { + "line": 64, + "column": 247 + }, + "end": { + "line": 64, + "column": 248 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterTag", + "start": 2140, + "end": 2148, + "loc": { + "start": { + "line": 64, + "column": 249 + }, + "end": { + "line": 64, + "column": 257 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2148, + "end": 2149, + "loc": { + "start": { + "line": 64, + "column": 257 + }, + "end": { + "line": 64, + "column": 258 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterId", + "start": 2150, + "end": 2157, + "loc": { + "start": { + "line": 64, + "column": 259 + }, + "end": { + "line": 64, + "column": 266 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2157, + "end": 2158, + "loc": { + "start": { + "line": 64, + "column": 266 + }, + "end": { + "line": 64, + "column": 267 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterMeasurement", + "start": 2159, + "end": 2175, + "loc": { + "start": { + "line": 64, + "column": 268 + }, + "end": { + "line": 64, + "column": 284 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2175, + "end": 2176, + "loc": { + "start": { + "line": 64, + "column": 284 + }, + "end": { + "line": 64, + "column": 285 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshot", + "start": 2177, + "end": 2192, + "loc": { + "start": { + "line": 64, + "column": 286 + }, + "end": { + "line": 64, + "column": 301 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2192, + "end": 2193, + "loc": { + "start": { + "line": 64, + "column": 301 + }, + "end": { + "line": 64, + "column": 302 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Skew", + "start": 2194, + "end": 2198, + "loc": { + "start": { + "line": 64, + "column": 303 + }, + "end": { + "line": 64, + "column": 307 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2198, + "end": 2199, + "loc": { + "start": { + "line": 64, + "column": 307 + }, + "end": { + "line": 64, + "column": 308 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterType", + "start": 2200, + "end": 2209, + "loc": { + "start": { + "line": 64, + "column": 309 + }, + "end": { + "line": 64, + "column": 318 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2209, + "end": 2210, + "loc": { + "start": { + "line": 64, + "column": 318 + }, + "end": { + "line": 64, + "column": 319 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MeterStatistic", + "start": 2211, + "end": 2225, + "loc": { + "start": { + "line": 64, + "column": 320 + }, + "end": { + "line": 64, + "column": 334 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2225, + "end": 2226, + "loc": { + "start": { + "line": 64, + "column": 334 + }, + "end": { + "line": 64, + "column": 335 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshotHandlerServer", + "start": 2227, + "end": 2255, + "loc": { + "start": { + "line": 64, + "column": 336 + }, + "end": { + "line": 64, + "column": 364 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2255, + "end": 2256, + "loc": { + "start": { + "line": 64, + "column": 364 + }, + "end": { + "line": 64, + "column": 365 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MetricsSnapshotHandlerClient", + "start": 2257, + "end": 2285, + "loc": { + "start": { + "line": 64, + "column": 366 + }, + "end": { + "line": 64, + "column": 394 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2286, + "end": 2287, + "loc": { + "start": { + "line": 64, + "column": 395 + }, + "end": { + "line": 64, + "column": 396 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2287, + "end": 2288, + "loc": { + "start": { + "line": 64, + "column": 396 + }, + "end": { + "line": 64, + "column": 397 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2288, + "end": 2288, + "loc": { + "start": { + "line": 64, + "column": 397 + }, + "end": { + "line": 64, + "column": 397 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ExponentiallyDecayingSample.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ExponentiallyDecayingSample.js.json new file mode 100644 index 0000000..d463620 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ExponentiallyDecayingSample.js.json @@ -0,0 +1,21782 @@ +{ + "type": "File", + "start": 0, + "end": 3342, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 155, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 3342, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 155, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 225, + "end": 255, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 30 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 232, + "end": 238, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 232, + "end": 238, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 13 + }, + "identifierName": "Sample" + }, + "name": "Sample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 244, + "end": 254, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 29 + } + }, + "extra": { + "rawValue": "./Sample", + "raw": "'./Sample'" + }, + "value": "./Sample" + } + }, + { + "type": "ImportDeclaration", + "start": 256, + "end": 299, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 43 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 263, + "end": 273, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 17 + } + }, + "local": { + "type": "Identifier", + "start": 263, + "end": 273, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 17 + }, + "identifierName": "BinaryHeap" + }, + "name": "BinaryHeap" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 279, + "end": 298, + "loc": { + "start": { + "line": 15, + "column": 23 + }, + "end": { + "line": 15, + "column": 42 + } + }, + "extra": { + "rawValue": "./lib/binary_heap", + "raw": "'./lib/binary_heap'" + }, + "value": "./lib/binary_heap" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Take an exponentially decaying sample of size size of all values.\n * This value represents one hour in milliseconds.\n * @constant\n ", + "start": 302, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 443, + "end": 484, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 449, + "end": 483, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 449, + "end": 466, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 23 + }, + "identifierName": "RESCALE_THRESHOLD" + }, + "name": "RESCALE_THRESHOLD", + "leadingComments": null + }, + "init": { + "type": "BinaryExpression", + "start": 469, + "end": 483, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 40 + } + }, + "left": { + "type": "BinaryExpression", + "start": 469, + "end": 476, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 33 + } + }, + "left": { + "type": "NumericLiteral", + "start": 469, + "end": 471, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 28 + } + }, + "extra": { + "rawValue": 60, + "raw": "60" + }, + "value": 60 + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 474, + "end": 476, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 33 + } + }, + "extra": { + "rawValue": 60, + "raw": "60" + }, + "value": 60 + } + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 479, + "end": 483, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 40 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Take an exponentially decaying sample of size size of all values.\n * This value represents one hour in milliseconds.\n * @constant\n ", + "start": 302, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " 1 hour in milliseconds", + "start": 485, + "end": 510, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 67 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 520, + "end": 3342, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 155, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 535, + "end": 3342, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 155, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 541, + "end": 568, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 48 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample", + "leadingComments": null + }, + "superClass": { + "type": "Identifier", + "start": 577, + "end": 583, + "loc": { + "start": { + "line": 27, + "column": 57 + }, + "end": { + "line": 27, + "column": 63 + }, + "identifierName": "Sample" + }, + "name": "Sample" + }, + "body": { + "type": "ClassBody", + "start": 584, + "end": 3342, + "loc": { + "start": { + "line": 27, + "column": 64 + }, + "end": { + "line": 155, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 658, + "end": 864, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 658, + "end": 669, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 670, + "end": 674, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 18 + }, + "identifierName": "size" + }, + "name": "size" + }, + { + "type": "Identifier", + "start": 676, + "end": 681, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 25 + }, + "identifierName": "alpha" + }, + "name": "alpha" + } + ], + "body": { + "type": "BlockStatement", + "start": 683, + "end": 864, + "loc": { + "start": { + "line": 33, + "column": 27 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 689, + "end": 697, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 12 + } + }, + "expression": { + "type": "CallExpression", + "start": 689, + "end": 696, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 11 + } + }, + "callee": { + "type": "Super", + "start": 689, + "end": 694, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + "arguments": [] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 702, + "end": 723, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 728, + "end": 743, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 728, + "end": 742, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 728, + "end": 738, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 728, + "end": 732, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 733, + "end": 738, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NumericLiteral", + "start": 741, + "end": 742, + "loc": { + "start": { + "line": 36, + "column": 17 + }, + "end": { + "line": 36, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 702, + "end": 723, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 748, + "end": 769, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 774, + "end": 792, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 774, + "end": 791, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 774, + "end": 784, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 774, + "end": 778, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 779, + "end": 784, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 14 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 38, + "column": 17 + }, + "end": { + "line": 38, + "column": 21 + }, + "identifierName": "size" + }, + "name": "size" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 748, + "end": 769, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 797, + "end": 818, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 823, + "end": 842, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 823, + "end": 841, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 823, + "end": 833, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 823, + "end": 827, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 828, + "end": 833, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 14 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 836, + "end": 841, + "loc": { + "start": { + "line": 40, + "column": 17 + }, + "end": { + "line": 40, + "column": 22 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 797, + "end": 818, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 847, + "end": 860, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 847, + "end": 859, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 847, + "end": 857, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 847, + "end": 851, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 852, + "end": 857, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 14 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} size -\n * @param {number} alpha -\n ", + "start": 589, + "end": 655, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * This is a relatively expensive operation.\n * @return {T[]}\n ", + "start": 868, + "end": 943, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 47, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 946, + "end": 1117, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 56, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 946, + "end": 955, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 11 + }, + "identifierName": "getValues" + }, + "name": "getValues", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 958, + "end": 1117, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 56, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 964, + "end": 1029, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 51, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 968, + "end": 979, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 968, + "end": 974, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 14 + }, + "identifierName": "values" + }, + "name": "values" + }, + "init": { + "type": "ArrayExpression", + "start": 977, + "end": 979, + "loc": { + "start": { + "line": 49, + "column": 17 + }, + "end": { + "line": 49, + "column": 19 + } + }, + "elements": [] + } + }, + { + "type": "VariableDeclarator", + "start": 989, + "end": 992, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 11 + } + }, + "id": { + "type": "Identifier", + "start": 989, + "end": 992, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 11 + }, + "identifierName": "elt" + }, + "name": "elt" + }, + "init": null + }, + { + "type": "VariableDeclarator", + "start": 1002, + "end": 1028, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 1002, + "end": 1006, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + }, + "identifierName": "heap" + }, + "name": "heap" + }, + "init": { + "type": "CallExpression", + "start": 1009, + "end": 1028, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1009, + "end": 1026, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 1009, + "end": 1020, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 1009, + "end": 1013, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 1014, + "end": 1020, + "loc": { + "start": { + "line": 51, + "column": 20 + }, + "end": { + "line": 51, + "column": 26 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1021, + "end": 1026, + "loc": { + "start": { + "line": 51, + "column": 27 + }, + "end": { + "line": 51, + "column": 32 + }, + "identifierName": "clone" + }, + "name": "clone" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "var" + }, + { + "type": "WhileStatement", + "start": 1034, + "end": 1094, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 54, + "column": 5 + } + }, + "test": { + "type": "AssignmentExpression", + "start": 1041, + "end": 1057, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1041, + "end": 1044, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 14 + }, + "identifierName": "elt" + }, + "name": "elt" + }, + "right": { + "type": "CallExpression", + "start": 1047, + "end": 1057, + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1047, + "end": 1055, + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 1047, + "end": 1051, + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 21 + }, + "identifierName": "heap" + }, + "name": "heap" + }, + "property": { + "type": "Identifier", + "start": 1052, + "end": 1055, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 25 + }, + "identifierName": "pop" + }, + "name": "pop" + }, + "computed": false + }, + "arguments": [] + } + }, + "body": { + "type": "BlockStatement", + "start": 1059, + "end": 1094, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 54, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1067, + "end": 1088, + "loc": { + "start": { + "line": 53, + "column": 6 + }, + "end": { + "line": 53, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 1067, + "end": 1087, + "loc": { + "start": { + "line": 53, + "column": 6 + }, + "end": { + "line": 53, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1067, + "end": 1078, + "loc": { + "start": { + "line": 53, + "column": 6 + }, + "end": { + "line": 53, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 1067, + "end": 1073, + "loc": { + "start": { + "line": 53, + "column": 6 + }, + "end": { + "line": 53, + "column": 12 + }, + "identifierName": "values" + }, + "name": "values" + }, + "property": { + "type": "Identifier", + "start": 1074, + "end": 1078, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 17 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1079, + "end": 1086, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 1079, + "end": 1082, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 21 + }, + "identifierName": "elt" + }, + "name": "elt" + }, + "property": { + "type": "Identifier", + "start": 1083, + "end": 1086, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 25 + }, + "identifierName": "val" + }, + "name": "val" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 1099, + "end": 1113, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 1106, + "end": 1112, + "loc": { + "start": { + "line": 55, + "column": 11 + }, + "end": { + "line": 55, + "column": 17 + }, + "identifierName": "values" + }, + "name": "values" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * This is a relatively expensive operation.\n * @return {T[]}\n ", + "start": 868, + "end": 943, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 47, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1121, + "end": 1152, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1155, + "end": 1198, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1155, + "end": 1159, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 6 + }, + "identifierName": "size" + }, + "name": "size", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1162, + "end": 1198, + "loc": { + "start": { + "line": 61, + "column": 9 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1168, + "end": 1194, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 30 + } + }, + "argument": { + "type": "CallExpression", + "start": 1175, + "end": 1193, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1175, + "end": 1191, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 1175, + "end": 1186, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1175, + "end": 1179, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1180, + "end": 1186, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 22 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1187, + "end": 1191, + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 27 + }, + "identifierName": "size" + }, + "name": "size" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1121, + "end": 1152, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {BinaryHeap}\n ", + "start": 1202, + "end": 1240, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1243, + "end": 1306, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 70, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1243, + "end": 1250, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 9 + }, + "identifierName": "newHeap" + }, + "name": "newHeap", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1253, + "end": 1306, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 70, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1259, + "end": 1302, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 47 + } + }, + "argument": { + "type": "NewExpression", + "start": 1266, + "end": 1301, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 1270, + "end": 1280, + "loc": { + "start": { + "line": 69, + "column": 15 + }, + "end": { + "line": 69, + "column": 25 + }, + "identifierName": "BinaryHeap" + }, + "name": "BinaryHeap" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1281, + "end": 1300, + "loc": { + "start": { + "line": 69, + "column": 26 + }, + "end": { + "line": 69, + "column": 45 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1281, + "end": 1284, + "loc": { + "start": { + "line": 69, + "column": 26 + }, + "end": { + "line": 69, + "column": 29 + }, + "identifierName": "obj" + }, + "name": "obj" + } + ], + "body": { + "type": "MemberExpression", + "start": 1288, + "end": 1300, + "loc": { + "start": { + "line": 69, + "column": 33 + }, + "end": { + "line": 69, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 1288, + "end": 1291, + "loc": { + "start": { + "line": 69, + "column": 33 + }, + "end": { + "line": 69, + "column": 36 + }, + "identifierName": "obj" + }, + "name": "obj" + }, + "property": { + "type": "Identifier", + "start": 1292, + "end": 1300, + "loc": { + "start": { + "line": 69, + "column": 37 + }, + "end": { + "line": 69, + "column": 45 + }, + "identifierName": "priority" + }, + "name": "priority" + }, + "computed": false + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {BinaryHeap}\n ", + "start": 1202, + "end": 1240, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1310, + "end": 1341, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 74, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1344, + "end": 1388, + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 77, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1344, + "end": 1347, + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 75, + "column": 5 + }, + "identifierName": "now" + }, + "name": "now", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1350, + "end": 1388, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 77, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1356, + "end": 1384, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 32 + } + }, + "argument": { + "type": "CallExpression", + "start": 1363, + "end": 1383, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1363, + "end": 1381, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 29 + } + }, + "object": { + "type": "NewExpression", + "start": 1363, + "end": 1373, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 21 + } + }, + "callee": { + "type": "Identifier", + "start": 1367, + "end": 1371, + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 19 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 1374, + "end": 1381, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 29 + }, + "identifierName": "getTime" + }, + "name": "getTime" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1310, + "end": 1341, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 74, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1392, + "end": 1423, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1426, + "end": 1468, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1426, + "end": 1430, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 6 + }, + "identifierName": "tick" + }, + "name": "tick", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1433, + "end": 1468, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1439, + "end": 1464, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 29 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 1446, + "end": 1463, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 28 + } + }, + "left": { + "type": "CallExpression", + "start": 1446, + "end": 1456, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1446, + "end": 1454, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 1446, + "end": 1450, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1451, + "end": 1454, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 19 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 1459, + "end": 1463, + "loc": { + "start": { + "line": 83, + "column": 24 + }, + "end": { + "line": 83, + "column": 28 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1392, + "end": 1423, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {void}\n ", + "start": 1472, + "end": 1501, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1504, + "end": 1754, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 97, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1504, + "end": 1509, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 7 + }, + "identifierName": "clear" + }, + "name": "clear", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1512, + "end": 1754, + "loc": { + "start": { + "line": 89, + "column": 10 + }, + "end": { + "line": 97, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1558, + "end": 1587, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1558, + "end": 1586, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1558, + "end": 1569, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1558, + "end": 1562, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1563, + "end": 1569, + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 15 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 1572, + "end": 1586, + "loc": { + "start": { + "line": 91, + "column": 18 + }, + "end": { + "line": 91, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1572, + "end": 1584, + "loc": { + "start": { + "line": 91, + "column": 18 + }, + "end": { + "line": 91, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 1572, + "end": 1576, + "loc": { + "start": { + "line": 91, + "column": 18 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 1577, + "end": 1584, + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 30 + }, + "identifierName": "newHeap" + }, + "name": "newHeap" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {BinaryHeap} values ", + "start": 1518, + "end": 1553, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 39 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1592, + "end": 1607, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1592, + "end": 1606, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1592, + "end": 1602, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1592, + "end": 1596, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1597, + "end": 1602, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 1605, + "end": 1606, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1612, + "end": 1633, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1638, + "end": 1667, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1638, + "end": 1666, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1638, + "end": 1652, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1638, + "end": 1642, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1643, + "end": 1652, + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 94, + "column": 18 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 1655, + "end": 1666, + "loc": { + "start": { + "line": 94, + "column": 21 + }, + "end": { + "line": 94, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1655, + "end": 1664, + "loc": { + "start": { + "line": 94, + "column": 21 + }, + "end": { + "line": 94, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 1655, + "end": 1659, + "loc": { + "start": { + "line": 94, + "column": 21 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 1660, + "end": 1664, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 94, + "column": 30 + }, + "identifierName": "tick" + }, + "name": "tick" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1612, + "end": 1633, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1672, + "end": 1693, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1698, + "end": 1750, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1698, + "end": 1749, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1698, + "end": 1716, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1698, + "end": 1702, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1703, + "end": 1716, + "loc": { + "start": { + "line": 96, + "column": 9 + }, + "end": { + "line": 96, + "column": 22 + }, + "identifierName": "nextScaleTime" + }, + "name": "nextScaleTime" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 1719, + "end": 1749, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 55 + } + }, + "left": { + "type": "CallExpression", + "start": 1719, + "end": 1729, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1719, + "end": 1727, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 1719, + "end": 1723, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "start": 1724, + "end": 1727, + "loc": { + "start": { + "line": 96, + "column": 30 + }, + "end": { + "line": 96, + "column": 33 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 1732, + "end": 1749, + "loc": { + "start": { + "line": 96, + "column": 38 + }, + "end": { + "line": 96, + "column": 55 + }, + "identifierName": "RESCALE_THRESHOLD" + }, + "name": "RESCALE_THRESHOLD" + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1672, + "end": 1693, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 25 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @return {void}\n ", + "start": 1472, + "end": 1501, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {T} val - \n * @param {?number} timestamp - (in milliseconds)\n ", + "start": 1758, + "end": 1842, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 102, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1845, + "end": 2492, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 126, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1845, + "end": 1851, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 8 + }, + "identifierName": "update" + }, + "name": "update", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1852, + "end": 1855, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 12 + }, + "identifierName": "val" + }, + "name": "val" + }, + { + "type": "Identifier", + "start": 1857, + "end": 1866, + "loc": { + "start": { + "line": 103, + "column": 14 + }, + "end": { + "line": 103, + "column": 23 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + } + ], + "body": { + "type": "BlockStatement", + "start": 1868, + "end": 2492, + "loc": { + "start": { + "line": 103, + "column": 25 + }, + "end": { + "line": 126, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1910, + "end": 2025, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 109, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1914, + "end": 1936, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 30 + } + }, + "left": { + "type": "Identifier", + "start": 1914, + "end": 1923, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 17 + }, + "identifierName": "timestamp" + }, + "name": "timestamp", + "leadingComments": null + }, + "operator": "==", + "right": { + "type": "Identifier", + "start": 1927, + "end": 1936, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 30 + }, + "identifierName": "undefined" + }, + "name": "undefined" + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 1938, + "end": 1976, + "loc": { + "start": { + "line": 105, + "column": 32 + }, + "end": { + "line": 107, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1946, + "end": 1970, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1946, + "end": 1969, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1946, + "end": 1955, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 15 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + }, + "right": { + "type": "CallExpression", + "start": 1958, + "end": 1969, + "loc": { + "start": { + "line": 106, + "column": 18 + }, + "end": { + "line": 106, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1958, + "end": 1967, + "loc": { + "start": { + "line": 106, + "column": 18 + }, + "end": { + "line": 106, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 1958, + "end": 1962, + "loc": { + "start": { + "line": 106, + "column": 18 + }, + "end": { + "line": 106, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 1963, + "end": 1967, + "loc": { + "start": { + "line": 106, + "column": 23 + }, + "end": { + "line": 106, + "column": 27 + }, + "identifierName": "tick" + }, + "name": "tick" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1982, + "end": 2025, + "loc": { + "start": { + "line": 107, + "column": 11 + }, + "end": { + "line": 109, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1990, + "end": 2019, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1990, + "end": 2018, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1990, + "end": 1999, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 15 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + }, + "right": { + "type": "BinaryExpression", + "start": 2002, + "end": 2018, + "loc": { + "start": { + "line": 108, + "column": 18 + }, + "end": { + "line": 108, + "column": 34 + } + }, + "left": { + "type": "Identifier", + "start": 2002, + "end": 2011, + "loc": { + "start": { + "line": 108, + "column": 18 + }, + "end": { + "line": 108, + "column": 27 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 2014, + "end": 2018, + "loc": { + "start": { + "line": 108, + "column": 30 + }, + "end": { + "line": 108, + "column": 34 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Convert timestamp to seconds", + "start": 1874, + "end": 1905, + "loc": { + "start": { + "line": 104, + "column": 4 + }, + "end": { + "line": 104, + "column": 35 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 2030, + "end": 2101, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 75 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2034, + "end": 2100, + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 74 + } + }, + "id": { + "type": "Identifier", + "start": 2034, + "end": 2042, + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 16 + }, + "identifierName": "priority" + }, + "name": "priority" + }, + "init": { + "type": "BinaryExpression", + "start": 2045, + "end": 2100, + "loc": { + "start": { + "line": 110, + "column": 19 + }, + "end": { + "line": 110, + "column": 74 + } + }, + "left": { + "type": "CallExpression", + "start": 2045, + "end": 2084, + "loc": { + "start": { + "line": 110, + "column": 19 + }, + "end": { + "line": 110, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2045, + "end": 2056, + "loc": { + "start": { + "line": 110, + "column": 19 + }, + "end": { + "line": 110, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2045, + "end": 2049, + "loc": { + "start": { + "line": 110, + "column": 19 + }, + "end": { + "line": 110, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 2050, + "end": 2056, + "loc": { + "start": { + "line": 110, + "column": 24 + }, + "end": { + "line": 110, + "column": 30 + }, + "identifierName": "weight" + }, + "name": "weight" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2057, + "end": 2083, + "loc": { + "start": { + "line": 110, + "column": 31 + }, + "end": { + "line": 110, + "column": 57 + } + }, + "left": { + "type": "Identifier", + "start": 2057, + "end": 2066, + "loc": { + "start": { + "line": 110, + "column": 31 + }, + "end": { + "line": 110, + "column": 40 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 2069, + "end": 2083, + "loc": { + "start": { + "line": 110, + "column": 43 + }, + "end": { + "line": 110, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2069, + "end": 2073, + "loc": { + "start": { + "line": 110, + "column": 43 + }, + "end": { + "line": 110, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "start": 2074, + "end": 2083, + "loc": { + "start": { + "line": 110, + "column": 48 + }, + "end": { + "line": 110, + "column": 57 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false + } + } + ] + }, + "operator": "/", + "right": { + "type": "CallExpression", + "start": 2087, + "end": 2100, + "loc": { + "start": { + "line": 110, + "column": 61 + }, + "end": { + "line": 110, + "column": 74 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2087, + "end": 2098, + "loc": { + "start": { + "line": 110, + "column": 61 + }, + "end": { + "line": 110, + "column": 72 + } + }, + "object": { + "type": "Identifier", + "start": 2087, + "end": 2091, + "loc": { + "start": { + "line": 110, + "column": 61 + }, + "end": { + "line": 110, + "column": 65 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 2092, + "end": 2098, + "loc": { + "start": { + "line": 110, + "column": 66 + }, + "end": { + "line": 110, + "column": 72 + }, + "identifierName": "random" + }, + "name": "random" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "kind": "var" + }, + { + "type": "VariableDeclaration", + "start": 2106, + "end": 2153, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2112, + "end": 2152, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 111, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 2112, + "end": 2117, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 111, + "column": 15 + }, + "identifierName": "value" + }, + "name": "value" + }, + "init": { + "type": "ObjectExpression", + "start": 2120, + "end": 2152, + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 50 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2122, + "end": 2130, + "loc": { + "start": { + "line": 111, + "column": 20 + }, + "end": { + "line": 111, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2122, + "end": 2125, + "loc": { + "start": { + "line": 111, + "column": 20 + }, + "end": { + "line": 111, + "column": 23 + }, + "identifierName": "val" + }, + "name": "val" + }, + "value": { + "type": "Identifier", + "start": 2127, + "end": 2130, + "loc": { + "start": { + "line": 111, + "column": 25 + }, + "end": { + "line": 111, + "column": 28 + }, + "identifierName": "val" + }, + "name": "val" + } + }, + { + "type": "ObjectProperty", + "start": 2132, + "end": 2150, + "loc": { + "start": { + "line": 111, + "column": 30 + }, + "end": { + "line": 111, + "column": 48 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2132, + "end": 2140, + "loc": { + "start": { + "line": 111, + "column": 30 + }, + "end": { + "line": 111, + "column": 38 + }, + "identifierName": "priority" + }, + "name": "priority" + }, + "value": { + "type": "Identifier", + "start": 2142, + "end": 2150, + "loc": { + "start": { + "line": 111, + "column": 40 + }, + "end": { + "line": 111, + "column": 48 + }, + "identifierName": "priority" + }, + "name": "priority" + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 2158, + "end": 2406, + "loc": { + "start": { + "line": 112, + "column": 4 + }, + "end": { + "line": 121, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2162, + "end": 2185, + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 31 + } + }, + "left": { + "type": "MemberExpression", + "start": 2162, + "end": 2172, + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2162, + "end": 2166, + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2167, + "end": 2172, + "loc": { + "start": { + "line": 112, + "column": 13 + }, + "end": { + "line": 112, + "column": 18 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 2175, + "end": 2185, + "loc": { + "start": { + "line": 112, + "column": 21 + }, + "end": { + "line": 112, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 2175, + "end": 2179, + "loc": { + "start": { + "line": 112, + "column": 21 + }, + "end": { + "line": 112, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 2180, + "end": 2185, + "loc": { + "start": { + "line": 112, + "column": 26 + }, + "end": { + "line": 112, + "column": 31 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2187, + "end": 2248, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 115, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2195, + "end": 2211, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2195, + "end": 2210, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 21 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 2195, + "end": 2205, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2195, + "end": 2199, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2200, + "end": 2205, + "loc": { + "start": { + "line": 113, + "column": 11 + }, + "end": { + "line": 113, + "column": 16 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 2209, + "end": 2210, + "loc": { + "start": { + "line": 113, + "column": 20 + }, + "end": { + "line": 113, + "column": 21 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + }, + { + "type": "ExpressionStatement", + "start": 2218, + "end": 2242, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 2218, + "end": 2241, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2218, + "end": 2234, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 2218, + "end": 2229, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 2218, + "end": 2222, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2223, + "end": 2229, + "loc": { + "start": { + "line": 114, + "column": 11 + }, + "end": { + "line": 114, + "column": 17 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2230, + "end": 2234, + "loc": { + "start": { + "line": 114, + "column": 18 + }, + "end": { + "line": 114, + "column": 22 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2235, + "end": 2240, + "loc": { + "start": { + "line": 114, + "column": 23 + }, + "end": { + "line": 114, + "column": 28 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2254, + "end": 2406, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 121, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2262, + "end": 2293, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 37 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2266, + "end": 2292, + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 36 + } + }, + "id": { + "type": "Identifier", + "start": 2266, + "end": 2271, + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 15 + }, + "identifierName": "first" + }, + "name": "first" + }, + "init": { + "type": "CallExpression", + "start": 2274, + "end": 2292, + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2274, + "end": 2290, + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 2274, + "end": 2285, + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 2274, + "end": 2278, + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 2279, + "end": 2285, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 29 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2286, + "end": 2290, + "loc": { + "start": { + "line": 116, + "column": 30 + }, + "end": { + "line": 116, + "column": 34 + }, + "identifierName": "peek" + }, + "name": "peek" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "var" + }, + { + "type": "IfStatement", + "start": 2300, + "end": 2400, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 120, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2304, + "end": 2329, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 35 + } + }, + "left": { + "type": "MemberExpression", + "start": 2304, + "end": 2318, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2304, + "end": 2309, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 15 + }, + "identifierName": "first" + }, + "name": "first" + }, + "property": { + "type": "Identifier", + "start": 2310, + "end": 2318, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 24 + }, + "identifierName": "priority" + }, + "name": "priority" + }, + "computed": false + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 2321, + "end": 2329, + "loc": { + "start": { + "line": 117, + "column": 27 + }, + "end": { + "line": 117, + "column": 35 + }, + "identifierName": "priority" + }, + "name": "priority" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2331, + "end": 2400, + "loc": { + "start": { + "line": 117, + "column": 37 + }, + "end": { + "line": 120, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2341, + "end": 2365, + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 2341, + "end": 2364, + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2341, + "end": 2357, + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 2341, + "end": 2352, + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2341, + "end": 2345, + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2346, + "end": 2352, + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 19 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2353, + "end": 2357, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 24 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2358, + "end": 2363, + "loc": { + "start": { + "line": 118, + "column": 25 + }, + "end": { + "line": 118, + "column": 30 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2374, + "end": 2392, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 2374, + "end": 2391, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2374, + "end": 2389, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 2374, + "end": 2385, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 2374, + "end": 2378, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2379, + "end": 2385, + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 19 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2386, + "end": 2389, + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 119, + "column": 23 + }, + "identifierName": "pop" + }, + "name": "pop" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "IfStatement", + "start": 2412, + "end": 2488, + "loc": { + "start": { + "line": 123, + "column": 4 + }, + "end": { + "line": 125, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2416, + "end": 2447, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 39 + } + }, + "left": { + "type": "CallExpression", + "start": 2416, + "end": 2426, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2416, + "end": 2424, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2416, + "end": 2420, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2421, + "end": 2424, + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 16 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + }, + "operator": ">", + "right": { + "type": "MemberExpression", + "start": 2429, + "end": 2447, + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 2429, + "end": 2433, + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 2434, + "end": 2447, + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 39 + }, + "identifierName": "nextScaleTime" + }, + "name": "nextScaleTime" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2449, + "end": 2488, + "loc": { + "start": { + "line": 123, + "column": 41 + }, + "end": { + "line": 125, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2457, + "end": 2482, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 2457, + "end": 2481, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2457, + "end": 2469, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2457, + "end": 2461, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2462, + "end": 2469, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 18 + }, + "identifierName": "rescale" + }, + "name": "rescale" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 2470, + "end": 2480, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2470, + "end": 2478, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2470, + "end": 2474, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 2475, + "end": 2478, + "loc": { + "start": { + "line": 124, + "column": 24 + }, + "end": { + "line": 124, + "column": 27 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {T} val - \n * @param {?number} timestamp - (in milliseconds)\n ", + "start": 1758, + "end": 1842, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 102, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} time\n * @return {number}\n ", + "start": 2496, + "end": 2553, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 131, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2556, + "end": 2614, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 134, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2556, + "end": 2562, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 132, + "column": 8 + }, + "identifierName": "weight" + }, + "name": "weight", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2563, + "end": 2567, + "loc": { + "start": { + "line": 132, + "column": 9 + }, + "end": { + "line": 132, + "column": 13 + }, + "identifierName": "time" + }, + "name": "time" + } + ], + "body": { + "type": "BlockStatement", + "start": 2569, + "end": 2614, + "loc": { + "start": { + "line": 132, + "column": 15 + }, + "end": { + "line": 134, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2575, + "end": 2610, + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 39 + } + }, + "argument": { + "type": "CallExpression", + "start": 2582, + "end": 2609, + "loc": { + "start": { + "line": 133, + "column": 11 + }, + "end": { + "line": 133, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2582, + "end": 2590, + "loc": { + "start": { + "line": 133, + "column": 11 + }, + "end": { + "line": 133, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 2582, + "end": 2586, + "loc": { + "start": { + "line": 133, + "column": 11 + }, + "end": { + "line": 133, + "column": 15 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 2587, + "end": 2590, + "loc": { + "start": { + "line": 133, + "column": 16 + }, + "end": { + "line": 133, + "column": 19 + }, + "identifierName": "exp" + }, + "name": "exp" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2591, + "end": 2608, + "loc": { + "start": { + "line": 133, + "column": 20 + }, + "end": { + "line": 133, + "column": 37 + } + }, + "left": { + "type": "MemberExpression", + "start": 2591, + "end": 2601, + "loc": { + "start": { + "line": 133, + "column": 20 + }, + "end": { + "line": 133, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2591, + "end": 2595, + "loc": { + "start": { + "line": 133, + "column": 20 + }, + "end": { + "line": 133, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 2596, + "end": 2601, + "loc": { + "start": { + "line": 133, + "column": 25 + }, + "end": { + "line": 133, + "column": 30 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "Identifier", + "start": 2604, + "end": 2608, + "loc": { + "start": { + "line": 133, + "column": 33 + }, + "end": { + "line": 133, + "column": 37 + }, + "identifierName": "time" + }, + "name": "time" + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} time\n * @return {number}\n ", + "start": 2496, + "end": 2553, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 131, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} now - parameter primarily used for testing rescales\n * @return {void}\n ", + "start": 2618, + "end": 2720, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 139, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2723, + "end": 3340, + "loc": { + "start": { + "line": 140, + "column": 2 + }, + "end": { + "line": 154, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2723, + "end": 2730, + "loc": { + "start": { + "line": 140, + "column": 2 + }, + "end": { + "line": 140, + "column": 9 + }, + "identifierName": "rescale" + }, + "name": "rescale", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2731, + "end": 2734, + "loc": { + "start": { + "line": 140, + "column": 10 + }, + "end": { + "line": 140, + "column": 13 + }, + "identifierName": "now" + }, + "name": "now" + } + ], + "body": { + "type": "BlockStatement", + "start": 2736, + "end": 3340, + "loc": { + "start": { + "line": 140, + "column": 15 + }, + "end": { + "line": 154, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2742, + "end": 2794, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2742, + "end": 2793, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2742, + "end": 2760, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2742, + "end": 2746, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2747, + "end": 2760, + "loc": { + "start": { + "line": 141, + "column": 9 + }, + "end": { + "line": 141, + "column": 22 + }, + "identifierName": "nextScaleTime" + }, + "name": "nextScaleTime" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 2763, + "end": 2793, + "loc": { + "start": { + "line": 141, + "column": 25 + }, + "end": { + "line": 141, + "column": 55 + } + }, + "left": { + "type": "CallExpression", + "start": 2763, + "end": 2773, + "loc": { + "start": { + "line": 141, + "column": 25 + }, + "end": { + "line": 141, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2763, + "end": 2771, + "loc": { + "start": { + "line": 141, + "column": 25 + }, + "end": { + "line": 141, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 2763, + "end": 2767, + "loc": { + "start": { + "line": 141, + "column": 25 + }, + "end": { + "line": 141, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "start": 2768, + "end": 2771, + "loc": { + "start": { + "line": 141, + "column": 30 + }, + "end": { + "line": 141, + "column": 33 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2776, + "end": 2793, + "loc": { + "start": { + "line": 141, + "column": 38 + }, + "end": { + "line": 141, + "column": 55 + }, + "identifierName": "RESCALE_THRESHOLD" + }, + "name": "RESCALE_THRESHOLD" + } + } + } + }, + { + "type": "VariableDeclaration", + "start": 2799, + "end": 2900, + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 144, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2803, + "end": 2835, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 2803, + "end": 2813, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 18 + }, + "identifierName": "oldContent" + }, + "name": "oldContent" + }, + "init": { + "type": "MemberExpression", + "start": 2816, + "end": 2835, + "loc": { + "start": { + "line": 142, + "column": 21 + }, + "end": { + "line": 142, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 2816, + "end": 2827, + "loc": { + "start": { + "line": 142, + "column": 21 + }, + "end": { + "line": 142, + "column": 32 + } + }, + "object": { + "type": "ThisExpression", + "start": 2816, + "end": 2820, + "loc": { + "start": { + "line": 142, + "column": 21 + }, + "end": { + "line": 142, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 2821, + "end": 2827, + "loc": { + "start": { + "line": 142, + "column": 26 + }, + "end": { + "line": 142, + "column": 32 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2828, + "end": 2835, + "loc": { + "start": { + "line": 142, + "column": 33 + }, + "end": { + "line": 142, + "column": 40 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 2845, + "end": 2860, + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 23 + } + }, + "id": { + "type": "Identifier", + "start": 2845, + "end": 2855, + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 18 + }, + "identifierName": "newContent" + }, + "name": "newContent" + }, + "init": { + "type": "ArrayExpression", + "start": 2858, + "end": 2860, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 143, + "column": 23 + } + }, + "elements": [] + } + }, + { + "type": "VariableDeclarator", + "start": 2870, + "end": 2899, + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 2870, + "end": 2882, + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 20 + }, + "identifierName": "oldStartTime" + }, + "name": "oldStartTime" + }, + "init": { + "type": "MemberExpression", + "start": 2885, + "end": 2899, + "loc": { + "start": { + "line": 144, + "column": 23 + }, + "end": { + "line": 144, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 2885, + "end": 2889, + "loc": { + "start": { + "line": 144, + "column": 23 + }, + "end": { + "line": 144, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 2890, + "end": 2899, + "loc": { + "start": { + "line": 144, + "column": 28 + }, + "end": { + "line": 144, + "column": 37 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false + } + } + ], + "kind": "var" + }, + { + "type": "ExpressionStatement", + "start": 2905, + "end": 2955, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 54 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2905, + "end": 2954, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 53 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2905, + "end": 2919, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2905, + "end": 2909, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2910, + "end": 2919, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 145, + "column": 18 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false + }, + "right": { + "type": "LogicalExpression", + "start": 2922, + "end": 2954, + "loc": { + "start": { + "line": 145, + "column": 21 + }, + "end": { + "line": 145, + "column": 53 + } + }, + "left": { + "type": "LogicalExpression", + "start": 2922, + "end": 2939, + "loc": { + "start": { + "line": 145, + "column": 21 + }, + "end": { + "line": 145, + "column": 38 + } + }, + "left": { + "type": "Identifier", + "start": 2922, + "end": 2925, + "loc": { + "start": { + "line": 145, + "column": 21 + }, + "end": { + "line": 145, + "column": 24 + }, + "identifierName": "now" + }, + "name": "now" + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 2929, + "end": 2939, + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 38 + } + }, + "left": { + "type": "Identifier", + "start": 2929, + "end": 2932, + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 31 + }, + "identifierName": "now" + }, + "name": "now" + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 2935, + "end": 2939, + "loc": { + "start": { + "line": 145, + "column": 34 + }, + "end": { + "line": 145, + "column": 38 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + } + }, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 2943, + "end": 2954, + "loc": { + "start": { + "line": 145, + "column": 42 + }, + "end": { + "line": 145, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2943, + "end": 2952, + "loc": { + "start": { + "line": 145, + "column": 42 + }, + "end": { + "line": 145, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 2943, + "end": 2947, + "loc": { + "start": { + "line": 145, + "column": 42 + }, + "end": { + "line": 145, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 2948, + "end": 2952, + "loc": { + "start": { + "line": 145, + "column": 47 + }, + "end": { + "line": 145, + "column": 51 + }, + "identifierName": "tick" + }, + "name": "tick" + }, + "computed": false + }, + "arguments": [] + } + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Downscale every priority by the same factor. Order is unaffected, which is why we're avoiding the cost of popping.", + "start": 2960, + "end": 3077, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 121 + } + } + } + ] + }, + { + "type": "ForStatement", + "start": 3082, + "end": 3298, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 152, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 3087, + "end": 3096, + "loc": { + "start": { + "line": 147, + "column": 9 + }, + "end": { + "line": 147, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3091, + "end": 3096, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 3091, + "end": 3092, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i", + "leadingComments": null + }, + "init": { + "type": "NumericLiteral", + "start": 3095, + "end": 3096, + "loc": { + "start": { + "line": 147, + "column": 17 + }, + "end": { + "line": 147, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": null + }, + "test": { + "type": "BinaryExpression", + "start": 3098, + "end": 3119, + "loc": { + "start": { + "line": 147, + "column": 20 + }, + "end": { + "line": 147, + "column": 41 + } + }, + "left": { + "type": "Identifier", + "start": 3098, + "end": 3099, + "loc": { + "start": { + "line": 147, + "column": 20 + }, + "end": { + "line": 147, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 3102, + "end": 3119, + "loc": { + "start": { + "line": 147, + "column": 24 + }, + "end": { + "line": 147, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 3102, + "end": 3112, + "loc": { + "start": { + "line": 147, + "column": 24 + }, + "end": { + "line": 147, + "column": 34 + }, + "identifierName": "oldContent" + }, + "name": "oldContent" + }, + "property": { + "type": "Identifier", + "start": 3113, + "end": 3119, + "loc": { + "start": { + "line": 147, + "column": 35 + }, + "end": { + "line": 147, + "column": 41 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "update": { + "type": "UpdateExpression", + "start": 3121, + "end": 3124, + "loc": { + "start": { + "line": 147, + "column": 43 + }, + "end": { + "line": 147, + "column": 46 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 3121, + "end": 3122, + "loc": { + "start": { + "line": 147, + "column": 43 + }, + "end": { + "line": 147, + "column": 44 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 3126, + "end": 3298, + "loc": { + "start": { + "line": 147, + "column": 48 + }, + "end": { + "line": 152, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3134, + "end": 3292, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 151, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 3134, + "end": 3291, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 151, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3134, + "end": 3149, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 3134, + "end": 3144, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 16 + }, + "identifierName": "newContent" + }, + "name": "newContent" + }, + "property": { + "type": "Identifier", + "start": 3145, + "end": 3149, + "loc": { + "start": { + "line": 148, + "column": 17 + }, + "end": { + "line": 148, + "column": 21 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 3150, + "end": 3290, + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 151, + "column": 7 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3160, + "end": 3182, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 30 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3160, + "end": 3163, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 11 + }, + "identifierName": "val" + }, + "name": "val" + }, + "value": { + "type": "MemberExpression", + "start": 3165, + "end": 3182, + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 3165, + "end": 3178, + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 3165, + "end": 3175, + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 23 + }, + "identifierName": "oldContent" + }, + "name": "oldContent" + }, + "property": { + "type": "Identifier", + "start": 3176, + "end": 3177, + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 25 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 3179, + "end": 3182, + "loc": { + "start": { + "line": 149, + "column": 27 + }, + "end": { + "line": 149, + "column": 30 + }, + "identifierName": "val" + }, + "name": "val" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 3192, + "end": 3282, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 98 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3192, + "end": 3200, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 16 + }, + "identifierName": "priority" + }, + "name": "priority" + }, + "value": { + "type": "BinaryExpression", + "start": 3202, + "end": 3282, + "loc": { + "start": { + "line": 150, + "column": 18 + }, + "end": { + "line": 150, + "column": 98 + } + }, + "left": { + "type": "MemberExpression", + "start": 3202, + "end": 3224, + "loc": { + "start": { + "line": 150, + "column": 18 + }, + "end": { + "line": 150, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 3202, + "end": 3215, + "loc": { + "start": { + "line": 150, + "column": 18 + }, + "end": { + "line": 150, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 3202, + "end": 3212, + "loc": { + "start": { + "line": 150, + "column": 18 + }, + "end": { + "line": 150, + "column": 28 + }, + "identifierName": "oldContent" + }, + "name": "oldContent" + }, + "property": { + "type": "Identifier", + "start": 3213, + "end": 3214, + "loc": { + "start": { + "line": 150, + "column": 29 + }, + "end": { + "line": 150, + "column": 30 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 3216, + "end": 3224, + "loc": { + "start": { + "line": 150, + "column": 32 + }, + "end": { + "line": 150, + "column": 40 + }, + "identifierName": "priority" + }, + "name": "priority" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "CallExpression", + "start": 3227, + "end": 3282, + "loc": { + "start": { + "line": 150, + "column": 43 + }, + "end": { + "line": 150, + "column": 98 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3227, + "end": 3235, + "loc": { + "start": { + "line": 150, + "column": 43 + }, + "end": { + "line": 150, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 3227, + "end": 3231, + "loc": { + "start": { + "line": 150, + "column": 43 + }, + "end": { + "line": 150, + "column": 47 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 3232, + "end": 3235, + "loc": { + "start": { + "line": 150, + "column": 48 + }, + "end": { + "line": 150, + "column": 51 + }, + "identifierName": "exp" + }, + "name": "exp" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 3236, + "end": 3281, + "loc": { + "start": { + "line": 150, + "column": 52 + }, + "end": { + "line": 150, + "column": 97 + } + }, + "left": { + "type": "UnaryExpression", + "start": 3236, + "end": 3247, + "loc": { + "start": { + "line": 150, + "column": 52 + }, + "end": { + "line": 150, + "column": 63 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 3237, + "end": 3247, + "loc": { + "start": { + "line": 150, + "column": 53 + }, + "end": { + "line": 150, + "column": 63 + } + }, + "object": { + "type": "ThisExpression", + "start": 3237, + "end": 3241, + "loc": { + "start": { + "line": 150, + "column": 53 + }, + "end": { + "line": 150, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "start": 3242, + "end": 3247, + "loc": { + "start": { + "line": 150, + "column": 58 + }, + "end": { + "line": 150, + "column": 63 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "*", + "right": { + "type": "BinaryExpression", + "start": 3251, + "end": 3280, + "loc": { + "start": { + "line": 150, + "column": 67 + }, + "end": { + "line": 150, + "column": 96 + } + }, + "left": { + "type": "MemberExpression", + "start": 3251, + "end": 3265, + "loc": { + "start": { + "line": 150, + "column": 67 + }, + "end": { + "line": 150, + "column": 81 + } + }, + "object": { + "type": "ThisExpression", + "start": 3251, + "end": 3255, + "loc": { + "start": { + "line": 150, + "column": 67 + }, + "end": { + "line": 150, + "column": 71 + } + } + }, + "property": { + "type": "Identifier", + "start": 3256, + "end": 3265, + "loc": { + "start": { + "line": 150, + "column": 72 + }, + "end": { + "line": 150, + "column": 81 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 3268, + "end": 3280, + "loc": { + "start": { + "line": 150, + "column": 84 + }, + "end": { + "line": 150, + "column": 96 + }, + "identifierName": "oldStartTime" + }, + "name": "oldStartTime" + }, + "extra": { + "parenthesized": true, + "parenStart": 3250 + } + } + } + ] + } + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Downscale every priority by the same factor. Order is unaffected, which is why we're avoiding the cost of popping.", + "start": 2960, + "end": 3077, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 121 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3303, + "end": 3336, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 37 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3303, + "end": 3335, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 36 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3303, + "end": 3322, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 3303, + "end": 3314, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 3303, + "end": 3307, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3308, + "end": 3314, + "loc": { + "start": { + "line": 153, + "column": 9 + }, + "end": { + "line": 153, + "column": 15 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3315, + "end": 3322, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 23 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 3325, + "end": 3335, + "loc": { + "start": { + "line": 153, + "column": 26 + }, + "end": { + "line": 153, + "column": 36 + }, + "identifierName": "newContent" + }, + "name": "newContent" + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} now - parameter primarily used for testing rescales\n * @return {void}\n ", + "start": 2618, + "end": 2720, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 139, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " 1 hour in milliseconds", + "start": 485, + "end": 510, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 67 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " 1 hour in milliseconds", + "start": 485, + "end": 510, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 67 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 210, + "end": 223, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 210, + "end": 222, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name ExponentiallyDecayingSample.js\n * @fileoverview Defines the \"ExponentiallyDecayingSample\" class.\n *\n * \n *\n * @requires Sample\n * @requires binary_heap\n * @exports ExponentiallyDecayingSample\n ", + "start": 0, + "end": 208, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name ExponentiallyDecayingSample.js\n * @fileoverview Defines the \"ExponentiallyDecayingSample\" class.\n *\n * \n *\n * @requires Sample\n * @requires binary_heap\n * @exports ExponentiallyDecayingSample\n ", + "start": 0, + "end": 208, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Take an exponentially decaying sample of size size of all values.\n * This value represents one hour in milliseconds.\n * @constant\n ", + "start": 302, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " 1 hour in milliseconds", + "start": 485, + "end": 510, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 67 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} size -\n * @param {number} alpha -\n ", + "start": 589, + "end": 655, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 702, + "end": 723, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 748, + "end": 769, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 797, + "end": 818, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * This is a relatively expensive operation.\n * @return {T[]}\n ", + "start": 868, + "end": 943, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 47, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1121, + "end": 1152, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {BinaryHeap}\n ", + "start": 1202, + "end": 1240, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1310, + "end": 1341, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 74, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1392, + "end": 1423, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {void}\n ", + "start": 1472, + "end": 1501, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {BinaryHeap} values ", + "start": 1518, + "end": 1553, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 39 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1612, + "end": 1633, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1672, + "end": 1693, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {T} val - \n * @param {?number} timestamp - (in milliseconds)\n ", + "start": 1758, + "end": 1842, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 102, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Convert timestamp to seconds", + "start": 1874, + "end": 1905, + "loc": { + "start": { + "line": 104, + "column": 4 + }, + "end": { + "line": 104, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} time\n * @return {number}\n ", + "start": 2496, + "end": 2553, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 131, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} now - parameter primarily used for testing rescales\n * @return {void}\n ", + "start": 2618, + "end": 2720, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 139, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Downscale every priority by the same factor. Order is unaffected, which is why we're avoiding the cost of popping.", + "start": 2960, + "end": 3077, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 121 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name ExponentiallyDecayingSample.js\n * @fileoverview Defines the \"ExponentiallyDecayingSample\" class.\n *\n * \n *\n * @requires Sample\n * @requires binary_heap\n * @exports ExponentiallyDecayingSample\n ", + "start": 0, + "end": 208, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 210, + "end": 222, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 225, + "end": 231, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 232, + "end": 238, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 239, + "end": 243, + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Sample", + "start": 244, + "end": 254, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 254, + "end": 255, + "loc": { + "start": { + "line": 14, + "column": 29 + }, + "end": { + "line": 14, + "column": 30 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 256, + "end": 262, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BinaryHeap", + "start": 263, + "end": 273, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 274, + "end": 278, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./lib/binary_heap", + "start": 279, + "end": 298, + "loc": { + "start": { + "line": 15, + "column": 23 + }, + "end": { + "line": 15, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 298, + "end": 299, + "loc": { + "start": { + "line": 15, + "column": 42 + }, + "end": { + "line": 15, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Take an exponentially decaying sample of size size of all values.\n * This value represents one hour in milliseconds.\n * @constant\n ", + "start": 302, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 443, + "end": 448, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RESCALE_THRESHOLD", + "start": 449, + "end": 466, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 467, + "end": 468, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 60, + "start": 469, + "end": 471, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 472, + "end": 473, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 60, + "start": 474, + "end": 476, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 33 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 477, + "end": 478, + "loc": { + "start": { + "line": 23, + "column": 34 + }, + "end": { + "line": 23, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 479, + "end": 483, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 483, + "end": 484, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " 1 hour in milliseconds", + "start": 485, + "end": 510, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 67 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 520, + "end": 526, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 527, + "end": 534, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 535, + "end": 540, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 541, + "end": 568, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 48 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 569, + "end": 576, + "loc": { + "start": { + "line": 27, + "column": 49 + }, + "end": { + "line": 27, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 577, + "end": 583, + "loc": { + "start": { + "line": 27, + "column": 57 + }, + "end": { + "line": 27, + "column": 63 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 584, + "end": 585, + "loc": { + "start": { + "line": 27, + "column": 64 + }, + "end": { + "line": 27, + "column": 65 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} size -\n * @param {number} alpha -\n ", + "start": 589, + "end": 655, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 658, + "end": 669, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 669, + "end": 670, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 670, + "end": 674, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 674, + "end": 675, + "loc": { + "start": { + "line": 33, + "column": 18 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 676, + "end": 681, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 681, + "end": 682, + "loc": { + "start": { + "line": 33, + "column": 25 + }, + "end": { + "line": 33, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 683, + "end": 684, + "loc": { + "start": { + "line": 33, + "column": 27 + }, + "end": { + "line": 33, + "column": 28 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 689, + "end": 694, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 694, + "end": 695, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 695, + "end": 696, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 696, + "end": 697, + "loc": { + "start": { + "line": 34, + "column": 11 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 702, + "end": 723, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 728, + "end": 732, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 732, + "end": 733, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 733, + "end": 738, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 739, + "end": 740, + "loc": { + "start": { + "line": 36, + "column": 15 + }, + "end": { + "line": 36, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 741, + "end": 742, + "loc": { + "start": { + "line": 36, + "column": 17 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 742, + "end": 743, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 748, + "end": 769, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 774, + "end": 778, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 778, + "end": 779, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limit", + "start": 779, + "end": 784, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 785, + "end": 786, + "loc": { + "start": { + "line": 38, + "column": 15 + }, + "end": { + "line": 38, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 38, + "column": 17 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 791, + "end": 792, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 797, + "end": 818, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 823, + "end": 827, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 827, + "end": 828, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 828, + "end": 833, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 834, + "end": 835, + "loc": { + "start": { + "line": 40, + "column": 15 + }, + "end": { + "line": 40, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 836, + "end": 841, + "loc": { + "start": { + "line": 40, + "column": 17 + }, + "end": { + "line": 40, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 841, + "end": 842, + "loc": { + "start": { + "line": 40, + "column": 22 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 847, + "end": 851, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 851, + "end": 852, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 852, + "end": 857, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 858, + "end": 859, + "loc": { + "start": { + "line": 41, + "column": 15 + }, + "end": { + "line": 41, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 859, + "end": 860, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 863, + "end": 864, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * This is a relatively expensive operation.\n * @return {T[]}\n ", + "start": 868, + "end": 943, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 47, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getValues", + "start": 946, + "end": 955, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 955, + "end": 956, + "loc": { + "start": { + "line": 48, + "column": 11 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 956, + "end": 957, + "loc": { + "start": { + "line": 48, + "column": 12 + }, + "end": { + "line": 48, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 958, + "end": 959, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 15 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 964, + "end": 967, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 968, + "end": 974, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 975, + "end": 976, + "loc": { + "start": { + "line": 49, + "column": 15 + }, + "end": { + "line": 49, + "column": 16 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 977, + "end": 978, + "loc": { + "start": { + "line": 49, + "column": 17 + }, + "end": { + "line": 49, + "column": 18 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 978, + "end": 979, + "loc": { + "start": { + "line": 49, + "column": 18 + }, + "end": { + "line": 49, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 979, + "end": 980, + "loc": { + "start": { + "line": 49, + "column": 19 + }, + "end": { + "line": 49, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elt", + "start": 989, + "end": 992, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 11 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 992, + "end": 993, + "loc": { + "start": { + "line": 50, + "column": 11 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "heap", + "start": 1002, + "end": 1006, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1007, + "end": 1008, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1009, + "end": 1013, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1013, + "end": 1014, + "loc": { + "start": { + "line": 51, + "column": 19 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1014, + "end": 1020, + "loc": { + "start": { + "line": 51, + "column": 20 + }, + "end": { + "line": 51, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1020, + "end": 1021, + "loc": { + "start": { + "line": 51, + "column": 26 + }, + "end": { + "line": 51, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clone", + "start": 1021, + "end": 1026, + "loc": { + "start": { + "line": 51, + "column": 27 + }, + "end": { + "line": 51, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1026, + "end": 1027, + "loc": { + "start": { + "line": 51, + "column": 32 + }, + "end": { + "line": 51, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1027, + "end": 1028, + "loc": { + "start": { + "line": 51, + "column": 33 + }, + "end": { + "line": 51, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1028, + "end": 1029, + "loc": { + "start": { + "line": 51, + "column": 34 + }, + "end": { + "line": 51, + "column": 35 + } + } + }, + { + "type": { + "label": "while", + "keyword": "while", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "while", + "start": 1034, + "end": 1039, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1040, + "end": 1041, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elt", + "start": 1041, + "end": 1044, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1045, + "end": 1046, + "loc": { + "start": { + "line": 52, + "column": 15 + }, + "end": { + "line": 52, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "heap", + "start": 1047, + "end": 1051, + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1051, + "end": 1052, + "loc": { + "start": { + "line": 52, + "column": 21 + }, + "end": { + "line": 52, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pop", + "start": 1052, + "end": 1055, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1055, + "end": 1056, + "loc": { + "start": { + "line": 52, + "column": 25 + }, + "end": { + "line": 52, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1056, + "end": 1057, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1057, + "end": 1058, + "loc": { + "start": { + "line": 52, + "column": 27 + }, + "end": { + "line": 52, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1059, + "end": 1060, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1067, + "end": 1073, + "loc": { + "start": { + "line": 53, + "column": 6 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1073, + "end": 1074, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 1074, + "end": 1078, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1078, + "end": 1079, + "loc": { + "start": { + "line": 53, + "column": 17 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elt", + "start": 1079, + "end": 1082, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1082, + "end": 1083, + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1083, + "end": 1086, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1086, + "end": 1087, + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1087, + "end": 1088, + "loc": { + "start": { + "line": 53, + "column": 26 + }, + "end": { + "line": 53, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1093, + "end": 1094, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1099, + "end": 1105, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1106, + "end": 1112, + "loc": { + "start": { + "line": 55, + "column": 11 + }, + "end": { + "line": 55, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1112, + "end": 1113, + "loc": { + "start": { + "line": 55, + "column": 17 + }, + "end": { + "line": 55, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1116, + "end": 1117, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1121, + "end": 1152, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 1155, + "end": 1159, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1159, + "end": 1160, + "loc": { + "start": { + "line": 61, + "column": 6 + }, + "end": { + "line": 61, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1160, + "end": 1161, + "loc": { + "start": { + "line": 61, + "column": 7 + }, + "end": { + "line": 61, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1162, + "end": 1163, + "loc": { + "start": { + "line": 61, + "column": 9 + }, + "end": { + "line": 61, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1168, + "end": 1174, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1175, + "end": 1179, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1179, + "end": 1180, + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1180, + "end": 1186, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1186, + "end": 1187, + "loc": { + "start": { + "line": 62, + "column": 22 + }, + "end": { + "line": 62, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 1187, + "end": 1191, + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1191, + "end": 1192, + "loc": { + "start": { + "line": 62, + "column": 27 + }, + "end": { + "line": 62, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1192, + "end": 1193, + "loc": { + "start": { + "line": 62, + "column": 28 + }, + "end": { + "line": 62, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1193, + "end": 1194, + "loc": { + "start": { + "line": 62, + "column": 29 + }, + "end": { + "line": 62, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1197, + "end": 1198, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {BinaryHeap}\n ", + "start": 1202, + "end": 1240, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newHeap", + "start": 1243, + "end": 1250, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1250, + "end": 1251, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1251, + "end": 1252, + "loc": { + "start": { + "line": 68, + "column": 10 + }, + "end": { + "line": 68, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1253, + "end": 1254, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 13 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1259, + "end": 1265, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1266, + "end": 1269, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BinaryHeap", + "start": 1270, + "end": 1280, + "loc": { + "start": { + "line": 69, + "column": 15 + }, + "end": { + "line": 69, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1280, + "end": 1281, + "loc": { + "start": { + "line": 69, + "column": 25 + }, + "end": { + "line": 69, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "obj", + "start": 1281, + "end": 1284, + "loc": { + "start": { + "line": 69, + "column": 26 + }, + "end": { + "line": 69, + "column": 29 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1285, + "end": 1287, + "loc": { + "start": { + "line": 69, + "column": 30 + }, + "end": { + "line": 69, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "obj", + "start": 1288, + "end": 1291, + "loc": { + "start": { + "line": 69, + "column": 33 + }, + "end": { + "line": 69, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1291, + "end": 1292, + "loc": { + "start": { + "line": 69, + "column": 36 + }, + "end": { + "line": 69, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "priority", + "start": 1292, + "end": 1300, + "loc": { + "start": { + "line": 69, + "column": 37 + }, + "end": { + "line": 69, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1300, + "end": 1301, + "loc": { + "start": { + "line": 69, + "column": 45 + }, + "end": { + "line": 69, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1301, + "end": 1302, + "loc": { + "start": { + "line": 69, + "column": 46 + }, + "end": { + "line": 69, + "column": 47 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1305, + "end": 1306, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 70, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1310, + "end": 1341, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 74, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 1344, + "end": 1347, + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 75, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1347, + "end": 1348, + "loc": { + "start": { + "line": 75, + "column": 5 + }, + "end": { + "line": 75, + "column": 6 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1348, + "end": 1349, + "loc": { + "start": { + "line": 75, + "column": 6 + }, + "end": { + "line": 75, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1350, + "end": 1351, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1356, + "end": 1362, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1363, + "end": 1366, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 1367, + "end": 1371, + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1371, + "end": 1372, + "loc": { + "start": { + "line": 76, + "column": 19 + }, + "end": { + "line": 76, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1372, + "end": 1373, + "loc": { + "start": { + "line": 76, + "column": 20 + }, + "end": { + "line": 76, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1373, + "end": 1374, + "loc": { + "start": { + "line": 76, + "column": 21 + }, + "end": { + "line": 76, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTime", + "start": 1374, + "end": 1381, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1381, + "end": 1382, + "loc": { + "start": { + "line": 76, + "column": 29 + }, + "end": { + "line": 76, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1382, + "end": 1383, + "loc": { + "start": { + "line": 76, + "column": 30 + }, + "end": { + "line": 76, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1383, + "end": 1384, + "loc": { + "start": { + "line": 76, + "column": 31 + }, + "end": { + "line": 76, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1387, + "end": 1388, + "loc": { + "start": { + "line": 77, + "column": 2 + }, + "end": { + "line": 77, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {number}\n ", + "start": 1392, + "end": 1423, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 1426, + "end": 1430, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1430, + "end": 1431, + "loc": { + "start": { + "line": 82, + "column": 6 + }, + "end": { + "line": 82, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 82, + "column": 7 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1433, + "end": 1434, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1439, + "end": 1445, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1446, + "end": 1450, + "loc": { + "start": { + "line": 83, + "column": 11 + }, + "end": { + "line": 83, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1450, + "end": 1451, + "loc": { + "start": { + "line": 83, + "column": 15 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 1451, + "end": 1454, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1454, + "end": 1455, + "loc": { + "start": { + "line": 83, + "column": 19 + }, + "end": { + "line": 83, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1455, + "end": 1456, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 1457, + "end": 1458, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 1459, + "end": 1463, + "loc": { + "start": { + "line": 83, + "column": 24 + }, + "end": { + "line": 83, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1463, + "end": 1464, + "loc": { + "start": { + "line": 83, + "column": 28 + }, + "end": { + "line": 83, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1467, + "end": 1468, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {void}\n ", + "start": 1472, + "end": 1501, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 1504, + "end": 1509, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1509, + "end": 1510, + "loc": { + "start": { + "line": 89, + "column": 7 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1510, + "end": 1511, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1512, + "end": 1513, + "loc": { + "start": { + "line": 89, + "column": 10 + }, + "end": { + "line": 89, + "column": 11 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {BinaryHeap} values ", + "start": 1518, + "end": 1553, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 39 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1558, + "end": 1562, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1562, + "end": 1563, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1563, + "end": 1569, + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1570, + "end": 1571, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1572, + "end": 1576, + "loc": { + "start": { + "line": 91, + "column": 18 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1576, + "end": 1577, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newHeap", + "start": 1577, + "end": 1584, + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1584, + "end": 1585, + "loc": { + "start": { + "line": 91, + "column": 30 + }, + "end": { + "line": 91, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1585, + "end": 1586, + "loc": { + "start": { + "line": 91, + "column": 31 + }, + "end": { + "line": 91, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1586, + "end": 1587, + "loc": { + "start": { + "line": 91, + "column": 32 + }, + "end": { + "line": 91, + "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1592, + "end": 1596, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1596, + "end": 1597, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1597, + "end": 1602, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1603, + "end": 1604, + "loc": { + "start": { + "line": 92, + "column": 15 + }, + "end": { + "line": 92, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1605, + "end": 1606, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1606, + "end": 1607, + "loc": { + "start": { + "line": 92, + "column": 18 + }, + "end": { + "line": 92, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1612, + "end": 1633, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1638, + "end": 1642, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1642, + "end": 1643, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 1643, + "end": 1652, + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 94, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1653, + "end": 1654, + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 94, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1655, + "end": 1659, + "loc": { + "start": { + "line": 94, + "column": 21 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1659, + "end": 1660, + "loc": { + "start": { + "line": 94, + "column": 25 + }, + "end": { + "line": 94, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 1660, + "end": 1664, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 94, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1664, + "end": 1665, + "loc": { + "start": { + "line": 94, + "column": 30 + }, + "end": { + "line": 94, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1665, + "end": 1666, + "loc": { + "start": { + "line": 94, + "column": 31 + }, + "end": { + "line": 94, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1666, + "end": 1667, + "loc": { + "start": { + "line": 94, + "column": 32 + }, + "end": { + "line": 94, + "column": 33 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 1672, + "end": 1693, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1698, + "end": 1702, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1702, + "end": 1703, + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nextScaleTime", + "start": 1703, + "end": 1716, + "loc": { + "start": { + "line": 96, + "column": 9 + }, + "end": { + "line": 96, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1717, + "end": 1718, + "loc": { + "start": { + "line": 96, + "column": 23 + }, + "end": { + "line": 96, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1719, + "end": 1723, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1723, + "end": 1724, + "loc": { + "start": { + "line": 96, + "column": 29 + }, + "end": { + "line": 96, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 1724, + "end": 1727, + "loc": { + "start": { + "line": 96, + "column": 30 + }, + "end": { + "line": 96, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1727, + "end": 1728, + "loc": { + "start": { + "line": 96, + "column": 33 + }, + "end": { + "line": 96, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1728, + "end": 1729, + "loc": { + "start": { + "line": 96, + "column": 34 + }, + "end": { + "line": 96, + "column": 35 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1730, + "end": 1731, + "loc": { + "start": { + "line": 96, + "column": 36 + }, + "end": { + "line": 96, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RESCALE_THRESHOLD", + "start": 1732, + "end": 1749, + "loc": { + "start": { + "line": 96, + "column": 38 + }, + "end": { + "line": 96, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1749, + "end": 1750, + "loc": { + "start": { + "line": 96, + "column": 55 + }, + "end": { + "line": 96, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1753, + "end": 1754, + "loc": { + "start": { + "line": 97, + "column": 2 + }, + "end": { + "line": 97, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {T} val - \n * @param {?number} timestamp - (in milliseconds)\n ", + "start": 1758, + "end": 1842, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 102, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 1845, + "end": 1851, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1851, + "end": 1852, + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1852, + "end": 1855, + "loc": { + "start": { + "line": 103, + "column": 9 + }, + "end": { + "line": 103, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1855, + "end": 1856, + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 1857, + "end": 1866, + "loc": { + "start": { + "line": 103, + "column": 14 + }, + "end": { + "line": 103, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1866, + "end": 1867, + "loc": { + "start": { + "line": 103, + "column": 23 + }, + "end": { + "line": 103, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1868, + "end": 1869, + "loc": { + "start": { + "line": 103, + "column": 25 + }, + "end": { + "line": 103, + "column": 26 + } + } + }, + { + "type": "CommentLine", + "value": " Convert timestamp to seconds", + "start": 1874, + "end": 1905, + "loc": { + "start": { + "line": 104, + "column": 4 + }, + "end": { + "line": 104, + "column": 35 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1910, + "end": 1912, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1913, + "end": 1914, + "loc": { + "start": { + "line": 105, + "column": 7 + }, + "end": { + "line": 105, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 1914, + "end": 1923, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 17 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 1924, + "end": 1926, + "loc": { + "start": { + "line": 105, + "column": 18 + }, + "end": { + "line": 105, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 1927, + "end": 1936, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1936, + "end": 1937, + "loc": { + "start": { + "line": 105, + "column": 30 + }, + "end": { + "line": 105, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1938, + "end": 1939, + "loc": { + "start": { + "line": 105, + "column": 32 + }, + "end": { + "line": 105, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 1946, + "end": 1955, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1956, + "end": 1957, + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1958, + "end": 1962, + "loc": { + "start": { + "line": 106, + "column": 18 + }, + "end": { + "line": 106, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1962, + "end": 1963, + "loc": { + "start": { + "line": 106, + "column": 22 + }, + "end": { + "line": 106, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 1963, + "end": 1967, + "loc": { + "start": { + "line": 106, + "column": 23 + }, + "end": { + "line": 106, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1967, + "end": 1968, + "loc": { + "start": { + "line": 106, + "column": 27 + }, + "end": { + "line": 106, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1968, + "end": 1969, + "loc": { + "start": { + "line": 106, + "column": 28 + }, + "end": { + "line": 106, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1969, + "end": 1970, + "loc": { + "start": { + "line": 106, + "column": 29 + }, + "end": { + "line": 106, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1975, + "end": 1976, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1977, + "end": 1981, + "loc": { + "start": { + "line": 107, + "column": 6 + }, + "end": { + "line": 107, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1982, + "end": 1983, + "loc": { + "start": { + "line": 107, + "column": 11 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 1990, + "end": 1999, + "loc": { + "start": { + "line": 108, + "column": 6 + }, + "end": { + "line": 108, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2000, + "end": 2001, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 2002, + "end": 2011, + "loc": { + "start": { + "line": 108, + "column": 18 + }, + "end": { + "line": 108, + "column": 27 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2012, + "end": 2013, + "loc": { + "start": { + "line": 108, + "column": 28 + }, + "end": { + "line": 108, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 2014, + "end": 2018, + "loc": { + "start": { + "line": 108, + "column": 30 + }, + "end": { + "line": 108, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2018, + "end": 2019, + "loc": { + "start": { + "line": 108, + "column": 34 + }, + "end": { + "line": 108, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2024, + "end": 2025, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 5 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 2030, + "end": 2033, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "priority", + "start": 2034, + "end": 2042, + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2043, + "end": 2044, + "loc": { + "start": { + "line": 110, + "column": 17 + }, + "end": { + "line": 110, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2045, + "end": 2049, + "loc": { + "start": { + "line": 110, + "column": 19 + }, + "end": { + "line": 110, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2049, + "end": 2050, + "loc": { + "start": { + "line": 110, + "column": 23 + }, + "end": { + "line": 110, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "weight", + "start": 2050, + "end": 2056, + "loc": { + "start": { + "line": 110, + "column": 24 + }, + "end": { + "line": 110, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2056, + "end": 2057, + "loc": { + "start": { + "line": 110, + "column": 30 + }, + "end": { + "line": 110, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 2057, + "end": 2066, + "loc": { + "start": { + "line": 110, + "column": 31 + }, + "end": { + "line": 110, + "column": 40 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2067, + "end": 2068, + "loc": { + "start": { + "line": 110, + "column": 41 + }, + "end": { + "line": 110, + "column": 42 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2069, + "end": 2073, + "loc": { + "start": { + "line": 110, + "column": 43 + }, + "end": { + "line": 110, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2073, + "end": 2074, + "loc": { + "start": { + "line": 110, + "column": 47 + }, + "end": { + "line": 110, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 2074, + "end": 2083, + "loc": { + "start": { + "line": 110, + "column": 48 + }, + "end": { + "line": 110, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2083, + "end": 2084, + "loc": { + "start": { + "line": 110, + "column": 57 + }, + "end": { + "line": 110, + "column": 58 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2085, + "end": 2086, + "loc": { + "start": { + "line": 110, + "column": 59 + }, + "end": { + "line": 110, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 2087, + "end": 2091, + "loc": { + "start": { + "line": 110, + "column": 61 + }, + "end": { + "line": 110, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2091, + "end": 2092, + "loc": { + "start": { + "line": 110, + "column": 65 + }, + "end": { + "line": 110, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "random", + "start": 2092, + "end": 2098, + "loc": { + "start": { + "line": 110, + "column": 66 + }, + "end": { + "line": 110, + "column": 72 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2098, + "end": 2099, + "loc": { + "start": { + "line": 110, + "column": 72 + }, + "end": { + "line": 110, + "column": 73 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2099, + "end": 2100, + "loc": { + "start": { + "line": 110, + "column": 73 + }, + "end": { + "line": 110, + "column": 74 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2100, + "end": 2101, + "loc": { + "start": { + "line": 110, + "column": 74 + }, + "end": { + "line": 110, + "column": 75 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2106, + "end": 2111, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2112, + "end": 2117, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 111, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2118, + "end": 2119, + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2120, + "end": 2121, + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2122, + "end": 2125, + "loc": { + "start": { + "line": 111, + "column": 20 + }, + "end": { + "line": 111, + "column": 23 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2125, + "end": 2126, + "loc": { + "start": { + "line": 111, + "column": 23 + }, + "end": { + "line": 111, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 2127, + "end": 2130, + "loc": { + "start": { + "line": 111, + "column": 25 + }, + "end": { + "line": 111, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2130, + "end": 2131, + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 111, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "priority", + "start": 2132, + "end": 2140, + "loc": { + "start": { + "line": 111, + "column": 30 + }, + "end": { + "line": 111, + "column": 38 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2140, + "end": 2141, + "loc": { + "start": { + "line": 111, + "column": 38 + }, + "end": { + "line": 111, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "priority", + "start": 2142, + "end": 2150, + "loc": { + "start": { + "line": 111, + "column": 40 + }, + "end": { + "line": 111, + "column": 48 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2151, + "end": 2152, + "loc": { + "start": { + "line": 111, + "column": 49 + }, + "end": { + "line": 111, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 111, + "column": 50 + }, + "end": { + "line": 111, + "column": 51 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2158, + "end": 2160, + "loc": { + "start": { + "line": 112, + "column": 4 + }, + "end": { + "line": 112, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2161, + "end": 2162, + "loc": { + "start": { + "line": 112, + "column": 7 + }, + "end": { + "line": 112, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2162, + "end": 2166, + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2166, + "end": 2167, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2167, + "end": 2172, + "loc": { + "start": { + "line": 112, + "column": 13 + }, + "end": { + "line": 112, + "column": 18 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 2173, + "end": 2174, + "loc": { + "start": { + "line": 112, + "column": 19 + }, + "end": { + "line": 112, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2175, + "end": 2179, + "loc": { + "start": { + "line": 112, + "column": 21 + }, + "end": { + "line": 112, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2179, + "end": 2180, + "loc": { + "start": { + "line": 112, + "column": 25 + }, + "end": { + "line": 112, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limit", + "start": 2180, + "end": 2185, + "loc": { + "start": { + "line": 112, + "column": 26 + }, + "end": { + "line": 112, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2185, + "end": 2186, + "loc": { + "start": { + "line": 112, + "column": 31 + }, + "end": { + "line": 112, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2187, + "end": 2188, + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2195, + "end": 2199, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2199, + "end": 2200, + "loc": { + "start": { + "line": 113, + "column": 10 + }, + "end": { + "line": 113, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 2200, + "end": 2205, + "loc": { + "start": { + "line": 113, + "column": 11 + }, + "end": { + "line": 113, + "column": 16 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 2206, + "end": 2208, + "loc": { + "start": { + "line": 113, + "column": 17 + }, + "end": { + "line": 113, + "column": 19 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2209, + "end": 2210, + "loc": { + "start": { + "line": 113, + "column": 20 + }, + "end": { + "line": 113, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2210, + "end": 2211, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2218, + "end": 2222, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2222, + "end": 2223, + "loc": { + "start": { + "line": 114, + "column": 10 + }, + "end": { + "line": 114, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 2223, + "end": 2229, + "loc": { + "start": { + "line": 114, + "column": 11 + }, + "end": { + "line": 114, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2229, + "end": 2230, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 2230, + "end": 2234, + "loc": { + "start": { + "line": 114, + "column": 18 + }, + "end": { + "line": 114, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2234, + "end": 2235, + "loc": { + "start": { + "line": 114, + "column": 22 + }, + "end": { + "line": 114, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2235, + "end": 2240, + "loc": { + "start": { + "line": 114, + "column": 23 + }, + "end": { + "line": 114, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2240, + "end": 2241, + "loc": { + "start": { + "line": 114, + "column": 28 + }, + "end": { + "line": 114, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2241, + "end": 2242, + "loc": { + "start": { + "line": 114, + "column": 29 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2247, + "end": 2248, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2249, + "end": 2253, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2254, + "end": 2255, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 12 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 2262, + "end": 2265, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 2266, + "end": 2271, + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2272, + "end": 2273, + "loc": { + "start": { + "line": 116, + "column": 16 + }, + "end": { + "line": 116, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2274, + "end": 2278, + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2278, + "end": 2279, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 2279, + "end": 2285, + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2285, + "end": 2286, + "loc": { + "start": { + "line": 116, + "column": 29 + }, + "end": { + "line": 116, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "peek", + "start": 2286, + "end": 2290, + "loc": { + "start": { + "line": 116, + "column": 30 + }, + "end": { + "line": 116, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2290, + "end": 2291, + "loc": { + "start": { + "line": 116, + "column": 34 + }, + "end": { + "line": 116, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2291, + "end": 2292, + "loc": { + "start": { + "line": 116, + "column": 35 + }, + "end": { + "line": 116, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2292, + "end": 2293, + "loc": { + "start": { + "line": 116, + "column": 36 + }, + "end": { + "line": 116, + "column": 37 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2300, + "end": 2302, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2303, + "end": 2304, + "loc": { + "start": { + "line": 117, + "column": 9 + }, + "end": { + "line": 117, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "first", + "start": 2304, + "end": 2309, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2309, + "end": 2310, + "loc": { + "start": { + "line": 117, + "column": 15 + }, + "end": { + "line": 117, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "priority", + "start": 2310, + "end": 2318, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 24 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 2319, + "end": 2320, + "loc": { + "start": { + "line": 117, + "column": 25 + }, + "end": { + "line": 117, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "priority", + "start": 2321, + "end": 2329, + "loc": { + "start": { + "line": 117, + "column": 27 + }, + "end": { + "line": 117, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2329, + "end": 2330, + "loc": { + "start": { + "line": 117, + "column": 35 + }, + "end": { + "line": 117, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2331, + "end": 2332, + "loc": { + "start": { + "line": 117, + "column": 37 + }, + "end": { + "line": 117, + "column": 38 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2341, + "end": 2345, + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2345, + "end": 2346, + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 2346, + "end": 2352, + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2352, + "end": 2353, + "loc": { + "start": { + "line": 118, + "column": 19 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 2353, + "end": 2357, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2357, + "end": 2358, + "loc": { + "start": { + "line": 118, + "column": 24 + }, + "end": { + "line": 118, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2358, + "end": 2363, + "loc": { + "start": { + "line": 118, + "column": 25 + }, + "end": { + "line": 118, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2363, + "end": 2364, + "loc": { + "start": { + "line": 118, + "column": 30 + }, + "end": { + "line": 118, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2364, + "end": 2365, + "loc": { + "start": { + "line": 118, + "column": 31 + }, + "end": { + "line": 118, + "column": 32 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2374, + "end": 2378, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2378, + "end": 2379, + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 2379, + "end": 2385, + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2385, + "end": 2386, + "loc": { + "start": { + "line": 119, + "column": 19 + }, + "end": { + "line": 119, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pop", + "start": 2386, + "end": 2389, + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 119, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2389, + "end": 2390, + "loc": { + "start": { + "line": 119, + "column": 23 + }, + "end": { + "line": 119, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2390, + "end": 2391, + "loc": { + "start": { + "line": 119, + "column": 24 + }, + "end": { + "line": 119, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2391, + "end": 2392, + "loc": { + "start": { + "line": 119, + "column": 25 + }, + "end": { + "line": 119, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2399, + "end": 2400, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2405, + "end": 2406, + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 121, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2412, + "end": 2414, + "loc": { + "start": { + "line": 123, + "column": 4 + }, + "end": { + "line": 123, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2415, + "end": 2416, + "loc": { + "start": { + "line": 123, + "column": 7 + }, + "end": { + "line": 123, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2416, + "end": 2420, + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2420, + "end": 2421, + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 2421, + "end": 2424, + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2424, + "end": 2425, + "loc": { + "start": { + "line": 123, + "column": 16 + }, + "end": { + "line": 123, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2425, + "end": 2426, + "loc": { + "start": { + "line": 123, + "column": 17 + }, + "end": { + "line": 123, + "column": 18 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 2427, + "end": 2428, + "loc": { + "start": { + "line": 123, + "column": 19 + }, + "end": { + "line": 123, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2429, + "end": 2433, + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2433, + "end": 2434, + "loc": { + "start": { + "line": 123, + "column": 25 + }, + "end": { + "line": 123, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nextScaleTime", + "start": 2434, + "end": 2447, + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2447, + "end": 2448, + "loc": { + "start": { + "line": 123, + "column": 39 + }, + "end": { + "line": 123, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2449, + "end": 2450, + "loc": { + "start": { + "line": 123, + "column": 41 + }, + "end": { + "line": 123, + "column": 42 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2457, + "end": 2461, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2461, + "end": 2462, + "loc": { + "start": { + "line": 124, + "column": 10 + }, + "end": { + "line": 124, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rescale", + "start": 2462, + "end": 2469, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2469, + "end": 2470, + "loc": { + "start": { + "line": 124, + "column": 18 + }, + "end": { + "line": 124, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2470, + "end": 2474, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2474, + "end": 2475, + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 2475, + "end": 2478, + "loc": { + "start": { + "line": 124, + "column": 24 + }, + "end": { + "line": 124, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2478, + "end": 2479, + "loc": { + "start": { + "line": 124, + "column": 27 + }, + "end": { + "line": 124, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2479, + "end": 2480, + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2480, + "end": 2481, + "loc": { + "start": { + "line": 124, + "column": 29 + }, + "end": { + "line": 124, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2481, + "end": 2482, + "loc": { + "start": { + "line": 124, + "column": 30 + }, + "end": { + "line": 124, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2487, + "end": 2488, + "loc": { + "start": { + "line": 125, + "column": 4 + }, + "end": { + "line": 125, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2491, + "end": 2492, + "loc": { + "start": { + "line": 126, + "column": 2 + }, + "end": { + "line": 126, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} time\n * @return {number}\n ", + "start": 2496, + "end": 2553, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 131, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "weight", + "start": 2556, + "end": 2562, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 132, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2562, + "end": 2563, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "time", + "start": 2563, + "end": 2567, + "loc": { + "start": { + "line": 132, + "column": 9 + }, + "end": { + "line": 132, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2567, + "end": 2568, + "loc": { + "start": { + "line": 132, + "column": 13 + }, + "end": { + "line": 132, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2569, + "end": 2570, + "loc": { + "start": { + "line": 132, + "column": 15 + }, + "end": { + "line": 132, + "column": 16 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2575, + "end": 2581, + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 2582, + "end": 2586, + "loc": { + "start": { + "line": 133, + "column": 11 + }, + "end": { + "line": 133, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2586, + "end": 2587, + "loc": { + "start": { + "line": 133, + "column": 15 + }, + "end": { + "line": 133, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exp", + "start": 2587, + "end": 2590, + "loc": { + "start": { + "line": 133, + "column": 16 + }, + "end": { + "line": 133, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2590, + "end": 2591, + "loc": { + "start": { + "line": 133, + "column": 19 + }, + "end": { + "line": 133, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2591, + "end": 2595, + "loc": { + "start": { + "line": 133, + "column": 20 + }, + "end": { + "line": 133, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2595, + "end": 2596, + "loc": { + "start": { + "line": 133, + "column": 24 + }, + "end": { + "line": 133, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 2596, + "end": 2601, + "loc": { + "start": { + "line": 133, + "column": 25 + }, + "end": { + "line": 133, + "column": 30 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2602, + "end": 2603, + "loc": { + "start": { + "line": 133, + "column": 31 + }, + "end": { + "line": 133, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "time", + "start": 2604, + "end": 2608, + "loc": { + "start": { + "line": 133, + "column": 33 + }, + "end": { + "line": 133, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2608, + "end": 2609, + "loc": { + "start": { + "line": 133, + "column": 37 + }, + "end": { + "line": 133, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2609, + "end": 2610, + "loc": { + "start": { + "line": 133, + "column": 38 + }, + "end": { + "line": 133, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2613, + "end": 2614, + "loc": { + "start": { + "line": 134, + "column": 2 + }, + "end": { + "line": 134, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} now - parameter primarily used for testing rescales\n * @return {void}\n ", + "start": 2618, + "end": 2720, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 139, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rescale", + "start": 2723, + "end": 2730, + "loc": { + "start": { + "line": 140, + "column": 2 + }, + "end": { + "line": 140, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2730, + "end": 2731, + "loc": { + "start": { + "line": 140, + "column": 9 + }, + "end": { + "line": 140, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 2731, + "end": 2734, + "loc": { + "start": { + "line": 140, + "column": 10 + }, + "end": { + "line": 140, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2734, + "end": 2735, + "loc": { + "start": { + "line": 140, + "column": 13 + }, + "end": { + "line": 140, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2736, + "end": 2737, + "loc": { + "start": { + "line": 140, + "column": 15 + }, + "end": { + "line": 140, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2742, + "end": 2746, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2746, + "end": 2747, + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nextScaleTime", + "start": 2747, + "end": 2760, + "loc": { + "start": { + "line": 141, + "column": 9 + }, + "end": { + "line": 141, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2761, + "end": 2762, + "loc": { + "start": { + "line": 141, + "column": 23 + }, + "end": { + "line": 141, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2763, + "end": 2767, + "loc": { + "start": { + "line": 141, + "column": 25 + }, + "end": { + "line": 141, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2767, + "end": 2768, + "loc": { + "start": { + "line": 141, + "column": 29 + }, + "end": { + "line": 141, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 2768, + "end": 2771, + "loc": { + "start": { + "line": 141, + "column": 30 + }, + "end": { + "line": 141, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2771, + "end": 2772, + "loc": { + "start": { + "line": 141, + "column": 33 + }, + "end": { + "line": 141, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2772, + "end": 2773, + "loc": { + "start": { + "line": 141, + "column": 34 + }, + "end": { + "line": 141, + "column": 35 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2774, + "end": 2775, + "loc": { + "start": { + "line": 141, + "column": 36 + }, + "end": { + "line": 141, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RESCALE_THRESHOLD", + "start": 2776, + "end": 2793, + "loc": { + "start": { + "line": 141, + "column": 38 + }, + "end": { + "line": 141, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2793, + "end": 2794, + "loc": { + "start": { + "line": 141, + "column": 55 + }, + "end": { + "line": 141, + "column": 56 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 2799, + "end": 2802, + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 142, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldContent", + "start": 2803, + "end": 2813, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2814, + "end": 2815, + "loc": { + "start": { + "line": 142, + "column": 19 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2816, + "end": 2820, + "loc": { + "start": { + "line": 142, + "column": 21 + }, + "end": { + "line": 142, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2820, + "end": 2821, + "loc": { + "start": { + "line": 142, + "column": 25 + }, + "end": { + "line": 142, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 2821, + "end": 2827, + "loc": { + "start": { + "line": 142, + "column": 26 + }, + "end": { + "line": 142, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2827, + "end": 2828, + "loc": { + "start": { + "line": 142, + "column": 32 + }, + "end": { + "line": 142, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 2828, + "end": 2835, + "loc": { + "start": { + "line": 142, + "column": 33 + }, + "end": { + "line": 142, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2835, + "end": 2836, + "loc": { + "start": { + "line": 142, + "column": 40 + }, + "end": { + "line": 142, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newContent", + "start": 2845, + "end": 2855, + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2856, + "end": 2857, + "loc": { + "start": { + "line": 143, + "column": 19 + }, + "end": { + "line": 143, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2858, + "end": 2859, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 143, + "column": 22 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2859, + "end": 2860, + "loc": { + "start": { + "line": 143, + "column": 22 + }, + "end": { + "line": 143, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2860, + "end": 2861, + "loc": { + "start": { + "line": 143, + "column": 23 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldStartTime", + "start": 2870, + "end": 2882, + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2883, + "end": 2884, + "loc": { + "start": { + "line": 144, + "column": 21 + }, + "end": { + "line": 144, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2885, + "end": 2889, + "loc": { + "start": { + "line": 144, + "column": 23 + }, + "end": { + "line": 144, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2889, + "end": 2890, + "loc": { + "start": { + "line": 144, + "column": 27 + }, + "end": { + "line": 144, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 2890, + "end": 2899, + "loc": { + "start": { + "line": 144, + "column": 28 + }, + "end": { + "line": 144, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2899, + "end": 2900, + "loc": { + "start": { + "line": 144, + "column": 37 + }, + "end": { + "line": 144, + "column": 38 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2905, + "end": 2909, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2909, + "end": 2910, + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 2910, + "end": 2919, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 145, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2920, + "end": 2921, + "loc": { + "start": { + "line": 145, + "column": 19 + }, + "end": { + "line": 145, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 2922, + "end": 2925, + "loc": { + "start": { + "line": 145, + "column": 21 + }, + "end": { + "line": 145, + "column": 24 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2926, + "end": 2928, + "loc": { + "start": { + "line": 145, + "column": 25 + }, + "end": { + "line": 145, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 2929, + "end": 2932, + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 31 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2933, + "end": 2934, + "loc": { + "start": { + "line": 145, + "column": 32 + }, + "end": { + "line": 145, + "column": 33 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 2935, + "end": 2939, + "loc": { + "start": { + "line": 145, + "column": 34 + }, + "end": { + "line": 145, + "column": 38 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2940, + "end": 2942, + "loc": { + "start": { + "line": 145, + "column": 39 + }, + "end": { + "line": 145, + "column": 41 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2943, + "end": 2947, + "loc": { + "start": { + "line": 145, + "column": 42 + }, + "end": { + "line": 145, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2947, + "end": 2948, + "loc": { + "start": { + "line": 145, + "column": 46 + }, + "end": { + "line": 145, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 2948, + "end": 2952, + "loc": { + "start": { + "line": 145, + "column": 47 + }, + "end": { + "line": 145, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2952, + "end": 2953, + "loc": { + "start": { + "line": 145, + "column": 51 + }, + "end": { + "line": 145, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2953, + "end": 2954, + "loc": { + "start": { + "line": 145, + "column": 52 + }, + "end": { + "line": 145, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2954, + "end": 2955, + "loc": { + "start": { + "line": 145, + "column": 53 + }, + "end": { + "line": 145, + "column": 54 + } + } + }, + { + "type": "CommentLine", + "value": " Downscale every priority by the same factor. Order is unaffected, which is why we're avoiding the cost of popping.", + "start": 2960, + "end": 3077, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 121 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 3082, + "end": 3085, + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 147, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3086, + "end": 3087, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 3087, + "end": 3090, + "loc": { + "start": { + "line": 147, + "column": 9 + }, + "end": { + "line": 147, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3091, + "end": 3092, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3093, + "end": 3094, + "loc": { + "start": { + "line": 147, + "column": 15 + }, + "end": { + "line": 147, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3095, + "end": 3096, + "loc": { + "start": { + "line": 147, + "column": 17 + }, + "end": { + "line": 147, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3096, + "end": 3097, + "loc": { + "start": { + "line": 147, + "column": 18 + }, + "end": { + "line": 147, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3098, + "end": 3099, + "loc": { + "start": { + "line": 147, + "column": 20 + }, + "end": { + "line": 147, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3100, + "end": 3101, + "loc": { + "start": { + "line": 147, + "column": 22 + }, + "end": { + "line": 147, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldContent", + "start": 3102, + "end": 3112, + "loc": { + "start": { + "line": 147, + "column": 24 + }, + "end": { + "line": 147, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3112, + "end": 3113, + "loc": { + "start": { + "line": 147, + "column": 34 + }, + "end": { + "line": 147, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3113, + "end": 3119, + "loc": { + "start": { + "line": 147, + "column": 35 + }, + "end": { + "line": 147, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3119, + "end": 3120, + "loc": { + "start": { + "line": 147, + "column": 41 + }, + "end": { + "line": 147, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3121, + "end": 3122, + "loc": { + "start": { + "line": 147, + "column": 43 + }, + "end": { + "line": 147, + "column": 44 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 3122, + "end": 3124, + "loc": { + "start": { + "line": 147, + "column": 44 + }, + "end": { + "line": 147, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3124, + "end": 3125, + "loc": { + "start": { + "line": 147, + "column": 46 + }, + "end": { + "line": 147, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3126, + "end": 3127, + "loc": { + "start": { + "line": 147, + "column": 48 + }, + "end": { + "line": 147, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newContent", + "start": 3134, + "end": 3144, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3144, + "end": 3145, + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 3145, + "end": 3149, + "loc": { + "start": { + "line": 148, + "column": 17 + }, + "end": { + "line": 148, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3149, + "end": 3150, + "loc": { + "start": { + "line": 148, + "column": 21 + }, + "end": { + "line": 148, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3150, + "end": 3151, + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 3160, + "end": 3163, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3163, + "end": 3164, + "loc": { + "start": { + "line": 149, + "column": 11 + }, + "end": { + "line": 149, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldContent", + "start": 3165, + "end": 3175, + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3175, + "end": 3176, + "loc": { + "start": { + "line": 149, + "column": 23 + }, + "end": { + "line": 149, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3176, + "end": 3177, + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3177, + "end": 3178, + "loc": { + "start": { + "line": 149, + "column": 25 + }, + "end": { + "line": 149, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3178, + "end": 3179, + "loc": { + "start": { + "line": 149, + "column": 26 + }, + "end": { + "line": 149, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 3179, + "end": 3182, + "loc": { + "start": { + "line": 149, + "column": 27 + }, + "end": { + "line": 149, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3182, + "end": 3183, + "loc": { + "start": { + "line": 149, + "column": 30 + }, + "end": { + "line": 149, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "priority", + "start": 3192, + "end": 3200, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3200, + "end": 3201, + "loc": { + "start": { + "line": 150, + "column": 16 + }, + "end": { + "line": 150, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldContent", + "start": 3202, + "end": 3212, + "loc": { + "start": { + "line": 150, + "column": 18 + }, + "end": { + "line": 150, + "column": 28 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3212, + "end": 3213, + "loc": { + "start": { + "line": 150, + "column": 28 + }, + "end": { + "line": 150, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3213, + "end": 3214, + "loc": { + "start": { + "line": 150, + "column": 29 + }, + "end": { + "line": 150, + "column": 30 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3214, + "end": 3215, + "loc": { + "start": { + "line": 150, + "column": 30 + }, + "end": { + "line": 150, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3215, + "end": 3216, + "loc": { + "start": { + "line": 150, + "column": 31 + }, + "end": { + "line": 150, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "priority", + "start": 3216, + "end": 3224, + "loc": { + "start": { + "line": 150, + "column": 32 + }, + "end": { + "line": 150, + "column": 40 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 3225, + "end": 3226, + "loc": { + "start": { + "line": 150, + "column": 41 + }, + "end": { + "line": 150, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 3227, + "end": 3231, + "loc": { + "start": { + "line": 150, + "column": 43 + }, + "end": { + "line": 150, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3231, + "end": 3232, + "loc": { + "start": { + "line": 150, + "column": 47 + }, + "end": { + "line": 150, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exp", + "start": 3232, + "end": 3235, + "loc": { + "start": { + "line": 150, + "column": 48 + }, + "end": { + "line": 150, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3235, + "end": 3236, + "loc": { + "start": { + "line": 150, + "column": 51 + }, + "end": { + "line": 150, + "column": 52 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 3236, + "end": 3237, + "loc": { + "start": { + "line": 150, + "column": 52 + }, + "end": { + "line": 150, + "column": 53 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3237, + "end": 3241, + "loc": { + "start": { + "line": 150, + "column": 53 + }, + "end": { + "line": 150, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3241, + "end": 3242, + "loc": { + "start": { + "line": 150, + "column": 57 + }, + "end": { + "line": 150, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 3242, + "end": 3247, + "loc": { + "start": { + "line": 150, + "column": 58 + }, + "end": { + "line": 150, + "column": 63 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 3248, + "end": 3249, + "loc": { + "start": { + "line": 150, + "column": 64 + }, + "end": { + "line": 150, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3250, + "end": 3251, + "loc": { + "start": { + "line": 150, + "column": 66 + }, + "end": { + "line": 150, + "column": 67 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3251, + "end": 3255, + "loc": { + "start": { + "line": 150, + "column": 67 + }, + "end": { + "line": 150, + "column": 71 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3255, + "end": 3256, + "loc": { + "start": { + "line": 150, + "column": 71 + }, + "end": { + "line": 150, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 3256, + "end": 3265, + "loc": { + "start": { + "line": 150, + "column": 72 + }, + "end": { + "line": 150, + "column": 81 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 3266, + "end": 3267, + "loc": { + "start": { + "line": 150, + "column": 82 + }, + "end": { + "line": 150, + "column": 83 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oldStartTime", + "start": 3268, + "end": 3280, + "loc": { + "start": { + "line": 150, + "column": 84 + }, + "end": { + "line": 150, + "column": 96 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3280, + "end": 3281, + "loc": { + "start": { + "line": 150, + "column": 96 + }, + "end": { + "line": 150, + "column": 97 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3281, + "end": 3282, + "loc": { + "start": { + "line": 150, + "column": 97 + }, + "end": { + "line": 150, + "column": 98 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3289, + "end": 3290, + "loc": { + "start": { + "line": 151, + "column": 6 + }, + "end": { + "line": 151, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3290, + "end": 3291, + "loc": { + "start": { + "line": 151, + "column": 7 + }, + "end": { + "line": 151, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3291, + "end": 3292, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3297, + "end": 3298, + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 152, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3303, + "end": 3307, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3307, + "end": 3308, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 3308, + "end": 3314, + "loc": { + "start": { + "line": 153, + "column": 9 + }, + "end": { + "line": 153, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3314, + "end": 3315, + "loc": { + "start": { + "line": 153, + "column": 15 + }, + "end": { + "line": 153, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 3315, + "end": 3322, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3323, + "end": 3324, + "loc": { + "start": { + "line": 153, + "column": 24 + }, + "end": { + "line": 153, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newContent", + "start": 3325, + "end": 3335, + "loc": { + "start": { + "line": 153, + "column": 26 + }, + "end": { + "line": 153, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3335, + "end": 3336, + "loc": { + "start": { + "line": 153, + "column": 36 + }, + "end": { + "line": 153, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3339, + "end": 3340, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 154, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3341, + "end": 3342, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 155, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3342, + "end": 3342, + "loc": { + "start": { + "line": 155, + "column": 1 + }, + "end": { + "line": 155, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ExponentiallyWeightedMovingAverage.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ExponentiallyWeightedMovingAverage.js.json new file mode 100644 index 0000000..aed0f88 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ExponentiallyWeightedMovingAverage.js.json @@ -0,0 +1,12800 @@ +{ + "type": "File", + "start": 0, + "end": 2133, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 116, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2133, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 116, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 173, + "end": 212, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 179, + "end": 211, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 179, + "end": 187, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 14 + }, + "identifierName": "M1_ALPHA" + }, + "name": "M1_ALPHA", + "leadingComments": null + }, + "init": { + "type": "BinaryExpression", + "start": 190, + "end": 211, + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 38 + } + }, + "left": { + "type": "NumericLiteral", + "start": 190, + "end": 191, + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 18 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 194, + "end": 211, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 194, + "end": 202, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 194, + "end": 198, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 25 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 199, + "end": 202, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 29 + }, + "identifierName": "exp" + }, + "name": "exp" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 203, + "end": 210, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 37 + } + }, + "left": { + "type": "UnaryExpression", + "start": 203, + "end": 205, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 32 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 204, + "end": 205, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 32 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 208, + "end": 210, + "loc": { + "start": { + "line": 15, + "column": 35 + }, + "end": { + "line": 15, + "column": 37 + } + }, + "extra": { + "rawValue": 60, + "raw": "60" + }, + "value": 60 + } + } + ] + } + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 151, + "end": 171, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 213, + "end": 233, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 234, + "end": 277, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 240, + "end": 276, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 240, + "end": 248, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 14 + }, + "identifierName": "M5_ALPHA" + }, + "name": "M5_ALPHA", + "leadingComments": null + }, + "init": { + "type": "BinaryExpression", + "start": 251, + "end": 276, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 42 + } + }, + "left": { + "type": "NumericLiteral", + "start": 251, + "end": 252, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 18 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 255, + "end": 276, + "loc": { + "start": { + "line": 19, + "column": 21 + }, + "end": { + "line": 19, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 255, + "end": 263, + "loc": { + "start": { + "line": 19, + "column": 21 + }, + "end": { + "line": 19, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 255, + "end": 259, + "loc": { + "start": { + "line": 19, + "column": 21 + }, + "end": { + "line": 19, + "column": 25 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 260, + "end": 263, + "loc": { + "start": { + "line": 19, + "column": 26 + }, + "end": { + "line": 19, + "column": 29 + }, + "identifierName": "exp" + }, + "name": "exp" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 264, + "end": 275, + "loc": { + "start": { + "line": 19, + "column": 30 + }, + "end": { + "line": 19, + "column": 41 + } + }, + "left": { + "type": "BinaryExpression", + "start": 264, + "end": 271, + "loc": { + "start": { + "line": 19, + "column": 30 + }, + "end": { + "line": 19, + "column": 37 + } + }, + "left": { + "type": "UnaryExpression", + "start": 264, + "end": 266, + "loc": { + "start": { + "line": 19, + "column": 30 + }, + "end": { + "line": 19, + "column": 32 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 265, + "end": 266, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 32 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 269, + "end": 271, + "loc": { + "start": { + "line": 19, + "column": 35 + }, + "end": { + "line": 19, + "column": 37 + } + }, + "extra": { + "rawValue": 60, + "raw": "60" + }, + "value": 60 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 274, + "end": 275, + "loc": { + "start": { + "line": 19, + "column": 40 + }, + "end": { + "line": 19, + "column": 41 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + } + ] + } + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 213, + "end": 233, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 278, + "end": 298, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 299, + "end": 344, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 305, + "end": 343, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 44 + } + }, + "id": { + "type": "Identifier", + "start": 305, + "end": 314, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 15 + }, + "identifierName": "M15_ALPHA" + }, + "name": "M15_ALPHA", + "leadingComments": null + }, + "init": { + "type": "BinaryExpression", + "start": 317, + "end": 343, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 44 + } + }, + "left": { + "type": "NumericLiteral", + "start": 317, + "end": 318, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 19 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 321, + "end": 343, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 321, + "end": 329, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 321, + "end": 325, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 26 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 326, + "end": 329, + "loc": { + "start": { + "line": 23, + "column": 27 + }, + "end": { + "line": 23, + "column": 30 + }, + "identifierName": "exp" + }, + "name": "exp" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 330, + "end": 342, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 43 + } + }, + "left": { + "type": "BinaryExpression", + "start": 330, + "end": 337, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 38 + } + }, + "left": { + "type": "UnaryExpression", + "start": 330, + "end": 332, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 33 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 331, + "end": 332, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 33 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 335, + "end": 337, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 38 + } + }, + "extra": { + "rawValue": 60, + "raw": "60" + }, + "value": 60 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 340, + "end": 342, + "loc": { + "start": { + "line": 23, + "column": 41 + }, + "end": { + "line": 23, + "column": 43 + } + }, + "extra": { + "rawValue": 15, + "raw": "15" + }, + "value": 15 + } + } + ] + } + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 278, + "end": 298, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 346, + "end": 353, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 354, + "end": 2133, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 116, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 369, + "end": 2133, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 116, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 375, + "end": 379, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 25 + }, + "identifierName": "EWMA" + }, + "name": "EWMA", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 380, + "end": 2133, + "loc": { + "start": { + "line": 27, + "column": 26 + }, + "end": { + "line": 116, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 479, + "end": 1147, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 479, + "end": 490, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 491, + "end": 496, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 19 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + { + "type": "Identifier", + "start": 498, + "end": 506, + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 29 + }, + "identifierName": "interval" + }, + "name": "interval" + } + ], + "body": { + "type": "BlockStatement", + "start": 508, + "end": 1147, + "loc": { + "start": { + "line": 33, + "column": 31 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 540, + "end": 559, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 540, + "end": 558, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 540, + "end": 550, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 540, + "end": 544, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 545, + "end": 550, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 14 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 553, + "end": 558, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 22 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 514, + "end": 535, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 564, + "end": 585, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 590, + "end": 623, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 37 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 590, + "end": 622, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 36 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 590, + "end": 603, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 590, + "end": 594, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 595, + "end": 603, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 17 + }, + "identifierName": "interval" + }, + "name": "interval" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "LogicalExpression", + "start": 606, + "end": 622, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 36 + } + }, + "left": { + "type": "Identifier", + "start": 606, + "end": 614, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 28 + }, + "identifierName": "interval" + }, + "name": "interval" + }, + "operator": "||", + "right": { + "type": "NumericLiteral", + "start": 618, + "end": 622, + "loc": { + "start": { + "line": 37, + "column": 32 + }, + "end": { + "line": 37, + "column": 36 + } + }, + "extra": { + "rawValue": 5000, + "raw": "5000" + }, + "value": 5000 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 564, + "end": 585, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {boolean} ", + "start": 628, + "end": 650, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 655, + "end": 680, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 655, + "end": 679, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 655, + "end": 671, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 655, + "end": 659, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 660, + "end": 671, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 20 + }, + "identifierName": "initialized" + }, + "name": "initialized" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BooleanLiteral", + "start": 674, + "end": 679, + "loc": { + "start": { + "line": 39, + "column": 23 + }, + "end": { + "line": 39, + "column": 28 + } + }, + "value": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {boolean} ", + "start": 628, + "end": 650, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 685, + "end": 706, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 711, + "end": 734, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 711, + "end": 733, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 711, + "end": 727, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 711, + "end": 715, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 716, + "end": 727, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 20 + }, + "identifierName": "currentRate" + }, + "name": "currentRate" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NumericLiteral", + "start": 730, + "end": 733, + "loc": { + "start": { + "line": 41, + "column": 23 + }, + "end": { + "line": 41, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0.0" + }, + "value": 0 + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 685, + "end": 706, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 739, + "end": 760, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 765, + "end": 784, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 765, + "end": 783, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 765, + "end": 779, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 765, + "end": 769, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 770, + "end": 779, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 18 + }, + "identifierName": "uncounted" + }, + "name": "uncounted" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NumericLiteral", + "start": 782, + "end": 783, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 739, + "end": 760, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 25 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 789, + "end": 1143, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 56, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 793, + "end": 801, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 16 + }, + "identifierName": "interval" + }, + "name": "interval" + }, + "consequent": { + "type": "BlockStatement", + "start": 803, + "end": 1143, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 56, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 836, + "end": 916, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 48, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 836, + "end": 915, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 48, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 836, + "end": 853, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 836, + "end": 840, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 841, + "end": 853, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 23 + }, + "identifierName": "tickInterval" + }, + "name": "tickInterval" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 856, + "end": 915, + "loc": { + "start": { + "line": 46, + "column": 26 + }, + "end": { + "line": 48, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 856, + "end": 867, + "loc": { + "start": { + "line": 46, + "column": 26 + }, + "end": { + "line": 46, + "column": 37 + }, + "identifierName": "setInterval" + }, + "name": "setInterval" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 868, + "end": 904, + "loc": { + "start": { + "line": 46, + "column": 38 + }, + "end": { + "line": 48, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 874, + "end": 904, + "loc": { + "start": { + "line": 46, + "column": 44 + }, + "end": { + "line": 48, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 884, + "end": 896, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 884, + "end": 895, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 884, + "end": 893, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 884, + "end": 888, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 889, + "end": 893, + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 17 + }, + "identifierName": "tick" + }, + "name": "tick" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "Identifier", + "start": 906, + "end": 914, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 17 + }, + "identifierName": "interval" + }, + "name": "interval" + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {any} ", + "start": 811, + "end": 829, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 24 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " $FlowFixMe", + "start": 924, + "end": 937, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 19 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 944, + "end": 1137, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 55, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 948, + "end": 971, + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 51, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 948, + "end": 965, + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 51, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 948, + "end": 952, + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 51, + "column": 14 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 953, + "end": 965, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 27 + }, + "identifierName": "tickInterval" + }, + "name": "tickInterval" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 966, + "end": 971, + "loc": { + "start": { + "line": 51, + "column": 28 + }, + "end": { + "line": 51, + "column": 33 + }, + "identifierName": "unref" + }, + "name": "unref" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 973, + "end": 1137, + "loc": { + "start": { + "line": 51, + "column": 35 + }, + "end": { + "line": 55, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1103, + "end": 1129, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 34 + } + }, + "expression": { + "type": "CallExpression", + "start": 1103, + "end": 1128, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1103, + "end": 1126, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 31 + } + }, + "object": { + "type": "MemberExpression", + "start": 1103, + "end": 1120, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 1103, + "end": 1107, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1108, + "end": 1120, + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 25 + }, + "identifierName": "tickInterval" + }, + "name": "tickInterval" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1121, + "end": 1126, + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 54, + "column": 31 + }, + "identifierName": "unref" + }, + "name": "unref" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " checking in Node context", + "start": 983, + "end": 1010, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 35 + } + } + }, + { + "type": "CommentLine", + "value": " Don't keep the process open if this is the last thing in the event loop.", + "start": 1019, + "end": 1094, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 83 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " $FlowFixMe", + "start": 924, + "end": 937, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 19 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} alpha -\n * @param {number} interval - time in milliseconds\n ", + "start": 385, + "end": 476, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1151, + "end": 1181, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1184, + "end": 1248, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 64, + "column": 3 + } + }, + "static": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1191, + "end": 1203, + "loc": { + "start": { + "line": 62, + "column": 9 + }, + "end": { + "line": 62, + "column": 21 + }, + "identifierName": "createM1EWMA" + }, + "name": "createM1EWMA" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1206, + "end": 1248, + "loc": { + "start": { + "line": 62, + "column": 24 + }, + "end": { + "line": 64, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1212, + "end": 1244, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 36 + } + }, + "argument": { + "type": "NewExpression", + "start": 1219, + "end": 1243, + "loc": { + "start": { + "line": 63, + "column": 11 + }, + "end": { + "line": 63, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 1223, + "end": 1227, + "loc": { + "start": { + "line": 63, + "column": 15 + }, + "end": { + "line": 63, + "column": 19 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1228, + "end": 1236, + "loc": { + "start": { + "line": 63, + "column": 20 + }, + "end": { + "line": 63, + "column": 28 + }, + "identifierName": "M1_ALPHA" + }, + "name": "M1_ALPHA" + }, + { + "type": "NumericLiteral", + "start": 1238, + "end": 1242, + "loc": { + "start": { + "line": 63, + "column": 30 + }, + "end": { + "line": 63, + "column": 34 + } + }, + "extra": { + "rawValue": 5000, + "raw": "5000" + }, + "value": 5000 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1151, + "end": 1181, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1251, + "end": 1281, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1284, + "end": 1348, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 70, + "column": 3 + } + }, + "static": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1291, + "end": 1303, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 21 + }, + "identifierName": "createM5EWMA" + }, + "name": "createM5EWMA" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1306, + "end": 1348, + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 70, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1312, + "end": 1344, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 36 + } + }, + "argument": { + "type": "NewExpression", + "start": 1319, + "end": 1343, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 1323, + "end": 1327, + "loc": { + "start": { + "line": 69, + "column": 15 + }, + "end": { + "line": 69, + "column": 19 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1328, + "end": 1336, + "loc": { + "start": { + "line": 69, + "column": 20 + }, + "end": { + "line": 69, + "column": 28 + }, + "identifierName": "M5_ALPHA" + }, + "name": "M5_ALPHA" + }, + { + "type": "NumericLiteral", + "start": 1338, + "end": 1342, + "loc": { + "start": { + "line": 69, + "column": 30 + }, + "end": { + "line": 69, + "column": 34 + } + }, + "extra": { + "rawValue": 5000, + "raw": "5000" + }, + "value": 5000 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1251, + "end": 1281, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1351, + "end": 1381, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1384, + "end": 1450, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "static": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1391, + "end": 1404, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 22 + }, + "identifierName": "createM15EWMA" + }, + "name": "createM15EWMA" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1407, + "end": 1450, + "loc": { + "start": { + "line": 74, + "column": 25 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1413, + "end": 1446, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 37 + } + }, + "argument": { + "type": "NewExpression", + "start": 1420, + "end": 1445, + "loc": { + "start": { + "line": 75, + "column": 11 + }, + "end": { + "line": 75, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 1424, + "end": 1428, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 19 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1429, + "end": 1438, + "loc": { + "start": { + "line": 75, + "column": 20 + }, + "end": { + "line": 75, + "column": 29 + }, + "identifierName": "M15_ALPHA" + }, + "name": "M15_ALPHA" + }, + { + "type": "NumericLiteral", + "start": 1440, + "end": 1444, + "loc": { + "start": { + "line": 75, + "column": 31 + }, + "end": { + "line": 75, + "column": 35 + } + }, + "extra": { + "rawValue": 5000, + "raw": "5000" + }, + "value": 5000 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1351, + "end": 1381, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} n -\n * @returns {void}\n ", + "start": 1454, + "end": 1509, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1512, + "end": 1557, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1512, + "end": 1518, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 8 + }, + "identifierName": "update" + }, + "name": "update", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1519, + "end": 1520, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 10 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 1522, + "end": 1557, + "loc": { + "start": { + "line": 82, + "column": 12 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1528, + "end": 1553, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1528, + "end": 1552, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 28 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 1528, + "end": 1542, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1528, + "end": 1532, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1533, + "end": 1542, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 18 + }, + "identifierName": "uncounted" + }, + "name": "uncounted" + }, + "computed": false + }, + "right": { + "type": "LogicalExpression", + "start": 1546, + "end": 1552, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 1546, + "end": 1547, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 23 + }, + "identifierName": "n" + }, + "name": "n" + }, + "operator": "||", + "right": { + "type": "NumericLiteral", + "start": 1551, + "end": 1552, + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 28 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} n -\n * @returns {void}\n ", + "start": 1454, + "end": 1509, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Update our rate measurements every interval.\n * @returns {void}\n ", + "start": 1561, + "end": 1641, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1644, + "end": 1924, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 100, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1644, + "end": 1648, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 6 + }, + "identifierName": "tick" + }, + "name": "tick", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1651, + "end": 1924, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 100, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1657, + "end": 1706, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1661, + "end": 1705, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 1661, + "end": 1672, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 19 + }, + "identifierName": "instantRate" + }, + "name": "instantRate" + }, + "init": { + "type": "BinaryExpression", + "start": 1675, + "end": 1705, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 52 + } + }, + "left": { + "type": "MemberExpression", + "start": 1675, + "end": 1689, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 1675, + "end": 1679, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 1680, + "end": 1689, + "loc": { + "start": { + "line": 91, + "column": 27 + }, + "end": { + "line": 91, + "column": 36 + }, + "identifierName": "uncounted" + }, + "name": "uncounted" + }, + "computed": false + }, + "operator": "/", + "right": { + "type": "MemberExpression", + "start": 1692, + "end": 1705, + "loc": { + "start": { + "line": 91, + "column": 39 + }, + "end": { + "line": 91, + "column": 52 + } + }, + "object": { + "type": "ThisExpression", + "start": 1692, + "end": 1696, + "loc": { + "start": { + "line": 91, + "column": 39 + }, + "end": { + "line": 91, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "start": 1697, + "end": 1705, + "loc": { + "start": { + "line": 91, + "column": 44 + }, + "end": { + "line": 91, + "column": 52 + }, + "identifierName": "interval" + }, + "name": "interval" + }, + "computed": false + } + } + } + ], + "kind": "var" + }, + { + "type": "ExpressionStatement", + "start": 1711, + "end": 1730, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1711, + "end": 1729, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1711, + "end": 1725, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1711, + "end": 1715, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1716, + "end": 1725, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 18 + }, + "identifierName": "uncounted" + }, + "name": "uncounted" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 1728, + "end": 1729, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "IfStatement", + "start": 1736, + "end": 1920, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 99, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 1740, + "end": 1756, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 1740, + "end": 1744, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1745, + "end": 1756, + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 24 + }, + "identifierName": "initialized" + }, + "name": "initialized" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 1758, + "end": 1838, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1766, + "end": 1832, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 72 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1766, + "end": 1831, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 71 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 1766, + "end": 1782, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1766, + "end": 1770, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1771, + "end": 1782, + "loc": { + "start": { + "line": 95, + "column": 11 + }, + "end": { + "line": 95, + "column": 22 + }, + "identifierName": "currentRate" + }, + "name": "currentRate" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 1786, + "end": 1831, + "loc": { + "start": { + "line": 95, + "column": 26 + }, + "end": { + "line": 95, + "column": 71 + } + }, + "left": { + "type": "MemberExpression", + "start": 1786, + "end": 1796, + "loc": { + "start": { + "line": 95, + "column": 26 + }, + "end": { + "line": 95, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 1786, + "end": 1790, + "loc": { + "start": { + "line": 95, + "column": 26 + }, + "end": { + "line": 95, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 1791, + "end": 1796, + "loc": { + "start": { + "line": 95, + "column": 31 + }, + "end": { + "line": 95, + "column": 36 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "BinaryExpression", + "start": 1800, + "end": 1830, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 70 + } + }, + "left": { + "type": "Identifier", + "start": 1800, + "end": 1811, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 51 + }, + "identifierName": "instantRate" + }, + "name": "instantRate" + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 1814, + "end": 1830, + "loc": { + "start": { + "line": 95, + "column": 54 + }, + "end": { + "line": 95, + "column": 70 + } + }, + "object": { + "type": "ThisExpression", + "start": 1814, + "end": 1818, + "loc": { + "start": { + "line": 95, + "column": 54 + }, + "end": { + "line": 95, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "start": 1819, + "end": 1830, + "loc": { + "start": { + "line": 95, + "column": 59 + }, + "end": { + "line": 95, + "column": 70 + }, + "identifierName": "currentRate" + }, + "name": "currentRate" + }, + "computed": false + }, + "extra": { + "parenthesized": true, + "parenStart": 1799 + } + } + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1844, + "end": 1920, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 99, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1852, + "end": 1883, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 37 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1852, + "end": 1882, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 36 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1852, + "end": 1868, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1852, + "end": 1856, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1857, + "end": 1868, + "loc": { + "start": { + "line": 97, + "column": 11 + }, + "end": { + "line": 97, + "column": 22 + }, + "identifierName": "currentRate" + }, + "name": "currentRate" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1871, + "end": 1882, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 36 + }, + "identifierName": "instantRate" + }, + "name": "instantRate" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1890, + "end": 1914, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1890, + "end": 1913, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1890, + "end": 1906, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1890, + "end": 1894, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1895, + "end": 1906, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 22 + }, + "identifierName": "initialized" + }, + "name": "initialized" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 1909, + "end": 1913, + "loc": { + "start": { + "line": 98, + "column": 25 + }, + "end": { + "line": 98, + "column": 29 + } + }, + "value": true + } + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Update our rate measurements every interval.\n * @returns {void}\n ", + "start": 1561, + "end": 1641, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the rate per second.\n * @returns {number}\n ", + "start": 1928, + "end": 1993, + "loc": { + "start": { + "line": 102, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1996, + "end": 2044, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 108, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1996, + "end": 2000, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 6 + }, + "identifierName": "rate" + }, + "name": "rate", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2003, + "end": 2044, + "loc": { + "start": { + "line": 106, + "column": 9 + }, + "end": { + "line": 108, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2009, + "end": 2040, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 35 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 2016, + "end": 2039, + "loc": { + "start": { + "line": 107, + "column": 11 + }, + "end": { + "line": 107, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 2016, + "end": 2032, + "loc": { + "start": { + "line": 107, + "column": 11 + }, + "end": { + "line": 107, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2016, + "end": 2020, + "loc": { + "start": { + "line": 107, + "column": 11 + }, + "end": { + "line": 107, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2021, + "end": 2032, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 27 + }, + "identifierName": "currentRate" + }, + "name": "currentRate" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 2035, + "end": 2039, + "loc": { + "start": { + "line": 107, + "column": 30 + }, + "end": { + "line": 107, + "column": 34 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the rate per second.\n * @returns {number}\n ", + "start": 1928, + "end": 1993, + "loc": { + "start": { + "line": 102, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {void}\n ", + "start": 2048, + "end": 2078, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 112, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2081, + "end": 2131, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 115, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2081, + "end": 2085, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 113, + "column": 6 + }, + "identifierName": "stop" + }, + "name": "stop", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2088, + "end": 2131, + "loc": { + "start": { + "line": 113, + "column": 9 + }, + "end": { + "line": 115, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2094, + "end": 2127, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 2094, + "end": 2126, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 2094, + "end": 2107, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 17 + }, + "identifierName": "clearInterval" + }, + "name": "clearInterval" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2108, + "end": 2125, + "loc": { + "start": { + "line": 114, + "column": 18 + }, + "end": { + "line": 114, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 2108, + "end": 2112, + "loc": { + "start": { + "line": 114, + "column": 18 + }, + "end": { + "line": 114, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 2113, + "end": 2125, + "loc": { + "start": { + "line": 114, + "column": 23 + }, + "end": { + "line": 114, + "column": 35 + }, + "identifierName": "tickInterval" + }, + "name": "tickInterval" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @returns {void}\n ", + "start": 2048, + "end": 2078, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 112, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 346, + "end": 353, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 346, + "end": 353, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 136, + "end": 149, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 136, + "end": 148, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name ExponentiallyWeightedMovingAverage.js\n * @fileoverview Exponentially weighted moving average.\n *\n * \n * @exports EWMA\n ", + "start": 0, + "end": 134, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 151, + "end": 171, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name ExponentiallyWeightedMovingAverage.js\n * @fileoverview Exponentially weighted moving average.\n *\n * \n * @exports EWMA\n ", + "start": 0, + "end": 134, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 151, + "end": 171, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 213, + "end": 233, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 278, + "end": 298, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 346, + "end": 353, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} alpha -\n * @param {number} interval - time in milliseconds\n ", + "start": 385, + "end": 476, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 514, + "end": 535, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 564, + "end": 585, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {boolean} ", + "start": 628, + "end": 650, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 685, + "end": 706, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 739, + "end": 760, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {any} ", + "start": 811, + "end": 829, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " $FlowFixMe", + "start": 924, + "end": 937, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 19 + } + } + }, + { + "type": "CommentLine", + "value": " checking in Node context", + "start": 983, + "end": 1010, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 35 + } + } + }, + { + "type": "CommentLine", + "value": " Don't keep the process open if this is the last thing in the event loop.", + "start": 1019, + "end": 1094, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 83 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1151, + "end": 1181, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1251, + "end": 1281, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1351, + "end": 1381, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} n -\n * @returns {void}\n ", + "start": 1454, + "end": 1509, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Update our rate measurements every interval.\n * @returns {void}\n ", + "start": 1561, + "end": 1641, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the rate per second.\n * @returns {number}\n ", + "start": 1928, + "end": 1993, + "loc": { + "start": { + "line": 102, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {void}\n ", + "start": 2048, + "end": 2078, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 112, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name ExponentiallyWeightedMovingAverage.js\n * @fileoverview Exponentially weighted moving average.\n *\n * \n * @exports EWMA\n ", + "start": 0, + "end": 134, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 136, + "end": 148, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 9, + "column": 12 + }, + "end": { + "line": 9, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 151, + "end": 171, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 173, + "end": 178, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "M1_ALPHA", + "start": 179, + "end": 187, + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 188, + "end": 189, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 190, + "end": 191, + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 192, + "end": 193, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 194, + "end": 198, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 198, + "end": 199, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exp", + "start": 199, + "end": 202, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 202, + "end": 203, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 203, + "end": 204, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 31 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 204, + "end": 205, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 206, + "end": 207, + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 60, + "start": 208, + "end": 210, + "loc": { + "start": { + "line": 15, + "column": 35 + }, + "end": { + "line": 15, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 210, + "end": 211, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 211, + "end": 212, + "loc": { + "start": { + "line": 15, + "column": 38 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 213, + "end": 233, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 234, + "end": 239, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "M5_ALPHA", + "start": 240, + "end": 248, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 249, + "end": 250, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 251, + "end": 252, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 18 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 253, + "end": 254, + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 255, + "end": 259, + "loc": { + "start": { + "line": 19, + "column": 21 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 259, + "end": 260, + "loc": { + "start": { + "line": 19, + "column": 25 + }, + "end": { + "line": 19, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exp", + "start": 260, + "end": 263, + "loc": { + "start": { + "line": 19, + "column": 26 + }, + "end": { + "line": 19, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 263, + "end": 264, + "loc": { + "start": { + "line": 19, + "column": 29 + }, + "end": { + "line": 19, + "column": 30 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 264, + "end": 265, + "loc": { + "start": { + "line": 19, + "column": 30 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 265, + "end": 266, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 32 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 267, + "end": 268, + "loc": { + "start": { + "line": 19, + "column": 33 + }, + "end": { + "line": 19, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 60, + "start": 269, + "end": 271, + "loc": { + "start": { + "line": 19, + "column": 35 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 19, + "column": 38 + }, + "end": { + "line": 19, + "column": 39 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 274, + "end": 275, + "loc": { + "start": { + "line": 19, + "column": 40 + }, + "end": { + "line": 19, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 275, + "end": 276, + "loc": { + "start": { + "line": 19, + "column": 41 + }, + "end": { + "line": 19, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 276, + "end": 277, + "loc": { + "start": { + "line": 19, + "column": 42 + }, + "end": { + "line": 19, + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @constant\n ", + "start": 278, + "end": 298, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 299, + "end": 304, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "M15_ALPHA", + "start": 305, + "end": 314, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 315, + "end": 316, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 317, + "end": 318, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 319, + "end": 320, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 321, + "end": 325, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 325, + "end": 326, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exp", + "start": 326, + "end": 329, + "loc": { + "start": { + "line": 23, + "column": 27 + }, + "end": { + "line": 23, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 23, + "column": 30 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 330, + "end": 331, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 331, + "end": 332, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 33 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 333, + "end": 334, + "loc": { + "start": { + "line": 23, + "column": 34 + }, + "end": { + "line": 23, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 60, + "start": 335, + "end": 337, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 338, + "end": 339, + "loc": { + "start": { + "line": 23, + "column": 39 + }, + "end": { + "line": 23, + "column": 40 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 15, + "start": 340, + "end": 342, + "loc": { + "start": { + "line": 23, + "column": 41 + }, + "end": { + "line": 23, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 342, + "end": 343, + "loc": { + "start": { + "line": 23, + "column": 43 + }, + "end": { + "line": 23, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 343, + "end": 344, + "loc": { + "start": { + "line": 23, + "column": 44 + }, + "end": { + "line": 23, + "column": 45 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 346, + "end": 353, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 354, + "end": 360, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 361, + "end": 368, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 369, + "end": 374, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 375, + "end": 379, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 380, + "end": 381, + "loc": { + "start": { + "line": 27, + "column": 26 + }, + "end": { + "line": 27, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} alpha -\n * @param {number} interval - time in milliseconds\n ", + "start": 385, + "end": 476, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 479, + "end": 490, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 490, + "end": 491, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 491, + "end": 496, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 496, + "end": 497, + "loc": { + "start": { + "line": 33, + "column": 19 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 498, + "end": 506, + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 506, + "end": 507, + "loc": { + "start": { + "line": 33, + "column": 29 + }, + "end": { + "line": 33, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 508, + "end": 509, + "loc": { + "start": { + "line": 33, + "column": 31 + }, + "end": { + "line": 33, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 514, + "end": 535, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 540, + "end": 544, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 544, + "end": 545, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 545, + "end": 550, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 551, + "end": 552, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 553, + "end": 558, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 558, + "end": 559, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 564, + "end": 585, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 590, + "end": 594, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 594, + "end": 595, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 595, + "end": 603, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 37, + "column": 18 + }, + "end": { + "line": 37, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 606, + "end": 614, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 615, + "end": 617, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 31 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5000, + "start": 618, + "end": 622, + "loc": { + "start": { + "line": 37, + "column": 32 + }, + "end": { + "line": 37, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {boolean} ", + "start": 628, + "end": 650, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 655, + "end": 659, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 659, + "end": 660, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 39, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initialized", + "start": 660, + "end": 671, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 672, + "end": 673, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 22 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 674, + "end": 679, + "loc": { + "start": { + "line": 39, + "column": 23 + }, + "end": { + "line": 39, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 679, + "end": 680, + "loc": { + "start": { + "line": 39, + "column": 28 + }, + "end": { + "line": 39, + "column": 29 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 685, + "end": 706, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 711, + "end": 715, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 715, + "end": 716, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentRate", + "start": 716, + "end": 727, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 728, + "end": 729, + "loc": { + "start": { + "line": 41, + "column": 21 + }, + "end": { + "line": 41, + "column": 22 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 730, + "end": 733, + "loc": { + "start": { + "line": 41, + "column": 23 + }, + "end": { + "line": 41, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 733, + "end": 734, + "loc": { + "start": { + "line": 41, + "column": 26 + }, + "end": { + "line": 41, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 739, + "end": 760, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 765, + "end": 769, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 769, + "end": 770, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uncounted", + "start": 770, + "end": 779, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 780, + "end": 781, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 782, + "end": 783, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 783, + "end": 784, + "loc": { + "start": { + "line": 43, + "column": 22 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 789, + "end": 791, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 792, + "end": 793, + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 793, + "end": 801, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 801, + "end": 802, + "loc": { + "start": { + "line": 44, + "column": 16 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 803, + "end": 804, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {any} ", + "start": 811, + "end": 829, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 836, + "end": 840, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 840, + "end": 841, + "loc": { + "start": { + "line": 46, + "column": 10 + }, + "end": { + "line": 46, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tickInterval", + "start": 841, + "end": 853, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 854, + "end": 855, + "loc": { + "start": { + "line": 46, + "column": 24 + }, + "end": { + "line": 46, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setInterval", + "start": 856, + "end": 867, + "loc": { + "start": { + "line": 46, + "column": 26 + }, + "end": { + "line": 46, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 867, + "end": 868, + "loc": { + "start": { + "line": 46, + "column": 37 + }, + "end": { + "line": 46, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 868, + "end": 869, + "loc": { + "start": { + "line": 46, + "column": 38 + }, + "end": { + "line": 46, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 46, + "column": 39 + }, + "end": { + "line": 46, + "column": 40 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 871, + "end": 873, + "loc": { + "start": { + "line": 46, + "column": 41 + }, + "end": { + "line": 46, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 874, + "end": 875, + "loc": { + "start": { + "line": 46, + "column": 44 + }, + "end": { + "line": 46, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 884, + "end": 888, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 888, + "end": 889, + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 889, + "end": 893, + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 893, + "end": 894, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 894, + "end": 895, + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 895, + "end": 896, + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 903, + "end": 904, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 48, + "column": 7 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 904, + "end": 905, + "loc": { + "start": { + "line": 48, + "column": 7 + }, + "end": { + "line": 48, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 906, + "end": 914, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 914, + "end": 915, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 915, + "end": 916, + "loc": { + "start": { + "line": 48, + "column": 18 + }, + "end": { + "line": 48, + "column": 19 + } + } + }, + { + "type": "CommentLine", + "value": " $FlowFixMe", + "start": 924, + "end": 937, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 19 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 944, + "end": 946, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 947, + "end": 948, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 948, + "end": 952, + "loc": { + "start": { + "line": 51, + "column": 10 + }, + "end": { + "line": 51, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 952, + "end": 953, + "loc": { + "start": { + "line": 51, + "column": 14 + }, + "end": { + "line": 51, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tickInterval", + "start": 953, + "end": 965, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 51, + "column": 27 + }, + "end": { + "line": 51, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unref", + "start": 966, + "end": 971, + "loc": { + "start": { + "line": 51, + "column": 28 + }, + "end": { + "line": 51, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 971, + "end": 972, + "loc": { + "start": { + "line": 51, + "column": 33 + }, + "end": { + "line": 51, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 973, + "end": 974, + "loc": { + "start": { + "line": 51, + "column": 35 + }, + "end": { + "line": 51, + "column": 36 + } + } + }, + { + "type": "CommentLine", + "value": " checking in Node context", + "start": 983, + "end": 1010, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 35 + } + } + }, + { + "type": "CommentLine", + "value": " Don't keep the process open if this is the last thing in the event loop.", + "start": 1019, + "end": 1094, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 83 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1103, + "end": 1107, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1107, + "end": 1108, + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tickInterval", + "start": 1108, + "end": 1120, + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1120, + "end": 1121, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "unref", + "start": 1121, + "end": 1126, + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 54, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1126, + "end": 1127, + "loc": { + "start": { + "line": 54, + "column": 31 + }, + "end": { + "line": 54, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1127, + "end": 1128, + "loc": { + "start": { + "line": 54, + "column": 32 + }, + "end": { + "line": 54, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1128, + "end": 1129, + "loc": { + "start": { + "line": 54, + "column": 33 + }, + "end": { + "line": 54, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1136, + "end": 1137, + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1142, + "end": 1143, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1146, + "end": 1147, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1151, + "end": 1181, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1184, + "end": 1190, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createM1EWMA", + "start": 1191, + "end": 1203, + "loc": { + "start": { + "line": 62, + "column": 9 + }, + "end": { + "line": 62, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1203, + "end": 1204, + "loc": { + "start": { + "line": 62, + "column": 21 + }, + "end": { + "line": 62, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1204, + "end": 1205, + "loc": { + "start": { + "line": 62, + "column": 22 + }, + "end": { + "line": 62, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1206, + "end": 1207, + "loc": { + "start": { + "line": 62, + "column": 24 + }, + "end": { + "line": 62, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1212, + "end": 1218, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1219, + "end": 1222, + "loc": { + "start": { + "line": 63, + "column": 11 + }, + "end": { + "line": 63, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 1223, + "end": 1227, + "loc": { + "start": { + "line": 63, + "column": 15 + }, + "end": { + "line": 63, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1227, + "end": 1228, + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "M1_ALPHA", + "start": 1228, + "end": 1236, + "loc": { + "start": { + "line": 63, + "column": 20 + }, + "end": { + "line": 63, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1236, + "end": 1237, + "loc": { + "start": { + "line": 63, + "column": 28 + }, + "end": { + "line": 63, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5000, + "start": 1238, + "end": 1242, + "loc": { + "start": { + "line": 63, + "column": 30 + }, + "end": { + "line": 63, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1242, + "end": 1243, + "loc": { + "start": { + "line": 63, + "column": 34 + }, + "end": { + "line": 63, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1243, + "end": 1244, + "loc": { + "start": { + "line": 63, + "column": 35 + }, + "end": { + "line": 63, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1247, + "end": 1248, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1251, + "end": 1281, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1284, + "end": 1290, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createM5EWMA", + "start": 1291, + "end": 1303, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1303, + "end": 1304, + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 68, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1304, + "end": 1305, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1306, + "end": 1307, + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 68, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1312, + "end": 1318, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1319, + "end": 1322, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 1323, + "end": 1327, + "loc": { + "start": { + "line": 69, + "column": 15 + }, + "end": { + "line": 69, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1327, + "end": 1328, + "loc": { + "start": { + "line": 69, + "column": 19 + }, + "end": { + "line": 69, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "M5_ALPHA", + "start": 1328, + "end": 1336, + "loc": { + "start": { + "line": 69, + "column": 20 + }, + "end": { + "line": 69, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1336, + "end": 1337, + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5000, + "start": 1338, + "end": 1342, + "loc": { + "start": { + "line": 69, + "column": 30 + }, + "end": { + "line": 69, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1342, + "end": 1343, + "loc": { + "start": { + "line": 69, + "column": 34 + }, + "end": { + "line": 69, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1343, + "end": 1344, + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1347, + "end": 1348, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 70, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {EWMA}\n ", + "start": 1351, + "end": 1381, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1384, + "end": 1390, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createM15EWMA", + "start": 1391, + "end": 1404, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1404, + "end": 1405, + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 74, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1405, + "end": 1406, + "loc": { + "start": { + "line": 74, + "column": 23 + }, + "end": { + "line": 74, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1407, + "end": 1408, + "loc": { + "start": { + "line": 74, + "column": 25 + }, + "end": { + "line": 74, + "column": 26 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1413, + "end": 1419, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1420, + "end": 1423, + "loc": { + "start": { + "line": 75, + "column": 11 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 1424, + "end": 1428, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1428, + "end": 1429, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "M15_ALPHA", + "start": 1429, + "end": 1438, + "loc": { + "start": { + "line": 75, + "column": 20 + }, + "end": { + "line": 75, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1438, + "end": 1439, + "loc": { + "start": { + "line": 75, + "column": 29 + }, + "end": { + "line": 75, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5000, + "start": 1440, + "end": 1444, + "loc": { + "start": { + "line": 75, + "column": 31 + }, + "end": { + "line": 75, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1444, + "end": 1445, + "loc": { + "start": { + "line": 75, + "column": 35 + }, + "end": { + "line": 75, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1445, + "end": 1446, + "loc": { + "start": { + "line": 75, + "column": 36 + }, + "end": { + "line": 75, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1449, + "end": 1450, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} n -\n * @returns {void}\n ", + "start": 1454, + "end": 1509, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 1512, + "end": 1518, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1518, + "end": 1519, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 1519, + "end": 1520, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1520, + "end": 1521, + "loc": { + "start": { + "line": 82, + "column": 10 + }, + "end": { + "line": 82, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1522, + "end": 1523, + "loc": { + "start": { + "line": 82, + "column": 12 + }, + "end": { + "line": 82, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1528, + "end": 1532, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1532, + "end": 1533, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uncounted", + "start": 1533, + "end": 1542, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 18 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 1543, + "end": 1545, + "loc": { + "start": { + "line": 83, + "column": 19 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 1546, + "end": 1547, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 23 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1548, + "end": 1550, + "loc": { + "start": { + "line": 83, + "column": 24 + }, + "end": { + "line": 83, + "column": 26 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1551, + "end": 1552, + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1552, + "end": 1553, + "loc": { + "start": { + "line": 83, + "column": 28 + }, + "end": { + "line": 83, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1556, + "end": 1557, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Update our rate measurements every interval.\n * @returns {void}\n ", + "start": 1561, + "end": 1641, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tick", + "start": 1644, + "end": 1648, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1648, + "end": 1649, + "loc": { + "start": { + "line": 90, + "column": 6 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1649, + "end": 1650, + "loc": { + "start": { + "line": 90, + "column": 7 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1651, + "end": 1652, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 90, + "column": 10 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 1657, + "end": 1660, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "instantRate", + "start": 1661, + "end": 1672, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1673, + "end": 1674, + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1675, + "end": 1679, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1679, + "end": 1680, + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uncounted", + "start": 1680, + "end": 1689, + "loc": { + "start": { + "line": 91, + "column": 27 + }, + "end": { + "line": 91, + "column": 36 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 1690, + "end": 1691, + "loc": { + "start": { + "line": 91, + "column": 37 + }, + "end": { + "line": 91, + "column": 38 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1692, + "end": 1696, + "loc": { + "start": { + "line": 91, + "column": 39 + }, + "end": { + "line": 91, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1696, + "end": 1697, + "loc": { + "start": { + "line": 91, + "column": 43 + }, + "end": { + "line": 91, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "interval", + "start": 1697, + "end": 1705, + "loc": { + "start": { + "line": 91, + "column": 44 + }, + "end": { + "line": 91, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1705, + "end": 1706, + "loc": { + "start": { + "line": 91, + "column": 52 + }, + "end": { + "line": 91, + "column": 53 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1711, + "end": 1715, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1715, + "end": 1716, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uncounted", + "start": 1716, + "end": 1725, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1726, + "end": 1727, + "loc": { + "start": { + "line": 92, + "column": 19 + }, + "end": { + "line": 92, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1728, + "end": 1729, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1729, + "end": 1730, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 23 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1736, + "end": 1738, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1739, + "end": 1740, + "loc": { + "start": { + "line": 94, + "column": 7 + }, + "end": { + "line": 94, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1740, + "end": 1744, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1744, + "end": 1745, + "loc": { + "start": { + "line": 94, + "column": 12 + }, + "end": { + "line": 94, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initialized", + "start": 1745, + "end": 1756, + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1756, + "end": 1757, + "loc": { + "start": { + "line": 94, + "column": 24 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1758, + "end": 1759, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 94, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1766, + "end": 1770, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1770, + "end": 1771, + "loc": { + "start": { + "line": 95, + "column": 10 + }, + "end": { + "line": 95, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentRate", + "start": 1771, + "end": 1782, + "loc": { + "start": { + "line": 95, + "column": 11 + }, + "end": { + "line": 95, + "column": 22 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 1783, + "end": 1785, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1786, + "end": 1790, + "loc": { + "start": { + "line": 95, + "column": 26 + }, + "end": { + "line": 95, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1790, + "end": 1791, + "loc": { + "start": { + "line": 95, + "column": 30 + }, + "end": { + "line": 95, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "alpha", + "start": 1791, + "end": 1796, + "loc": { + "start": { + "line": 95, + "column": 31 + }, + "end": { + "line": 95, + "column": 36 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 1797, + "end": 1798, + "loc": { + "start": { + "line": 95, + "column": 37 + }, + "end": { + "line": 95, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 95, + "column": 39 + }, + "end": { + "line": 95, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "instantRate", + "start": 1800, + "end": 1811, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 51 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 1812, + "end": 1813, + "loc": { + "start": { + "line": 95, + "column": 52 + }, + "end": { + "line": 95, + "column": 53 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1814, + "end": 1818, + "loc": { + "start": { + "line": 95, + "column": 54 + }, + "end": { + "line": 95, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1818, + "end": 1819, + "loc": { + "start": { + "line": 95, + "column": 58 + }, + "end": { + "line": 95, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentRate", + "start": 1819, + "end": 1830, + "loc": { + "start": { + "line": 95, + "column": 59 + }, + "end": { + "line": 95, + "column": 70 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1830, + "end": 1831, + "loc": { + "start": { + "line": 95, + "column": 70 + }, + "end": { + "line": 95, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1831, + "end": 1832, + "loc": { + "start": { + "line": 95, + "column": 71 + }, + "end": { + "line": 95, + "column": 72 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1837, + "end": 1838, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1839, + "end": 1843, + "loc": { + "start": { + "line": 96, + "column": 6 + }, + "end": { + "line": 96, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1844, + "end": 1845, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1852, + "end": 1856, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1856, + "end": 1857, + "loc": { + "start": { + "line": 97, + "column": 10 + }, + "end": { + "line": 97, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentRate", + "start": 1857, + "end": 1868, + "loc": { + "start": { + "line": 97, + "column": 11 + }, + "end": { + "line": 97, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1869, + "end": 1870, + "loc": { + "start": { + "line": 97, + "column": 23 + }, + "end": { + "line": 97, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "instantRate", + "start": 1871, + "end": 1882, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1882, + "end": 1883, + "loc": { + "start": { + "line": 97, + "column": 36 + }, + "end": { + "line": 97, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1890, + "end": 1894, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1894, + "end": 1895, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initialized", + "start": 1895, + "end": 1906, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1907, + "end": 1908, + "loc": { + "start": { + "line": 98, + "column": 23 + }, + "end": { + "line": 98, + "column": 24 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1909, + "end": 1913, + "loc": { + "start": { + "line": 98, + "column": 25 + }, + "end": { + "line": 98, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1913, + "end": 1914, + "loc": { + "start": { + "line": 98, + "column": 29 + }, + "end": { + "line": 98, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1919, + "end": 1920, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1923, + "end": 1924, + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the rate per second.\n * @returns {number}\n ", + "start": 1928, + "end": 1993, + "loc": { + "start": { + "line": 102, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rate", + "start": 1996, + "end": 2000, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2000, + "end": 2001, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2001, + "end": 2002, + "loc": { + "start": { + "line": 106, + "column": 7 + }, + "end": { + "line": 106, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2003, + "end": 2004, + "loc": { + "start": { + "line": 106, + "column": 9 + }, + "end": { + "line": 106, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2009, + "end": 2015, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2016, + "end": 2020, + "loc": { + "start": { + "line": 107, + "column": 11 + }, + "end": { + "line": 107, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2020, + "end": 2021, + "loc": { + "start": { + "line": 107, + "column": 15 + }, + "end": { + "line": 107, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentRate", + "start": 2021, + "end": 2032, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 27 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2033, + "end": 2034, + "loc": { + "start": { + "line": 107, + "column": 28 + }, + "end": { + "line": 107, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 2035, + "end": 2039, + "loc": { + "start": { + "line": 107, + "column": 30 + }, + "end": { + "line": 107, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2039, + "end": 2040, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2043, + "end": 2044, + "loc": { + "start": { + "line": 108, + "column": 2 + }, + "end": { + "line": 108, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @returns {void}\n ", + "start": 2048, + "end": 2078, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stop", + "start": 2081, + "end": 2085, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 113, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2085, + "end": 2086, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2086, + "end": 2087, + "loc": { + "start": { + "line": 113, + "column": 7 + }, + "end": { + "line": 113, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2088, + "end": 2089, + "loc": { + "start": { + "line": 113, + "column": 9 + }, + "end": { + "line": 113, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearInterval", + "start": 2094, + "end": 2107, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2107, + "end": 2108, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2108, + "end": 2112, + "loc": { + "start": { + "line": 114, + "column": 18 + }, + "end": { + "line": 114, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2112, + "end": 2113, + "loc": { + "start": { + "line": 114, + "column": 22 + }, + "end": { + "line": 114, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tickInterval", + "start": 2113, + "end": 2125, + "loc": { + "start": { + "line": 114, + "column": 23 + }, + "end": { + "line": 114, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2125, + "end": 2126, + "loc": { + "start": { + "line": 114, + "column": 35 + }, + "end": { + "line": 114, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2126, + "end": 2127, + "loc": { + "start": { + "line": 114, + "column": 36 + }, + "end": { + "line": 114, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2130, + "end": 2131, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2132, + "end": 2133, + "loc": { + "start": { + "line": 116, + "column": 0 + }, + "end": { + "line": 116, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2133, + "end": 2133, + "loc": { + "start": { + "line": 116, + "column": 1 + }, + "end": { + "line": 116, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ISample.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ISample.js.json new file mode 100644 index 0000000..79877af --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/ISample.js.json @@ -0,0 +1,254 @@ +{ + "type": "File", + "start": 0, + "end": 757, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 757, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + }, + "sourceType": "module", + "body": [], + "directives": [ + { + "type": "Directive", + "start": 735, + "end": 748, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 735, + "end": 747, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name ISample.js\n * @fileoverview The \"ISample\" interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @exports ISample\n ", + "start": 0, + "end": 733, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 750, + "end": 757, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name ISample.js\n * @fileoverview The \"ISample\" interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @exports ISample\n ", + "start": 0, + "end": 733, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 750, + "end": 757, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name ISample.js\n * @fileoverview The \"ISample\" interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n * @exports ISample\n ", + "start": 0, + "end": 733, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 735, + "end": 747, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 747, + "end": 748, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 750, + "end": 757, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 757, + "end": 757, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/stats/Sample.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/Sample.js.json new file mode 100644 index 0000000..a47ca07 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/Sample.js.json @@ -0,0 +1,5251 @@ +{ + "type": "File", + "start": 0, + "end": 1314, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 67, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1314, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 67, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 138, + "end": 174, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 36 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 147, + "end": 154, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 16 + } + }, + "imported": { + "type": "Identifier", + "start": 147, + "end": 154, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 16 + }, + "identifierName": "ISample" + }, + "name": "ISample" + }, + "local": { + "type": "Identifier", + "start": 147, + "end": 154, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 16 + }, + "identifierName": "ISample" + }, + "name": "ISample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 162, + "end": 173, + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 35 + } + }, + "extra": { + "rawValue": "./ISample", + "raw": "'./ISample'" + }, + "value": "./ISample" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 176, + "end": 183, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 184, + "end": 1314, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 67, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 199, + "end": 1314, + "loc": { + "start": { + "line": 17, + "column": 15 + }, + "end": { + "line": 67, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 205, + "end": 211, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 27 + }, + "identifierName": "Sample" + }, + "name": "Sample", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 212, + "end": 1314, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 67, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 217, + "end": 327, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 217, + "end": 228, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 231, + "end": 327, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 260, + "end": 277, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 260, + "end": 276, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 260, + "end": 271, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 260, + "end": 264, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 265, + "end": 271, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 15 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrayExpression", + "start": 274, + "end": 276, + "loc": { + "start": { + "line": 21, + "column": 18 + }, + "end": { + "line": 21, + "column": 20 + } + }, + "elements": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {T[]} ", + "start": 237, + "end": 255, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 22 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 282, + "end": 303, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 308, + "end": 323, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 308, + "end": 322, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 308, + "end": 318, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 308, + "end": 312, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 313, + "end": 318, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NumericLiteral", + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 282, + "end": 303, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 25 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Initialize the sample, setting its count to zero and clearing out any previously-stored values.\n ", + "start": 331, + "end": 441, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 28, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 444, + "end": 474, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 31, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 444, + "end": 448, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 6 + }, + "identifierName": "init" + }, + "name": "init", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 451, + "end": 474, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 31, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 457, + "end": 470, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 457, + "end": 469, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 16 + } + }, + "callee": { + "type": "MemberExpression", + "start": 457, + "end": 467, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 457, + "end": 461, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 462, + "end": 467, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 14 + }, + "identifierName": "clear" + }, + "name": "clear" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Initialize the sample, setting its count to zero and clearing out any previously-stored values.\n ", + "start": 331, + "end": 441, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 28, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Add a value to the sample. Note: {@link timestamp} is currently unused.\n * @param {T} val - the value to add\n * @param {?number} [timestamp] - the time when the value was sampled\n ", + "start": 477, + "end": 674, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 36, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 677, + "end": 732, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 677, + "end": 683, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 8 + }, + "identifierName": "update" + }, + "name": "update", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 684, + "end": 687, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 12 + }, + "identifierName": "val" + }, + "name": "val" + }, + { + "type": "Identifier", + "start": 689, + "end": 698, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 23 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + } + ], + "body": { + "type": "BlockStatement", + "start": 700, + "end": 732, + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 39, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 706, + "end": 728, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 706, + "end": 727, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 706, + "end": 722, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 706, + "end": 717, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 706, + "end": 710, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 711, + "end": 717, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 15 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 718, + "end": 722, + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 20 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 723, + "end": 726, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 24 + }, + "identifierName": "val" + }, + "name": "val" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Add a value to the sample. Note: {@link timestamp} is currently unused.\n * @param {T} val - the value to add\n * @param {?number} [timestamp] - the time when the value was sampled\n ", + "start": 477, + "end": 674, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 36, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Reset the sample by removing all of its items and setting its count to zero.\n ", + "start": 735, + "end": 826, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 829, + "end": 884, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 829, + "end": 834, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 7 + }, + "identifierName": "clear" + }, + "name": "clear", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 837, + "end": 884, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 843, + "end": 860, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 843, + "end": 859, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 843, + "end": 854, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 843, + "end": 847, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 848, + "end": 854, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 15 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "right": { + "type": "ArrayExpression", + "start": 857, + "end": 859, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 20 + } + }, + "elements": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 865, + "end": 880, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 865, + "end": 879, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 865, + "end": 875, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 865, + "end": 869, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 878, + "end": 879, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Reset the sample by removing all of its items and setting its count to zero.\n ", + "start": 735, + "end": 826, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the number of items in the sample.\n * @return {number} the number of values in the sample.\n ", + "start": 887, + "end": 998, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 50, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1001, + "end": 1044, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 53, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1001, + "end": 1005, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 6 + }, + "identifierName": "size" + }, + "name": "size", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1008, + "end": 1044, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 53, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1014, + "end": 1040, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 30 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1021, + "end": 1039, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 1021, + "end": 1032, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1021, + "end": 1025, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1026, + "end": 1032, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 22 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1033, + "end": 1039, + "loc": { + "start": { + "line": 52, + "column": 23 + }, + "end": { + "line": 52, + "column": 29 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the number of items in the sample.\n * @return {number} the number of values in the sample.\n ", + "start": 887, + "end": 998, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 50, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the items in the sample as an array.\n * @return {Array} the set of values in the sample.\n ", + "start": 1047, + "end": 1156, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 57, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1159, + "end": 1200, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 60, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1159, + "end": 1168, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 58, + "column": 11 + }, + "identifierName": "getValues" + }, + "name": "getValues", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1171, + "end": 1200, + "loc": { + "start": { + "line": 58, + "column": 14 + }, + "end": { + "line": 60, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1177, + "end": 1196, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 23 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1184, + "end": 1195, + "loc": { + "start": { + "line": 59, + "column": 11 + }, + "end": { + "line": 59, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1184, + "end": 1188, + "loc": { + "start": { + "line": 59, + "column": 11 + }, + "end": { + "line": 59, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1189, + "end": 1195, + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 22 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get the items in the sample as an array.\n * @return {Array} the set of values in the sample.\n ", + "start": 1047, + "end": 1156, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 57, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Output the values of this sample to the console.\n ", + "start": 1203, + "end": 1266, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 63, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1269, + "end": 1312, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 66, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1269, + "end": 1274, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 64, + "column": 7 + }, + "identifierName": "print" + }, + "name": "print", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1277, + "end": 1312, + "loc": { + "start": { + "line": 64, + "column": 10 + }, + "end": { + "line": 66, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1283, + "end": 1308, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 1283, + "end": 1307, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 28 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1283, + "end": 1294, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 1283, + "end": 1290, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 11 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 1291, + "end": 1294, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 15 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1295, + "end": 1306, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 1295, + "end": 1299, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 1300, + "end": 1306, + "loc": { + "start": { + "line": 65, + "column": 21 + }, + "end": { + "line": 65, + "column": 27 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Output the values of this sample to the console.\n ", + "start": 1203, + "end": 1266, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 63, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 176, + "end": 183, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 176, + "end": 183, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 123, + "end": 136, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 123, + "end": 135, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Sample.js\n * @fileoverview Defines the \"Sample\" class.\n *\n * \n *\n * @requires ISample\n * @exports Sample\n ", + "start": 0, + "end": 121, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Sample.js\n * @fileoverview Defines the \"Sample\" class.\n *\n * \n *\n * @requires ISample\n * @exports Sample\n ", + "start": 0, + "end": 121, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 176, + "end": 183, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {T[]} ", + "start": 237, + "end": 255, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 282, + "end": 303, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Initialize the sample, setting its count to zero and clearing out any previously-stored values.\n ", + "start": 331, + "end": 441, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 28, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Add a value to the sample. Note: {@link timestamp} is currently unused.\n * @param {T} val - the value to add\n * @param {?number} [timestamp] - the time when the value was sampled\n ", + "start": 477, + "end": 674, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 36, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Reset the sample by removing all of its items and setting its count to zero.\n ", + "start": 735, + "end": 826, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the number of items in the sample.\n * @return {number} the number of values in the sample.\n ", + "start": 887, + "end": 998, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 50, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the items in the sample as an array.\n * @return {Array} the set of values in the sample.\n ", + "start": 1047, + "end": 1156, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 57, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Output the values of this sample to the console.\n ", + "start": 1203, + "end": 1266, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 63, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name Sample.js\n * @fileoverview Defines the \"Sample\" class.\n *\n * \n *\n * @requires ISample\n * @exports Sample\n ", + "start": 0, + "end": 121, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 123, + "end": 135, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 135, + "end": 136, + "loc": { + "start": { + "line": 11, + "column": 12 + }, + "end": { + "line": 11, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 138, + "end": 144, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 145, + "end": 146, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISample", + "start": 147, + "end": 154, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 155, + "end": 156, + "loc": { + "start": { + "line": 13, + "column": 17 + }, + "end": { + "line": 13, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 157, + "end": 161, + "loc": { + "start": { + "line": 13, + "column": 19 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./ISample", + "start": 162, + "end": 173, + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 173, + "end": 174, + "loc": { + "start": { + "line": 13, + "column": 35 + }, + "end": { + "line": 13, + "column": 36 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 176, + "end": 183, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 184, + "end": 190, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 191, + "end": 198, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 199, + "end": 204, + "loc": { + "start": { + "line": 17, + "column": 15 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 205, + "end": 211, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 212, + "end": 213, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 217, + "end": 228, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 228, + "end": 229, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 229, + "end": 230, + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {T[]} ", + "start": 237, + "end": 255, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 260, + "end": 264, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 264, + "end": 265, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 265, + "end": 271, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 17 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 274, + "end": 275, + "loc": { + "start": { + "line": 21, + "column": 18 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 275, + "end": 276, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 276, + "end": 277, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 21 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 282, + "end": 303, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 308, + "end": 312, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 312, + "end": 313, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 313, + "end": 318, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 319, + "end": 320, + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 322, + "end": 323, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 326, + "end": 327, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Initialize the sample, setting its count to zero and clearing out any previously-stored values.\n ", + "start": 331, + "end": 441, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 28, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "init", + "start": 444, + "end": 448, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 448, + "end": 449, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 449, + "end": 450, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 451, + "end": 452, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 457, + "end": 461, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 461, + "end": 462, + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 462, + "end": 467, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 467, + "end": 468, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 468, + "end": 469, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 469, + "end": 470, + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 473, + "end": 474, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Add a value to the sample. Note: {@link timestamp} is currently unused.\n * @param {T} val - the value to add\n * @param {?number} [timestamp] - the time when the value was sampled\n ", + "start": 477, + "end": 674, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 36, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 677, + "end": 683, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 683, + "end": 684, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 684, + "end": 687, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 687, + "end": 688, + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 689, + "end": 698, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 698, + "end": 699, + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 700, + "end": 701, + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 706, + "end": 710, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 710, + "end": 711, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 711, + "end": 717, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 717, + "end": 718, + "loc": { + "start": { + "line": 38, + "column": 15 + }, + "end": { + "line": 38, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 718, + "end": 722, + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 722, + "end": 723, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 723, + "end": 726, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 726, + "end": 727, + "loc": { + "start": { + "line": 38, + "column": 24 + }, + "end": { + "line": 38, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 727, + "end": 728, + "loc": { + "start": { + "line": 38, + "column": 25 + }, + "end": { + "line": 38, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 731, + "end": 732, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Reset the sample by removing all of its items and setting its count to zero.\n ", + "start": 735, + "end": 826, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 829, + "end": 834, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 834, + "end": 835, + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 835, + "end": 836, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 837, + "end": 838, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 43, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 843, + "end": 847, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 847, + "end": 848, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 848, + "end": 854, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 855, + "end": 856, + "loc": { + "start": { + "line": 44, + "column": 16 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 858, + "end": 859, + "loc": { + "start": { + "line": 44, + "column": 19 + }, + "end": { + "line": 44, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 859, + "end": 860, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 865, + "end": 869, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 876, + "end": 877, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 878, + "end": 879, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 879, + "end": 880, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 883, + "end": 884, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the number of items in the sample.\n * @return {number} the number of values in the sample.\n ", + "start": 887, + "end": 998, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 50, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 1001, + "end": 1005, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1005, + "end": 1006, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1006, + "end": 1007, + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 51, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1008, + "end": 1009, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1014, + "end": 1020, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1021, + "end": 1025, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1025, + "end": 1026, + "loc": { + "start": { + "line": 52, + "column": 15 + }, + "end": { + "line": 52, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1026, + "end": 1032, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1032, + "end": 1033, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1033, + "end": 1039, + "loc": { + "start": { + "line": 52, + "column": 23 + }, + "end": { + "line": 52, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1039, + "end": 1040, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get the items in the sample as an array.\n * @return {Array} the set of values in the sample.\n ", + "start": 1047, + "end": 1156, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 57, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getValues", + "start": 1159, + "end": 1168, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1168, + "end": 1169, + "loc": { + "start": { + "line": 58, + "column": 11 + }, + "end": { + "line": 58, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1169, + "end": 1170, + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1171, + "end": 1172, + "loc": { + "start": { + "line": 58, + "column": 14 + }, + "end": { + "line": 58, + "column": 15 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1177, + "end": 1183, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1184, + "end": 1188, + "loc": { + "start": { + "line": 59, + "column": 11 + }, + "end": { + "line": 59, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1188, + "end": 1189, + "loc": { + "start": { + "line": 59, + "column": 15 + }, + "end": { + "line": 59, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1189, + "end": 1195, + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1195, + "end": 1196, + "loc": { + "start": { + "line": 59, + "column": 22 + }, + "end": { + "line": 59, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1199, + "end": 1200, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Output the values of this sample to the console.\n ", + "start": 1203, + "end": 1266, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 63, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "print", + "start": 1269, + "end": 1274, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 64, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1274, + "end": 1275, + "loc": { + "start": { + "line": 64, + "column": 7 + }, + "end": { + "line": 64, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1275, + "end": 1276, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1277, + "end": 1278, + "loc": { + "start": { + "line": 64, + "column": 10 + }, + "end": { + "line": 64, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 1283, + "end": 1290, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1290, + "end": 1291, + "loc": { + "start": { + "line": 65, + "column": 11 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 1291, + "end": 1294, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1294, + "end": 1295, + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1295, + "end": 1299, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1299, + "end": 1300, + "loc": { + "start": { + "line": 65, + "column": 20 + }, + "end": { + "line": 65, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1300, + "end": 1306, + "loc": { + "start": { + "line": 65, + "column": 21 + }, + "end": { + "line": 65, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1306, + "end": 1307, + "loc": { + "start": { + "line": 65, + "column": 27 + }, + "end": { + "line": 65, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1307, + "end": 1308, + "loc": { + "start": { + "line": 65, + "column": 28 + }, + "end": { + "line": 65, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1311, + "end": 1312, + "loc": { + "start": { + "line": 66, + "column": 2 + }, + "end": { + "line": 66, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1313, + "end": 1314, + "loc": { + "start": { + "line": 67, + "column": 0 + }, + "end": { + "line": 67, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1314, + "end": 1314, + "loc": { + "start": { + "line": 67, + "column": 1 + }, + "end": { + "line": 67, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/stats/UniformSample.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/UniformSample.js.json new file mode 100644 index 0000000..894be7a --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/UniformSample.js.json @@ -0,0 +1,5102 @@ +{ + "type": "File", + "start": 0, + "end": 1253, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1253, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 158, + "end": 188, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 30 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 165, + "end": 171, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 165, + "end": 171, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 13 + }, + "identifierName": "Sample" + }, + "name": "Sample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 177, + "end": 187, + "loc": { + "start": { + "line": 13, + "column": 19 + }, + "end": { + "line": 13, + "column": 29 + } + }, + "extra": { + "rawValue": "./Sample", + "raw": "'./Sample'" + }, + "value": "./Sample" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Take a uniform sample of size \"size\" for all values.\n * @extends {Sample}\n ", + "start": 190, + "end": 274, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 275, + "end": 1253, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 290, + "end": 1253, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 296, + "end": 309, + "loc": { + "start": { + "line": 19, + "column": 21 + }, + "end": { + "line": 19, + "column": 34 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample", + "leadingComments": null + }, + "superClass": { + "type": "Identifier", + "start": 318, + "end": 324, + "loc": { + "start": { + "line": 19, + "column": 43 + }, + "end": { + "line": 19, + "column": 49 + }, + "identifierName": "Sample" + }, + "name": "Sample" + }, + "body": { + "type": "ClassBody", + "start": 325, + "end": 1253, + "loc": { + "start": { + "line": 19, + "column": 50 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 413, + "end": 561, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 31, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 413, + "end": 424, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 425, + "end": 429, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 18 + }, + "identifierName": "size" + }, + "name": "size" + } + ], + "body": { + "type": "BlockStatement", + "start": 431, + "end": 561, + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 31, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 437, + "end": 445, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 12 + } + }, + "expression": { + "type": "CallExpression", + "start": 437, + "end": 444, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 11 + } + }, + "callee": { + "type": "Super", + "start": 437, + "end": 442, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 9 + } + } + }, + "arguments": [] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 450, + "end": 471, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 476, + "end": 494, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 476, + "end": 493, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 476, + "end": 486, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 476, + "end": 480, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 481, + "end": 486, + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 14 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 489, + "end": 493, + "loc": { + "start": { + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 21 + }, + "identifierName": "size" + }, + "name": "size" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 450, + "end": 471, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 499, + "end": 520, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 525, + "end": 540, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 525, + "end": 539, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 525, + "end": 535, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 525, + "end": 529, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 530, + "end": 535, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NumericLiteral", + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 499, + "end": 520, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 545, + "end": 557, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 16 + } + }, + "expression": { + "type": "CallExpression", + "start": 545, + "end": 556, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 545, + "end": 554, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 545, + "end": 549, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 550, + "end": 554, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 13 + }, + "identifierName": "init" + }, + "name": "init" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} size - the maximum number of items in this sample\n ", + "start": 330, + "end": 410, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 23, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Add {@link val} to the set of values that make up the sample. Note, if\n * the sample size is already equal to the maximum sample size, the new value\n * may replace a randomly-chosen existing sample value.\n *\n * @param {T} val - the value to add to those sampled\n * @param {?number} timestamp - the time when {@link val} was sampled (currently unused)\n ", + "start": 565, + "end": 940, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 943, + "end": 1251, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 52, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 943, + "end": 949, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 8 + }, + "identifierName": "update" + }, + "name": "update", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 950, + "end": 953, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 12 + }, + "identifierName": "val" + }, + "name": "val" + }, + { + "type": "Identifier", + "start": 955, + "end": 964, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 23 + }, + "identifierName": "timestamp" + }, + "name": "timestamp" + } + ], + "body": { + "type": "BlockStatement", + "start": 966, + "end": 1251, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 52, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 972, + "end": 985, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 17 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 972, + "end": 984, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 16 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 972, + "end": 982, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 972, + "end": 976, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 977, + "end": 982, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 14 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + } + }, + { + "type": "IfStatement", + "start": 990, + "end": 1247, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 51, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 994, + "end": 1018, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 32 + } + }, + "left": { + "type": "CallExpression", + "start": 994, + "end": 1005, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 994, + "end": 1003, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 994, + "end": 998, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 999, + "end": 1003, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 17 + }, + "identifierName": "size" + }, + "name": "size" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 1008, + "end": 1018, + "loc": { + "start": { + "line": 43, + "column": 22 + }, + "end": { + "line": 43, + "column": 32 + } + }, + "object": { + "type": "ThisExpression", + "start": 1008, + "end": 1012, + "loc": { + "start": { + "line": 43, + "column": 22 + }, + "end": { + "line": 43, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 1013, + "end": 1018, + "loc": { + "start": { + "line": 43, + "column": 27 + }, + "end": { + "line": 43, + "column": 32 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1020, + "end": 1107, + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 46, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1079, + "end": 1101, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 28 + } + }, + "expression": { + "type": "CallExpression", + "start": 1079, + "end": 1100, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 27 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1079, + "end": 1095, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 1079, + "end": 1090, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 1079, + "end": 1083, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 10 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1084, + "end": 1090, + "loc": { + "start": { + "line": 45, + "column": 11 + }, + "end": { + "line": 45, + "column": 17 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1091, + "end": 1095, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 22 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 1096, + "end": 1099, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 26 + }, + "identifierName": "val" + }, + "name": "val" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " console.log(\"Adding \"+val+\" to values.\");", + "start": 1028, + "end": 1072, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 50 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1113, + "end": 1247, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 51, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1121, + "end": 1169, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 54 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1125, + "end": 1168, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 53 + } + }, + "id": { + "type": "Identifier", + "start": 1125, + "end": 1129, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 14 + }, + "identifierName": "rand" + }, + "name": "rand" + }, + "init": { + "type": "CallExpression", + "start": 1132, + "end": 1168, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 1132, + "end": 1140, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 25 + }, + "identifierName": "parseInt" + }, + "name": "parseInt" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 1141, + "end": 1167, + "loc": { + "start": { + "line": 47, + "column": 26 + }, + "end": { + "line": 47, + "column": 52 + } + }, + "left": { + "type": "CallExpression", + "start": 1141, + "end": 1154, + "loc": { + "start": { + "line": 47, + "column": 26 + }, + "end": { + "line": 47, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1141, + "end": 1152, + "loc": { + "start": { + "line": 47, + "column": 26 + }, + "end": { + "line": 47, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 1141, + "end": 1145, + "loc": { + "start": { + "line": 47, + "column": 26 + }, + "end": { + "line": 47, + "column": 30 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 1146, + "end": 1152, + "loc": { + "start": { + "line": 47, + "column": 31 + }, + "end": { + "line": 47, + "column": 37 + }, + "identifierName": "random" + }, + "name": "random" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "MemberExpression", + "start": 1157, + "end": 1167, + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 47, + "column": 52 + } + }, + "object": { + "type": "ThisExpression", + "start": 1157, + "end": 1161, + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 47, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 1162, + "end": 1167, + "loc": { + "start": { + "line": 47, + "column": 47 + }, + "end": { + "line": 47, + "column": 52 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + } + } + ] + } + } + ], + "kind": "var" + }, + { + "type": "IfStatement", + "start": 1176, + "end": 1241, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 50, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1180, + "end": 1197, + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 1180, + "end": 1184, + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 14 + }, + "identifierName": "rand" + }, + "name": "rand" + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 1187, + "end": 1197, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 1187, + "end": 1191, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 1192, + "end": 1197, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 48, + "column": 27 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1199, + "end": 1241, + "loc": { + "start": { + "line": 48, + "column": 29 + }, + "end": { + "line": 50, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1209, + "end": 1233, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1209, + "end": 1232, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1209, + "end": 1226, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 1209, + "end": 1220, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 1209, + "end": 1213, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1214, + "end": 1220, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 19 + }, + "identifierName": "values" + }, + "name": "values" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1221, + "end": 1225, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 24 + }, + "identifierName": "rand" + }, + "name": "rand" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 1229, + "end": 1232, + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 31 + }, + "identifierName": "val" + }, + "name": "val" + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Add {@link val} to the set of values that make up the sample. Note, if\n * the sample size is already equal to the maximum sample size, the new value\n * may replace a randomly-chosen existing sample value.\n *\n * @param {T} val - the value to add to those sampled\n * @param {?number} timestamp - the time when {@link val} was sampled (currently unused)\n ", + "start": 565, + "end": 940, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Take a uniform sample of size \"size\" for all values.\n * @extends {Sample}\n ", + "start": 190, + "end": 274, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Take a uniform sample of size \"size\" for all values.\n * @extends {Sample}\n ", + "start": 190, + "end": 274, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + } + ], + "directives": [ + { + "type": "Directive", + "start": 143, + "end": 156, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 143, + "end": 155, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name UniformSample.js\n * @fileoverview Defines the \"UniformSample\" class.\n *\n * \n *\n * @requires Sample\n * @exports UniformSample\n ", + "start": 0, + "end": 141, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name UniformSample.js\n * @fileoverview Defines the \"UniformSample\" class.\n *\n * \n *\n * @requires Sample\n * @exports UniformSample\n ", + "start": 0, + "end": 141, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Take a uniform sample of size \"size\" for all values.\n * @extends {Sample}\n ", + "start": 190, + "end": 274, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} size - the maximum number of items in this sample\n ", + "start": 330, + "end": 410, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 450, + "end": 471, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 499, + "end": 520, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Add {@link val} to the set of values that make up the sample. Note, if\n * the sample size is already equal to the maximum sample size, the new value\n * may replace a randomly-chosen existing sample value.\n *\n * @param {T} val - the value to add to those sampled\n * @param {?number} timestamp - the time when {@link val} was sampled (currently unused)\n ", + "start": 565, + "end": 940, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " console.log(\"Adding \"+val+\" to values.\");", + "start": 1028, + "end": 1072, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 50 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name UniformSample.js\n * @fileoverview Defines the \"UniformSample\" class.\n *\n * \n *\n * @requires Sample\n * @exports UniformSample\n ", + "start": 0, + "end": 141, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 143, + "end": 155, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 155, + "end": 156, + "loc": { + "start": { + "line": 11, + "column": 12 + }, + "end": { + "line": 11, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 158, + "end": 164, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 165, + "end": 171, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 172, + "end": 176, + "loc": { + "start": { + "line": 13, + "column": 14 + }, + "end": { + "line": 13, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Sample", + "start": 177, + "end": 187, + "loc": { + "start": { + "line": 13, + "column": 19 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 187, + "end": 188, + "loc": { + "start": { + "line": 13, + "column": 29 + }, + "end": { + "line": 13, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Take a uniform sample of size \"size\" for all values.\n * @extends {Sample}\n ", + "start": 190, + "end": 274, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 275, + "end": 281, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 282, + "end": 289, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 290, + "end": 295, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 296, + "end": 309, + "loc": { + "start": { + "line": 19, + "column": 21 + }, + "end": { + "line": 19, + "column": 34 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 310, + "end": 317, + "loc": { + "start": { + "line": 19, + "column": 35 + }, + "end": { + "line": 19, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 318, + "end": 324, + "loc": { + "start": { + "line": 19, + "column": 43 + }, + "end": { + "line": 19, + "column": 49 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 325, + "end": 326, + "loc": { + "start": { + "line": 19, + "column": 50 + }, + "end": { + "line": 19, + "column": 51 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} size - the maximum number of items in this sample\n ", + "start": 330, + "end": 410, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 413, + "end": 424, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 424, + "end": 425, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 425, + "end": 429, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 429, + "end": 430, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 431, + "end": 432, + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 24, + "column": 21 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 437, + "end": 442, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 442, + "end": 443, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 443, + "end": 444, + "loc": { + "start": { + "line": 25, + "column": 10 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 444, + "end": 445, + "loc": { + "start": { + "line": 25, + "column": 11 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 450, + "end": 471, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 476, + "end": 480, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 480, + "end": 481, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limit", + "start": 481, + "end": 486, + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 487, + "end": 488, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 489, + "end": 493, + "loc": { + "start": { + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 493, + "end": 494, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {number} ", + "start": 499, + "end": 520, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 525, + "end": 529, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 529, + "end": 530, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 530, + "end": 535, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 536, + "end": 537, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 539, + "end": 540, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 545, + "end": 549, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 549, + "end": 550, + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "init", + "start": 550, + "end": 554, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 554, + "end": 555, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 556, + "end": 557, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 560, + "end": 561, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Add {@link val} to the set of values that make up the sample. Note, if\n * the sample size is already equal to the maximum sample size, the new value\n * may replace a randomly-chosen existing sample value.\n *\n * @param {T} val - the value to add to those sampled\n * @param {?number} timestamp - the time when {@link val} was sampled (currently unused)\n ", + "start": 565, + "end": 940, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "update", + "start": 943, + "end": 949, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 949, + "end": 950, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 950, + "end": 953, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 953, + "end": 954, + "loc": { + "start": { + "line": 41, + "column": 12 + }, + "end": { + "line": 41, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timestamp", + "start": 955, + "end": 964, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 964, + "end": 965, + "loc": { + "start": { + "line": 41, + "column": 23 + }, + "end": { + "line": 41, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 966, + "end": 967, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 972, + "end": 976, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 976, + "end": 977, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 977, + "end": 982, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 14 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 982, + "end": 984, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 984, + "end": 985, + "loc": { + "start": { + "line": 42, + "column": 16 + }, + "end": { + "line": 42, + "column": 17 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 990, + "end": 992, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 993, + "end": 994, + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 994, + "end": 998, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 998, + "end": 999, + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 999, + "end": 1003, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1003, + "end": 1004, + "loc": { + "start": { + "line": 43, + "column": 17 + }, + "end": { + "line": 43, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1004, + "end": 1005, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 1006, + "end": 1007, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1008, + "end": 1012, + "loc": { + "start": { + "line": 43, + "column": 22 + }, + "end": { + "line": 43, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1012, + "end": 1013, + "loc": { + "start": { + "line": 43, + "column": 26 + }, + "end": { + "line": 43, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limit", + "start": 1013, + "end": 1018, + "loc": { + "start": { + "line": 43, + "column": 27 + }, + "end": { + "line": 43, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1018, + "end": 1019, + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1020, + "end": 1021, + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 43, + "column": 35 + } + } + }, + { + "type": "CommentLine", + "value": " console.log(\"Adding \"+val+\" to values.\");", + "start": 1028, + "end": 1072, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 50 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1079, + "end": 1083, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1083, + "end": 1084, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1084, + "end": 1090, + "loc": { + "start": { + "line": 45, + "column": 11 + }, + "end": { + "line": 45, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1090, + "end": 1091, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 1091, + "end": 1095, + "loc": { + "start": { + "line": 45, + "column": 18 + }, + "end": { + "line": 45, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1095, + "end": 1096, + "loc": { + "start": { + "line": 45, + "column": 22 + }, + "end": { + "line": 45, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1096, + "end": 1099, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1099, + "end": 1100, + "loc": { + "start": { + "line": 45, + "column": 26 + }, + "end": { + "line": 45, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1100, + "end": 1101, + "loc": { + "start": { + "line": 45, + "column": 27 + }, + "end": { + "line": 45, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1106, + "end": 1107, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1108, + "end": 1112, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1113, + "end": 1114, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 12 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 1121, + "end": 1124, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rand", + "start": 1125, + "end": 1129, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1130, + "end": 1131, + "loc": { + "start": { + "line": 47, + "column": 15 + }, + "end": { + "line": 47, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseInt", + "start": 1132, + "end": 1140, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1140, + "end": 1141, + "loc": { + "start": { + "line": 47, + "column": 25 + }, + "end": { + "line": 47, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 1141, + "end": 1145, + "loc": { + "start": { + "line": 47, + "column": 26 + }, + "end": { + "line": 47, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1145, + "end": 1146, + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 47, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "random", + "start": 1146, + "end": 1152, + "loc": { + "start": { + "line": 47, + "column": 31 + }, + "end": { + "line": 47, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1152, + "end": 1153, + "loc": { + "start": { + "line": 47, + "column": 37 + }, + "end": { + "line": 47, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1153, + "end": 1154, + "loc": { + "start": { + "line": 47, + "column": 38 + }, + "end": { + "line": 47, + "column": 39 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 1155, + "end": 1156, + "loc": { + "start": { + "line": 47, + "column": 40 + }, + "end": { + "line": 47, + "column": 41 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1157, + "end": 1161, + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 47, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1161, + "end": 1162, + "loc": { + "start": { + "line": 47, + "column": 46 + }, + "end": { + "line": 47, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "count", + "start": 1162, + "end": 1167, + "loc": { + "start": { + "line": 47, + "column": 47 + }, + "end": { + "line": 47, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1167, + "end": 1168, + "loc": { + "start": { + "line": 47, + "column": 52 + }, + "end": { + "line": 47, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1168, + "end": 1169, + "loc": { + "start": { + "line": 47, + "column": 53 + }, + "end": { + "line": 47, + "column": 54 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1176, + "end": 1178, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 48, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1179, + "end": 1180, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rand", + "start": 1180, + "end": 1184, + "loc": { + "start": { + "line": 48, + "column": 10 + }, + "end": { + "line": 48, + "column": 14 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 1185, + "end": 1186, + "loc": { + "start": { + "line": 48, + "column": 15 + }, + "end": { + "line": 48, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1187, + "end": 1191, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1191, + "end": 1192, + "loc": { + "start": { + "line": 48, + "column": 21 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limit", + "start": 1192, + "end": 1197, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 48, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1197, + "end": 1198, + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1199, + "end": 1200, + "loc": { + "start": { + "line": 48, + "column": 29 + }, + "end": { + "line": 48, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1209, + "end": 1213, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1213, + "end": 1214, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "values", + "start": 1214, + "end": 1220, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1220, + "end": 1221, + "loc": { + "start": { + "line": 49, + "column": 19 + }, + "end": { + "line": 49, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rand", + "start": 1221, + "end": 1225, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 24 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1225, + "end": 1226, + "loc": { + "start": { + "line": 49, + "column": 24 + }, + "end": { + "line": 49, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1227, + "end": 1228, + "loc": { + "start": { + "line": 49, + "column": 26 + }, + "end": { + "line": 49, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1229, + "end": 1232, + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1232, + "end": 1233, + "loc": { + "start": { + "line": 49, + "column": 31 + }, + "end": { + "line": 49, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1240, + "end": 1241, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1250, + "end": 1251, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1252, + "end": 1253, + "loc": { + "start": { + "line": 53, + "column": 0 + }, + "end": { + "line": 53, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1253, + "end": 1253, + "loc": { + "start": { + "line": 53, + "column": 1 + }, + "end": { + "line": 53, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/stats/index.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/index.js.json new file mode 100644 index 0000000..61d6434 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/index.js.json @@ -0,0 +1,1728 @@ +{ + "type": "File", + "start": 0, + "end": 689, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 22, + "column": 77 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 689, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 22, + "column": 77 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 372, + "end": 428, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 56 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 379, + "end": 383, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 11 + } + }, + "local": { + "type": "Identifier", + "start": 379, + "end": 383, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 11 + }, + "identifierName": "EWMA" + }, + "name": "EWMA", + "leadingComments": null + }, + "leadingComments": null + } + ], + "source": { + "type": "StringLiteral", + "start": 389, + "end": 427, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 55 + } + }, + "extra": { + "rawValue": "./ExponentiallyWeightedMovingAverage", + "raw": "'./ExponentiallyWeightedMovingAverage'" + }, + "value": "./ExponentiallyWeightedMovingAverage" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/metrics/.../stats\n * @fileoverview Stats package\n *\n * @requires ExponentiallyWeightedMovingAverage\n * @requires ExponentiallyDecayingSample\n * @requires Sample\n * @requires ISample\n * @requires UniformSample\n * @exports EWMA\n * @exports ExponentiallyDecayingSample\n * @exports ISample\n * @exports Sample\n * @exports UniformSample\n ", + "start": 0, + "end": 371, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 429, + "end": 501, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 72 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 436, + "end": 463, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 34 + } + }, + "local": { + "type": "Identifier", + "start": 436, + "end": 463, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 34 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 469, + "end": 500, + "loc": { + "start": { + "line": 17, + "column": 40 + }, + "end": { + "line": 17, + "column": 71 + } + }, + "extra": { + "rawValue": "./ExponentiallyDecayingSample", + "raw": "'./ExponentiallyDecayingSample'" + }, + "value": "./ExponentiallyDecayingSample" + } + }, + { + "type": "ImportDeclaration", + "start": 502, + "end": 532, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 30 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 509, + "end": 515, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 509, + "end": 515, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 13 + }, + "identifierName": "Sample" + }, + "name": "Sample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 521, + "end": 531, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 29 + } + }, + "extra": { + "rawValue": "./Sample", + "raw": "'./Sample'" + }, + "value": "./Sample" + } + }, + { + "type": "ImportDeclaration", + "start": 533, + "end": 565, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 32 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 540, + "end": 547, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 540, + "end": 547, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 14 + }, + "identifierName": "ISample" + }, + "name": "ISample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 553, + "end": 564, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 31 + } + }, + "extra": { + "rawValue": "./ISample", + "raw": "'./ISample'" + }, + "value": "./ISample" + } + }, + { + "type": "ImportDeclaration", + "start": 566, + "end": 610, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 44 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 573, + "end": 586, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 20 + } + }, + "local": { + "type": "Identifier", + "start": 573, + "end": 586, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 20 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 592, + "end": 609, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 43 + } + }, + "extra": { + "rawValue": "./UniformSample", + "raw": "'./UniformSample'" + }, + "value": "./UniformSample" + } + }, + { + "type": "ExportNamedDeclaration", + "start": 612, + "end": 689, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 77 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 621, + "end": 625, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 621, + "end": 625, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 13 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + }, + "exported": { + "type": "Identifier", + "start": 621, + "end": 625, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 13 + }, + "identifierName": "EWMA" + }, + "name": "EWMA" + } + }, + { + "type": "ExportSpecifier", + "start": 627, + "end": 654, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 42 + } + }, + "local": { + "type": "Identifier", + "start": 627, + "end": 654, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 42 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + }, + "exported": { + "type": "Identifier", + "start": 627, + "end": 654, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 42 + }, + "identifierName": "ExponentiallyDecayingSample" + }, + "name": "ExponentiallyDecayingSample" + } + }, + { + "type": "ExportSpecifier", + "start": 656, + "end": 663, + "loc": { + "start": { + "line": 22, + "column": 44 + }, + "end": { + "line": 22, + "column": 51 + } + }, + "local": { + "type": "Identifier", + "start": 656, + "end": 663, + "loc": { + "start": { + "line": 22, + "column": 44 + }, + "end": { + "line": 22, + "column": 51 + }, + "identifierName": "ISample" + }, + "name": "ISample" + }, + "exported": { + "type": "Identifier", + "start": 656, + "end": 663, + "loc": { + "start": { + "line": 22, + "column": 44 + }, + "end": { + "line": 22, + "column": 51 + }, + "identifierName": "ISample" + }, + "name": "ISample" + } + }, + { + "type": "ExportSpecifier", + "start": 665, + "end": 671, + "loc": { + "start": { + "line": 22, + "column": 53 + }, + "end": { + "line": 22, + "column": 59 + } + }, + "local": { + "type": "Identifier", + "start": 665, + "end": 671, + "loc": { + "start": { + "line": 22, + "column": 53 + }, + "end": { + "line": 22, + "column": 59 + }, + "identifierName": "Sample" + }, + "name": "Sample" + }, + "exported": { + "type": "Identifier", + "start": 665, + "end": 671, + "loc": { + "start": { + "line": 22, + "column": 53 + }, + "end": { + "line": 22, + "column": 59 + }, + "identifierName": "Sample" + }, + "name": "Sample" + } + }, + { + "type": "ExportSpecifier", + "start": 673, + "end": 686, + "loc": { + "start": { + "line": 22, + "column": 61 + }, + "end": { + "line": 22, + "column": 74 + } + }, + "local": { + "type": "Identifier", + "start": 673, + "end": 686, + "loc": { + "start": { + "line": 22, + "column": 61 + }, + "end": { + "line": 22, + "column": 74 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + }, + "exported": { + "type": "Identifier", + "start": 673, + "end": 686, + "loc": { + "start": { + "line": 22, + "column": 61 + }, + "end": { + "line": 22, + "column": 74 + }, + "identifierName": "UniformSample" + }, + "name": "UniformSample" + } + } + ], + "source": null + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/metrics/.../stats\n * @fileoverview Stats package\n *\n * @requires ExponentiallyWeightedMovingAverage\n * @requires ExponentiallyDecayingSample\n * @requires Sample\n * @requires ISample\n * @requires UniformSample\n * @exports EWMA\n * @exports ExponentiallyDecayingSample\n * @exports ISample\n * @exports Sample\n * @exports UniformSample\n ", + "start": 0, + "end": 371, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/metrics/.../stats\n * @fileoverview Stats package\n *\n * @requires ExponentiallyWeightedMovingAverage\n * @requires ExponentiallyDecayingSample\n * @requires Sample\n * @requires ISample\n * @requires UniformSample\n * @exports EWMA\n * @exports ExponentiallyDecayingSample\n * @exports ISample\n * @exports Sample\n * @exports UniformSample\n ", + "start": 0, + "end": 371, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 372, + "end": 378, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 379, + "end": 383, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 384, + "end": 388, + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./ExponentiallyWeightedMovingAverage", + "start": 389, + "end": 427, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 427, + "end": 428, + "loc": { + "start": { + "line": 16, + "column": 55 + }, + "end": { + "line": 16, + "column": 56 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 429, + "end": 435, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 436, + "end": 463, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 464, + "end": 468, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 17, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./ExponentiallyDecayingSample", + "start": 469, + "end": 500, + "loc": { + "start": { + "line": 17, + "column": 40 + }, + "end": { + "line": 17, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 500, + "end": 501, + "loc": { + "start": { + "line": 17, + "column": 71 + }, + "end": { + "line": 17, + "column": 72 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 502, + "end": 508, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 509, + "end": 515, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 516, + "end": 520, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Sample", + "start": 521, + "end": 531, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 531, + "end": 532, + "loc": { + "start": { + "line": 18, + "column": 29 + }, + "end": { + "line": 18, + "column": 30 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 533, + "end": 539, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISample", + "start": 540, + "end": 547, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 548, + "end": 552, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./ISample", + "start": 553, + "end": 564, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 564, + "end": 565, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 566, + "end": 572, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 573, + "end": 586, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 587, + "end": 591, + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./UniformSample", + "start": 592, + "end": 609, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 609, + "end": 610, + "loc": { + "start": { + "line": 20, + "column": 43 + }, + "end": { + "line": 20, + "column": 44 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 612, + "end": 618, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 619, + "end": 620, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EWMA", + "start": 621, + "end": 625, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ExponentiallyDecayingSample", + "start": 627, + "end": 654, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 654, + "end": 655, + "loc": { + "start": { + "line": 22, + "column": 42 + }, + "end": { + "line": 22, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISample", + "start": 656, + "end": 663, + "loc": { + "start": { + "line": 22, + "column": 44 + }, + "end": { + "line": 22, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 663, + "end": 664, + "loc": { + "start": { + "line": 22, + "column": 51 + }, + "end": { + "line": 22, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Sample", + "start": 665, + "end": 671, + "loc": { + "start": { + "line": 22, + "column": 53 + }, + "end": { + "line": 22, + "column": 59 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 671, + "end": 672, + "loc": { + "start": { + "line": 22, + "column": 59 + }, + "end": { + "line": 22, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UniformSample", + "start": 673, + "end": 686, + "loc": { + "start": { + "line": 22, + "column": 61 + }, + "end": { + "line": 22, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 687, + "end": 688, + "loc": { + "start": { + "line": 22, + "column": 75 + }, + "end": { + "line": 22, + "column": 76 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 688, + "end": 689, + "loc": { + "start": { + "line": 22, + "column": 76 + }, + "end": { + "line": 22, + "column": 77 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 689, + "end": 689, + "loc": { + "start": { + "line": 22, + "column": 77 + }, + "end": { + "line": 22, + "column": 77 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/stats/lib/binary_heap.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/lib/binary_heap.js.json new file mode 100644 index 0000000..d18d836 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/lib/binary_heap.js.json @@ -0,0 +1,25433 @@ +{ + "type": "File", + "start": 0, + "end": 4045, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 130, + "column": 2 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 4045, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 130, + "column": 2 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 125, + "end": 156, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 31 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 129, + "end": 155, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 30 + } + }, + "id": { + "type": "Identifier", + "start": 129, + "end": 134, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 9 + }, + "identifierName": "utils" + }, + "name": "utils", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 137, + "end": 155, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 137, + "end": 144, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 19 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 145, + "end": 154, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 29 + } + }, + "extra": { + "rawValue": "./utils", + "raw": "'./utils'" + }, + "value": "./utils" + } + ] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " From http://eloquentjavascript.net/appendix2.html,", + "start": 0, + "end": 53, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + { + "type": "CommentLine", + "value": " licensed under CCv3.0: http://creativecommons.org/licenses/by/3.0/", + "start": 54, + "end": 123, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 69 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": " This acts as a ordered binary heap for any serializeable JS object or collection of such objects ", + "start": 158, + "end": 260, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 102 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 261, + "end": 393, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 10, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 265, + "end": 392, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 265, + "end": 275, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 14 + }, + "identifierName": "BinaryHeap" + }, + "name": "BinaryHeap", + "leadingComments": null + }, + "init": { + "type": "AssignmentExpression", + "start": 278, + "end": 392, + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 278, + "end": 292, + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 278, + "end": 284, + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 23 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 285, + "end": 292, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 31 + }, + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "FunctionExpression", + "start": 295, + "end": 392, + "loc": { + "start": { + "line": 7, + "column": 34 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 304, + "end": 314, + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 53 + }, + "identifierName": "BinaryHeap" + }, + "name": "BinaryHeap" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 315, + "end": 328, + "loc": { + "start": { + "line": 7, + "column": 54 + }, + "end": { + "line": 7, + "column": 67 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + } + ], + "body": { + "type": "BlockStatement", + "start": 330, + "end": 392, + "loc": { + "start": { + "line": 7, + "column": 69 + }, + "end": { + "line": 10, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 334, + "end": 352, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 334, + "end": 351, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 334, + "end": 346, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 334, + "end": 338, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 339, + "end": 346, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "right": { + "type": "ArrayExpression", + "start": 349, + "end": 351, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 19 + } + }, + "elements": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 355, + "end": 390, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 37 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 355, + "end": 389, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 36 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 355, + "end": 373, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 355, + "end": 359, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 360, + "end": 373, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 20 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 376, + "end": 389, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 36 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + } + } + } + ], + "directives": [] + } + } + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentBlock", + "value": " This acts as a ordered binary heap for any serializeable JS object or collection of such objects ", + "start": 158, + "end": 260, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 102 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 395, + "end": 4045, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 130, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 395, + "end": 4044, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 130, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 395, + "end": 415, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 395, + "end": 405, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 10 + }, + "identifierName": "BinaryHeap" + }, + "name": "BinaryHeap" + }, + "property": { + "type": "Identifier", + "start": 406, + "end": 415, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 20 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "right": { + "type": "ObjectExpression", + "start": 418, + "end": 4044, + "loc": { + "start": { + "line": 12, + "column": 23 + }, + "end": { + "line": 130, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 422, + "end": 613, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 18, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 422, + "end": 427, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 7 + }, + "identifierName": "clone" + }, + "name": "clone" + }, + "value": { + "type": "FunctionExpression", + "start": 429, + "end": 613, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 18, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 441, + "end": 613, + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 18, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 447, + "end": 493, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 50 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 451, + "end": 492, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 49 + } + }, + "id": { + "type": "Identifier", + "start": 451, + "end": 455, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 12 + }, + "identifierName": "heap" + }, + "name": "heap" + }, + "init": { + "type": "NewExpression", + "start": 458, + "end": 492, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 49 + } + }, + "callee": { + "type": "Identifier", + "start": 462, + "end": 472, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 29 + }, + "identifierName": "BinaryHeap" + }, + "name": "BinaryHeap" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 473, + "end": 491, + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 473, + "end": 477, + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 478, + "end": 491, + "loc": { + "start": { + "line": 14, + "column": 35 + }, + "end": { + "line": 14, + "column": 48 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false + } + ] + } + } + ], + "kind": "var", + "trailingComments": [ + { + "type": "CommentLine", + "value": " A little hacky, but effective.", + "start": 498, + "end": 531, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 536, + "end": 592, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 60 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 536, + "end": 591, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 59 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 536, + "end": 548, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 536, + "end": 540, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 8 + }, + "identifierName": "heap" + }, + "name": "heap", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 541, + "end": 548, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 16 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 551, + "end": 591, + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 551, + "end": 561, + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 551, + "end": 555, + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 23 + }, + "identifierName": "JSON" + }, + "name": "JSON" + }, + "property": { + "type": "Identifier", + "start": 556, + "end": 561, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 29 + }, + "identifierName": "parse" + }, + "name": "parse" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 562, + "end": 590, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 562, + "end": 576, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 562, + "end": 566, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 34 + }, + "identifierName": "JSON" + }, + "name": "JSON" + }, + "property": { + "type": "Identifier", + "start": 567, + "end": 576, + "loc": { + "start": { + "line": 16, + "column": 35 + }, + "end": { + "line": 16, + "column": 44 + }, + "identifierName": "stringify" + }, + "name": "stringify" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 577, + "end": 589, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 577, + "end": 581, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "start": 582, + "end": 589, + "loc": { + "start": { + "line": 16, + "column": 50 + }, + "end": { + "line": 16, + "column": 57 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + } + ] + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " A little hacky, but effective.", + "start": 498, + "end": 531, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 37 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "start": 597, + "end": 609, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 16 + } + }, + "argument": { + "type": "Identifier", + "start": 604, + "end": 608, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 15 + }, + "identifierName": "heap" + }, + "name": "heap" + } + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 618, + "end": 806, + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 25, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 618, + "end": 622, + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 6 + }, + "identifierName": "push" + }, + "name": "push" + }, + "value": { + "type": "FunctionExpression", + "start": 624, + "end": 806, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 25, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 634, + "end": 641, + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 25 + }, + "identifierName": "element" + }, + "name": "element" + } + ], + "body": { + "type": "BlockStatement", + "start": 643, + "end": 806, + "loc": { + "start": { + "line": 20, + "column": 27 + }, + "end": { + "line": 25, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 701, + "end": 728, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 701, + "end": 727, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 701, + "end": 718, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 701, + "end": 713, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 701, + "end": 705, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 706, + "end": 713, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 16 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 714, + "end": 718, + "loc": { + "start": { + "line": 22, + "column": 17 + }, + "end": { + "line": 22, + "column": 21 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 719, + "end": 726, + "loc": { + "start": { + "line": 22, + "column": 22 + }, + "end": { + "line": 22, + "column": 29 + }, + "identifierName": "element" + }, + "name": "element" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Add the new element to the end of the array.", + "start": 649, + "end": 696, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 51 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Allow it to bubble up.", + "start": 733, + "end": 758, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 29 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 763, + "end": 802, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 763, + "end": 801, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 763, + "end": 776, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 763, + "end": 767, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 768, + "end": 776, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 17 + }, + "identifierName": "bubbleUp" + }, + "name": "bubbleUp" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 777, + "end": 800, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 41 + } + }, + "left": { + "type": "MemberExpression", + "start": 777, + "end": 796, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 777, + "end": 789, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 777, + "end": 781, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 782, + "end": 789, + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 30 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 790, + "end": 796, + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 37 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 799, + "end": 800, + "loc": { + "start": { + "line": 24, + "column": 40 + }, + "end": { + "line": 24, + "column": 41 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Allow it to bubble up.", + "start": 733, + "end": 758, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 29 + } + } + } + ] + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 811, + "end": 862, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 811, + "end": 815, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 6 + }, + "identifierName": "peek" + }, + "name": "peek" + }, + "value": { + "type": "FunctionExpression", + "start": 817, + "end": 862, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 829, + "end": 862, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 835, + "end": 858, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 27 + } + }, + "argument": { + "type": "MemberExpression", + "start": 842, + "end": 857, + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 842, + "end": 854, + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 842, + "end": 846, + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 847, + "end": 854, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 23 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "NumericLiteral", + "start": 855, + "end": 856, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 867, + "end": 1278, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 43, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 867, + "end": 870, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + }, + "identifierName": "pop" + }, + "name": "pop" + }, + "value": { + "type": "FunctionExpression", + "start": 872, + "end": 1278, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 43, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 884, + "end": 1278, + "loc": { + "start": { + "line": 31, + "column": 19 + }, + "end": { + "line": 43, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 948, + "end": 977, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 33 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 952, + "end": 976, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 32 + } + }, + "id": { + "type": "Identifier", + "start": 952, + "end": 958, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 14 + }, + "identifierName": "result" + }, + "name": "result", + "leadingComments": null + }, + "init": { + "type": "MemberExpression", + "start": 961, + "end": 976, + "loc": { + "start": { + "line": 33, + "column": 17 + }, + "end": { + "line": 33, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 961, + "end": 973, + "loc": { + "start": { + "line": 33, + "column": 17 + }, + "end": { + "line": 33, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 33, + "column": 17 + }, + "end": { + "line": 33, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 966, + "end": 973, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 29 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "NumericLiteral", + "start": 974, + "end": 975, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 31 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Store the first element so we can return it later.", + "start": 890, + "end": 943, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 57 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Get the element at the end of the array.", + "start": 982, + "end": 1025, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 47 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 1030, + "end": 1059, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 33 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1034, + "end": 1058, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 32 + } + }, + "id": { + "type": "Identifier", + "start": 1034, + "end": 1037, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + }, + "identifierName": "end" + }, + "name": "end", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 1040, + "end": 1058, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1040, + "end": 1056, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 1040, + "end": 1052, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 1040, + "end": 1044, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 1045, + "end": 1052, + "loc": { + "start": { + "line": 35, + "column": 19 + }, + "end": { + "line": 35, + "column": 26 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1053, + "end": 1056, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 30 + }, + "identifierName": "pop" + }, + "name": "pop" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Get the element at the end of the array.", + "start": 982, + "end": 1025, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 47 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " If there are any elements left, put the end element at the", + "start": 1064, + "end": 1125, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " start, and let it sink down.", + "start": 1130, + "end": 1161, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 35 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 1166, + "end": 1255, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 41, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1170, + "end": 1193, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 31 + } + }, + "left": { + "type": "MemberExpression", + "start": 1170, + "end": 1189, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 1170, + "end": 1182, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 1170, + "end": 1174, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1175, + "end": 1182, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 20 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1183, + "end": 1189, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 27 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false, + "leadingComments": null + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 1192, + "end": 1193, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 31 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 1195, + "end": 1255, + "loc": { + "start": { + "line": 38, + "column": 33 + }, + "end": { + "line": 41, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1203, + "end": 1225, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1203, + "end": 1224, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1203, + "end": 1218, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 1203, + "end": 1215, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1203, + "end": 1207, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1208, + "end": 1215, + "loc": { + "start": { + "line": 39, + "column": 11 + }, + "end": { + "line": 39, + "column": 18 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "NumericLiteral", + "start": 1216, + "end": 1217, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 20 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 1221, + "end": 1224, + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 27 + }, + "identifierName": "end" + }, + "name": "end" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1232, + "end": 1249, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 1232, + "end": 1248, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1232, + "end": 1245, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 1232, + "end": 1236, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1237, + "end": 1245, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 19 + }, + "identifierName": "sinkDown" + }, + "name": "sinkDown" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 21 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If there are any elements left, put the end element at the", + "start": 1064, + "end": 1125, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " start, and let it sink down.", + "start": 1130, + "end": 1161, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 35 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "start": 1260, + "end": 1274, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 1267, + "end": 1273, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 17 + }, + "identifierName": "result" + }, + "name": "result" + } + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 1283, + "end": 1887, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1283, + "end": 1289, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 8 + }, + "identifierName": "remove" + }, + "name": "remove" + }, + "value": { + "type": "FunctionExpression", + "start": 1291, + "end": 1887, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1301, + "end": 1305, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 24 + }, + "identifierName": "node" + }, + "name": "node" + } + ], + "body": { + "type": "BlockStatement", + "start": 1307, + "end": 1887, + "loc": { + "start": { + "line": 45, + "column": 26 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1313, + "end": 1343, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 34 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1317, + "end": 1342, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 1317, + "end": 1320, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + }, + "identifierName": "len" + }, + "name": "len" + }, + "init": { + "type": "MemberExpression", + "start": 1323, + "end": 1342, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 1323, + "end": 1335, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 1323, + "end": 1327, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 1328, + "end": 1335, + "loc": { + "start": { + "line": 46, + "column": 19 + }, + "end": { + "line": 46, + "column": 26 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1336, + "end": 1342, + "loc": { + "start": { + "line": 46, + "column": 27 + }, + "end": { + "line": 46, + "column": 33 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "var", + "trailingComments": [ + { + "type": "CommentLine", + "value": " To remove a value, we must search through the array to find", + "start": 1348, + "end": 1410, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 66 + } + } + }, + { + "type": "CommentLine", + "value": " it.", + "start": 1415, + "end": 1421, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 10 + } + } + } + ] + }, + { + "type": "ForStatement", + "start": 1426, + "end": 1843, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 60, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 1431, + "end": 1440, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1435, + "end": 1440, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 1435, + "end": 1436, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i", + "leadingComments": null + }, + "init": { + "type": "NumericLiteral", + "start": 1439, + "end": 1440, + "loc": { + "start": { + "line": 49, + "column": 17 + }, + "end": { + "line": 49, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": null + }, + "test": { + "type": "BinaryExpression", + "start": 1442, + "end": 1449, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 1442, + "end": 1443, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 1446, + "end": 1449, + "loc": { + "start": { + "line": 49, + "column": 24 + }, + "end": { + "line": 49, + "column": 27 + }, + "identifierName": "len" + }, + "name": "len" + } + }, + "update": { + "type": "UpdateExpression", + "start": 1451, + "end": 1454, + "loc": { + "start": { + "line": 49, + "column": 29 + }, + "end": { + "line": 49, + "column": 32 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 49, + "column": 29 + }, + "end": { + "line": 49, + "column": 30 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 1456, + "end": 1843, + "loc": { + "start": { + "line": 49, + "column": 34 + }, + "end": { + "line": 60, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1464, + "end": 1837, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 59, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1468, + "end": 1491, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 33 + } + }, + "left": { + "type": "MemberExpression", + "start": 1468, + "end": 1483, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 1468, + "end": 1480, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1468, + "end": 1472, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 1473, + "end": 1480, + "loc": { + "start": { + "line": 50, + "column": 15 + }, + "end": { + "line": 50, + "column": 22 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1481, + "end": 1482, + "loc": { + "start": { + "line": 50, + "column": 23 + }, + "end": { + "line": 50, + "column": 24 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "operator": "==", + "right": { + "type": "Identifier", + "start": 1487, + "end": 1491, + "loc": { + "start": { + "line": 50, + "column": 29 + }, + "end": { + "line": 50, + "column": 33 + }, + "identifierName": "node" + }, + "name": "node" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1493, + "end": 1837, + "loc": { + "start": { + "line": 50, + "column": 35 + }, + "end": { + "line": 59, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1602, + "end": 1631, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 37 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1606, + "end": 1630, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 36 + } + }, + "id": { + "type": "Identifier", + "start": 1606, + "end": 1609, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 15 + }, + "identifierName": "end" + }, + "name": "end", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 1612, + "end": 1630, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1612, + "end": 1628, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 1612, + "end": 1624, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 1612, + "end": 1616, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 1617, + "end": 1624, + "loc": { + "start": { + "line": 53, + "column": 23 + }, + "end": { + "line": 53, + "column": 30 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1625, + "end": 1628, + "loc": { + "start": { + "line": 53, + "column": 31 + }, + "end": { + "line": 53, + "column": 34 + }, + "identifierName": "pop" + }, + "name": "pop" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " When it is found, the process seen in 'pop' is repeated", + "start": 1503, + "end": 1561, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 66 + } + } + }, + { + "type": "CommentLine", + "value": " to fill up the hole.", + "start": 1570, + "end": 1593, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 31 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 1640, + "end": 1808, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 57, + "column": 9 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1644, + "end": 1656, + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 24 + } + }, + "left": { + "type": "Identifier", + "start": 1644, + "end": 1645, + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 13 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "!=", + "right": { + "type": "BinaryExpression", + "start": 1649, + "end": 1656, + "loc": { + "start": { + "line": 54, + "column": 17 + }, + "end": { + "line": 54, + "column": 24 + } + }, + "left": { + "type": "Identifier", + "start": 1649, + "end": 1652, + "loc": { + "start": { + "line": 54, + "column": 17 + }, + "end": { + "line": 54, + "column": 20 + }, + "identifierName": "len" + }, + "name": "len" + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 1655, + "end": 1656, + "loc": { + "start": { + "line": 54, + "column": 23 + }, + "end": { + "line": 54, + "column": 24 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1658, + "end": 1808, + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 57, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1670, + "end": 1692, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1670, + "end": 1691, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1670, + "end": 1685, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 1670, + "end": 1682, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1670, + "end": 1674, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 1675, + "end": 1682, + "loc": { + "start": { + "line": 55, + "column": 15 + }, + "end": { + "line": 55, + "column": 22 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1683, + "end": 1684, + "loc": { + "start": { + "line": 55, + "column": 23 + }, + "end": { + "line": 55, + "column": 24 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 1688, + "end": 1691, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 31 + }, + "identifierName": "end" + }, + "name": "end" + } + } + }, + { + "type": "IfStatement", + "start": 1703, + "end": 1798, + "loc": { + "start": { + "line": 56, + "column": 10 + }, + "end": { + "line": 56, + "column": 105 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1707, + "end": 1757, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 64 + } + }, + "left": { + "type": "CallExpression", + "start": 1707, + "end": 1730, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1707, + "end": 1725, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 32 + } + }, + "object": { + "type": "ThisExpression", + "start": 1707, + "end": 1711, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 1712, + "end": 1725, + "loc": { + "start": { + "line": 56, + "column": 19 + }, + "end": { + "line": 56, + "column": 32 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1726, + "end": 1729, + "loc": { + "start": { + "line": 56, + "column": 33 + }, + "end": { + "line": 56, + "column": 36 + }, + "identifierName": "end" + }, + "name": "end" + } + ] + }, + "operator": "<", + "right": { + "type": "CallExpression", + "start": 1733, + "end": 1757, + "loc": { + "start": { + "line": 56, + "column": 40 + }, + "end": { + "line": 56, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1733, + "end": 1751, + "loc": { + "start": { + "line": 56, + "column": 40 + }, + "end": { + "line": 56, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 1733, + "end": 1737, + "loc": { + "start": { + "line": 56, + "column": 40 + }, + "end": { + "line": 56, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "start": 1738, + "end": 1751, + "loc": { + "start": { + "line": 56, + "column": 45 + }, + "end": { + "line": 56, + "column": 58 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1752, + "end": 1756, + "loc": { + "start": { + "line": 56, + "column": 59 + }, + "end": { + "line": 56, + "column": 63 + }, + "identifierName": "node" + }, + "name": "node" + } + ] + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 1759, + "end": 1776, + "loc": { + "start": { + "line": 56, + "column": 66 + }, + "end": { + "line": 56, + "column": 83 + } + }, + "expression": { + "type": "CallExpression", + "start": 1759, + "end": 1775, + "loc": { + "start": { + "line": 56, + "column": 66 + }, + "end": { + "line": 56, + "column": 82 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1759, + "end": 1772, + "loc": { + "start": { + "line": 56, + "column": 66 + }, + "end": { + "line": 56, + "column": 79 + } + }, + "object": { + "type": "ThisExpression", + "start": 1759, + "end": 1763, + "loc": { + "start": { + "line": 56, + "column": 66 + }, + "end": { + "line": 56, + "column": 70 + } + } + }, + "property": { + "type": "Identifier", + "start": 1764, + "end": 1772, + "loc": { + "start": { + "line": 56, + "column": 71 + }, + "end": { + "line": 56, + "column": 79 + }, + "identifierName": "bubbleUp" + }, + "name": "bubbleUp" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1773, + "end": 1774, + "loc": { + "start": { + "line": 56, + "column": 80 + }, + "end": { + "line": 56, + "column": 81 + }, + "identifierName": "i" + }, + "name": "i" + } + ] + } + }, + "alternate": { + "type": "ExpressionStatement", + "start": 1781, + "end": 1798, + "loc": { + "start": { + "line": 56, + "column": 88 + }, + "end": { + "line": 56, + "column": 105 + } + }, + "expression": { + "type": "CallExpression", + "start": 1781, + "end": 1797, + "loc": { + "start": { + "line": 56, + "column": 88 + }, + "end": { + "line": 56, + "column": 104 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1781, + "end": 1794, + "loc": { + "start": { + "line": 56, + "column": 88 + }, + "end": { + "line": 56, + "column": 101 + } + }, + "object": { + "type": "ThisExpression", + "start": 1781, + "end": 1785, + "loc": { + "start": { + "line": 56, + "column": 88 + }, + "end": { + "line": 56, + "column": 92 + } + } + }, + "property": { + "type": "Identifier", + "start": 1786, + "end": 1794, + "loc": { + "start": { + "line": 56, + "column": 93 + }, + "end": { + "line": 56, + "column": 101 + }, + "identifierName": "sinkDown" + }, + "name": "sinkDown" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1795, + "end": 1796, + "loc": { + "start": { + "line": 56, + "column": 102 + }, + "end": { + "line": 56, + "column": 103 + }, + "identifierName": "i" + }, + "name": "i" + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 1817, + "end": 1829, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 20 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 1824, + "end": 1828, + "loc": { + "start": { + "line": 58, + "column": 15 + }, + "end": { + "line": 58, + "column": 19 + } + }, + "value": true + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " To remove a value, we must search through the array to find", + "start": 1348, + "end": 1410, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 66 + } + } + }, + { + "type": "CommentLine", + "value": " it.", + "start": 1415, + "end": 1421, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 10 + } + } + } + ] + }, + { + "type": "ThrowStatement", + "start": 1848, + "end": 1883, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 39 + } + }, + "argument": { + "type": "NewExpression", + "start": 1854, + "end": 1882, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 1858, + "end": 1863, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 19 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1864, + "end": 1881, + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 37 + } + }, + "extra": { + "rawValue": "Node not found.", + "raw": "'Node not found.'" + }, + "value": "Node not found." + } + ] + } + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 1892, + "end": 1947, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 66, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1892, + "end": 1896, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 64, + "column": 6 + }, + "identifierName": "size" + }, + "name": "size" + }, + "value": { + "type": "FunctionExpression", + "start": 1898, + "end": 1947, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 66, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1910, + "end": 1947, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 66, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1916, + "end": 1943, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 31 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1923, + "end": 1942, + "loc": { + "start": { + "line": 65, + "column": 11 + }, + "end": { + "line": 65, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 1923, + "end": 1935, + "loc": { + "start": { + "line": 65, + "column": 11 + }, + "end": { + "line": 65, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 1923, + "end": 1927, + "loc": { + "start": { + "line": 65, + "column": 11 + }, + "end": { + "line": 65, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1928, + "end": 1935, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 23 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1936, + "end": 1942, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 30 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 1952, + "end": 2682, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 88, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1952, + "end": 1960, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 10 + }, + "identifierName": "bubbleUp" + }, + "name": "bubbleUp" + }, + "value": { + "type": "FunctionExpression", + "start": 1962, + "end": 2682, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 88, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1972, + "end": 1973, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 23 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 1975, + "end": 2682, + "loc": { + "start": { + "line": 68, + "column": 25 + }, + "end": { + "line": 88, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2028, + "end": 2058, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 34 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2032, + "end": 2057, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 2032, + "end": 2039, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 15 + }, + "identifierName": "element" + }, + "name": "element", + "leadingComments": null + }, + "init": { + "type": "MemberExpression", + "start": 2042, + "end": 2057, + "loc": { + "start": { + "line": 70, + "column": 18 + }, + "end": { + "line": 70, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 2042, + "end": 2054, + "loc": { + "start": { + "line": 70, + "column": 18 + }, + "end": { + "line": 70, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2042, + "end": 2046, + "loc": { + "start": { + "line": 70, + "column": 18 + }, + "end": { + "line": 70, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 2047, + "end": 2054, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 30 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2055, + "end": 2056, + "loc": { + "start": { + "line": 70, + "column": 31 + }, + "end": { + "line": 70, + "column": 32 + }, + "identifierName": "n" + }, + "name": "n" + }, + "computed": true + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Fetch the element that has to be moved.", + "start": 1981, + "end": 2023, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 46 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " When at 0, an element can not go up any further.", + "start": 2063, + "end": 2114, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 55 + } + } + } + ] + }, + { + "type": "WhileStatement", + "start": 2119, + "end": 2678, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 87, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2126, + "end": 2131, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 16 + } + }, + "left": { + "type": "Identifier", + "start": 2126, + "end": 2127, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 12 + }, + "identifierName": "n" + }, + "name": "n", + "leadingComments": null + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 2130, + "end": 2131, + "loc": { + "start": { + "line": 72, + "column": 15 + }, + "end": { + "line": 72, + "column": 16 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "body": { + "type": "BlockStatement", + "start": 2133, + "end": 2678, + "loc": { + "start": { + "line": 72, + "column": 18 + }, + "end": { + "line": 87, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2200, + "end": 2284, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 75, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2204, + "end": 2241, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 2204, + "end": 2211, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 17 + }, + "identifierName": "parentN" + }, + "name": "parentN", + "leadingComments": null + }, + "init": { + "type": "BinaryExpression", + "start": 2214, + "end": 2241, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 47 + } + }, + "left": { + "type": "CallExpression", + "start": 2214, + "end": 2237, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2214, + "end": 2224, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 2214, + "end": 2218, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 24 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 2219, + "end": 2224, + "loc": { + "start": { + "line": 74, + "column": 25 + }, + "end": { + "line": 74, + "column": 30 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2225, + "end": 2236, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 42 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2226, + "end": 2231, + "loc": { + "start": { + "line": 74, + "column": 32 + }, + "end": { + "line": 74, + "column": 37 + } + }, + "left": { + "type": "Identifier", + "start": 2226, + "end": 2227, + "loc": { + "start": { + "line": 74, + "column": 32 + }, + "end": { + "line": 74, + "column": 33 + }, + "identifierName": "n" + }, + "name": "n" + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 2230, + "end": 2231, + "loc": { + "start": { + "line": 74, + "column": 36 + }, + "end": { + "line": 74, + "column": 37 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 2225 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 2235, + "end": 2236, + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 42 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + ] + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 2240, + "end": 2241, + "loc": { + "start": { + "line": 74, + "column": 46 + }, + "end": { + "line": 74, + "column": 47 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "leadingComments": null + }, + { + "type": "VariableDeclarator", + "start": 2253, + "end": 2283, + "loc": { + "start": { + "line": 75, + "column": 10 + }, + "end": { + "line": 75, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 2253, + "end": 2259, + "loc": { + "start": { + "line": 75, + "column": 10 + }, + "end": { + "line": 75, + "column": 16 + }, + "identifierName": "parent" + }, + "name": "parent" + }, + "init": { + "type": "MemberExpression", + "start": 2262, + "end": 2283, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 2262, + "end": 2274, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 2262, + "end": 2266, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 2267, + "end": 2274, + "loc": { + "start": { + "line": 75, + "column": 24 + }, + "end": { + "line": 75, + "column": 31 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2275, + "end": 2282, + "loc": { + "start": { + "line": 75, + "column": 32 + }, + "end": { + "line": 75, + "column": 39 + }, + "identifierName": "parentN" + }, + "name": "parentN" + }, + "computed": true + } + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Compute the parent element's index, and fetch it.", + "start": 2141, + "end": 2193, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 58 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Swap the elements if the parent is greater.", + "start": 2291, + "end": 2337, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 52 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 2344, + "end": 2672, + "loc": { + "start": { + "line": 77, + "column": 6 + }, + "end": { + "line": 86, + "column": 9 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2348, + "end": 2404, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 66 + } + }, + "left": { + "type": "CallExpression", + "start": 2348, + "end": 2375, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2348, + "end": 2366, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 2348, + "end": 2352, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 14 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2353, + "end": 2366, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 28 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 2367, + "end": 2374, + "loc": { + "start": { + "line": 77, + "column": 29 + }, + "end": { + "line": 77, + "column": 36 + }, + "identifierName": "element" + }, + "name": "element" + } + ], + "leadingComments": null + }, + "operator": "<", + "right": { + "type": "CallExpression", + "start": 2378, + "end": 2404, + "loc": { + "start": { + "line": 77, + "column": 40 + }, + "end": { + "line": 77, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2378, + "end": 2396, + "loc": { + "start": { + "line": 77, + "column": 40 + }, + "end": { + "line": 77, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 2378, + "end": 2382, + "loc": { + "start": { + "line": 77, + "column": 40 + }, + "end": { + "line": 77, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "start": 2383, + "end": 2396, + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 58 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2397, + "end": 2403, + "loc": { + "start": { + "line": 77, + "column": 59 + }, + "end": { + "line": 77, + "column": 65 + }, + "identifierName": "parent" + }, + "name": "parent" + } + ] + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 2406, + "end": 2566, + "loc": { + "start": { + "line": 77, + "column": 68 + }, + "end": { + "line": 82, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2416, + "end": 2448, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 40 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2416, + "end": 2447, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 39 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2416, + "end": 2437, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 2416, + "end": 2428, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2416, + "end": 2420, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2421, + "end": 2428, + "loc": { + "start": { + "line": 78, + "column": 13 + }, + "end": { + "line": 78, + "column": 20 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2429, + "end": 2436, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 28 + }, + "identifierName": "parentN" + }, + "name": "parentN" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 2440, + "end": 2447, + "loc": { + "start": { + "line": 78, + "column": 32 + }, + "end": { + "line": 78, + "column": 39 + }, + "identifierName": "element" + }, + "name": "element" + } + } + }, + { + "type": "ExpressionStatement", + "start": 2457, + "end": 2482, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2457, + "end": 2481, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2457, + "end": 2472, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 2457, + "end": 2469, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2457, + "end": 2461, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 2462, + "end": 2469, + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 20 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2470, + "end": 2471, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 22 + }, + "identifierName": "n" + }, + "name": "n" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 2475, + "end": 2481, + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 32 + }, + "identifierName": "parent" + }, + "name": "parent" + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Update 'n' to continue at the new position.", + "start": 2491, + "end": 2537, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 54 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2546, + "end": 2558, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2546, + "end": 2557, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2546, + "end": 2547, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 9 + }, + "identifierName": "n" + }, + "name": "n", + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 2550, + "end": 2557, + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 19 + }, + "identifierName": "parentN" + }, + "name": "parentN" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Update 'n' to continue at the new position.", + "start": 2491, + "end": 2537, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 54 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Found a parent that is less, no need to move it further.", + "start": 2573, + "end": 2632, + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 65 + } + } + } + ] + }, + "alternate": { + "type": "BlockStatement", + "start": 2644, + "end": 2672, + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 86, + "column": 9 + } + }, + "body": [ + { + "type": "BreakStatement", + "start": 2656, + "end": 2662, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 85, + "column": 16 + } + }, + "label": null, + "leadingComments": null + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentLine", + "value": " Found a parent that is less, no need to move it further.", + "start": 2573, + "end": 2632, + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 65 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Swap the elements if the parent is greater.", + "start": 2291, + "end": 2337, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 52 + } + } + } + ] + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " When at 0, an element can not go up any further.", + "start": 2063, + "end": 2114, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 55 + } + } + } + ] + } + ], + "directives": [] + } + } + }, + { + "type": "ObjectProperty", + "start": 2687, + "end": 4042, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 129, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2687, + "end": 2695, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 10 + }, + "identifierName": "sinkDown" + }, + "name": "sinkDown" + }, + "value": { + "type": "FunctionExpression", + "start": 2697, + "end": 4042, + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 129, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2707, + "end": 2708, + "loc": { + "start": { + "line": 90, + "column": 22 + }, + "end": { + "line": 90, + "column": 23 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 2710, + "end": 4042, + "loc": { + "start": { + "line": 90, + "column": 25 + }, + "end": { + "line": 129, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2765, + "end": 2882, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 94, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2769, + "end": 2797, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 36 + } + }, + "id": { + "type": "Identifier", + "start": 2769, + "end": 2775, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 14 + }, + "identifierName": "length" + }, + "name": "length", + "leadingComments": null + }, + "init": { + "type": "MemberExpression", + "start": 2778, + "end": 2797, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 2778, + "end": 2790, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 2778, + "end": 2782, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 2783, + "end": 2790, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 29 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2791, + "end": 2797, + "loc": { + "start": { + "line": 92, + "column": 30 + }, + "end": { + "line": 92, + "column": 36 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "leadingComments": null + }, + { + "type": "VariableDeclarator", + "start": 2807, + "end": 2832, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 2807, + "end": 2814, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 15 + }, + "identifierName": "element" + }, + "name": "element" + }, + "init": { + "type": "MemberExpression", + "start": 2817, + "end": 2832, + "loc": { + "start": { + "line": 93, + "column": 18 + }, + "end": { + "line": 93, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 2817, + "end": 2829, + "loc": { + "start": { + "line": 93, + "column": 18 + }, + "end": { + "line": 93, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2817, + "end": 2821, + "loc": { + "start": { + "line": 93, + "column": 18 + }, + "end": { + "line": 93, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 2822, + "end": 2829, + "loc": { + "start": { + "line": 93, + "column": 23 + }, + "end": { + "line": 93, + "column": 30 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2830, + "end": 2831, + "loc": { + "start": { + "line": 93, + "column": 31 + }, + "end": { + "line": 93, + "column": 32 + }, + "identifierName": "n" + }, + "name": "n" + }, + "computed": true + } + }, + { + "type": "VariableDeclarator", + "start": 2842, + "end": 2881, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 2842, + "end": 2851, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 17 + }, + "identifierName": "elemScore" + }, + "name": "elemScore" + }, + "init": { + "type": "CallExpression", + "start": 2854, + "end": 2881, + "loc": { + "start": { + "line": 94, + "column": 20 + }, + "end": { + "line": 94, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2854, + "end": 2872, + "loc": { + "start": { + "line": 94, + "column": 20 + }, + "end": { + "line": 94, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 2854, + "end": 2858, + "loc": { + "start": { + "line": 94, + "column": 20 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 2859, + "end": 2872, + "loc": { + "start": { + "line": 94, + "column": 25 + }, + "end": { + "line": 94, + "column": 38 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2873, + "end": 2880, + "loc": { + "start": { + "line": 94, + "column": 39 + }, + "end": { + "line": 94, + "column": 46 + }, + "identifierName": "element" + }, + "name": "element" + } + ] + } + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Look up the target element and its score.", + "start": 2716, + "end": 2760, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 48 + } + } + } + ] + }, + { + "type": "WhileStatement", + "start": 2888, + "end": 4038, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 128, + "column": 5 + } + }, + "test": { + "type": "BooleanLiteral", + "start": 2895, + "end": 2899, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 15 + } + }, + "value": true + }, + "body": { + "type": "BlockStatement", + "start": 2901, + "end": 4038, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 128, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2961, + "end": 3020, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 99, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2965, + "end": 2986, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 2965, + "end": 2972, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 17 + }, + "identifierName": "child2N" + }, + "name": "child2N", + "leadingComments": null + }, + "init": { + "type": "BinaryExpression", + "start": 2975, + "end": 2986, + "loc": { + "start": { + "line": 98, + "column": 20 + }, + "end": { + "line": 98, + "column": 31 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2976, + "end": 2981, + "loc": { + "start": { + "line": 98, + "column": 21 + }, + "end": { + "line": 98, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 2976, + "end": 2977, + "loc": { + "start": { + "line": 98, + "column": 21 + }, + "end": { + "line": 98, + "column": 22 + }, + "identifierName": "n" + }, + "name": "n" + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 2980, + "end": 2981, + "loc": { + "start": { + "line": 98, + "column": 25 + }, + "end": { + "line": 98, + "column": 26 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 2975 + } + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 2985, + "end": 2986, + "loc": { + "start": { + "line": 98, + "column": 30 + }, + "end": { + "line": 98, + "column": 31 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "leadingComments": null + }, + { + "type": "VariableDeclarator", + "start": 2998, + "end": 3019, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 2998, + "end": 3005, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 17 + }, + "identifierName": "child1N" + }, + "name": "child1N" + }, + "init": { + "type": "BinaryExpression", + "start": 3008, + "end": 3019, + "loc": { + "start": { + "line": 99, + "column": 20 + }, + "end": { + "line": 99, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 3008, + "end": 3015, + "loc": { + "start": { + "line": 99, + "column": 20 + }, + "end": { + "line": 99, + "column": 27 + }, + "identifierName": "child2N" + }, + "name": "child2N" + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 3018, + "end": 3019, + "loc": { + "start": { + "line": 99, + "column": 30 + }, + "end": { + "line": 99, + "column": 31 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Compute the indices of the child elements.", + "start": 2909, + "end": 2954, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 51 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " This is used to store the new position of the element,", + "start": 3027, + "end": 3084, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 63 + } + } + }, + { + "type": "CommentLine", + "value": " if any.", + "start": 3091, + "end": 3101, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 16 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 3108, + "end": 3124, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 22 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3112, + "end": 3123, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 3112, + "end": 3116, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 14 + }, + "identifierName": "swap" + }, + "name": "swap", + "leadingComments": null + }, + "init": { + "type": "NullLiteral", + "start": 3119, + "end": 3123, + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 21 + } + } + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " This is used to store the new position of the element,", + "start": 3027, + "end": 3084, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 63 + } + } + }, + { + "type": "CommentLine", + "value": " if any.", + "start": 3091, + "end": 3101, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 16 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " If the first child exists (is inside the array)...", + "start": 3131, + "end": 3184, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 59 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 3191, + "end": 3487, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 110, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3195, + "end": 3211, + "loc": { + "start": { + "line": 104, + "column": 10 + }, + "end": { + "line": 104, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 3195, + "end": 3202, + "loc": { + "start": { + "line": 104, + "column": 10 + }, + "end": { + "line": 104, + "column": 17 + }, + "identifierName": "child1N" + }, + "name": "child1N", + "leadingComments": null + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 3205, + "end": 3211, + "loc": { + "start": { + "line": 104, + "column": 20 + }, + "end": { + "line": 104, + "column": 26 + }, + "identifierName": "length" + }, + "name": "length" + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 3213, + "end": 3487, + "loc": { + "start": { + "line": 104, + "column": 28 + }, + "end": { + "line": 110, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3268, + "end": 3357, + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 107, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3272, + "end": 3302, + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 3272, + "end": 3278, + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 18 + }, + "identifierName": "child1" + }, + "name": "child1", + "leadingComments": null + }, + "init": { + "type": "MemberExpression", + "start": 3281, + "end": 3302, + "loc": { + "start": { + "line": 106, + "column": 21 + }, + "end": { + "line": 106, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 3281, + "end": 3293, + "loc": { + "start": { + "line": 106, + "column": 21 + }, + "end": { + "line": 106, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 3281, + "end": 3285, + "loc": { + "start": { + "line": 106, + "column": 21 + }, + "end": { + "line": 106, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 3286, + "end": 3293, + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 33 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3294, + "end": 3301, + "loc": { + "start": { + "line": 106, + "column": 34 + }, + "end": { + "line": 106, + "column": 41 + }, + "identifierName": "child1N" + }, + "name": "child1N" + }, + "computed": true + }, + "leadingComments": null + }, + { + "type": "VariableDeclarator", + "start": 3316, + "end": 3356, + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 3316, + "end": 3327, + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 23 + }, + "identifierName": "child1Score" + }, + "name": "child1Score" + }, + "init": { + "type": "CallExpression", + "start": 3330, + "end": 3356, + "loc": { + "start": { + "line": 107, + "column": 26 + }, + "end": { + "line": 107, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3330, + "end": 3348, + "loc": { + "start": { + "line": 107, + "column": 26 + }, + "end": { + "line": 107, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 3330, + "end": 3334, + "loc": { + "start": { + "line": 107, + "column": 26 + }, + "end": { + "line": 107, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 3335, + "end": 3348, + "loc": { + "start": { + "line": 107, + "column": 31 + }, + "end": { + "line": 107, + "column": 44 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3349, + "end": 3355, + "loc": { + "start": { + "line": 107, + "column": 45 + }, + "end": { + "line": 107, + "column": 51 + }, + "identifierName": "child1" + }, + "name": "child1" + } + ] + } + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Look it up and compute its score.", + "start": 3223, + "end": 3259, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " If the score is less than our element's, we need to swap.", + "start": 3366, + "end": 3426, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 68 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 3435, + "end": 3479, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 52 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3439, + "end": 3462, + "loc": { + "start": { + "line": 109, + "column": 12 + }, + "end": { + "line": 109, + "column": 35 + } + }, + "left": { + "type": "Identifier", + "start": 3439, + "end": 3450, + "loc": { + "start": { + "line": 109, + "column": 12 + }, + "end": { + "line": 109, + "column": 23 + }, + "identifierName": "child1Score" + }, + "name": "child1Score", + "leadingComments": null + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 3453, + "end": 3462, + "loc": { + "start": { + "line": 109, + "column": 26 + }, + "end": { + "line": 109, + "column": 35 + }, + "identifierName": "elemScore" + }, + "name": "elemScore" + }, + "leadingComments": null + }, + "consequent": { + "type": "ExpressionStatement", + "start": 3464, + "end": 3479, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3464, + "end": 3478, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3464, + "end": 3468, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 41 + }, + "identifierName": "swap" + }, + "name": "swap" + }, + "right": { + "type": "Identifier", + "start": 3471, + "end": 3478, + "loc": { + "start": { + "line": 109, + "column": 44 + }, + "end": { + "line": 109, + "column": 51 + }, + "identifierName": "child1N" + }, + "name": "child1N" + } + } + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If the score is less than our element's, we need to swap.", + "start": 3366, + "end": 3426, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 68 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If the first child exists (is inside the array)...", + "start": 3131, + "end": 3184, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 59 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Do the same checks for the other child.", + "start": 3494, + "end": 3536, + "loc": { + "start": { + "line": 111, + "column": 6 + }, + "end": { + "line": 111, + "column": 48 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 3543, + "end": 3756, + "loc": { + "start": { + "line": 112, + "column": 6 + }, + "end": { + "line": 116, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3547, + "end": 3563, + "loc": { + "start": { + "line": 112, + "column": 10 + }, + "end": { + "line": 112, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 3547, + "end": 3554, + "loc": { + "start": { + "line": 112, + "column": 10 + }, + "end": { + "line": 112, + "column": 17 + }, + "identifierName": "child2N" + }, + "name": "child2N", + "leadingComments": null + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 3557, + "end": 3563, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 112, + "column": 26 + }, + "identifierName": "length" + }, + "name": "length" + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 3565, + "end": 3756, + "loc": { + "start": { + "line": 112, + "column": 28 + }, + "end": { + "line": 116, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3575, + "end": 3664, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 114, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3579, + "end": 3609, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 3579, + "end": 3585, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 18 + }, + "identifierName": "child2" + }, + "name": "child2" + }, + "init": { + "type": "MemberExpression", + "start": 3588, + "end": 3609, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 3588, + "end": 3600, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 3588, + "end": 3592, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 3593, + "end": 3600, + "loc": { + "start": { + "line": 113, + "column": 26 + }, + "end": { + "line": 113, + "column": 33 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3601, + "end": 3608, + "loc": { + "start": { + "line": 113, + "column": 34 + }, + "end": { + "line": 113, + "column": 41 + }, + "identifierName": "child2N" + }, + "name": "child2N" + }, + "computed": true + } + }, + { + "type": "VariableDeclarator", + "start": 3623, + "end": 3663, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 3623, + "end": 3634, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 23 + }, + "identifierName": "child2Score" + }, + "name": "child2Score" + }, + "init": { + "type": "CallExpression", + "start": 3637, + "end": 3663, + "loc": { + "start": { + "line": 114, + "column": 26 + }, + "end": { + "line": 114, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3637, + "end": 3655, + "loc": { + "start": { + "line": 114, + "column": 26 + }, + "end": { + "line": 114, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 3637, + "end": 3641, + "loc": { + "start": { + "line": 114, + "column": 26 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 3642, + "end": 3655, + "loc": { + "start": { + "line": 114, + "column": 31 + }, + "end": { + "line": 114, + "column": 44 + }, + "identifierName": "scoreFunction" + }, + "name": "scoreFunction" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3656, + "end": 3662, + "loc": { + "start": { + "line": 114, + "column": 45 + }, + "end": { + "line": 114, + "column": 51 + }, + "identifierName": "child2" + }, + "name": "child2" + } + ] + } + } + ], + "kind": "var" + }, + { + "type": "IfStatement", + "start": 3673, + "end": 3748, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 83 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3677, + "end": 3731, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 66 + } + }, + "left": { + "type": "Identifier", + "start": 3677, + "end": 3688, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 23 + }, + "identifierName": "child2Score" + }, + "name": "child2Score" + }, + "operator": "<", + "right": { + "type": "ConditionalExpression", + "start": 3692, + "end": 3730, + "loc": { + "start": { + "line": 115, + "column": 27 + }, + "end": { + "line": 115, + "column": 65 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3692, + "end": 3704, + "loc": { + "start": { + "line": 115, + "column": 27 + }, + "end": { + "line": 115, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 3692, + "end": 3696, + "loc": { + "start": { + "line": 115, + "column": 27 + }, + "end": { + "line": 115, + "column": 31 + }, + "identifierName": "swap" + }, + "name": "swap" + }, + "operator": "==", + "right": { + "type": "NullLiteral", + "start": 3700, + "end": 3704, + "loc": { + "start": { + "line": 115, + "column": 35 + }, + "end": { + "line": 115, + "column": 39 + } + } + } + }, + "consequent": { + "type": "Identifier", + "start": 3707, + "end": 3716, + "loc": { + "start": { + "line": 115, + "column": 42 + }, + "end": { + "line": 115, + "column": 51 + }, + "identifierName": "elemScore" + }, + "name": "elemScore" + }, + "alternate": { + "type": "Identifier", + "start": 3719, + "end": 3730, + "loc": { + "start": { + "line": 115, + "column": 54 + }, + "end": { + "line": 115, + "column": 65 + }, + "identifierName": "child1Score" + }, + "name": "child1Score" + }, + "extra": { + "parenthesized": true, + "parenStart": 3691 + } + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 3733, + "end": 3748, + "loc": { + "start": { + "line": 115, + "column": 68 + }, + "end": { + "line": 115, + "column": 83 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3733, + "end": 3747, + "loc": { + "start": { + "line": 115, + "column": 68 + }, + "end": { + "line": 115, + "column": 82 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3733, + "end": 3737, + "loc": { + "start": { + "line": 115, + "column": 68 + }, + "end": { + "line": 115, + "column": 72 + }, + "identifierName": "swap" + }, + "name": "swap" + }, + "right": { + "type": "Identifier", + "start": 3740, + "end": 3747, + "loc": { + "start": { + "line": 115, + "column": 75 + }, + "end": { + "line": 115, + "column": 82 + }, + "identifierName": "child2N" + }, + "name": "child2N" + } + } + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Do the same checks for the other child.", + "start": 3494, + "end": 3536, + "loc": { + "start": { + "line": 111, + "column": 6 + }, + "end": { + "line": 111, + "column": 48 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " If the element needs to be moved, swap it, and continue.", + "start": 3764, + "end": 3823, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 65 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 3830, + "end": 4032, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 127, + "column": 9 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3834, + "end": 3846, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 22 + } + }, + "left": { + "type": "Identifier", + "start": 3834, + "end": 3838, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 14 + }, + "identifierName": "swap" + }, + "name": "swap", + "leadingComments": null + }, + "operator": "!=", + "right": { + "type": "NullLiteral", + "start": 3842, + "end": 3846, + "loc": { + "start": { + "line": 119, + "column": 18 + }, + "end": { + "line": 119, + "column": 22 + } + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 3848, + "end": 3959, + "loc": { + "start": { + "line": 119, + "column": 24 + }, + "end": { + "line": 123, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3858, + "end": 3895, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3858, + "end": 3894, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3858, + "end": 3873, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 3858, + "end": 3870, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 3858, + "end": 3862, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3863, + "end": 3870, + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 20 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3871, + "end": 3872, + "loc": { + "start": { + "line": 120, + "column": 21 + }, + "end": { + "line": 120, + "column": 22 + }, + "identifierName": "n" + }, + "name": "n" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 3876, + "end": 3894, + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 3876, + "end": 3888, + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 3876, + "end": 3880, + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 3881, + "end": 3888, + "loc": { + "start": { + "line": 120, + "column": 31 + }, + "end": { + "line": 120, + "column": 38 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3889, + "end": 3893, + "loc": { + "start": { + "line": 120, + "column": 39 + }, + "end": { + "line": 120, + "column": 43 + }, + "identifierName": "swap" + }, + "name": "swap" + }, + "computed": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 3904, + "end": 3933, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 37 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3904, + "end": 3932, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 36 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3904, + "end": 3922, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 3904, + "end": 3916, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 3904, + "end": 3908, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 3909, + "end": 3916, + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 20 + }, + "identifierName": "content" + }, + "name": "content" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3917, + "end": 3921, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 121, + "column": 25 + }, + "identifierName": "swap" + }, + "name": "swap" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 3925, + "end": 3932, + "loc": { + "start": { + "line": 121, + "column": 29 + }, + "end": { + "line": 121, + "column": 36 + }, + "identifierName": "element" + }, + "name": "element" + } + } + }, + { + "type": "ExpressionStatement", + "start": 3942, + "end": 3951, + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 17 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3942, + "end": 3950, + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 16 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3942, + "end": 3943, + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 9 + }, + "identifierName": "n" + }, + "name": "n" + }, + "right": { + "type": "Identifier", + "start": 3946, + "end": 3950, + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 16 + }, + "identifierName": "swap" + }, + "name": "swap" + } + } + } + ], + "directives": [], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Otherwise, we are done.", + "start": 3966, + "end": 3992, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 32 + } + } + } + ] + }, + "alternate": { + "type": "BlockStatement", + "start": 4004, + "end": 4032, + "loc": { + "start": { + "line": 125, + "column": 11 + }, + "end": { + "line": 127, + "column": 9 + } + }, + "body": [ + { + "type": "BreakStatement", + "start": 4016, + "end": 4022, + "loc": { + "start": { + "line": 126, + "column": 10 + }, + "end": { + "line": 126, + "column": 16 + } + }, + "label": null, + "leadingComments": null + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentLine", + "value": " Otherwise, we are done.", + "start": 3966, + "end": 3992, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 32 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If the element needs to be moved, swap it, and continue.", + "start": 3764, + "end": 3823, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 65 + } + } + } + ] + } + ], + "directives": [] + } + } + ], + "directives": [] + } + } + } + ] + } + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentLine", + "value": " From http://eloquentjavascript.net/appendix2.html,", + "start": 0, + "end": 53, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + { + "type": "CommentLine", + "value": " licensed under CCv3.0: http://creativecommons.org/licenses/by/3.0/", + "start": 54, + "end": 123, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 69 + } + } + }, + { + "type": "CommentBlock", + "value": " This acts as a ordered binary heap for any serializeable JS object or collection of such objects ", + "start": 158, + "end": 260, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 102 + } + } + }, + { + "type": "CommentLine", + "value": " A little hacky, but effective.", + "start": 498, + "end": 531, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 37 + } + } + }, + { + "type": "CommentLine", + "value": " Add the new element to the end of the array.", + "start": 649, + "end": 696, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 51 + } + } + }, + { + "type": "CommentLine", + "value": " Allow it to bubble up.", + "start": 733, + "end": 758, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": "CommentLine", + "value": " Store the first element so we can return it later.", + "start": 890, + "end": 943, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 57 + } + } + }, + { + "type": "CommentLine", + "value": " Get the element at the end of the array.", + "start": 982, + "end": 1025, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 47 + } + } + }, + { + "type": "CommentLine", + "value": " If there are any elements left, put the end element at the", + "start": 1064, + "end": 1125, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " start, and let it sink down.", + "start": 1130, + "end": 1161, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": "CommentLine", + "value": " To remove a value, we must search through the array to find", + "start": 1348, + "end": 1410, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 66 + } + } + }, + { + "type": "CommentLine", + "value": " it.", + "start": 1415, + "end": 1421, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 10 + } + } + }, + { + "type": "CommentLine", + "value": " When it is found, the process seen in 'pop' is repeated", + "start": 1503, + "end": 1561, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 66 + } + } + }, + { + "type": "CommentLine", + "value": " to fill up the hole.", + "start": 1570, + "end": 1593, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " Fetch the element that has to be moved.", + "start": 1981, + "end": 2023, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 46 + } + } + }, + { + "type": "CommentLine", + "value": " When at 0, an element can not go up any further.", + "start": 2063, + "end": 2114, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 55 + } + } + }, + { + "type": "CommentLine", + "value": " Compute the parent element's index, and fetch it.", + "start": 2141, + "end": 2193, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 58 + } + } + }, + { + "type": "CommentLine", + "value": " Swap the elements if the parent is greater.", + "start": 2291, + "end": 2337, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 52 + } + } + }, + { + "type": "CommentLine", + "value": " Update 'n' to continue at the new position.", + "start": 2491, + "end": 2537, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 54 + } + } + }, + { + "type": "CommentLine", + "value": " Found a parent that is less, no need to move it further.", + "start": 2573, + "end": 2632, + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " Look up the target element and its score.", + "start": 2716, + "end": 2760, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 48 + } + } + }, + { + "type": "CommentLine", + "value": " Compute the indices of the child elements.", + "start": 2909, + "end": 2954, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 51 + } + } + }, + { + "type": "CommentLine", + "value": " This is used to store the new position of the element,", + "start": 3027, + "end": 3084, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 63 + } + } + }, + { + "type": "CommentLine", + "value": " if any.", + "start": 3091, + "end": 3101, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 16 + } + } + }, + { + "type": "CommentLine", + "value": " If the first child exists (is inside the array)...", + "start": 3131, + "end": 3184, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 59 + } + } + }, + { + "type": "CommentLine", + "value": " Look it up and compute its score.", + "start": 3223, + "end": 3259, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 44 + } + } + }, + { + "type": "CommentLine", + "value": " If the score is less than our element's, we need to swap.", + "start": 3366, + "end": 3426, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 68 + } + } + }, + { + "type": "CommentLine", + "value": " Do the same checks for the other child.", + "start": 3494, + "end": 3536, + "loc": { + "start": { + "line": 111, + "column": 6 + }, + "end": { + "line": 111, + "column": 48 + } + } + }, + { + "type": "CommentLine", + "value": " If the element needs to be moved, swap it, and continue.", + "start": 3764, + "end": 3823, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " Otherwise, we are done.", + "start": 3966, + "end": 3992, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 32 + } + } + } + ], + "tokens": [ + { + "type": "CommentLine", + "value": " From http://eloquentjavascript.net/appendix2.html,", + "start": 0, + "end": 53, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + { + "type": "CommentLine", + "value": " licensed under CCv3.0: http://creativecommons.org/licenses/by/3.0/", + "start": 54, + "end": 123, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 69 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 125, + "end": 128, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "utils", + "start": 129, + "end": 134, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 135, + "end": 136, + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 137, + "end": 144, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 144, + "end": 145, + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./utils", + "start": 145, + "end": 154, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 154, + "end": 155, + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 155, + "end": 156, + "loc": { + "start": { + "line": 4, + "column": 30 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + { + "type": "CommentBlock", + "value": " This acts as a ordered binary heap for any serializeable JS object or collection of such objects ", + "start": 158, + "end": 260, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 102 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 261, + "end": 264, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BinaryHeap", + "start": 265, + "end": 275, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 276, + "end": 277, + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 7, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 278, + "end": 284, + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 284, + "end": 285, + "loc": { + "start": { + "line": 7, + "column": 23 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exports", + "start": 285, + "end": 292, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 293, + "end": 294, + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 295, + "end": 303, + "loc": { + "start": { + "line": 7, + "column": 34 + }, + "end": { + "line": 7, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BinaryHeap", + "start": 304, + "end": 314, + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 314, + "end": 315, + "loc": { + "start": { + "line": 7, + "column": 53 + }, + "end": { + "line": 7, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 315, + "end": 328, + "loc": { + "start": { + "line": 7, + "column": 54 + }, + "end": { + "line": 7, + "column": 67 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 328, + "end": 329, + "loc": { + "start": { + "line": 7, + "column": 67 + }, + "end": { + "line": 7, + "column": 68 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 330, + "end": 331, + "loc": { + "start": { + "line": 7, + "column": 69 + }, + "end": { + "line": 7, + "column": 70 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 334, + "end": 338, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 338, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 339, + "end": 346, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 347, + "end": 348, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 349, + "end": 350, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 18 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 350, + "end": 351, + "loc": { + "start": { + "line": 8, + "column": 18 + }, + "end": { + "line": 8, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 351, + "end": 352, + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 355, + "end": 359, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 359, + "end": 360, + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 360, + "end": 373, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 374, + "end": 375, + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 376, + "end": 389, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 389, + "end": 390, + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 391, + "end": 392, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 392, + "end": 393, + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BinaryHeap", + "start": 395, + "end": 405, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 405, + "end": 406, + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prototype", + "start": 406, + "end": 415, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 416, + "end": 417, + "loc": { + "start": { + "line": 12, + "column": 21 + }, + "end": { + "line": 12, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 418, + "end": 419, + "loc": { + "start": { + "line": 12, + "column": 23 + }, + "end": { + "line": 12, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clone", + "start": 422, + "end": 427, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 427, + "end": 428, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 429, + "end": 437, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 438, + "end": 439, + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 439, + "end": 440, + "loc": { + "start": { + "line": 13, + "column": 19 + }, + "end": { + "line": 13, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 441, + "end": 442, + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 447, + "end": 450, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "heap", + "start": 451, + "end": 455, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 456, + "end": 457, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 458, + "end": 461, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BinaryHeap", + "start": 462, + "end": 472, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 472, + "end": 473, + "loc": { + "start": { + "line": 14, + "column": 29 + }, + "end": { + "line": 14, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 473, + "end": 477, + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 477, + "end": 478, + "loc": { + "start": { + "line": 14, + "column": 34 + }, + "end": { + "line": 14, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 478, + "end": 491, + "loc": { + "start": { + "line": 14, + "column": 35 + }, + "end": { + "line": 14, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 491, + "end": 492, + "loc": { + "start": { + "line": 14, + "column": 48 + }, + "end": { + "line": 14, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 492, + "end": 493, + "loc": { + "start": { + "line": 14, + "column": 49 + }, + "end": { + "line": 14, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": " A little hacky, but effective.", + "start": 498, + "end": 531, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "heap", + "start": 536, + "end": 540, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 540, + "end": 541, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 541, + "end": 548, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 549, + "end": 550, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "JSON", + "start": 551, + "end": 555, + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 556, + "end": 561, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "JSON", + "start": 562, + "end": 566, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stringify", + "start": 567, + "end": 576, + "loc": { + "start": { + "line": 16, + "column": 35 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 576, + "end": 577, + "loc": { + "start": { + "line": 16, + "column": 44 + }, + "end": { + "line": 16, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 577, + "end": 581, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 581, + "end": 582, + "loc": { + "start": { + "line": 16, + "column": 49 + }, + "end": { + "line": 16, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 582, + "end": 589, + "loc": { + "start": { + "line": 16, + "column": 50 + }, + "end": { + "line": 16, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 589, + "end": 590, + "loc": { + "start": { + "line": 16, + "column": 57 + }, + "end": { + "line": 16, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 590, + "end": 591, + "loc": { + "start": { + "line": 16, + "column": 58 + }, + "end": { + "line": 16, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 591, + "end": 592, + "loc": { + "start": { + "line": 16, + "column": 59 + }, + "end": { + "line": 16, + "column": 60 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 597, + "end": 603, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "heap", + "start": 604, + "end": 608, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 608, + "end": 609, + "loc": { + "start": { + "line": 17, + "column": 15 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 612, + "end": 613, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 613, + "end": 614, + "loc": { + "start": { + "line": 18, + "column": 3 + }, + "end": { + "line": 18, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 618, + "end": 622, + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 624, + "end": 632, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 633, + "end": 634, + "loc": { + "start": { + "line": 20, + "column": 17 + }, + "end": { + "line": 20, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "element", + "start": 634, + "end": 641, + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 641, + "end": 642, + "loc": { + "start": { + "line": 20, + "column": 25 + }, + "end": { + "line": 20, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 643, + "end": 644, + "loc": { + "start": { + "line": 20, + "column": 27 + }, + "end": { + "line": 20, + "column": 28 + } + } + }, + { + "type": "CommentLine", + "value": " Add the new element to the end of the array.", + "start": 649, + "end": 696, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 51 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 701, + "end": 705, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 705, + "end": 706, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 706, + "end": 713, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 713, + "end": 714, + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 714, + "end": 718, + "loc": { + "start": { + "line": 22, + "column": 17 + }, + "end": { + "line": 22, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 718, + "end": 719, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "element", + "start": 719, + "end": 726, + "loc": { + "start": { + "line": 22, + "column": 22 + }, + "end": { + "line": 22, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 726, + "end": 727, + "loc": { + "start": { + "line": 22, + "column": 29 + }, + "end": { + "line": 22, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 727, + "end": 728, + "loc": { + "start": { + "line": 22, + "column": 30 + }, + "end": { + "line": 22, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " Allow it to bubble up.", + "start": 733, + "end": 758, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 763, + "end": 767, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 767, + "end": 768, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bubbleUp", + "start": 768, + "end": 776, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 776, + "end": 777, + "loc": { + "start": { + "line": 24, + "column": 17 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 777, + "end": 781, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 781, + "end": 782, + "loc": { + "start": { + "line": 24, + "column": 22 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 782, + "end": 789, + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 789, + "end": 790, + "loc": { + "start": { + "line": 24, + "column": 30 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 790, + "end": 796, + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 797, + "end": 798, + "loc": { + "start": { + "line": 24, + "column": 38 + }, + "end": { + "line": 24, + "column": 39 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 799, + "end": 800, + "loc": { + "start": { + "line": 24, + "column": 40 + }, + "end": { + "line": 24, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 800, + "end": 801, + "loc": { + "start": { + "line": 24, + "column": 41 + }, + "end": { + "line": 24, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 801, + "end": 802, + "loc": { + "start": { + "line": 24, + "column": 42 + }, + "end": { + "line": 24, + "column": 43 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 805, + "end": 806, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 806, + "end": 807, + "loc": { + "start": { + "line": 25, + "column": 3 + }, + "end": { + "line": 25, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "peek", + "start": 811, + "end": 815, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 815, + "end": 816, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 817, + "end": 825, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 826, + "end": 827, + "loc": { + "start": { + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 827, + "end": 828, + "loc": { + "start": { + "line": 27, + "column": 18 + }, + "end": { + "line": 27, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 829, + "end": 830, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 21 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 835, + "end": 841, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 842, + "end": 846, + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 846, + "end": 847, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 847, + "end": 854, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 854, + "end": 855, + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 855, + "end": 856, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 856, + "end": 857, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 28, + "column": 26 + }, + "end": { + "line": 28, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 861, + "end": 862, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 862, + "end": 863, + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pop", + "start": 867, + "end": 870, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 870, + "end": 871, + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 872, + "end": 880, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 881, + "end": 882, + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 31, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 882, + "end": 883, + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 884, + "end": 885, + "loc": { + "start": { + "line": 31, + "column": 19 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": " Store the first element so we can return it later.", + "start": 890, + "end": 943, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 57 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 948, + "end": 951, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result", + "start": 952, + "end": 958, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 959, + "end": 960, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 33, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 33, + "column": 17 + }, + "end": { + "line": 33, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 966, + "end": 973, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 973, + "end": 974, + "loc": { + "start": { + "line": 33, + "column": 29 + }, + "end": { + "line": 33, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 974, + "end": 975, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 31 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 975, + "end": 976, + "loc": { + "start": { + "line": 33, + "column": 31 + }, + "end": { + "line": 33, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 976, + "end": 977, + "loc": { + "start": { + "line": 33, + "column": 32 + }, + "end": { + "line": 33, + "column": 33 + } + } + }, + { + "type": "CommentLine", + "value": " Get the element at the end of the array.", + "start": 982, + "end": 1025, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 47 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 1030, + "end": 1033, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "end", + "start": 1034, + "end": 1037, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1038, + "end": 1039, + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1040, + "end": 1044, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1044, + "end": 1045, + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 1045, + "end": 1052, + "loc": { + "start": { + "line": 35, + "column": 19 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1052, + "end": 1053, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pop", + "start": 1053, + "end": 1056, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1056, + "end": 1057, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1057, + "end": 1058, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1058, + "end": 1059, + "loc": { + "start": { + "line": 35, + "column": 32 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + { + "type": "CommentLine", + "value": " If there are any elements left, put the end element at the", + "start": 1064, + "end": 1125, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " start, and let it sink down.", + "start": 1130, + "end": 1161, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1166, + "end": 1168, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1169, + "end": 1170, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1170, + "end": 1174, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1174, + "end": 1175, + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 1175, + "end": 1182, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1182, + "end": 1183, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1183, + "end": 1189, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 1190, + "end": 1191, + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1192, + "end": 1193, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1193, + "end": 1194, + "loc": { + "start": { + "line": 38, + "column": 31 + }, + "end": { + "line": 38, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1195, + "end": 1196, + "loc": { + "start": { + "line": 38, + "column": 33 + }, + "end": { + "line": 38, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1203, + "end": 1207, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1207, + "end": 1208, + "loc": { + "start": { + "line": 39, + "column": 10 + }, + "end": { + "line": 39, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 1208, + "end": 1215, + "loc": { + "start": { + "line": 39, + "column": 11 + }, + "end": { + "line": 39, + "column": 18 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1215, + "end": 1216, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1216, + "end": 1217, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1217, + "end": 1218, + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1219, + "end": 1220, + "loc": { + "start": { + "line": 39, + "column": 22 + }, + "end": { + "line": 39, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "end", + "start": 1221, + "end": 1224, + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1224, + "end": 1225, + "loc": { + "start": { + "line": 39, + "column": 27 + }, + "end": { + "line": 39, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1232, + "end": 1236, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1236, + "end": 1237, + "loc": { + "start": { + "line": 40, + "column": 10 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sinkDown", + "start": 1237, + "end": 1245, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1245, + "end": 1246, + "loc": { + "start": { + "line": 40, + "column": 19 + }, + "end": { + "line": 40, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1247, + "end": 1248, + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1248, + "end": 1249, + "loc": { + "start": { + "line": 40, + "column": 22 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1254, + "end": 1255, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1260, + "end": 1266, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result", + "start": 1267, + "end": 1273, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1273, + "end": 1274, + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1277, + "end": 1278, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1278, + "end": 1279, + "loc": { + "start": { + "line": 43, + "column": 3 + }, + "end": { + "line": 43, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "remove", + "start": 1283, + "end": 1289, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1289, + "end": 1290, + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 9 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1291, + "end": 1299, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1300, + "end": 1301, + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "node", + "start": 1301, + "end": 1305, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1305, + "end": 1306, + "loc": { + "start": { + "line": 45, + "column": 24 + }, + "end": { + "line": 45, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1307, + "end": 1308, + "loc": { + "start": { + "line": 45, + "column": 26 + }, + "end": { + "line": 45, + "column": 27 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 1313, + "end": 1316, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "len", + "start": 1317, + "end": 1320, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1321, + "end": 1322, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1323, + "end": 1327, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1327, + "end": 1328, + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 1328, + "end": 1335, + "loc": { + "start": { + "line": 46, + "column": 19 + }, + "end": { + "line": 46, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1335, + "end": 1336, + "loc": { + "start": { + "line": 46, + "column": 26 + }, + "end": { + "line": 46, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1336, + "end": 1342, + "loc": { + "start": { + "line": 46, + "column": 27 + }, + "end": { + "line": 46, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1342, + "end": 1343, + "loc": { + "start": { + "line": 46, + "column": 33 + }, + "end": { + "line": 46, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " To remove a value, we must search through the array to find", + "start": 1348, + "end": 1410, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 66 + } + } + }, + { + "type": "CommentLine", + "value": " it.", + "start": 1415, + "end": 1421, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 10 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 1426, + "end": 1429, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1430, + "end": 1431, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 1431, + "end": 1434, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1435, + "end": 1436, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1437, + "end": 1438, + "loc": { + "start": { + "line": 49, + "column": 15 + }, + "end": { + "line": 49, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1439, + "end": 1440, + "loc": { + "start": { + "line": 49, + "column": 17 + }, + "end": { + "line": 49, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1440, + "end": 1441, + "loc": { + "start": { + "line": 49, + "column": 18 + }, + "end": { + "line": 49, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1442, + "end": 1443, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 1444, + "end": 1445, + "loc": { + "start": { + "line": 49, + "column": 22 + }, + "end": { + "line": 49, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "len", + "start": 1446, + "end": 1449, + "loc": { + "start": { + "line": 49, + "column": 24 + }, + "end": { + "line": 49, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1449, + "end": 1450, + "loc": { + "start": { + "line": 49, + "column": 27 + }, + "end": { + "line": 49, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 49, + "column": 29 + }, + "end": { + "line": 49, + "column": 30 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 1452, + "end": 1454, + "loc": { + "start": { + "line": 49, + "column": 30 + }, + "end": { + "line": 49, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1454, + "end": 1455, + "loc": { + "start": { + "line": 49, + "column": 32 + }, + "end": { + "line": 49, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1456, + "end": 1457, + "loc": { + "start": { + "line": 49, + "column": 34 + }, + "end": { + "line": 49, + "column": 35 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1464, + "end": 1466, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1467, + "end": 1468, + "loc": { + "start": { + "line": 50, + "column": 9 + }, + "end": { + "line": 50, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1468, + "end": 1472, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1472, + "end": 1473, + "loc": { + "start": { + "line": 50, + "column": 14 + }, + "end": { + "line": 50, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 1473, + "end": 1480, + "loc": { + "start": { + "line": 50, + "column": 15 + }, + "end": { + "line": 50, + "column": 22 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1480, + "end": 1481, + "loc": { + "start": { + "line": 50, + "column": 22 + }, + "end": { + "line": 50, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1481, + "end": 1482, + "loc": { + "start": { + "line": 50, + "column": 23 + }, + "end": { + "line": 50, + "column": 24 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1482, + "end": 1483, + "loc": { + "start": { + "line": 50, + "column": 24 + }, + "end": { + "line": 50, + "column": 25 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 1484, + "end": 1486, + "loc": { + "start": { + "line": 50, + "column": 26 + }, + "end": { + "line": 50, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "node", + "start": 1487, + "end": 1491, + "loc": { + "start": { + "line": 50, + "column": 29 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1491, + "end": 1492, + "loc": { + "start": { + "line": 50, + "column": 33 + }, + "end": { + "line": 50, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1493, + "end": 1494, + "loc": { + "start": { + "line": 50, + "column": 35 + }, + "end": { + "line": 50, + "column": 36 + } + } + }, + { + "type": "CommentLine", + "value": " When it is found, the process seen in 'pop' is repeated", + "start": 1503, + "end": 1561, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 66 + } + } + }, + { + "type": "CommentLine", + "value": " to fill up the hole.", + "start": 1570, + "end": 1593, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 31 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 1602, + "end": 1605, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "end", + "start": 1606, + "end": 1609, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1610, + "end": 1611, + "loc": { + "start": { + "line": 53, + "column": 16 + }, + "end": { + "line": 53, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1612, + "end": 1616, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1616, + "end": 1617, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 1617, + "end": 1624, + "loc": { + "start": { + "line": 53, + "column": 23 + }, + "end": { + "line": 53, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1624, + "end": 1625, + "loc": { + "start": { + "line": 53, + "column": 30 + }, + "end": { + "line": 53, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pop", + "start": 1625, + "end": 1628, + "loc": { + "start": { + "line": 53, + "column": 31 + }, + "end": { + "line": 53, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1628, + "end": 1629, + "loc": { + "start": { + "line": 53, + "column": 34 + }, + "end": { + "line": 53, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1629, + "end": 1630, + "loc": { + "start": { + "line": 53, + "column": 35 + }, + "end": { + "line": 53, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1630, + "end": 1631, + "loc": { + "start": { + "line": 53, + "column": 36 + }, + "end": { + "line": 53, + "column": 37 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1640, + "end": 1642, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1643, + "end": 1644, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1644, + "end": 1645, + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 13 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!=", + "start": 1646, + "end": 1648, + "loc": { + "start": { + "line": 54, + "column": 14 + }, + "end": { + "line": 54, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "len", + "start": 1649, + "end": 1652, + "loc": { + "start": { + "line": 54, + "column": 17 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 1653, + "end": 1654, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 22 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1655, + "end": 1656, + "loc": { + "start": { + "line": 54, + "column": 23 + }, + "end": { + "line": 54, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1656, + "end": 1657, + "loc": { + "start": { + "line": 54, + "column": 24 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1658, + "end": 1659, + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 54, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1670, + "end": 1674, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1674, + "end": 1675, + "loc": { + "start": { + "line": 55, + "column": 14 + }, + "end": { + "line": 55, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 1675, + "end": 1682, + "loc": { + "start": { + "line": 55, + "column": 15 + }, + "end": { + "line": 55, + "column": 22 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1682, + "end": 1683, + "loc": { + "start": { + "line": 55, + "column": 22 + }, + "end": { + "line": 55, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1683, + "end": 1684, + "loc": { + "start": { + "line": 55, + "column": 23 + }, + "end": { + "line": 55, + "column": 24 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1684, + "end": 1685, + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1686, + "end": 1687, + "loc": { + "start": { + "line": 55, + "column": 26 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "end", + "start": 1688, + "end": 1691, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1691, + "end": 1692, + "loc": { + "start": { + "line": 55, + "column": 31 + }, + "end": { + "line": 55, + "column": 32 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1703, + "end": 1705, + "loc": { + "start": { + "line": 56, + "column": 10 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1706, + "end": 1707, + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1707, + "end": 1711, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1711, + "end": 1712, + "loc": { + "start": { + "line": 56, + "column": 18 + }, + "end": { + "line": 56, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 1712, + "end": 1725, + "loc": { + "start": { + "line": 56, + "column": 19 + }, + "end": { + "line": 56, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1725, + "end": 1726, + "loc": { + "start": { + "line": 56, + "column": 32 + }, + "end": { + "line": 56, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "end", + "start": 1726, + "end": 1729, + "loc": { + "start": { + "line": 56, + "column": 33 + }, + "end": { + "line": 56, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1729, + "end": 1730, + "loc": { + "start": { + "line": 56, + "column": 36 + }, + "end": { + "line": 56, + "column": 37 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 1731, + "end": 1732, + "loc": { + "start": { + "line": 56, + "column": 38 + }, + "end": { + "line": 56, + "column": 39 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1733, + "end": 1737, + "loc": { + "start": { + "line": 56, + "column": 40 + }, + "end": { + "line": 56, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1737, + "end": 1738, + "loc": { + "start": { + "line": 56, + "column": 44 + }, + "end": { + "line": 56, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 1738, + "end": 1751, + "loc": { + "start": { + "line": 56, + "column": 45 + }, + "end": { + "line": 56, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1751, + "end": 1752, + "loc": { + "start": { + "line": 56, + "column": 58 + }, + "end": { + "line": 56, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "node", + "start": 1752, + "end": 1756, + "loc": { + "start": { + "line": 56, + "column": 59 + }, + "end": { + "line": 56, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1756, + "end": 1757, + "loc": { + "start": { + "line": 56, + "column": 63 + }, + "end": { + "line": 56, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1757, + "end": 1758, + "loc": { + "start": { + "line": 56, + "column": 64 + }, + "end": { + "line": 56, + "column": 65 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1759, + "end": 1763, + "loc": { + "start": { + "line": 56, + "column": 66 + }, + "end": { + "line": 56, + "column": 70 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 56, + "column": 70 + }, + "end": { + "line": 56, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bubbleUp", + "start": 1764, + "end": 1772, + "loc": { + "start": { + "line": 56, + "column": 71 + }, + "end": { + "line": 56, + "column": 79 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1772, + "end": 1773, + "loc": { + "start": { + "line": 56, + "column": 79 + }, + "end": { + "line": 56, + "column": 80 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1773, + "end": 1774, + "loc": { + "start": { + "line": 56, + "column": 80 + }, + "end": { + "line": 56, + "column": 81 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1774, + "end": 1775, + "loc": { + "start": { + "line": 56, + "column": 81 + }, + "end": { + "line": 56, + "column": 82 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1775, + "end": 1776, + "loc": { + "start": { + "line": 56, + "column": 82 + }, + "end": { + "line": 56, + "column": 83 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1776, + "end": 1780, + "loc": { + "start": { + "line": 56, + "column": 83 + }, + "end": { + "line": 56, + "column": 87 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1781, + "end": 1785, + "loc": { + "start": { + "line": 56, + "column": 88 + }, + "end": { + "line": 56, + "column": 92 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1785, + "end": 1786, + "loc": { + "start": { + "line": 56, + "column": 92 + }, + "end": { + "line": 56, + "column": 93 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sinkDown", + "start": 1786, + "end": 1794, + "loc": { + "start": { + "line": 56, + "column": 93 + }, + "end": { + "line": 56, + "column": 101 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1794, + "end": 1795, + "loc": { + "start": { + "line": 56, + "column": 101 + }, + "end": { + "line": 56, + "column": 102 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1795, + "end": 1796, + "loc": { + "start": { + "line": 56, + "column": 102 + }, + "end": { + "line": 56, + "column": 103 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1796, + "end": 1797, + "loc": { + "start": { + "line": 56, + "column": 103 + }, + "end": { + "line": 56, + "column": 104 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1797, + "end": 1798, + "loc": { + "start": { + "line": 56, + "column": 104 + }, + "end": { + "line": 56, + "column": 105 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1807, + "end": 1808, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 9 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1817, + "end": 1823, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 14 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1824, + "end": 1828, + "loc": { + "start": { + "line": 58, + "column": 15 + }, + "end": { + "line": 58, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1828, + "end": 1829, + "loc": { + "start": { + "line": 58, + "column": 19 + }, + "end": { + "line": 58, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1836, + "end": 1837, + "loc": { + "start": { + "line": 59, + "column": 6 + }, + "end": { + "line": 59, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1842, + "end": 1843, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 5 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 1848, + "end": 1853, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 9 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1854, + "end": 1857, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 1858, + "end": 1863, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1863, + "end": 1864, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Node not found.", + "start": 1864, + "end": 1881, + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1881, + "end": 1882, + "loc": { + "start": { + "line": 61, + "column": 37 + }, + "end": { + "line": 61, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1882, + "end": 1883, + "loc": { + "start": { + "line": 61, + "column": 38 + }, + "end": { + "line": 61, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1886, + "end": 1887, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1887, + "end": 1888, + "loc": { + "start": { + "line": 62, + "column": 3 + }, + "end": { + "line": 62, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 1892, + "end": 1896, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 64, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1896, + "end": 1897, + "loc": { + "start": { + "line": 64, + "column": 6 + }, + "end": { + "line": 64, + "column": 7 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1898, + "end": 1906, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1907, + "end": 1908, + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1908, + "end": 1909, + "loc": { + "start": { + "line": 64, + "column": 18 + }, + "end": { + "line": 64, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1910, + "end": 1911, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 21 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1916, + "end": 1922, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1923, + "end": 1927, + "loc": { + "start": { + "line": 65, + "column": 11 + }, + "end": { + "line": 65, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1927, + "end": 1928, + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 1928, + "end": 1935, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1935, + "end": 1936, + "loc": { + "start": { + "line": 65, + "column": 23 + }, + "end": { + "line": 65, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1936, + "end": 1942, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1942, + "end": 1943, + "loc": { + "start": { + "line": 65, + "column": 30 + }, + "end": { + "line": 65, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1946, + "end": 1947, + "loc": { + "start": { + "line": 66, + "column": 2 + }, + "end": { + "line": 66, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1947, + "end": 1948, + "loc": { + "start": { + "line": 66, + "column": 3 + }, + "end": { + "line": 66, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bubbleUp", + "start": 1952, + "end": 1960, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1960, + "end": 1961, + "loc": { + "start": { + "line": 68, + "column": 10 + }, + "end": { + "line": 68, + "column": 11 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1962, + "end": 1970, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1971, + "end": 1972, + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 68, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 1972, + "end": 1973, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1973, + "end": 1974, + "loc": { + "start": { + "line": 68, + "column": 23 + }, + "end": { + "line": 68, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1975, + "end": 1976, + "loc": { + "start": { + "line": 68, + "column": 25 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, + { + "type": "CommentLine", + "value": " Fetch the element that has to be moved.", + "start": 1981, + "end": 2023, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 46 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 2028, + "end": 2031, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "element", + "start": 2032, + "end": 2039, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2040, + "end": 2041, + "loc": { + "start": { + "line": 70, + "column": 16 + }, + "end": { + "line": 70, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2042, + "end": 2046, + "loc": { + "start": { + "line": 70, + "column": 18 + }, + "end": { + "line": 70, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2046, + "end": 2047, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 2047, + "end": 2054, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 30 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2054, + "end": 2055, + "loc": { + "start": { + "line": 70, + "column": 30 + }, + "end": { + "line": 70, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2055, + "end": 2056, + "loc": { + "start": { + "line": 70, + "column": 31 + }, + "end": { + "line": 70, + "column": 32 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2056, + "end": 2057, + "loc": { + "start": { + "line": 70, + "column": 32 + }, + "end": { + "line": 70, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2057, + "end": 2058, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " When at 0, an element can not go up any further.", + "start": 2063, + "end": 2114, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 55 + } + } + }, + { + "type": { + "label": "while", + "keyword": "while", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "while", + "start": 2119, + "end": 2124, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2125, + "end": 2126, + "loc": { + "start": { + "line": 72, + "column": 10 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2126, + "end": 2127, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 12 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 2128, + "end": 2129, + "loc": { + "start": { + "line": 72, + "column": 13 + }, + "end": { + "line": 72, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2130, + "end": 2131, + "loc": { + "start": { + "line": 72, + "column": 15 + }, + "end": { + "line": 72, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2131, + "end": 2132, + "loc": { + "start": { + "line": 72, + "column": 16 + }, + "end": { + "line": 72, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2133, + "end": 2134, + "loc": { + "start": { + "line": 72, + "column": 18 + }, + "end": { + "line": 72, + "column": 19 + } + } + }, + { + "type": "CommentLine", + "value": " Compute the parent element's index, and fetch it.", + "start": 2141, + "end": 2193, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 58 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 2200, + "end": 2203, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parentN", + "start": 2204, + "end": 2211, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2212, + "end": 2213, + "loc": { + "start": { + "line": 74, + "column": 18 + }, + "end": { + "line": 74, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 2214, + "end": 2218, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2218, + "end": 2219, + "loc": { + "start": { + "line": 74, + "column": 24 + }, + "end": { + "line": 74, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 2219, + "end": 2224, + "loc": { + "start": { + "line": 74, + "column": 25 + }, + "end": { + "line": 74, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2224, + "end": 2225, + "loc": { + "start": { + "line": 74, + "column": 30 + }, + "end": { + "line": 74, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2225, + "end": 2226, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2226, + "end": 2227, + "loc": { + "start": { + "line": 74, + "column": 32 + }, + "end": { + "line": 74, + "column": 33 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2228, + "end": 2229, + "loc": { + "start": { + "line": 74, + "column": 34 + }, + "end": { + "line": 74, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2230, + "end": 2231, + "loc": { + "start": { + "line": 74, + "column": 36 + }, + "end": { + "line": 74, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2231, + "end": 2232, + "loc": { + "start": { + "line": 74, + "column": 37 + }, + "end": { + "line": 74, + "column": 38 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2233, + "end": 2234, + "loc": { + "start": { + "line": 74, + "column": 39 + }, + "end": { + "line": 74, + "column": 40 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 2235, + "end": 2236, + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2236, + "end": 2237, + "loc": { + "start": { + "line": 74, + "column": 42 + }, + "end": { + "line": 74, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 2238, + "end": 2239, + "loc": { + "start": { + "line": 74, + "column": 44 + }, + "end": { + "line": 74, + "column": 45 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2240, + "end": 2241, + "loc": { + "start": { + "line": 74, + "column": 46 + }, + "end": { + "line": 74, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2241, + "end": 2242, + "loc": { + "start": { + "line": 74, + "column": 47 + }, + "end": { + "line": 74, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parent", + "start": 2253, + "end": 2259, + "loc": { + "start": { + "line": 75, + "column": 10 + }, + "end": { + "line": 75, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2260, + "end": 2261, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2262, + "end": 2266, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2266, + "end": 2267, + "loc": { + "start": { + "line": 75, + "column": 23 + }, + "end": { + "line": 75, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 2267, + "end": 2274, + "loc": { + "start": { + "line": 75, + "column": 24 + }, + "end": { + "line": 75, + "column": 31 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2274, + "end": 2275, + "loc": { + "start": { + "line": 75, + "column": 31 + }, + "end": { + "line": 75, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parentN", + "start": 2275, + "end": 2282, + "loc": { + "start": { + "line": 75, + "column": 32 + }, + "end": { + "line": 75, + "column": 39 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2282, + "end": 2283, + "loc": { + "start": { + "line": 75, + "column": 39 + }, + "end": { + "line": 75, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2283, + "end": 2284, + "loc": { + "start": { + "line": 75, + "column": 40 + }, + "end": { + "line": 75, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " Swap the elements if the parent is greater.", + "start": 2291, + "end": 2337, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 52 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2344, + "end": 2346, + "loc": { + "start": { + "line": 77, + "column": 6 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2347, + "end": 2348, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2348, + "end": 2352, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2352, + "end": 2353, + "loc": { + "start": { + "line": 77, + "column": 14 + }, + "end": { + "line": 77, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 2353, + "end": 2366, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2366, + "end": 2367, + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "element", + "start": 2367, + "end": 2374, + "loc": { + "start": { + "line": 77, + "column": 29 + }, + "end": { + "line": 77, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2374, + "end": 2375, + "loc": { + "start": { + "line": 77, + "column": 36 + }, + "end": { + "line": 77, + "column": 37 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 2376, + "end": 2377, + "loc": { + "start": { + "line": 77, + "column": 38 + }, + "end": { + "line": 77, + "column": 39 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2378, + "end": 2382, + "loc": { + "start": { + "line": 77, + "column": 40 + }, + "end": { + "line": 77, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2382, + "end": 2383, + "loc": { + "start": { + "line": 77, + "column": 44 + }, + "end": { + "line": 77, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 2383, + "end": 2396, + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2396, + "end": 2397, + "loc": { + "start": { + "line": 77, + "column": 58 + }, + "end": { + "line": 77, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parent", + "start": 2397, + "end": 2403, + "loc": { + "start": { + "line": 77, + "column": 59 + }, + "end": { + "line": 77, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2403, + "end": 2404, + "loc": { + "start": { + "line": 77, + "column": 65 + }, + "end": { + "line": 77, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2404, + "end": 2405, + "loc": { + "start": { + "line": 77, + "column": 66 + }, + "end": { + "line": 77, + "column": 67 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2406, + "end": 2407, + "loc": { + "start": { + "line": 77, + "column": 68 + }, + "end": { + "line": 77, + "column": 69 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2416, + "end": 2420, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2420, + "end": 2421, + "loc": { + "start": { + "line": 78, + "column": 12 + }, + "end": { + "line": 78, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 2421, + "end": 2428, + "loc": { + "start": { + "line": 78, + "column": 13 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2428, + "end": 2429, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parentN", + "start": 2429, + "end": 2436, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 28 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2436, + "end": 2437, + "loc": { + "start": { + "line": 78, + "column": 28 + }, + "end": { + "line": 78, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2438, + "end": 2439, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "element", + "start": 2440, + "end": 2447, + "loc": { + "start": { + "line": 78, + "column": 32 + }, + "end": { + "line": 78, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2447, + "end": 2448, + "loc": { + "start": { + "line": 78, + "column": 39 + }, + "end": { + "line": 78, + "column": 40 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2457, + "end": 2461, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2461, + "end": 2462, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 2462, + "end": 2469, + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2469, + "end": 2470, + "loc": { + "start": { + "line": 79, + "column": 20 + }, + "end": { + "line": 79, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2470, + "end": 2471, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 22 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2471, + "end": 2472, + "loc": { + "start": { + "line": 79, + "column": 22 + }, + "end": { + "line": 79, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2473, + "end": 2474, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parent", + "start": 2475, + "end": 2481, + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2481, + "end": 2482, + "loc": { + "start": { + "line": 79, + "column": 32 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + { + "type": "CommentLine", + "value": " Update 'n' to continue at the new position.", + "start": 2491, + "end": 2537, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2546, + "end": 2547, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2548, + "end": 2549, + "loc": { + "start": { + "line": 81, + "column": 10 + }, + "end": { + "line": 81, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parentN", + "start": 2550, + "end": 2557, + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2557, + "end": 2558, + "loc": { + "start": { + "line": 81, + "column": 19 + }, + "end": { + "line": 81, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2565, + "end": 2566, + "loc": { + "start": { + "line": 82, + "column": 6 + }, + "end": { + "line": 82, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Found a parent that is less, no need to move it further.", + "start": 2573, + "end": 2632, + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 65 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2639, + "end": 2643, + "loc": { + "start": { + "line": 84, + "column": 6 + }, + "end": { + "line": 84, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2644, + "end": 2645, + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 12 + } + } + }, + { + "type": { + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "break", + "start": 2656, + "end": 2661, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 85, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2661, + "end": 2662, + "loc": { + "start": { + "line": 85, + "column": 15 + }, + "end": { + "line": 85, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2671, + "end": 2672, + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2677, + "end": 2678, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2681, + "end": 2682, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2682, + "end": 2683, + "loc": { + "start": { + "line": 88, + "column": 3 + }, + "end": { + "line": 88, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sinkDown", + "start": 2687, + "end": 2695, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2695, + "end": 2696, + "loc": { + "start": { + "line": 90, + "column": 10 + }, + "end": { + "line": 90, + "column": 11 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 2697, + "end": 2705, + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2706, + "end": 2707, + "loc": { + "start": { + "line": 90, + "column": 21 + }, + "end": { + "line": 90, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2707, + "end": 2708, + "loc": { + "start": { + "line": 90, + "column": 22 + }, + "end": { + "line": 90, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2708, + "end": 2709, + "loc": { + "start": { + "line": 90, + "column": 23 + }, + "end": { + "line": 90, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2710, + "end": 2711, + "loc": { + "start": { + "line": 90, + "column": 25 + }, + "end": { + "line": 90, + "column": 26 + } + } + }, + { + "type": "CommentLine", + "value": " Look up the target element and its score.", + "start": 2716, + "end": 2760, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 48 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 2765, + "end": 2768, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2769, + "end": 2775, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2776, + "end": 2777, + "loc": { + "start": { + "line": 92, + "column": 15 + }, + "end": { + "line": 92, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2778, + "end": 2782, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2782, + "end": 2783, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 2783, + "end": 2790, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2790, + "end": 2791, + "loc": { + "start": { + "line": 92, + "column": 29 + }, + "end": { + "line": 92, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2791, + "end": 2797, + "loc": { + "start": { + "line": 92, + "column": 30 + }, + "end": { + "line": 92, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2797, + "end": 2798, + "loc": { + "start": { + "line": 92, + "column": 36 + }, + "end": { + "line": 92, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "element", + "start": 2807, + "end": 2814, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2815, + "end": 2816, + "loc": { + "start": { + "line": 93, + "column": 16 + }, + "end": { + "line": 93, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2817, + "end": 2821, + "loc": { + "start": { + "line": 93, + "column": 18 + }, + "end": { + "line": 93, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2821, + "end": 2822, + "loc": { + "start": { + "line": 93, + "column": 22 + }, + "end": { + "line": 93, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 2822, + "end": 2829, + "loc": { + "start": { + "line": 93, + "column": 23 + }, + "end": { + "line": 93, + "column": 30 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2829, + "end": 2830, + "loc": { + "start": { + "line": 93, + "column": 30 + }, + "end": { + "line": 93, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2830, + "end": 2831, + "loc": { + "start": { + "line": 93, + "column": 31 + }, + "end": { + "line": 93, + "column": 32 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2831, + "end": 2832, + "loc": { + "start": { + "line": 93, + "column": 32 + }, + "end": { + "line": 93, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2832, + "end": 2833, + "loc": { + "start": { + "line": 93, + "column": 33 + }, + "end": { + "line": 93, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elemScore", + "start": 2842, + "end": 2851, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2852, + "end": 2853, + "loc": { + "start": { + "line": 94, + "column": 18 + }, + "end": { + "line": 94, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2854, + "end": 2858, + "loc": { + "start": { + "line": 94, + "column": 20 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2858, + "end": 2859, + "loc": { + "start": { + "line": 94, + "column": 24 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 2859, + "end": 2872, + "loc": { + "start": { + "line": 94, + "column": 25 + }, + "end": { + "line": 94, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2872, + "end": 2873, + "loc": { + "start": { + "line": 94, + "column": 38 + }, + "end": { + "line": 94, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "element", + "start": 2873, + "end": 2880, + "loc": { + "start": { + "line": 94, + "column": 39 + }, + "end": { + "line": 94, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2880, + "end": 2881, + "loc": { + "start": { + "line": 94, + "column": 46 + }, + "end": { + "line": 94, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2881, + "end": 2882, + "loc": { + "start": { + "line": 94, + "column": 47 + }, + "end": { + "line": 94, + "column": 48 + } + } + }, + { + "type": { + "label": "while", + "keyword": "while", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "while", + "start": 2888, + "end": 2893, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2894, + "end": 2895, + "loc": { + "start": { + "line": 96, + "column": 10 + }, + "end": { + "line": 96, + "column": 11 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 2895, + "end": 2899, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2899, + "end": 2900, + "loc": { + "start": { + "line": 96, + "column": 15 + }, + "end": { + "line": 96, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2901, + "end": 2902, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 18 + } + } + }, + { + "type": "CommentLine", + "value": " Compute the indices of the child elements.", + "start": 2909, + "end": 2954, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 51 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 2961, + "end": 2964, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2N", + "start": 2965, + "end": 2972, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2973, + "end": 2974, + "loc": { + "start": { + "line": 98, + "column": 18 + }, + "end": { + "line": 98, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2975, + "end": 2976, + "loc": { + "start": { + "line": 98, + "column": 20 + }, + "end": { + "line": 98, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2976, + "end": 2977, + "loc": { + "start": { + "line": 98, + "column": 21 + }, + "end": { + "line": 98, + "column": 22 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2978, + "end": 2979, + "loc": { + "start": { + "line": 98, + "column": 23 + }, + "end": { + "line": 98, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2980, + "end": 2981, + "loc": { + "start": { + "line": 98, + "column": 25 + }, + "end": { + "line": 98, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2981, + "end": 2982, + "loc": { + "start": { + "line": 98, + "column": 26 + }, + "end": { + "line": 98, + "column": 27 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2983, + "end": 2984, + "loc": { + "start": { + "line": 98, + "column": 28 + }, + "end": { + "line": 98, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 2985, + "end": 2986, + "loc": { + "start": { + "line": 98, + "column": 30 + }, + "end": { + "line": 98, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2986, + "end": 2987, + "loc": { + "start": { + "line": 98, + "column": 31 + }, + "end": { + "line": 98, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1N", + "start": 2998, + "end": 3005, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3006, + "end": 3007, + "loc": { + "start": { + "line": 99, + "column": 18 + }, + "end": { + "line": 99, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2N", + "start": 3008, + "end": 3015, + "loc": { + "start": { + "line": 99, + "column": 20 + }, + "end": { + "line": 99, + "column": 27 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 3016, + "end": 3017, + "loc": { + "start": { + "line": 99, + "column": 28 + }, + "end": { + "line": 99, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3018, + "end": 3019, + "loc": { + "start": { + "line": 99, + "column": 30 + }, + "end": { + "line": 99, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3019, + "end": 3020, + "loc": { + "start": { + "line": 99, + "column": 31 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + { + "type": "CommentLine", + "value": " This is used to store the new position of the element,", + "start": 3027, + "end": 3084, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 63 + } + } + }, + { + "type": "CommentLine", + "value": " if any.", + "start": 3091, + "end": 3101, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 16 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 3108, + "end": 3111, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swap", + "start": 3112, + "end": 3116, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3117, + "end": 3118, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 16 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 3119, + "end": 3123, + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3123, + "end": 3124, + "loc": { + "start": { + "line": 102, + "column": 21 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " If the first child exists (is inside the array)...", + "start": 3131, + "end": 3184, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 59 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3191, + "end": 3193, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3194, + "end": 3195, + "loc": { + "start": { + "line": 104, + "column": 9 + }, + "end": { + "line": 104, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1N", + "start": 3195, + "end": 3202, + "loc": { + "start": { + "line": 104, + "column": 10 + }, + "end": { + "line": 104, + "column": 17 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3203, + "end": 3204, + "loc": { + "start": { + "line": 104, + "column": 18 + }, + "end": { + "line": 104, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3205, + "end": 3211, + "loc": { + "start": { + "line": 104, + "column": 20 + }, + "end": { + "line": 104, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3211, + "end": 3212, + "loc": { + "start": { + "line": 104, + "column": 26 + }, + "end": { + "line": 104, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3213, + "end": 3214, + "loc": { + "start": { + "line": 104, + "column": 28 + }, + "end": { + "line": 104, + "column": 29 + } + } + }, + { + "type": "CommentLine", + "value": " Look it up and compute its score.", + "start": 3223, + "end": 3259, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 44 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 3268, + "end": 3271, + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1", + "start": 3272, + "end": 3278, + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3279, + "end": 3280, + "loc": { + "start": { + "line": 106, + "column": 19 + }, + "end": { + "line": 106, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3281, + "end": 3285, + "loc": { + "start": { + "line": 106, + "column": 21 + }, + "end": { + "line": 106, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3285, + "end": 3286, + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 106, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 3286, + "end": 3293, + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 33 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3293, + "end": 3294, + "loc": { + "start": { + "line": 106, + "column": 33 + }, + "end": { + "line": 106, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1N", + "start": 3294, + "end": 3301, + "loc": { + "start": { + "line": 106, + "column": 34 + }, + "end": { + "line": 106, + "column": 41 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3301, + "end": 3302, + "loc": { + "start": { + "line": 106, + "column": 41 + }, + "end": { + "line": 106, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3302, + "end": 3303, + "loc": { + "start": { + "line": 106, + "column": 42 + }, + "end": { + "line": 106, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1Score", + "start": 3316, + "end": 3327, + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3328, + "end": 3329, + "loc": { + "start": { + "line": 107, + "column": 24 + }, + "end": { + "line": 107, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3330, + "end": 3334, + "loc": { + "start": { + "line": 107, + "column": 26 + }, + "end": { + "line": 107, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3334, + "end": 3335, + "loc": { + "start": { + "line": 107, + "column": 30 + }, + "end": { + "line": 107, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 3335, + "end": 3348, + "loc": { + "start": { + "line": 107, + "column": 31 + }, + "end": { + "line": 107, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3348, + "end": 3349, + "loc": { + "start": { + "line": 107, + "column": 44 + }, + "end": { + "line": 107, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1", + "start": 3349, + "end": 3355, + "loc": { + "start": { + "line": 107, + "column": 45 + }, + "end": { + "line": 107, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3355, + "end": 3356, + "loc": { + "start": { + "line": 107, + "column": 51 + }, + "end": { + "line": 107, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3356, + "end": 3357, + "loc": { + "start": { + "line": 107, + "column": 52 + }, + "end": { + "line": 107, + "column": 53 + } + } + }, + { + "type": "CommentLine", + "value": " If the score is less than our element's, we need to swap.", + "start": 3366, + "end": 3426, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 68 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3435, + "end": 3437, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3438, + "end": 3439, + "loc": { + "start": { + "line": 109, + "column": 11 + }, + "end": { + "line": 109, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1Score", + "start": 3439, + "end": 3450, + "loc": { + "start": { + "line": 109, + "column": 12 + }, + "end": { + "line": 109, + "column": 23 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3451, + "end": 3452, + "loc": { + "start": { + "line": 109, + "column": 24 + }, + "end": { + "line": 109, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elemScore", + "start": 3453, + "end": 3462, + "loc": { + "start": { + "line": 109, + "column": 26 + }, + "end": { + "line": 109, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3462, + "end": 3463, + "loc": { + "start": { + "line": 109, + "column": 35 + }, + "end": { + "line": 109, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swap", + "start": 3464, + "end": 3468, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 41 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3469, + "end": 3470, + "loc": { + "start": { + "line": 109, + "column": 42 + }, + "end": { + "line": 109, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1N", + "start": 3471, + "end": 3478, + "loc": { + "start": { + "line": 109, + "column": 44 + }, + "end": { + "line": 109, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3478, + "end": 3479, + "loc": { + "start": { + "line": 109, + "column": 51 + }, + "end": { + "line": 109, + "column": 52 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3486, + "end": 3487, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Do the same checks for the other child.", + "start": 3494, + "end": 3536, + "loc": { + "start": { + "line": 111, + "column": 6 + }, + "end": { + "line": 111, + "column": 48 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3543, + "end": 3545, + "loc": { + "start": { + "line": 112, + "column": 6 + }, + "end": { + "line": 112, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3546, + "end": 3547, + "loc": { + "start": { + "line": 112, + "column": 9 + }, + "end": { + "line": 112, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2N", + "start": 3547, + "end": 3554, + "loc": { + "start": { + "line": 112, + "column": 10 + }, + "end": { + "line": 112, + "column": 17 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3555, + "end": 3556, + "loc": { + "start": { + "line": 112, + "column": 18 + }, + "end": { + "line": 112, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3557, + "end": 3563, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 112, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3563, + "end": 3564, + "loc": { + "start": { + "line": 112, + "column": 26 + }, + "end": { + "line": 112, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3565, + "end": 3566, + "loc": { + "start": { + "line": 112, + "column": 28 + }, + "end": { + "line": 112, + "column": 29 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 3575, + "end": 3578, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2", + "start": 3579, + "end": 3585, + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3586, + "end": 3587, + "loc": { + "start": { + "line": 113, + "column": 19 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3588, + "end": 3592, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3592, + "end": 3593, + "loc": { + "start": { + "line": 113, + "column": 25 + }, + "end": { + "line": 113, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 3593, + "end": 3600, + "loc": { + "start": { + "line": 113, + "column": 26 + }, + "end": { + "line": 113, + "column": 33 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3600, + "end": 3601, + "loc": { + "start": { + "line": 113, + "column": 33 + }, + "end": { + "line": 113, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2N", + "start": 3601, + "end": 3608, + "loc": { + "start": { + "line": 113, + "column": 34 + }, + "end": { + "line": 113, + "column": 41 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3608, + "end": 3609, + "loc": { + "start": { + "line": 113, + "column": 41 + }, + "end": { + "line": 113, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3609, + "end": 3610, + "loc": { + "start": { + "line": 113, + "column": 42 + }, + "end": { + "line": 113, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2Score", + "start": 3623, + "end": 3634, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3635, + "end": 3636, + "loc": { + "start": { + "line": 114, + "column": 24 + }, + "end": { + "line": 114, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3637, + "end": 3641, + "loc": { + "start": { + "line": 114, + "column": 26 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3641, + "end": 3642, + "loc": { + "start": { + "line": 114, + "column": 30 + }, + "end": { + "line": 114, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "scoreFunction", + "start": 3642, + "end": 3655, + "loc": { + "start": { + "line": 114, + "column": 31 + }, + "end": { + "line": 114, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3655, + "end": 3656, + "loc": { + "start": { + "line": 114, + "column": 44 + }, + "end": { + "line": 114, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2", + "start": 3656, + "end": 3662, + "loc": { + "start": { + "line": 114, + "column": 45 + }, + "end": { + "line": 114, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3662, + "end": 3663, + "loc": { + "start": { + "line": 114, + "column": 51 + }, + "end": { + "line": 114, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3663, + "end": 3664, + "loc": { + "start": { + "line": 114, + "column": 52 + }, + "end": { + "line": 114, + "column": 53 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3673, + "end": 3675, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3676, + "end": 3677, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2Score", + "start": 3677, + "end": 3688, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 23 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3689, + "end": 3690, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3691, + "end": 3692, + "loc": { + "start": { + "line": 115, + "column": 26 + }, + "end": { + "line": 115, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swap", + "start": 3692, + "end": 3696, + "loc": { + "start": { + "line": 115, + "column": 27 + }, + "end": { + "line": 115, + "column": 31 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 3697, + "end": 3699, + "loc": { + "start": { + "line": 115, + "column": 32 + }, + "end": { + "line": 115, + "column": 34 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 3700, + "end": 3704, + "loc": { + "start": { + "line": 115, + "column": 35 + }, + "end": { + "line": 115, + "column": 39 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3705, + "end": 3706, + "loc": { + "start": { + "line": 115, + "column": 40 + }, + "end": { + "line": 115, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elemScore", + "start": 3707, + "end": 3716, + "loc": { + "start": { + "line": 115, + "column": 42 + }, + "end": { + "line": 115, + "column": 51 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3717, + "end": 3718, + "loc": { + "start": { + "line": 115, + "column": 52 + }, + "end": { + "line": 115, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child1Score", + "start": 3719, + "end": 3730, + "loc": { + "start": { + "line": 115, + "column": 54 + }, + "end": { + "line": 115, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3730, + "end": 3731, + "loc": { + "start": { + "line": 115, + "column": 65 + }, + "end": { + "line": 115, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3731, + "end": 3732, + "loc": { + "start": { + "line": 115, + "column": 66 + }, + "end": { + "line": 115, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swap", + "start": 3733, + "end": 3737, + "loc": { + "start": { + "line": 115, + "column": 68 + }, + "end": { + "line": 115, + "column": 72 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3738, + "end": 3739, + "loc": { + "start": { + "line": 115, + "column": 73 + }, + "end": { + "line": 115, + "column": 74 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "child2N", + "start": 3740, + "end": 3747, + "loc": { + "start": { + "line": 115, + "column": 75 + }, + "end": { + "line": 115, + "column": 82 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3747, + "end": 3748, + "loc": { + "start": { + "line": 115, + "column": 82 + }, + "end": { + "line": 115, + "column": 83 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3755, + "end": 3756, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " If the element needs to be moved, swap it, and continue.", + "start": 3764, + "end": 3823, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 65 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3830, + "end": 3832, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3833, + "end": 3834, + "loc": { + "start": { + "line": 119, + "column": 9 + }, + "end": { + "line": 119, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swap", + "start": 3834, + "end": 3838, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 14 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!=", + "start": 3839, + "end": 3841, + "loc": { + "start": { + "line": 119, + "column": 15 + }, + "end": { + "line": 119, + "column": 17 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 3842, + "end": 3846, + "loc": { + "start": { + "line": 119, + "column": 18 + }, + "end": { + "line": 119, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3846, + "end": 3847, + "loc": { + "start": { + "line": 119, + "column": 22 + }, + "end": { + "line": 119, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3848, + "end": 3849, + "loc": { + "start": { + "line": 119, + "column": 24 + }, + "end": { + "line": 119, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3858, + "end": 3862, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3862, + "end": 3863, + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 3863, + "end": 3870, + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3870, + "end": 3871, + "loc": { + "start": { + "line": 120, + "column": 20 + }, + "end": { + "line": 120, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 3871, + "end": 3872, + "loc": { + "start": { + "line": 120, + "column": 21 + }, + "end": { + "line": 120, + "column": 22 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3872, + "end": 3873, + "loc": { + "start": { + "line": 120, + "column": 22 + }, + "end": { + "line": 120, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3874, + "end": 3875, + "loc": { + "start": { + "line": 120, + "column": 24 + }, + "end": { + "line": 120, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3876, + "end": 3880, + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3880, + "end": 3881, + "loc": { + "start": { + "line": 120, + "column": 30 + }, + "end": { + "line": 120, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 3881, + "end": 3888, + "loc": { + "start": { + "line": 120, + "column": 31 + }, + "end": { + "line": 120, + "column": 38 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3888, + "end": 3889, + "loc": { + "start": { + "line": 120, + "column": 38 + }, + "end": { + "line": 120, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swap", + "start": 3889, + "end": 3893, + "loc": { + "start": { + "line": 120, + "column": 39 + }, + "end": { + "line": 120, + "column": 43 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3893, + "end": 3894, + "loc": { + "start": { + "line": 120, + "column": 43 + }, + "end": { + "line": 120, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3894, + "end": 3895, + "loc": { + "start": { + "line": 120, + "column": 44 + }, + "end": { + "line": 120, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3904, + "end": 3908, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3908, + "end": 3909, + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "content", + "start": 3909, + "end": 3916, + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3916, + "end": 3917, + "loc": { + "start": { + "line": 121, + "column": 20 + }, + "end": { + "line": 121, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swap", + "start": 3917, + "end": 3921, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 121, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3921, + "end": 3922, + "loc": { + "start": { + "line": 121, + "column": 25 + }, + "end": { + "line": 121, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3923, + "end": 3924, + "loc": { + "start": { + "line": 121, + "column": 27 + }, + "end": { + "line": 121, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "element", + "start": 3925, + "end": 3932, + "loc": { + "start": { + "line": 121, + "column": 29 + }, + "end": { + "line": 121, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3932, + "end": 3933, + "loc": { + "start": { + "line": 121, + "column": 36 + }, + "end": { + "line": 121, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 3942, + "end": 3943, + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3944, + "end": 3945, + "loc": { + "start": { + "line": 122, + "column": 10 + }, + "end": { + "line": 122, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swap", + "start": 3946, + "end": 3950, + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3950, + "end": 3951, + "loc": { + "start": { + "line": 122, + "column": 16 + }, + "end": { + "line": 122, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3958, + "end": 3959, + "loc": { + "start": { + "line": 123, + "column": 6 + }, + "end": { + "line": 123, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Otherwise, we are done.", + "start": 3966, + "end": 3992, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 32 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 3999, + "end": 4003, + "loc": { + "start": { + "line": 125, + "column": 6 + }, + "end": { + "line": 125, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4004, + "end": 4005, + "loc": { + "start": { + "line": 125, + "column": 11 + }, + "end": { + "line": 125, + "column": 12 + } + } + }, + { + "type": { + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "break", + "start": 4016, + "end": 4021, + "loc": { + "start": { + "line": 126, + "column": 10 + }, + "end": { + "line": 126, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4021, + "end": 4022, + "loc": { + "start": { + "line": 126, + "column": 15 + }, + "end": { + "line": 126, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4031, + "end": 4032, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4037, + "end": 4038, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4041, + "end": 4042, + "loc": { + "start": { + "line": 129, + "column": 2 + }, + "end": { + "line": 129, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4043, + "end": 4044, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 130, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4044, + "end": 4045, + "loc": { + "start": { + "line": 130, + "column": 1 + }, + "end": { + "line": 130, + "column": 2 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4045, + "end": 4045, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, + "column": 2 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/metrics/src/stats/lib/utils.js.json b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/lib/utils.js.json new file mode 100644 index 0000000..bf37604 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/metrics/src/stats/lib/utils.js.json @@ -0,0 +1,9531 @@ +{ + "type": "File", + "start": 0, + "end": 1472, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 48, + "column": 4 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1472, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 48, + "column": 4 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExpressionStatement", + "start": 250, + "end": 1472, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 48, + "column": 4 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 250, + "end": 1471, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 250, + "end": 263, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 250, + "end": 257, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 7 + }, + "identifierName": "exports" + }, + "name": "exports", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 258, + "end": 263, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 13 + }, + "identifierName": "mixin" + }, + "name": "mixin" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 266, + "end": 1471, + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 48, + "column": 3 + } + }, + "callee": { + "type": "FunctionExpression", + "start": 266, + "end": 1469, + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 278, + "end": 1469, + "loc": { + "start": { + "line": 7, + "column": 28 + }, + "end": { + "line": 48, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 282, + "end": 1044, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 29, + "column": 4 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 286, + "end": 1043, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "id": { + "type": "Identifier", + "start": 286, + "end": 290, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 10 + }, + "identifierName": "_mix" + }, + "name": "_mix" + }, + "init": { + "type": "FunctionExpression", + "start": 293, + "end": 1043, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 303, + "end": 307, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 27 + }, + "identifierName": "targ" + }, + "name": "targ" + }, + { + "type": "Identifier", + "start": 309, + "end": 312, + "loc": { + "start": { + "line": 8, + "column": 29 + }, + "end": { + "line": 8, + "column": 32 + }, + "identifierName": "src" + }, + "name": "src" + }, + { + "type": "Identifier", + "start": 314, + "end": 319, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "column": 39 + }, + "identifierName": "merge" + }, + "name": "merge" + } + ], + "body": { + "type": "BlockStatement", + "start": 321, + "end": 1043, + "loc": { + "start": { + "line": 8, + "column": 41 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "body": [ + { + "type": "ForInStatement", + "start": 327, + "end": 1039, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 28, + "column": 5 + } + }, + "left": { + "type": "VariableDeclaration", + "start": 332, + "end": 337, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 14 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 336, + "end": 337, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 14 + } + }, + "id": { + "type": "Identifier", + "start": 336, + "end": 337, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 14 + }, + "identifierName": "p" + }, + "name": "p" + }, + "init": null + } + ], + "kind": "var" + }, + "right": { + "type": "Identifier", + "start": 341, + "end": 344, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 21 + }, + "identifierName": "src" + }, + "name": "src" + }, + "body": { + "type": "BlockStatement", + "start": 346, + "end": 1039, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 28, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 399, + "end": 1033, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 27, + "column": 7 + } + }, + "test": { + "type": "CallExpression", + "start": 403, + "end": 424, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 403, + "end": 421, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 403, + "end": 406, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 13 + }, + "identifierName": "src" + }, + "name": "src", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 407, + "end": 421, + "loc": { + "start": { + "line": 11, + "column": 14 + }, + "end": { + "line": 11, + "column": 28 + }, + "identifierName": "hasOwnProperty" + }, + "name": "hasOwnProperty" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 422, + "end": 423, + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 30 + }, + "identifierName": "p" + }, + "name": "p" + } + ], + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 426, + "end": 1033, + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 27, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 436, + "end": 1025, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 26, + "column": 11 + } + }, + "test": { + "type": "LogicalExpression", + "start": 440, + "end": 629, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 15, + "column": 82 + } + }, + "left": { + "type": "LogicalExpression", + "start": 440, + "end": 599, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 15, + "column": 52 + } + }, + "left": { + "type": "LogicalExpression", + "start": 440, + "end": 580, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 15, + "column": 33 + } + }, + "left": { + "type": "Identifier", + "start": 440, + "end": 445, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 17 + }, + "identifierName": "merge" + }, + "name": "merge" + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 555, + "end": 580, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 33 + } + }, + "left": { + "type": "UnaryExpression", + "start": 555, + "end": 568, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 21 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 562, + "end": 568, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 562, + "end": 565, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 18 + }, + "identifierName": "src" + }, + "name": "src", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true, + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "operator": "==", + "right": { + "type": "StringLiteral", + "start": 572, + "end": 580, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 33 + } + }, + "extra": { + "rawValue": "object", + "raw": "'object'" + }, + "value": "object" + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Assumes the source property is an Object you can", + "start": 457, + "end": 508, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 59 + } + } + }, + { + "type": "CommentLine", + "value": " actually recurse down into", + "start": 517, + "end": 546, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 37 + } + } + } + ] + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 584, + "end": 599, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 52 + } + }, + "left": { + "type": "MemberExpression", + "start": 584, + "end": 590, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 584, + "end": 587, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 40 + }, + "identifierName": "src" + }, + "name": "src" + }, + "property": { + "type": "Identifier", + "start": 588, + "end": 589, + "loc": { + "start": { + "line": 15, + "column": 41 + }, + "end": { + "line": 15, + "column": 42 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true + }, + "operator": "!==", + "right": { + "type": "NullLiteral", + "start": 595, + "end": 599, + "loc": { + "start": { + "line": 15, + "column": 48 + }, + "end": { + "line": 15, + "column": 52 + } + } + } + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 603, + "end": 629, + "loc": { + "start": { + "line": 15, + "column": 56 + }, + "end": { + "line": 15, + "column": 82 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "BinaryExpression", + "start": 605, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 58 + }, + "end": { + "line": 15, + "column": 81 + } + }, + "left": { + "type": "MemberExpression", + "start": 605, + "end": 611, + "loc": { + "start": { + "line": 15, + "column": 58 + }, + "end": { + "line": 15, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 605, + "end": 608, + "loc": { + "start": { + "line": 15, + "column": 58 + }, + "end": { + "line": 15, + "column": 61 + }, + "identifierName": "src" + }, + "name": "src" + }, + "property": { + "type": "Identifier", + "start": 609, + "end": 610, + "loc": { + "start": { + "line": 15, + "column": 62 + }, + "end": { + "line": 15, + "column": 63 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true + }, + "operator": "instanceof", + "right": { + "type": "Identifier", + "start": 623, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 76 + }, + "end": { + "line": 15, + "column": 81 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "extra": { + "parenthesized": true, + "parenStart": 604 + } + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 631, + "end": 911, + "loc": { + "start": { + "line": 15, + "column": 84 + }, + "end": { + "line": 22, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 776, + "end": 850, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 20, + "column": 11 + } + }, + "test": { + "type": "BinaryExpression", + "start": 780, + "end": 809, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 43 + } + }, + "left": { + "type": "UnaryExpression", + "start": 780, + "end": 794, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 28 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 787, + "end": 794, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 25 + }, + "identifierName": "targ" + }, + "name": "targ", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 792, + "end": 793, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 27 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true, + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "operator": "==", + "right": { + "type": "StringLiteral", + "start": 798, + "end": 809, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 43 + } + }, + "extra": { + "rawValue": "undefined", + "raw": "'undefined'" + }, + "value": "undefined" + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 811, + "end": 850, + "loc": { + "start": { + "line": 18, + "column": 45 + }, + "end": { + "line": 20, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 825, + "end": 838, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 825, + "end": 837, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 825, + "end": 832, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 825, + "end": 829, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 16 + }, + "identifierName": "targ" + }, + "name": "targ" + }, + "property": { + "type": "Identifier", + "start": 830, + "end": 831, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 18 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true + }, + "right": { + "type": "ObjectExpression", + "start": 835, + "end": 837, + "loc": { + "start": { + "line": 19, + "column": 22 + }, + "end": { + "line": 19, + "column": 24 + } + }, + "properties": [] + } + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Create the source property if it doesn't exist", + "start": 643, + "end": 692, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 59 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: What if it's something weird like a String or Number?", + "start": 703, + "end": 765, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 72 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 861, + "end": 890, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 861, + "end": 889, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 861, + "end": 865, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 14 + }, + "identifierName": "_mix" + }, + "name": "_mix" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 866, + "end": 873, + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 21, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 866, + "end": 870, + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 21, + "column": 19 + }, + "identifierName": "targ" + }, + "name": "targ" + }, + "property": { + "type": "Identifier", + "start": 871, + "end": 872, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 21 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true + }, + { + "type": "MemberExpression", + "start": 875, + "end": 881, + "loc": { + "start": { + "line": 21, + "column": 24 + }, + "end": { + "line": 21, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 875, + "end": 878, + "loc": { + "start": { + "line": 21, + "column": 24 + }, + "end": { + "line": 21, + "column": 27 + }, + "identifierName": "src" + }, + "name": "src" + }, + "property": { + "type": "Identifier", + "start": 879, + "end": 880, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 29 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true + }, + { + "type": "Identifier", + "start": 883, + "end": 888, + "loc": { + "start": { + "line": 21, + "column": 32 + }, + "end": { + "line": 21, + "column": 37 + }, + "identifierName": "merge" + }, + "name": "merge" + } + ] + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Recurse", + "start": 891, + "end": 901, + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 50 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": [ + { + "type": "CommentLine", + "value": " If it's not a merge-copy, just set and forget", + "start": 920, + "end": 968, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 56 + } + } + } + ] + }, + "alternate": { + "type": "BlockStatement", + "start": 982, + "end": 1025, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 26, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 996, + "end": 1013, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 996, + "end": 1012, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 996, + "end": 1003, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 996, + "end": 1000, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 16 + }, + "identifierName": "targ" + }, + "name": "targ", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1001, + "end": 1002, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 18 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 1006, + "end": 1012, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 1006, + "end": 1009, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 25 + }, + "identifierName": "src" + }, + "name": "src" + }, + "property": { + "type": "Identifier", + "start": 1010, + "end": 1011, + "loc": { + "start": { + "line": 25, + "column": 26 + }, + "end": { + "line": 25, + "column": 27 + }, + "identifierName": "p" + }, + "name": "p" + }, + "computed": true + }, + "leadingComments": null + }, + "leadingComments": null + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentLine", + "value": " If it's not a merge-copy, just set and forget", + "start": 920, + "end": 968, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 56 + } + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Don't copy stuff from the prototype", + "start": 354, + "end": 392, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 44 + } + } + } + ] + } + ], + "directives": [] + } + } + ], + "directives": [] + } + } + } + ], + "kind": "var" + }, + { + "type": "ReturnStatement", + "start": 1048, + "end": 1467, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 47, + "column": 4 + } + }, + "argument": { + "type": "FunctionExpression", + "start": 1055, + "end": 1466, + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 47, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1067, + "end": 1466, + "loc": { + "start": { + "line": 31, + "column": 21 + }, + "end": { + "line": 47, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1073, + "end": 1177, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 35, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1077, + "end": 1122, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 53 + } + }, + "id": { + "type": "Identifier", + "start": 1077, + "end": 1081, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 12 + }, + "identifierName": "args" + }, + "name": "args" + }, + "init": { + "type": "CallExpression", + "start": 1084, + "end": 1122, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1084, + "end": 1111, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 1084, + "end": 1105, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 1084, + "end": 1099, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 1084, + "end": 1089, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 20 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 1090, + "end": 1099, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 30 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1100, + "end": 1105, + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 36 + }, + "identifierName": "slice" + }, + "name": "slice" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1106, + "end": 1111, + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 42 + }, + "identifierName": "apply" + }, + "name": "apply" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1112, + "end": 1121, + "loc": { + "start": { + "line": 32, + "column": 43 + }, + "end": { + "line": 32, + "column": 52 + }, + "identifierName": "arguments" + }, + "name": "arguments" + } + ] + } + }, + { + "type": "VariableDeclarator", + "start": 1132, + "end": 1145, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 1132, + "end": 1137, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 13 + }, + "identifierName": "merge" + }, + "name": "merge" + }, + "init": { + "type": "BooleanLiteral", + "start": 1140, + "end": 1145, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 21 + } + }, + "value": false + } + }, + { + "type": "VariableDeclarator", + "start": 1155, + "end": 1159, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + }, + "id": { + "type": "Identifier", + "start": 1155, + "end": 1159, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + }, + "identifierName": "targ" + }, + "name": "targ" + }, + "init": null + }, + { + "type": "VariableDeclarator", + "start": 1169, + "end": 1176, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 1169, + "end": 1176, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 15 + }, + "identifierName": "sources" + }, + "name": "sources" + }, + "init": null + } + ], + "kind": "var" + }, + { + "type": "IfStatement", + "start": 1182, + "end": 1301, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 40, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1186, + "end": 1201, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 23 + } + }, + "left": { + "type": "MemberExpression", + "start": 1186, + "end": 1197, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 1186, + "end": 1190, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "Identifier", + "start": 1191, + "end": 1197, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 19 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 1200, + "end": 1201, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 23 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1203, + "end": 1301, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 40, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1211, + "end": 1295, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 39, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1215, + "end": 1256, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 51 + } + }, + "left": { + "type": "UnaryExpression", + "start": 1215, + "end": 1243, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 38 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1222, + "end": 1243, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 1222, + "end": 1226, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 21 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "BinaryExpression", + "start": 1227, + "end": 1242, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 37 + } + }, + "left": { + "type": "MemberExpression", + "start": 1227, + "end": 1238, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 1227, + "end": 1231, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 26 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "Identifier", + "start": 1232, + "end": 1238, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 33 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 1241, + "end": 1242, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 37 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "computed": true + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "==", + "right": { + "type": "StringLiteral", + "start": 1247, + "end": 1256, + "loc": { + "start": { + "line": 37, + "column": 42 + }, + "end": { + "line": 37, + "column": 51 + } + }, + "extra": { + "rawValue": "boolean", + "raw": "'boolean'" + }, + "value": "boolean" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1258, + "end": 1295, + "loc": { + "start": { + "line": 37, + "column": 53 + }, + "end": { + "line": 39, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1268, + "end": 1287, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1268, + "end": 1286, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1268, + "end": 1273, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 13 + }, + "identifierName": "merge" + }, + "name": "merge" + }, + "right": { + "type": "CallExpression", + "start": 1276, + "end": 1286, + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1276, + "end": 1284, + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 1276, + "end": 1280, + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 20 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "Identifier", + "start": 1281, + "end": 1284, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 24 + }, + "identifierName": "pop" + }, + "name": "pop" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 1306, + "end": 1326, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1306, + "end": 1325, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1306, + "end": 1310, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + }, + "identifierName": "targ" + }, + "name": "targ" + }, + "right": { + "type": "CallExpression", + "start": 1313, + "end": 1325, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1313, + "end": 1323, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 1313, + "end": 1317, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 15 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "Identifier", + "start": 1318, + "end": 1323, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 21 + }, + "identifierName": "shift" + }, + "name": "shift" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 1331, + "end": 1346, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1331, + "end": 1345, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1331, + "end": 1338, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 11 + }, + "identifierName": "sources" + }, + "name": "sources" + }, + "right": { + "type": "Identifier", + "start": 1341, + "end": 1345, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 18 + }, + "identifierName": "args" + }, + "name": "args" + } + } + }, + { + "type": "ForStatement", + "start": 1351, + "end": 1445, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 45, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 1356, + "end": 1386, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1360, + "end": 1365, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 1360, + "end": 1361, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 1364, + "end": 1365, + "loc": { + "start": { + "line": 43, + "column": 17 + }, + "end": { + "line": 43, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + { + "type": "VariableDeclarator", + "start": 1367, + "end": 1386, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 1367, + "end": 1369, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 22 + }, + "identifierName": "ii" + }, + "name": "ii" + }, + "init": { + "type": "MemberExpression", + "start": 1372, + "end": 1386, + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 1372, + "end": 1379, + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 32 + }, + "identifierName": "sources" + }, + "name": "sources" + }, + "property": { + "type": "Identifier", + "start": 1380, + "end": 1386, + "loc": { + "start": { + "line": 43, + "column": 33 + }, + "end": { + "line": 43, + "column": 39 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 1388, + "end": 1394, + "loc": { + "start": { + "line": 43, + "column": 41 + }, + "end": { + "line": 43, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 1388, + "end": 1389, + "loc": { + "start": { + "line": 43, + "column": 41 + }, + "end": { + "line": 43, + "column": 42 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 1392, + "end": 1394, + "loc": { + "start": { + "line": 43, + "column": 45 + }, + "end": { + "line": 43, + "column": 47 + }, + "identifierName": "ii" + }, + "name": "ii" + } + }, + "update": { + "type": "UpdateExpression", + "start": 1396, + "end": 1399, + "loc": { + "start": { + "line": 43, + "column": 49 + }, + "end": { + "line": 43, + "column": 52 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 1396, + "end": 1397, + "loc": { + "start": { + "line": 43, + "column": 49 + }, + "end": { + "line": 43, + "column": 50 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 1401, + "end": 1445, + "loc": { + "start": { + "line": 43, + "column": 54 + }, + "end": { + "line": 45, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1409, + "end": 1439, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 1409, + "end": 1438, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 1409, + "end": 1413, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 10 + }, + "identifierName": "_mix" + }, + "name": "_mix" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1414, + "end": 1418, + "loc": { + "start": { + "line": 44, + "column": 11 + }, + "end": { + "line": 44, + "column": 15 + }, + "identifierName": "targ" + }, + "name": "targ" + }, + { + "type": "MemberExpression", + "start": 1420, + "end": 1430, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1420, + "end": 1427, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 24 + }, + "identifierName": "sources" + }, + "name": "sources" + }, + "property": { + "type": "Identifier", + "start": 1428, + "end": 1429, + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 44, + "column": 26 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + { + "type": "Identifier", + "start": 1432, + "end": 1437, + "loc": { + "start": { + "line": 44, + "column": 29 + }, + "end": { + "line": 44, + "column": 34 + }, + "identifierName": "merge" + }, + "name": "merge" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 1450, + "end": 1462, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 16 + } + }, + "argument": { + "type": "Identifier", + "start": 1457, + "end": 1461, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 15 + }, + "identifierName": "targ" + }, + "name": "targ" + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + } + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "\n * Mix in the properties on an object to another object\n * utils.mixin(target, source, [source,] [source, etc.] [merge-flag]);\n * 'merge' recurses, to merge object sub-properties together instead\n * of just overwriting with the source object.\n ", + "start": 0, + "end": 249, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "\n * Mix in the properties on an object to another object\n * utils.mixin(target, source, [source,] [source, etc.] [merge-flag]);\n * 'merge' recurses, to merge object sub-properties together instead\n * of just overwriting with the source object.\n ", + "start": 0, + "end": 249, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Don't copy stuff from the prototype", + "start": 354, + "end": 392, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 44 + } + } + }, + { + "type": "CommentLine", + "value": " Assumes the source property is an Object you can", + "start": 457, + "end": 508, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 59 + } + } + }, + { + "type": "CommentLine", + "value": " actually recurse down into", + "start": 517, + "end": 546, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 37 + } + } + }, + { + "type": "CommentLine", + "value": " Create the source property if it doesn't exist", + "start": 643, + "end": 692, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 59 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: What if it's something weird like a String or Number?", + "start": 703, + "end": 765, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 72 + } + } + }, + { + "type": "CommentLine", + "value": " Recurse", + "start": 891, + "end": 901, + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": " If it's not a merge-copy, just set and forget", + "start": 920, + "end": 968, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 56 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "\n * Mix in the properties on an object to another object\n * utils.mixin(target, source, [source,] [source, etc.] [merge-flag]);\n * 'merge' recurses, to merge object sub-properties together instead\n * of just overwriting with the source object.\n ", + "start": 0, + "end": 249, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exports", + "start": 250, + "end": 257, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 257, + "end": 258, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mixin", + "start": 258, + "end": 263, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 264, + "end": 265, + "loc": { + "start": { + "line": 7, + "column": 14 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 266, + "end": 274, + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 275, + "end": 276, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 276, + "end": 277, + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 278, + "end": 279, + "loc": { + "start": { + "line": 7, + "column": 28 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 282, + "end": 285, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_mix", + "start": 286, + "end": 290, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 291, + "end": 292, + "loc": { + "start": { + "line": 8, + "column": 11 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 293, + "end": 301, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 302, + "end": 303, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 303, + "end": 307, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 307, + "end": 308, + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 309, + "end": 312, + "loc": { + "start": { + "line": 8, + "column": 29 + }, + "end": { + "line": 8, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 312, + "end": 313, + "loc": { + "start": { + "line": 8, + "column": 32 + }, + "end": { + "line": 8, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "merge", + "start": 314, + "end": 319, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 319, + "end": 320, + "loc": { + "start": { + "line": 8, + "column": 39 + }, + "end": { + "line": 8, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 8, + "column": 41 + }, + "end": { + "line": 8, + "column": 42 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 327, + "end": 330, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 331, + "end": 332, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 332, + "end": 335, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 336, + "end": 337, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 14 + } + } + }, + { + "type": { + "label": "in", + "keyword": "in", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "in", + "start": 338, + "end": 340, + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 341, + "end": 344, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 344, + "end": 345, + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 346, + "end": 347, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " Don't copy stuff from the prototype", + "start": 354, + "end": 392, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 44 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 399, + "end": 401, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 402, + "end": 403, + "loc": { + "start": { + "line": 11, + "column": 9 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 403, + "end": 406, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 406, + "end": 407, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hasOwnProperty", + "start": 407, + "end": 421, + "loc": { + "start": { + "line": 11, + "column": 14 + }, + "end": { + "line": 11, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 421, + "end": 422, + "loc": { + "start": { + "line": 11, + "column": 28 + }, + "end": { + "line": 11, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 422, + "end": 423, + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 423, + "end": 424, + "loc": { + "start": { + "line": 11, + "column": 30 + }, + "end": { + "line": 11, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 424, + "end": 425, + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 426, + "end": 427, + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 34 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 436, + "end": 438, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 439, + "end": 440, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "merge", + "start": 440, + "end": 445, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 446, + "end": 448, + "loc": { + "start": { + "line": 12, + "column": 18 + }, + "end": { + "line": 12, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": " Assumes the source property is an Object you can", + "start": 457, + "end": 508, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 59 + } + } + }, + { + "type": "CommentLine", + "value": " actually recurse down into", + "start": 517, + "end": 546, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 37 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 555, + "end": 561, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 562, + "end": 565, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 565, + "end": 566, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 567, + "end": 568, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 569, + "end": 571, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "object", + "start": 572, + "end": 580, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 33 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 581, + "end": 583, + "loc": { + "start": { + "line": 15, + "column": 34 + }, + "end": { + "line": 15, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 584, + "end": 587, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 40 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 587, + "end": 588, + "loc": { + "start": { + "line": 15, + "column": 40 + }, + "end": { + "line": 15, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 588, + "end": 589, + "loc": { + "start": { + "line": 15, + "column": 41 + }, + "end": { + "line": 15, + "column": 42 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 589, + "end": 590, + "loc": { + "start": { + "line": 15, + "column": 42 + }, + "end": { + "line": 15, + "column": 43 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 591, + "end": 594, + "loc": { + "start": { + "line": 15, + "column": 44 + }, + "end": { + "line": 15, + "column": 47 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 595, + "end": 599, + "loc": { + "start": { + "line": 15, + "column": 48 + }, + "end": { + "line": 15, + "column": 52 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 600, + "end": 602, + "loc": { + "start": { + "line": 15, + "column": 53 + }, + "end": { + "line": 15, + "column": 55 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 603, + "end": 604, + "loc": { + "start": { + "line": 15, + "column": 56 + }, + "end": { + "line": 15, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 15, + "column": 57 + }, + "end": { + "line": 15, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 605, + "end": 608, + "loc": { + "start": { + "line": 15, + "column": 58 + }, + "end": { + "line": 15, + "column": 61 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 608, + "end": 609, + "loc": { + "start": { + "line": 15, + "column": 61 + }, + "end": { + "line": 15, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 609, + "end": 610, + "loc": { + "start": { + "line": 15, + "column": 62 + }, + "end": { + "line": 15, + "column": 63 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 610, + "end": 611, + "loc": { + "start": { + "line": 15, + "column": 63 + }, + "end": { + "line": 15, + "column": 64 + } + } + }, + { + "type": { + "label": "instanceof", + "keyword": "instanceof", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "instanceof", + "start": 612, + "end": 622, + "loc": { + "start": { + "line": 15, + "column": 65 + }, + "end": { + "line": 15, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 623, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 76 + }, + "end": { + "line": 15, + "column": 81 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 628, + "end": 629, + "loc": { + "start": { + "line": 15, + "column": 81 + }, + "end": { + "line": 15, + "column": 82 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 15, + "column": 82 + }, + "end": { + "line": 15, + "column": 83 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 15, + "column": 84 + }, + "end": { + "line": 15, + "column": 85 + } + } + }, + { + "type": "CommentLine", + "value": " Create the source property if it doesn't exist", + "start": 643, + "end": 692, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 59 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: What if it's something weird like a String or Number?", + "start": 703, + "end": 765, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 72 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 776, + "end": 778, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 779, + "end": 780, + "loc": { + "start": { + "line": 18, + "column": 13 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 780, + "end": 786, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 791, + "end": 792, + "loc": { + "start": { + "line": 18, + "column": 25 + }, + "end": { + "line": 18, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 792, + "end": 793, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 793, + "end": 794, + "loc": { + "start": { + "line": 18, + "column": 27 + }, + "end": { + "line": 18, + "column": 28 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 795, + "end": 797, + "loc": { + "start": { + "line": 18, + "column": 29 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "undefined", + "start": 798, + "end": 809, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 809, + "end": 810, + "loc": { + "start": { + "line": 18, + "column": 43 + }, + "end": { + "line": 18, + "column": 44 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 811, + "end": 812, + "loc": { + "start": { + "line": 18, + "column": 45 + }, + "end": { + "line": 18, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 825, + "end": 829, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 829, + "end": 830, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 830, + "end": 831, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 18 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 831, + "end": 832, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 833, + "end": 834, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 835, + "end": 836, + "loc": { + "start": { + "line": 19, + "column": 22 + }, + "end": { + "line": 19, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 836, + "end": 837, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 837, + "end": 838, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 849, + "end": 850, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_mix", + "start": 861, + "end": 865, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 866, + "end": 870, + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 870, + "end": 871, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 871, + "end": 872, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 21 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 872, + "end": 873, + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 873, + "end": 874, + "loc": { + "start": { + "line": 21, + "column": 22 + }, + "end": { + "line": 21, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 875, + "end": 878, + "loc": { + "start": { + "line": 21, + "column": 24 + }, + "end": { + "line": 21, + "column": 27 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 878, + "end": 879, + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 879, + "end": 880, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 29 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 880, + "end": 881, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 881, + "end": 882, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "merge", + "start": 883, + "end": 888, + "loc": { + "start": { + "line": 21, + "column": 32 + }, + "end": { + "line": 21, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 888, + "end": 889, + "loc": { + "start": { + "line": 21, + "column": 37 + }, + "end": { + "line": 21, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 889, + "end": 890, + "loc": { + "start": { + "line": 21, + "column": 38 + }, + "end": { + "line": 21, + "column": 39 + } + } + }, + { + "type": "CommentLine", + "value": " Recurse", + "start": 891, + "end": 901, + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 910, + "end": 911, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": "CommentLine", + "value": " If it's not a merge-copy, just set and forget", + "start": 920, + "end": 968, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 56 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 977, + "end": 981, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 982, + "end": 983, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 996, + "end": 1000, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 16 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1000, + "end": 1001, + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 1001, + "end": 1002, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 18 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1002, + "end": 1003, + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1004, + "end": 1005, + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 1006, + "end": 1009, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1009, + "end": 1010, + "loc": { + "start": { + "line": 25, + "column": 25 + }, + "end": { + "line": 25, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "p", + "start": 1010, + "end": 1011, + "loc": { + "start": { + "line": 25, + "column": 26 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1011, + "end": 1012, + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1012, + "end": 1013, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1024, + "end": 1025, + "loc": { + "start": { + "line": 26, + "column": 10 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1032, + "end": 1033, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1038, + "end": 1039, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1042, + "end": 1043, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 4 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1048, + "end": 1054, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 8 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1055, + "end": 1063, + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1064, + "end": 1065, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 31, + "column": 19 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1067, + "end": 1068, + "loc": { + "start": { + "line": 31, + "column": 21 + }, + "end": { + "line": 31, + "column": 22 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 1073, + "end": 1076, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1077, + "end": 1081, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1082, + "end": 1083, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 1084, + "end": 1089, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1089, + "end": 1090, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prototype", + "start": 1090, + "end": 1099, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1099, + "end": 1100, + "loc": { + "start": { + "line": 32, + "column": 30 + }, + "end": { + "line": 32, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "slice", + "start": 1100, + "end": 1105, + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1105, + "end": 1106, + "loc": { + "start": { + "line": 32, + "column": 36 + }, + "end": { + "line": 32, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "apply", + "start": 1106, + "end": 1111, + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1111, + "end": 1112, + "loc": { + "start": { + "line": 32, + "column": 42 + }, + "end": { + "line": 32, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arguments", + "start": 1112, + "end": 1121, + "loc": { + "start": { + "line": 32, + "column": 43 + }, + "end": { + "line": 32, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1121, + "end": 1122, + "loc": { + "start": { + "line": 32, + "column": 52 + }, + "end": { + "line": 32, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1122, + "end": 1123, + "loc": { + "start": { + "line": 32, + "column": 53 + }, + "end": { + "line": 32, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "merge", + "start": 1132, + "end": 1137, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1138, + "end": 1139, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 15 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 1140, + "end": 1145, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1145, + "end": 1146, + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 1155, + "end": 1159, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1159, + "end": 1160, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sources", + "start": 1169, + "end": 1176, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1176, + "end": 1177, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1182, + "end": 1184, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1185, + "end": 1186, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1186, + "end": 1190, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1190, + "end": 1191, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1191, + "end": 1197, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 19 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 1198, + "end": 1199, + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 1200, + "end": 1201, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1201, + "end": 1202, + "loc": { + "start": { + "line": 36, + "column": 23 + }, + "end": { + "line": 36, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1203, + "end": 1204, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 26 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1211, + "end": 1213, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1214, + "end": 1215, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 10 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 1215, + "end": 1221, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1222, + "end": 1226, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 21 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1226, + "end": 1227, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1227, + "end": 1231, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1231, + "end": 1232, + "loc": { + "start": { + "line": 37, + "column": 26 + }, + "end": { + "line": 37, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1232, + "end": 1238, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 1239, + "end": 1240, + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1241, + "end": 1242, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1242, + "end": 1243, + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "==", + "start": 1244, + "end": 1246, + "loc": { + "start": { + "line": 37, + "column": 39 + }, + "end": { + "line": 37, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "boolean", + "start": 1247, + "end": 1256, + "loc": { + "start": { + "line": 37, + "column": 42 + }, + "end": { + "line": 37, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1256, + "end": 1257, + "loc": { + "start": { + "line": 37, + "column": 51 + }, + "end": { + "line": 37, + "column": 52 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1258, + "end": 1259, + "loc": { + "start": { + "line": 37, + "column": 53 + }, + "end": { + "line": 37, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "merge", + "start": 1268, + "end": 1273, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1274, + "end": 1275, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1276, + "end": 1280, + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1280, + "end": 1281, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pop", + "start": 1281, + "end": 1284, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1284, + "end": 1285, + "loc": { + "start": { + "line": 38, + "column": 24 + }, + "end": { + "line": 38, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1285, + "end": 1286, + "loc": { + "start": { + "line": 38, + "column": 25 + }, + "end": { + "line": 38, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1286, + "end": 1287, + "loc": { + "start": { + "line": 38, + "column": 26 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1294, + "end": 1295, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1300, + "end": 1301, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 1306, + "end": 1310, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1311, + "end": 1312, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1313, + "end": 1317, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1317, + "end": 1318, + "loc": { + "start": { + "line": 41, + "column": 15 + }, + "end": { + "line": 41, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "shift", + "start": 1318, + "end": 1323, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1323, + "end": 1324, + "loc": { + "start": { + "line": 41, + "column": 21 + }, + "end": { + "line": 41, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1324, + "end": 1325, + "loc": { + "start": { + "line": 41, + "column": 22 + }, + "end": { + "line": 41, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1325, + "end": 1326, + "loc": { + "start": { + "line": 41, + "column": 23 + }, + "end": { + "line": 41, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sources", + "start": 1331, + "end": 1338, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1339, + "end": 1340, + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1341, + "end": 1345, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1345, + "end": 1346, + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 1351, + "end": 1354, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1355, + "end": 1356, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 1356, + "end": 1359, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1360, + "end": 1361, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1362, + "end": 1363, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 43, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1364, + "end": 1365, + "loc": { + "start": { + "line": 43, + "column": 17 + }, + "end": { + "line": 43, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1365, + "end": 1366, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ii", + "start": 1367, + "end": 1369, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1370, + "end": 1371, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sources", + "start": 1372, + "end": 1379, + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1379, + "end": 1380, + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1380, + "end": 1386, + "loc": { + "start": { + "line": 43, + "column": 33 + }, + "end": { + "line": 43, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1386, + "end": 1387, + "loc": { + "start": { + "line": 43, + "column": 39 + }, + "end": { + "line": 43, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1388, + "end": 1389, + "loc": { + "start": { + "line": 43, + "column": 41 + }, + "end": { + "line": 43, + "column": 42 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 1390, + "end": 1391, + "loc": { + "start": { + "line": 43, + "column": 43 + }, + "end": { + "line": 43, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ii", + "start": 1392, + "end": 1394, + "loc": { + "start": { + "line": 43, + "column": 45 + }, + "end": { + "line": 43, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1394, + "end": 1395, + "loc": { + "start": { + "line": 43, + "column": 47 + }, + "end": { + "line": 43, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1396, + "end": 1397, + "loc": { + "start": { + "line": 43, + "column": 49 + }, + "end": { + "line": 43, + "column": 50 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 1397, + "end": 1399, + "loc": { + "start": { + "line": 43, + "column": 50 + }, + "end": { + "line": 43, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1399, + "end": 1400, + "loc": { + "start": { + "line": 43, + "column": 52 + }, + "end": { + "line": 43, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1401, + "end": 1402, + "loc": { + "start": { + "line": 43, + "column": 54 + }, + "end": { + "line": 43, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_mix", + "start": 1409, + "end": 1413, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1413, + "end": 1414, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 1414, + "end": 1418, + "loc": { + "start": { + "line": 44, + "column": 11 + }, + "end": { + "line": 44, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1418, + "end": 1419, + "loc": { + "start": { + "line": 44, + "column": 15 + }, + "end": { + "line": 44, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sources", + "start": 1420, + "end": 1427, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 24 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1427, + "end": 1428, + "loc": { + "start": { + "line": 44, + "column": 24 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 1428, + "end": 1429, + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 44, + "column": 26 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1429, + "end": 1430, + "loc": { + "start": { + "line": 44, + "column": 26 + }, + "end": { + "line": 44, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1430, + "end": 1431, + "loc": { + "start": { + "line": 44, + "column": 27 + }, + "end": { + "line": 44, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "merge", + "start": 1432, + "end": 1437, + "loc": { + "start": { + "line": 44, + "column": 29 + }, + "end": { + "line": 44, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1437, + "end": 1438, + "loc": { + "start": { + "line": 44, + "column": 34 + }, + "end": { + "line": 44, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1438, + "end": 1439, + "loc": { + "start": { + "line": 44, + "column": 35 + }, + "end": { + "line": 44, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1444, + "end": 1445, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1450, + "end": 1456, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targ", + "start": 1457, + "end": 1461, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1461, + "end": 1462, + "loc": { + "start": { + "line": 46, + "column": 15 + }, + "end": { + "line": 46, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1465, + "end": 1466, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 3 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1466, + "end": 1467, + "loc": { + "start": { + "line": 47, + "column": 3 + }, + "end": { + "line": 47, + "column": 4 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1468, + "end": 1469, + "loc": { + "start": { + "line": 48, + "column": 0 + }, + "end": { + "line": 48, + "column": 1 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1469, + "end": 1470, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 48, + "column": 2 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1470, + "end": 1471, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1471, + "end": 1472, + "loc": { + "start": { + "line": 48, + "column": 3 + }, + "end": { + "line": 48, + "column": 4 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1472, + "end": 1472, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 4 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/tracing/src/SpanSingle.js.json b/rsocket-rpc-js/docs/ast/source/tracing/src/SpanSingle.js.json new file mode 100644 index 0000000..60d1163 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/tracing/src/SpanSingle.js.json @@ -0,0 +1,17810 @@ +{ + "type": "File", + "start": 0, + "end": 2855, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2855, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 182, + "end": 256, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 74 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 191, + "end": 197, + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 191, + "end": 197, + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 15 + }, + "identifierName": "Single" + }, + "name": "Single", + "leadingComments": null + }, + "local": { + "type": "Identifier", + "start": 191, + "end": 197, + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 15 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "leadingComments": null + }, + { + "type": "ImportSpecifier", + "start": 199, + "end": 216, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 34 + } + }, + "imported": { + "type": "Identifier", + "start": 199, + "end": 216, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 34 + }, + "identifierName": "IFutureSubscriber" + }, + "name": "IFutureSubscriber" + }, + "local": { + "type": "Identifier", + "start": 199, + "end": 216, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 34 + }, + "identifierName": "IFutureSubscriber" + }, + "name": "IFutureSubscriber" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 224, + "end": 255, + "loc": { + "start": { + "line": 8, + "column": 42 + }, + "end": { + "line": 8, + "column": 73 + } + }, + "extra": { + "rawValue": "rsocket-flowable/build/Single", + "raw": "'rsocket-flowable/build/Single'" + }, + "value": "rsocket-flowable/build/Single" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name SpanSingle.js\n * @fileoverview Defines the \"SpanSingleSubscriber\" class.\n * @requires NPM:rsocket-flowable\n * @requires NPM:opentracing\n * @exports createSpanSingle\n ", + "start": 0, + "end": 181, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 257, + "end": 330, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 73 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 266, + "end": 272, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 266, + "end": 272, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 15 + }, + "identifierName": "Tracer" + }, + "name": "Tracer" + }, + "local": { + "type": "Identifier", + "start": 266, + "end": 272, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 15 + }, + "identifierName": "Tracer" + }, + "name": "Tracer" + } + }, + { + "type": "ImportSpecifier", + "start": 274, + "end": 278, + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 21 + } + }, + "imported": { + "type": "Identifier", + "start": 274, + "end": 278, + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 21 + }, + "identifierName": "Span" + }, + "name": "Span" + }, + "local": { + "type": "Identifier", + "start": 274, + "end": 278, + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 21 + }, + "identifierName": "Span" + }, + "name": "Span" + } + }, + { + "type": "ImportSpecifier", + "start": 280, + "end": 291, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 34 + } + }, + "imported": { + "type": "Identifier", + "start": 280, + "end": 291, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 34 + }, + "identifierName": "SpanContext" + }, + "name": "SpanContext" + }, + "local": { + "type": "Identifier", + "start": 280, + "end": 291, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 34 + }, + "identifierName": "SpanContext" + }, + "name": "SpanContext" + } + }, + { + "type": "ImportSpecifier", + "start": 293, + "end": 308, + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 51 + } + }, + "imported": { + "type": "Identifier", + "start": 293, + "end": 308, + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 51 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + }, + "local": { + "type": "Identifier", + "start": 293, + "end": 308, + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 51 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 316, + "end": 329, + "loc": { + "start": { + "line": 9, + "column": 59 + }, + "end": { + "line": 9, + "column": 72 + } + }, + "extra": { + "rawValue": "opentracing", + "raw": "'opentracing'" + }, + "value": "opentracing" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} context -\n * @param {?Object} metadata -\n * @param {Object} tags -\n * @return {Single}\n ", + "start": 332, + "end": 543, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 544, + "end": 817, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 551, + "end": 817, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 560, + "end": 576, + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 32 + }, + "identifierName": "createSpanSingle" + }, + "name": "createSpanSingle", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 577, + "end": 583, + "loc": { + "start": { + "line": 20, + "column": 33 + }, + "end": { + "line": 20, + "column": 39 + }, + "identifierName": "single" + }, + "name": "single" + }, + { + "type": "Identifier", + "start": 585, + "end": 591, + "loc": { + "start": { + "line": 20, + "column": 41 + }, + "end": { + "line": 20, + "column": 47 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 593, + "end": 597, + "loc": { + "start": { + "line": 20, + "column": 49 + }, + "end": { + "line": 20, + "column": 53 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 599, + "end": 606, + "loc": { + "start": { + "line": 20, + "column": 55 + }, + "end": { + "line": 20, + "column": 62 + }, + "identifierName": "context" + }, + "name": "context" + }, + { + "type": "Identifier", + "start": 608, + "end": 616, + "loc": { + "start": { + "line": 20, + "column": 64 + }, + "end": { + "line": 20, + "column": 72 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + { + "type": "RestElement", + "start": 618, + "end": 625, + "loc": { + "start": { + "line": 20, + "column": 74 + }, + "end": { + "line": 20, + "column": 81 + } + }, + "argument": { + "type": "Identifier", + "start": 621, + "end": 625, + "loc": { + "start": { + "line": 20, + "column": 77 + }, + "end": { + "line": 20, + "column": 81 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 627, + "end": 817, + "loc": { + "start": { + "line": 20, + "column": 83 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 631, + "end": 815, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 24, + "column": 5 + } + }, + "argument": { + "type": "NewExpression", + "start": 638, + "end": 814, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 24, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 642, + "end": 648, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 19 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 649, + "end": 813, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 649, + "end": 659, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 30 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "BlockStatement", + "start": 663, + "end": 813, + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 669, + "end": 771, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 106 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 675, + "end": 770, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 105 + } + }, + "id": { + "type": "Identifier", + "start": 675, + "end": 689, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 24 + }, + "identifierName": "spanSubscriber" + }, + "name": "spanSubscriber" + }, + "init": { + "type": "NewExpression", + "start": 692, + "end": 770, + "loc": { + "start": { + "line": 22, + "column": 27 + }, + "end": { + "line": 22, + "column": 105 + } + }, + "callee": { + "type": "Identifier", + "start": 696, + "end": 716, + "loc": { + "start": { + "line": 22, + "column": 31 + }, + "end": { + "line": 22, + "column": 51 + }, + "identifierName": "SpanSingleSubscriber" + }, + "name": "SpanSingleSubscriber" + }, + "arguments": [ + { + "type": "Identifier", + "start": 717, + "end": 727, + "loc": { + "start": { + "line": 22, + "column": 52 + }, + "end": { + "line": 22, + "column": 62 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + { + "type": "Identifier", + "start": 729, + "end": 735, + "loc": { + "start": { + "line": 22, + "column": 64 + }, + "end": { + "line": 22, + "column": 70 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 737, + "end": 741, + "loc": { + "start": { + "line": 22, + "column": 72 + }, + "end": { + "line": 22, + "column": 76 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 743, + "end": 750, + "loc": { + "start": { + "line": 22, + "column": 78 + }, + "end": { + "line": 22, + "column": 85 + }, + "identifierName": "context" + }, + "name": "context" + }, + { + "type": "Identifier", + "start": 752, + "end": 760, + "loc": { + "start": { + "line": 22, + "column": 87 + }, + "end": { + "line": 22, + "column": 95 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + { + "type": "SpreadElement", + "start": 762, + "end": 769, + "loc": { + "start": { + "line": 22, + "column": 97 + }, + "end": { + "line": 22, + "column": 104 + } + }, + "argument": { + "type": "Identifier", + "start": 765, + "end": 769, + "loc": { + "start": { + "line": 22, + "column": 100 + }, + "end": { + "line": 22, + "column": 104 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 776, + "end": 809, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 776, + "end": 808, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 776, + "end": 792, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 776, + "end": 782, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 10 + }, + "identifierName": "single" + }, + "name": "single" + }, + "property": { + "type": "Identifier", + "start": 783, + "end": 792, + "loc": { + "start": { + "line": 23, + "column": 11 + }, + "end": { + "line": 23, + "column": 20 + }, + "identifierName": "subscribe" + }, + "name": "subscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 793, + "end": 807, + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 35 + }, + "identifierName": "spanSubscriber" + }, + "name": "spanSubscriber" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} context -\n * @param {?Object} metadata -\n * @param {Object} tags -\n * @return {Single}\n ", + "start": 332, + "end": 543, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 819, + "end": 826, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} context -\n * @param {?Object} metadata -\n * @param {Object} tags -\n * @return {Single}\n ", + "start": 332, + "end": 543, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 819, + "end": 826, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ] + }, + { + "type": "ClassDeclaration", + "start": 827, + "end": 2639, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 120, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 833, + "end": 853, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 26 + }, + "identifierName": "SpanSingleSubscriber" + }, + "name": "SpanSingleSubscriber", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 854, + "end": 2639, + "loc": { + "start": { + "line": 29, + "column": 27 + }, + "end": { + "line": 120, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 1084, + "end": 1857, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 70, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1084, + "end": 1095, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1096, + "end": 1106, + "loc": { + "start": { + "line": 39, + "column": 14 + }, + "end": { + "line": 39, + "column": 24 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + { + "type": "Identifier", + "start": 1108, + "end": 1114, + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 32 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 1116, + "end": 1120, + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 38 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 1122, + "end": 1129, + "loc": { + "start": { + "line": 39, + "column": 40 + }, + "end": { + "line": 39, + "column": 47 + }, + "identifierName": "context" + }, + "name": "context" + }, + { + "type": "Identifier", + "start": 1131, + "end": 1139, + "loc": { + "start": { + "line": 39, + "column": 49 + }, + "end": { + "line": 39, + "column": 57 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + { + "type": "RestElement", + "start": 1141, + "end": 1148, + "loc": { + "start": { + "line": 39, + "column": 59 + }, + "end": { + "line": 39, + "column": 66 + } + }, + "argument": { + "type": "Identifier", + "start": 1144, + "end": 1148, + "loc": { + "start": { + "line": 39, + "column": 62 + }, + "end": { + "line": 39, + "column": 66 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 1150, + "end": 1857, + "loc": { + "start": { + "line": 39, + "column": 68 + }, + "end": { + "line": 70, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1156, + "end": 1186, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1156, + "end": 1185, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1156, + "end": 1172, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 1156, + "end": 1160, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1161, + "end": 1172, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 20 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1175, + "end": 1185, + "loc": { + "start": { + "line": 40, + "column": 23 + }, + "end": { + "line": 40, + "column": 33 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1192, + "end": 1214, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1192, + "end": 1213, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1192, + "end": 1204, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1192, + "end": 1196, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1197, + "end": 1204, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 16 + }, + "identifierName": "_tracer" + }, + "name": "_tracer" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1207, + "end": 1213, + "loc": { + "start": { + "line": 42, + "column": 19 + }, + "end": { + "line": 42, + "column": 25 + }, + "identifierName": "tracer" + }, + "name": "tracer" + } + } + }, + { + "type": "VariableDeclaration", + "start": 1220, + "end": 1237, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 21 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1224, + "end": 1236, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 20 + } + }, + "id": { + "type": "Identifier", + "start": 1224, + "end": 1231, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 15 + }, + "identifierName": "options" + }, + "name": "options" + }, + "init": { + "type": "ObjectExpression", + "start": 1234, + "end": 1236, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 20 + } + }, + "properties": [] + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 1243, + "end": 1296, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 48, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 1247, + "end": 1254, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 15 + }, + "identifierName": "context" + }, + "name": "context" + }, + "consequent": { + "type": "BlockStatement", + "start": 1256, + "end": 1296, + "loc": { + "start": { + "line": 46, + "column": 17 + }, + "end": { + "line": 48, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1264, + "end": 1290, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1264, + "end": 1289, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1264, + "end": 1279, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 1264, + "end": 1271, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 13 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 1272, + "end": 1279, + "loc": { + "start": { + "line": 47, + "column": 14 + }, + "end": { + "line": 47, + "column": 21 + }, + "identifierName": "childOf" + }, + "name": "childOf" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1282, + "end": 1289, + "loc": { + "start": { + "line": 47, + "column": 24 + }, + "end": { + "line": 47, + "column": 31 + }, + "identifierName": "context" + }, + "name": "context" + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 1302, + "end": 1508, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 58, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 1306, + "end": 1310, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "consequent": { + "type": "BlockStatement", + "start": 1312, + "end": 1508, + "loc": { + "start": { + "line": 50, + "column": 14 + }, + "end": { + "line": 58, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1320, + "end": 1341, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1326, + "end": 1340, + "loc": { + "start": { + "line": 51, + "column": 12 + }, + "end": { + "line": 51, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 1326, + "end": 1335, + "loc": { + "start": { + "line": 51, + "column": 12 + }, + "end": { + "line": 51, + "column": 21 + }, + "identifierName": "finalTags" + }, + "name": "finalTags" + }, + "init": { + "type": "ObjectExpression", + "start": 1338, + "end": 1340, + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 26 + } + }, + "properties": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1348, + "end": 1470, + "loc": { + "start": { + "line": 52, + "column": 6 + }, + "end": { + "line": 56, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 1348, + "end": 1469, + "loc": { + "start": { + "line": 52, + "column": 6 + }, + "end": { + "line": 56, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1348, + "end": 1360, + "loc": { + "start": { + "line": 52, + "column": 6 + }, + "end": { + "line": 52, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1348, + "end": 1352, + "loc": { + "start": { + "line": 52, + "column": 6 + }, + "end": { + "line": 52, + "column": 10 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "property": { + "type": "Identifier", + "start": 1353, + "end": 1360, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 18 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1361, + "end": 1468, + "loc": { + "start": { + "line": 52, + "column": 19 + }, + "end": { + "line": 56, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1361, + "end": 1364, + "loc": { + "start": { + "line": 52, + "column": 19 + }, + "end": { + "line": 52, + "column": 22 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ], + "body": { + "type": "BlockStatement", + "start": 1368, + "end": 1468, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 56, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1378, + "end": 1460, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 1378, + "end": 1459, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 55, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1378, + "end": 1402, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 1378, + "end": 1394, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1378, + "end": 1389, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 1378, + "end": 1384, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 14 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 1385, + "end": 1389, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 19 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1390, + "end": 1393, + "loc": { + "start": { + "line": 53, + "column": 20 + }, + "end": { + "line": 53, + "column": 23 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1395, + "end": 1402, + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 32 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1403, + "end": 1458, + "loc": { + "start": { + "line": 53, + "column": 33 + }, + "end": { + "line": 55, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1403, + "end": 1406, + "loc": { + "start": { + "line": 53, + "column": 33 + }, + "end": { + "line": 53, + "column": 36 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 1410, + "end": 1458, + "loc": { + "start": { + "line": 53, + "column": 40 + }, + "end": { + "line": 55, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1422, + "end": 1448, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 54, + "column": 36 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1422, + "end": 1447, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 54, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1422, + "end": 1436, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 54, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 1422, + "end": 1431, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 54, + "column": 19 + }, + "identifierName": "finalTags" + }, + "name": "finalTags" + }, + "property": { + "type": "Identifier", + "start": 1432, + "end": 1435, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 23 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 1439, + "end": 1447, + "loc": { + "start": { + "line": 54, + "column": 27 + }, + "end": { + "line": 54, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 1439, + "end": 1442, + "loc": { + "start": { + "line": 54, + "column": 27 + }, + "end": { + "line": 54, + "column": 30 + }, + "identifierName": "tag" + }, + "name": "tag" + }, + "property": { + "type": "Identifier", + "start": 1443, + "end": 1446, + "loc": { + "start": { + "line": 54, + "column": 31 + }, + "end": { + "line": 54, + "column": 34 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + } + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1477, + "end": 1502, + "loc": { + "start": { + "line": 57, + "column": 6 + }, + "end": { + "line": 57, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1477, + "end": 1501, + "loc": { + "start": { + "line": 57, + "column": 6 + }, + "end": { + "line": 57, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1477, + "end": 1489, + "loc": { + "start": { + "line": 57, + "column": 6 + }, + "end": { + "line": 57, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1477, + "end": 1484, + "loc": { + "start": { + "line": 57, + "column": 6 + }, + "end": { + "line": 57, + "column": 13 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 1485, + "end": 1489, + "loc": { + "start": { + "line": 57, + "column": 14 + }, + "end": { + "line": 57, + "column": 18 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1492, + "end": 1501, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 30 + }, + "identifierName": "finalTags" + }, + "name": "finalTags" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Not supported at this time.", + "start": 1514, + "end": 1544, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " if (references) {", + "start": 1549, + "end": 1569, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " options.references = references;", + "start": 1574, + "end": 1611, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 1616, + "end": 1620, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": "", + "start": 1625, + "end": 1627, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 6 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1632, + "end": 1670, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 42 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1632, + "end": 1669, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1632, + "end": 1649, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 1632, + "end": 1639, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 11 + }, + "identifierName": "options" + }, + "name": "options", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1640, + "end": 1649, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 21 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 1652, + "end": 1669, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 41 + } + }, + "left": { + "type": "CallExpression", + "start": 1652, + "end": 1662, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1652, + "end": 1660, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 1652, + "end": 1656, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 28 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "property": { + "type": "Identifier", + "start": 1657, + "end": 1660, + "loc": { + "start": { + "line": 65, + "column": 29 + }, + "end": { + "line": 65, + "column": 32 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 1665, + "end": 1669, + "loc": { + "start": { + "line": 65, + "column": 37 + }, + "end": { + "line": 65, + "column": 41 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Not supported at this time.", + "start": 1514, + "end": 1544, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " if (references) {", + "start": 1549, + "end": 1569, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " options.references = references;", + "start": 1574, + "end": 1611, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 1616, + "end": 1620, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": "", + "start": 1625, + "end": 1627, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 6 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1676, + "end": 1727, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1676, + "end": 1726, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1676, + "end": 1686, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1676, + "end": 1680, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1681, + "end": 1686, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 14 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 1689, + "end": 1726, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1689, + "end": 1711, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 1689, + "end": 1701, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 1689, + "end": 1693, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 1694, + "end": 1701, + "loc": { + "start": { + "line": 67, + "column": 22 + }, + "end": { + "line": 67, + "column": 29 + }, + "identifierName": "_tracer" + }, + "name": "_tracer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1702, + "end": 1711, + "loc": { + "start": { + "line": 67, + "column": 30 + }, + "end": { + "line": 67, + "column": 39 + }, + "identifierName": "startSpan" + }, + "name": "startSpan" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1712, + "end": 1716, + "loc": { + "start": { + "line": 67, + "column": 40 + }, + "end": { + "line": 67, + "column": 44 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 1718, + "end": 1725, + "loc": { + "start": { + "line": 67, + "column": 46 + }, + "end": { + "line": 67, + "column": 53 + }, + "identifierName": "options" + }, + "name": "options" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 1733, + "end": 1853, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 124 + } + }, + "expression": { + "type": "CallExpression", + "start": 1733, + "end": 1852, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 123 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1733, + "end": 1752, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 23 + } + }, + "object": { + "type": "MemberExpression", + "start": 1733, + "end": 1745, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1733, + "end": 1737, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1738, + "end": 1745, + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 16 + }, + "identifierName": "_tracer" + }, + "name": "_tracer" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1746, + "end": 1752, + "loc": { + "start": { + "line": 69, + "column": 17 + }, + "end": { + "line": 69, + "column": 23 + }, + "identifierName": "inject" + }, + "name": "inject" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1753, + "end": 1773, + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1753, + "end": 1771, + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 1753, + "end": 1763, + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 1753, + "end": 1757, + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 1758, + "end": 1763, + "loc": { + "start": { + "line": 69, + "column": 29 + }, + "end": { + "line": 69, + "column": 34 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1764, + "end": 1771, + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 42 + }, + "identifierName": "context" + }, + "name": "context" + }, + "computed": false + }, + "arguments": [] + }, + { + "type": "Identifier", + "start": 1775, + "end": 1790, + "loc": { + "start": { + "line": 69, + "column": 46 + }, + "end": { + "line": 69, + "column": 61 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + }, + { + "type": "ConditionalExpression", + "start": 1792, + "end": 1851, + "loc": { + "start": { + "line": 69, + "column": 63 + }, + "end": { + "line": 69, + "column": 122 + } + }, + "test": { + "type": "LogicalExpression", + "start": 1792, + "end": 1835, + "loc": { + "start": { + "line": 69, + "column": 63 + }, + "end": { + "line": 69, + "column": 106 + } + }, + "left": { + "type": "BinaryExpression", + "start": 1792, + "end": 1814, + "loc": { + "start": { + "line": 69, + "column": 63 + }, + "end": { + "line": 69, + "column": 85 + } + }, + "left": { + "type": "Identifier", + "start": 1792, + "end": 1800, + "loc": { + "start": { + "line": 69, + "column": 63 + }, + "end": { + "line": 69, + "column": 71 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 1805, + "end": 1814, + "loc": { + "start": { + "line": 69, + "column": 76 + }, + "end": { + "line": 69, + "column": 85 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 1818, + "end": 1835, + "loc": { + "start": { + "line": 69, + "column": 89 + }, + "end": { + "line": 69, + "column": 106 + } + }, + "left": { + "type": "Identifier", + "start": 1818, + "end": 1826, + "loc": { + "start": { + "line": 69, + "column": 89 + }, + "end": { + "line": 69, + "column": 97 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 1831, + "end": 1835, + "loc": { + "start": { + "line": 69, + "column": 102 + }, + "end": { + "line": 69, + "column": 106 + } + } + } + } + }, + "consequent": { + "type": "ObjectExpression", + "start": 1838, + "end": 1840, + "loc": { + "start": { + "line": 69, + "column": 109 + }, + "end": { + "line": 69, + "column": 111 + } + }, + "properties": [] + }, + "alternate": { + "type": "Identifier", + "start": 1843, + "end": 1851, + "loc": { + "start": { + "line": 69, + "column": 114 + }, + "end": { + "line": 69, + "column": 122 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {IFutureSubscriber} subscriber -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {SpanContext|Span} [context] - \n * @param {Object} [metadata] - \n * @param {Object} tags -\n ", + "start": 859, + "end": 1081, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 38, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1861, + "end": 1870, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1873, + "end": 1913, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1873, + "end": 1880, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 74, + "column": 9 + }, + "identifierName": "cleanup" + }, + "name": "cleanup", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1883, + "end": 1913, + "loc": { + "start": { + "line": 74, + "column": 12 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1889, + "end": 1909, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 1889, + "end": 1908, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1889, + "end": 1906, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 1889, + "end": 1899, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1889, + "end": 1893, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1894, + "end": 1899, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 14 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1900, + "end": 1906, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 21 + }, + "identifierName": "finish" + }, + "name": "finish" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1861, + "end": 1870, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1917, + "end": 1926, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 79, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1929, + "end": 2102, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 86, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1929, + "end": 1940, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 13 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1941, + "end": 1947, + "loc": { + "start": { + "line": 80, + "column": 14 + }, + "end": { + "line": 80, + "column": 20 + }, + "identifierName": "cancel" + }, + "name": "cancel" + } + ], + "body": { + "type": "BlockStatement", + "start": 1949, + "end": 2102, + "loc": { + "start": { + "line": 80, + "column": 22 + }, + "end": { + "line": 86, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1955, + "end": 1977, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1955, + "end": 1976, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1955, + "end": 1967, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1955, + "end": 1959, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1960, + "end": 1967, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 16 + }, + "identifierName": "_cancel" + }, + "name": "_cancel" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1970, + "end": 1976, + "loc": { + "start": { + "line": 81, + "column": 19 + }, + "end": { + "line": 81, + "column": 25 + }, + "identifierName": "cancel" + }, + "name": "cancel" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1982, + "end": 2028, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 1982, + "end": 2027, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1982, + "end": 1996, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 18 + } + }, + "object": { + "type": "MemberExpression", + "start": 1982, + "end": 1992, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1982, + "end": 1986, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1987, + "end": 1992, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 14 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1993, + "end": 1996, + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 82, + "column": 18 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1997, + "end": 2010, + "loc": { + "start": { + "line": 82, + "column": 19 + }, + "end": { + "line": 82, + "column": 32 + } + }, + "extra": { + "rawValue": "onSubscribe", + "raw": "'onSubscribe'" + }, + "value": "onSubscribe" + }, + { + "type": "CallExpression", + "start": 2012, + "end": 2026, + "loc": { + "start": { + "line": 82, + "column": 34 + }, + "end": { + "line": 82, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 2012, + "end": 2024, + "loc": { + "start": { + "line": 82, + "column": 34 + }, + "end": { + "line": 82, + "column": 46 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2033, + "end": 2098, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 85, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 2033, + "end": 2097, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 85, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2033, + "end": 2061, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 2033, + "end": 2049, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2033, + "end": 2037, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2038, + "end": 2049, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 20 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2050, + "end": 2061, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 32 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2062, + "end": 2096, + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 85, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2068, + "end": 2096, + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 85, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2076, + "end": 2090, + "loc": { + "start": { + "line": 84, + "column": 6 + }, + "end": { + "line": 84, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 2076, + "end": 2089, + "loc": { + "start": { + "line": 84, + "column": 6 + }, + "end": { + "line": 84, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2076, + "end": 2087, + "loc": { + "start": { + "line": 84, + "column": 6 + }, + "end": { + "line": 84, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 2076, + "end": 2080, + "loc": { + "start": { + "line": 84, + "column": 6 + }, + "end": { + "line": 84, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2081, + "end": 2087, + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 17 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1917, + "end": 1926, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 79, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2106, + "end": 2115, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2118, + "end": 2272, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 97, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2118, + "end": 2124, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 8 + }, + "identifierName": "cancel" + }, + "name": "cancel", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2127, + "end": 2272, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 97, + "column": 3 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 2133, + "end": 2268, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "block": { + "type": "BlockStatement", + "start": 2137, + "end": 2230, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 94, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2145, + "end": 2186, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 2145, + "end": 2185, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2145, + "end": 2159, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 2145, + "end": 2155, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2145, + "end": 2149, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2150, + "end": 2155, + "loc": { + "start": { + "line": 92, + "column": 11 + }, + "end": { + "line": 92, + "column": 16 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2156, + "end": 2159, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 20 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2160, + "end": 2168, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 29 + } + }, + "extra": { + "rawValue": "cancel", + "raw": "'cancel'" + }, + "value": "cancel" + }, + { + "type": "CallExpression", + "start": 2170, + "end": 2184, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 45 + } + }, + "callee": { + "type": "Identifier", + "start": 2170, + "end": 2182, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 43 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2193, + "end": 2224, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 37 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 2193, + "end": 2223, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 36 + } + }, + "left": { + "type": "MemberExpression", + "start": 2193, + "end": 2205, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2193, + "end": 2197, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2198, + "end": 2205, + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 93, + "column": 18 + }, + "identifierName": "_cancel" + }, + "name": "_cancel" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2209, + "end": 2223, + "loc": { + "start": { + "line": 93, + "column": 22 + }, + "end": { + "line": 93, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2209, + "end": 2221, + "loc": { + "start": { + "line": 93, + "column": 22 + }, + "end": { + "line": 93, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 2209, + "end": 2213, + "loc": { + "start": { + "line": 93, + "column": 22 + }, + "end": { + "line": 93, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 2214, + "end": 2221, + "loc": { + "start": { + "line": 93, + "column": 27 + }, + "end": { + "line": 93, + "column": 34 + }, + "identifierName": "_cancel" + }, + "name": "_cancel" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "handler": null, + "guardedHandlers": [], + "finalizer": { + "type": "BlockStatement", + "start": 2239, + "end": 2268, + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2247, + "end": 2262, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 2247, + "end": 2261, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2247, + "end": 2259, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2247, + "end": 2251, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2252, + "end": 2259, + "loc": { + "start": { + "line": 95, + "column": 11 + }, + "end": { + "line": 95, + "column": 18 + }, + "identifierName": "cleanup" + }, + "name": "cleanup" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2106, + "end": 2115, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2276, + "end": 2285, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 100, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2288, + "end": 2450, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 108, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2288, + "end": 2295, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 101, + "column": 9 + }, + "identifierName": "onError" + }, + "name": "onError", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2296, + "end": 2301, + "loc": { + "start": { + "line": 101, + "column": 10 + }, + "end": { + "line": 101, + "column": 15 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "BlockStatement", + "start": 2303, + "end": 2450, + "loc": { + "start": { + "line": 101, + "column": 17 + }, + "end": { + "line": 108, + "column": 3 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 2309, + "end": 2446, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 107, + "column": 5 + } + }, + "block": { + "type": "BlockStatement", + "start": 2313, + "end": 2408, + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2321, + "end": 2363, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 2321, + "end": 2362, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2321, + "end": 2335, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 2321, + "end": 2331, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2321, + "end": 2325, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2326, + "end": 2331, + "loc": { + "start": { + "line": 103, + "column": 11 + }, + "end": { + "line": 103, + "column": 16 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2332, + "end": 2335, + "loc": { + "start": { + "line": 103, + "column": 17 + }, + "end": { + "line": 103, + "column": 20 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2336, + "end": 2345, + "loc": { + "start": { + "line": 103, + "column": 21 + }, + "end": { + "line": 103, + "column": 30 + } + }, + "extra": { + "rawValue": "onError", + "raw": "'onError'" + }, + "value": "onError" + }, + { + "type": "CallExpression", + "start": 2347, + "end": 2361, + "loc": { + "start": { + "line": 103, + "column": 32 + }, + "end": { + "line": 103, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 2347, + "end": 2359, + "loc": { + "start": { + "line": 103, + "column": 32 + }, + "end": { + "line": 103, + "column": 44 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2370, + "end": 2402, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 2370, + "end": 2401, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2370, + "end": 2394, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 2370, + "end": 2386, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2370, + "end": 2374, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2375, + "end": 2386, + "loc": { + "start": { + "line": 104, + "column": 11 + }, + "end": { + "line": 104, + "column": 22 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2387, + "end": 2394, + "loc": { + "start": { + "line": 104, + "column": 23 + }, + "end": { + "line": 104, + "column": 30 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2395, + "end": 2400, + "loc": { + "start": { + "line": 104, + "column": 31 + }, + "end": { + "line": 104, + "column": 36 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ], + "directives": [] + }, + "handler": null, + "guardedHandlers": [], + "finalizer": { + "type": "BlockStatement", + "start": 2417, + "end": 2446, + "loc": { + "start": { + "line": 105, + "column": 14 + }, + "end": { + "line": 107, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2425, + "end": 2440, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 2425, + "end": 2439, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2425, + "end": 2437, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2425, + "end": 2429, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2430, + "end": 2437, + "loc": { + "start": { + "line": 106, + "column": 11 + }, + "end": { + "line": 106, + "column": 18 + }, + "identifierName": "cleanup" + }, + "name": "cleanup" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2276, + "end": 2285, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 100, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2454, + "end": 2463, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 111, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2466, + "end": 2637, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 119, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2466, + "end": 2476, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 112, + "column": 12 + }, + "identifierName": "onComplete" + }, + "name": "onComplete", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2477, + "end": 2482, + "loc": { + "start": { + "line": 112, + "column": 13 + }, + "end": { + "line": 112, + "column": 18 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "body": { + "type": "BlockStatement", + "start": 2484, + "end": 2637, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 119, + "column": 3 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 2490, + "end": 2633, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 118, + "column": 5 + } + }, + "block": { + "type": "BlockStatement", + "start": 2494, + "end": 2595, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 116, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2502, + "end": 2547, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 51 + } + }, + "expression": { + "type": "CallExpression", + "start": 2502, + "end": 2546, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2502, + "end": 2516, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 2502, + "end": 2512, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2502, + "end": 2506, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2507, + "end": 2512, + "loc": { + "start": { + "line": 114, + "column": 11 + }, + "end": { + "line": 114, + "column": 16 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2513, + "end": 2516, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 20 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2517, + "end": 2529, + "loc": { + "start": { + "line": 114, + "column": 21 + }, + "end": { + "line": 114, + "column": 33 + } + }, + "extra": { + "rawValue": "onComplete", + "raw": "'onComplete'" + }, + "value": "onComplete" + }, + { + "type": "CallExpression", + "start": 2531, + "end": 2545, + "loc": { + "start": { + "line": 114, + "column": 35 + }, + "end": { + "line": 114, + "column": 49 + } + }, + "callee": { + "type": "Identifier", + "start": 2531, + "end": 2543, + "loc": { + "start": { + "line": 114, + "column": 35 + }, + "end": { + "line": 114, + "column": 47 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2554, + "end": 2589, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 2554, + "end": 2588, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2554, + "end": 2581, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 2554, + "end": 2570, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2554, + "end": 2558, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2559, + "end": 2570, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 22 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2571, + "end": 2581, + "loc": { + "start": { + "line": 115, + "column": 23 + }, + "end": { + "line": 115, + "column": 33 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2582, + "end": 2587, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 39 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + } + ], + "directives": [] + }, + "handler": null, + "guardedHandlers": [], + "finalizer": { + "type": "BlockStatement", + "start": 2604, + "end": 2633, + "loc": { + "start": { + "line": 116, + "column": 14 + }, + "end": { + "line": 118, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2612, + "end": 2627, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 2612, + "end": 2626, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2612, + "end": 2624, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2612, + "end": 2616, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2617, + "end": 2624, + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 117, + "column": 18 + }, + "identifierName": "cleanup" + }, + "name": "cleanup" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2454, + "end": 2463, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 111, + "column": 5 + } + } + } + ] + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 819, + "end": 826, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds.\n *\n * @return {number} The return value of {@link Date#now} converted into microseconds\n ", + "start": 2641, + "end": 2780, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 2781, + "end": 2855, + "loc": { + "start": { + "line": 127, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2790, + "end": 2802, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 21 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2805, + "end": 2855, + "loc": { + "start": { + "line": 127, + "column": 24 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2809, + "end": 2853, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 46 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 2816, + "end": 2833, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 128, + "column": 26 + } + }, + "left": { + "type": "CallExpression", + "start": 2816, + "end": 2826, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 128, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2816, + "end": 2824, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 128, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 2816, + "end": 2820, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 128, + "column": 13 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "property": { + "type": "Identifier", + "start": 2821, + "end": 2824, + "loc": { + "start": { + "line": 128, + "column": 14 + }, + "end": { + "line": 128, + "column": 17 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 2829, + "end": 2833, + "loc": { + "start": { + "line": 128, + "column": 22 + }, + "end": { + "line": 128, + "column": 26 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " microseconds ", + "start": 2834, + "end": 2852, + "loc": { + "start": { + "line": 128, + "column": 27 + }, + "end": { + "line": 128, + "column": 45 + } + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds.\n *\n * @return {number} The return value of {@link Date#now} converted into microseconds\n ", + "start": 2641, + "end": 2780, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name SpanSingle.js\n * @fileoverview Defines the \"SpanSingleSubscriber\" class.\n * @requires NPM:rsocket-flowable\n * @requires NPM:opentracing\n * @exports createSpanSingle\n ", + "start": 0, + "end": 181, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} context -\n * @param {?Object} metadata -\n * @param {Object} tags -\n * @return {Single}\n ", + "start": 332, + "end": 543, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 819, + "end": 826, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IFutureSubscriber} subscriber -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {SpanContext|Span} [context] - \n * @param {Object} [metadata] - \n * @param {Object} tags -\n ", + "start": 859, + "end": 1081, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 38, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Not supported at this time.", + "start": 1514, + "end": 1544, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " if (references) {", + "start": 1549, + "end": 1569, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " options.references = references;", + "start": 1574, + "end": 1611, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 1616, + "end": 1620, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": "", + "start": 1625, + "end": 1627, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 6 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1861, + "end": 1870, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1917, + "end": 1926, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 79, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2106, + "end": 2115, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2276, + "end": 2285, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 100, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2454, + "end": 2463, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 111, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds.\n *\n * @return {number} The return value of {@link Date#now} converted into microseconds\n ", + "start": 2641, + "end": 2780, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": " microseconds ", + "start": 2834, + "end": 2852, + "loc": { + "start": { + "line": 128, + "column": 27 + }, + "end": { + "line": 128, + "column": 45 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name SpanSingle.js\n * @fileoverview Defines the \"SpanSingleSubscriber\" class.\n * @requires NPM:rsocket-flowable\n * @requires NPM:opentracing\n * @exports createSpanSingle\n ", + "start": 0, + "end": 181, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 182, + "end": 188, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 189, + "end": 190, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 191, + "end": 197, + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 197, + "end": 198, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "IFutureSubscriber", + "start": 199, + "end": 216, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 217, + "end": 218, + "loc": { + "start": { + "line": 8, + "column": 35 + }, + "end": { + "line": 8, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 219, + "end": 223, + "loc": { + "start": { + "line": 8, + "column": 37 + }, + "end": { + "line": 8, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-flowable/build/Single", + "start": 224, + "end": 255, + "loc": { + "start": { + "line": 8, + "column": 42 + }, + "end": { + "line": 8, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 255, + "end": 256, + "loc": { + "start": { + "line": 8, + "column": 73 + }, + "end": { + "line": 8, + "column": 74 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 257, + "end": 263, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 264, + "end": 265, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Tracer", + "start": 266, + "end": 272, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Span", + "start": 274, + "end": 278, + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 278, + "end": 279, + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanContext", + "start": 280, + "end": 291, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 291, + "end": 292, + "loc": { + "start": { + "line": 9, + "column": 34 + }, + "end": { + "line": 9, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FORMAT_TEXT_MAP", + "start": 293, + "end": 308, + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 309, + "end": 310, + "loc": { + "start": { + "line": 9, + "column": 52 + }, + "end": { + "line": 9, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 311, + "end": 315, + "loc": { + "start": { + "line": 9, + "column": 54 + }, + "end": { + "line": 9, + "column": 58 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "opentracing", + "start": 316, + "end": 329, + "loc": { + "start": { + "line": 9, + "column": 59 + }, + "end": { + "line": 9, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 9, + "column": 72 + }, + "end": { + "line": 9, + "column": 73 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Single} single -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} context -\n * @param {?Object} metadata -\n * @param {Object} tags -\n * @return {Single}\n ", + "start": 332, + "end": 543, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 544, + "end": 550, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 551, + "end": 559, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createSpanSingle", + "start": 560, + "end": 576, + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 576, + "end": 577, + "loc": { + "start": { + "line": 20, + "column": 32 + }, + "end": { + "line": 20, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 577, + "end": 583, + "loc": { + "start": { + "line": 20, + "column": 33 + }, + "end": { + "line": 20, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 583, + "end": 584, + "loc": { + "start": { + "line": 20, + "column": 39 + }, + "end": { + "line": 20, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 585, + "end": 591, + "loc": { + "start": { + "line": 20, + "column": 41 + }, + "end": { + "line": 20, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 591, + "end": 592, + "loc": { + "start": { + "line": 20, + "column": 47 + }, + "end": { + "line": 20, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 593, + "end": 597, + "loc": { + "start": { + "line": 20, + "column": 49 + }, + "end": { + "line": 20, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 597, + "end": 598, + "loc": { + "start": { + "line": 20, + "column": 53 + }, + "end": { + "line": 20, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 599, + "end": 606, + "loc": { + "start": { + "line": 20, + "column": 55 + }, + "end": { + "line": 20, + "column": 62 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 606, + "end": 607, + "loc": { + "start": { + "line": 20, + "column": 62 + }, + "end": { + "line": 20, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 608, + "end": 616, + "loc": { + "start": { + "line": 20, + "column": 64 + }, + "end": { + "line": 20, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 616, + "end": 617, + "loc": { + "start": { + "line": 20, + "column": 72 + }, + "end": { + "line": 20, + "column": 73 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 618, + "end": 621, + "loc": { + "start": { + "line": 20, + "column": 74 + }, + "end": { + "line": 20, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 621, + "end": 625, + "loc": { + "start": { + "line": 20, + "column": 77 + }, + "end": { + "line": 20, + "column": 81 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 20, + "column": 81 + }, + "end": { + "line": 20, + "column": 82 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 627, + "end": 628, + "loc": { + "start": { + "line": 20, + "column": 83 + }, + "end": { + "line": 20, + "column": 84 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 631, + "end": 637, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 638, + "end": 641, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 642, + "end": 648, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 649, + "end": 659, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 660, + "end": 662, + "loc": { + "start": { + "line": 21, + "column": 31 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 663, + "end": 664, + "loc": { + "start": { + "line": 21, + "column": 34 + }, + "end": { + "line": 21, + "column": 35 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 669, + "end": 674, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "spanSubscriber", + "start": 675, + "end": 689, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 690, + "end": 691, + "loc": { + "start": { + "line": 22, + "column": 25 + }, + "end": { + "line": 22, + "column": 26 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 692, + "end": 695, + "loc": { + "start": { + "line": 22, + "column": 27 + }, + "end": { + "line": 22, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanSingleSubscriber", + "start": 696, + "end": 716, + "loc": { + "start": { + "line": 22, + "column": 31 + }, + "end": { + "line": 22, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 716, + "end": 717, + "loc": { + "start": { + "line": 22, + "column": 51 + }, + "end": { + "line": 22, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 717, + "end": 727, + "loc": { + "start": { + "line": 22, + "column": 52 + }, + "end": { + "line": 22, + "column": 62 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 727, + "end": 728, + "loc": { + "start": { + "line": 22, + "column": 62 + }, + "end": { + "line": 22, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 729, + "end": 735, + "loc": { + "start": { + "line": 22, + "column": 64 + }, + "end": { + "line": 22, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 735, + "end": 736, + "loc": { + "start": { + "line": 22, + "column": 70 + }, + "end": { + "line": 22, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 737, + "end": 741, + "loc": { + "start": { + "line": 22, + "column": 72 + }, + "end": { + "line": 22, + "column": 76 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 741, + "end": 742, + "loc": { + "start": { + "line": 22, + "column": 76 + }, + "end": { + "line": 22, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 743, + "end": 750, + "loc": { + "start": { + "line": 22, + "column": 78 + }, + "end": { + "line": 22, + "column": 85 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 750, + "end": 751, + "loc": { + "start": { + "line": 22, + "column": 85 + }, + "end": { + "line": 22, + "column": 86 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 752, + "end": 760, + "loc": { + "start": { + "line": 22, + "column": 87 + }, + "end": { + "line": 22, + "column": 95 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 760, + "end": 761, + "loc": { + "start": { + "line": 22, + "column": 95 + }, + "end": { + "line": 22, + "column": 96 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 762, + "end": 765, + "loc": { + "start": { + "line": 22, + "column": 97 + }, + "end": { + "line": 22, + "column": 100 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 765, + "end": 769, + "loc": { + "start": { + "line": 22, + "column": 100 + }, + "end": { + "line": 22, + "column": 104 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 769, + "end": 770, + "loc": { + "start": { + "line": 22, + "column": 104 + }, + "end": { + "line": 22, + "column": 105 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 770, + "end": 771, + "loc": { + "start": { + "line": 22, + "column": 105 + }, + "end": { + "line": 22, + "column": 106 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 776, + "end": 782, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 782, + "end": 783, + "loc": { + "start": { + "line": 23, + "column": 10 + }, + "end": { + "line": 23, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscribe", + "start": 783, + "end": 792, + "loc": { + "start": { + "line": 23, + "column": 11 + }, + "end": { + "line": 23, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 792, + "end": 793, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "spanSubscriber", + "start": 793, + "end": 807, + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 807, + "end": 808, + "loc": { + "start": { + "line": 23, + "column": 35 + }, + "end": { + "line": 23, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 808, + "end": 809, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 812, + "end": 813, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 813, + "end": 814, + "loc": { + "start": { + "line": 24, + "column": 3 + }, + "end": { + "line": 24, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 814, + "end": 815, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 816, + "end": 817, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 819, + "end": 826, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 827, + "end": 832, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanSingleSubscriber", + "start": 833, + "end": 853, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 854, + "end": 855, + "loc": { + "start": { + "line": 29, + "column": 27 + }, + "end": { + "line": 29, + "column": 28 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {IFutureSubscriber} subscriber -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {SpanContext|Span} [context] - \n * @param {Object} [metadata] - \n * @param {Object} tags -\n ", + "start": 859, + "end": 1081, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 38, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 1084, + "end": 1095, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1095, + "end": 1096, + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 1096, + "end": 1106, + "loc": { + "start": { + "line": 39, + "column": 14 + }, + "end": { + "line": 39, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1106, + "end": 1107, + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 1108, + "end": 1114, + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1114, + "end": 1115, + "loc": { + "start": { + "line": 39, + "column": 32 + }, + "end": { + "line": 39, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1116, + "end": 1120, + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1120, + "end": 1121, + "loc": { + "start": { + "line": 39, + "column": 38 + }, + "end": { + "line": 39, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 1122, + "end": 1129, + "loc": { + "start": { + "line": 39, + "column": 40 + }, + "end": { + "line": 39, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1129, + "end": 1130, + "loc": { + "start": { + "line": 39, + "column": 47 + }, + "end": { + "line": 39, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1131, + "end": 1139, + "loc": { + "start": { + "line": 39, + "column": 49 + }, + "end": { + "line": 39, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1139, + "end": 1140, + "loc": { + "start": { + "line": 39, + "column": 57 + }, + "end": { + "line": 39, + "column": 58 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1141, + "end": 1144, + "loc": { + "start": { + "line": 39, + "column": 59 + }, + "end": { + "line": 39, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1144, + "end": 1148, + "loc": { + "start": { + "line": 39, + "column": 62 + }, + "end": { + "line": 39, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1148, + "end": 1149, + "loc": { + "start": { + "line": 39, + "column": 66 + }, + "end": { + "line": 39, + "column": 67 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1150, + "end": 1151, + "loc": { + "start": { + "line": 39, + "column": 68 + }, + "end": { + "line": 39, + "column": 69 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1156, + "end": 1160, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1160, + "end": 1161, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 1161, + "end": 1172, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1173, + "end": 1174, + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 1175, + "end": 1185, + "loc": { + "start": { + "line": 40, + "column": 23 + }, + "end": { + "line": 40, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1185, + "end": 1186, + "loc": { + "start": { + "line": 40, + "column": 33 + }, + "end": { + "line": 40, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1192, + "end": 1196, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1196, + "end": 1197, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_tracer", + "start": 1197, + "end": 1204, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1205, + "end": 1206, + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 1207, + "end": 1213, + "loc": { + "start": { + "line": 42, + "column": 19 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1213, + "end": 1214, + "loc": { + "start": { + "line": 42, + "column": 25 + }, + "end": { + "line": 42, + "column": 26 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 1220, + "end": 1223, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1224, + "end": 1231, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1232, + "end": 1233, + "loc": { + "start": { + "line": 44, + "column": 16 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1234, + "end": 1235, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1235, + "end": 1236, + "loc": { + "start": { + "line": 44, + "column": 19 + }, + "end": { + "line": 44, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1236, + "end": 1237, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 21 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1243, + "end": 1245, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 1247, + "end": 1254, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1254, + "end": 1255, + "loc": { + "start": { + "line": 46, + "column": 15 + }, + "end": { + "line": 46, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1256, + "end": 1257, + "loc": { + "start": { + "line": 46, + "column": 17 + }, + "end": { + "line": 46, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1264, + "end": 1271, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1271, + "end": 1272, + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "childOf", + "start": 1272, + "end": 1279, + "loc": { + "start": { + "line": 47, + "column": 14 + }, + "end": { + "line": 47, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1280, + "end": 1281, + "loc": { + "start": { + "line": 47, + "column": 22 + }, + "end": { + "line": 47, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 1282, + "end": 1289, + "loc": { + "start": { + "line": 47, + "column": 24 + }, + "end": { + "line": 47, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1289, + "end": 1290, + "loc": { + "start": { + "line": 47, + "column": 31 + }, + "end": { + "line": 47, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1295, + "end": 1296, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1302, + "end": 1304, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1305, + "end": 1306, + "loc": { + "start": { + "line": 50, + "column": 7 + }, + "end": { + "line": 50, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1306, + "end": 1310, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1310, + "end": 1311, + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1312, + "end": 1313, + "loc": { + "start": { + "line": 50, + "column": 14 + }, + "end": { + "line": 50, + "column": 15 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1320, + "end": 1325, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTags", + "start": 1326, + "end": 1335, + "loc": { + "start": { + "line": 51, + "column": 12 + }, + "end": { + "line": 51, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1336, + "end": 1337, + "loc": { + "start": { + "line": 51, + "column": 22 + }, + "end": { + "line": 51, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1338, + "end": 1339, + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1339, + "end": 1340, + "loc": { + "start": { + "line": 51, + "column": 25 + }, + "end": { + "line": 51, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1340, + "end": 1341, + "loc": { + "start": { + "line": 51, + "column": 26 + }, + "end": { + "line": 51, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1348, + "end": 1352, + "loc": { + "start": { + "line": 52, + "column": 6 + }, + "end": { + "line": 52, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1352, + "end": 1353, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 1353, + "end": 1360, + "loc": { + "start": { + "line": 52, + "column": 11 + }, + "end": { + "line": 52, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1360, + "end": 1361, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 1361, + "end": 1364, + "loc": { + "start": { + "line": 52, + "column": 19 + }, + "end": { + "line": 52, + "column": 22 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1365, + "end": 1367, + "loc": { + "start": { + "line": 52, + "column": 23 + }, + "end": { + "line": 52, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1368, + "end": 1369, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 1378, + "end": 1384, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1384, + "end": 1385, + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 1385, + "end": 1389, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1389, + "end": 1390, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 1390, + "end": 1393, + "loc": { + "start": { + "line": 53, + "column": 20 + }, + "end": { + "line": 53, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1393, + "end": 1394, + "loc": { + "start": { + "line": 53, + "column": 23 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1394, + "end": 1395, + "loc": { + "start": { + "line": 53, + "column": 24 + }, + "end": { + "line": 53, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 1395, + "end": 1402, + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1402, + "end": 1403, + "loc": { + "start": { + "line": 53, + "column": 32 + }, + "end": { + "line": 53, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1403, + "end": 1406, + "loc": { + "start": { + "line": 53, + "column": 33 + }, + "end": { + "line": 53, + "column": 36 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1407, + "end": 1409, + "loc": { + "start": { + "line": 53, + "column": 37 + }, + "end": { + "line": 53, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1410, + "end": 1411, + "loc": { + "start": { + "line": 53, + "column": 40 + }, + "end": { + "line": 53, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTags", + "start": 1422, + "end": 1431, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 54, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 54, + "column": 19 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1432, + "end": 1435, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 23 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1435, + "end": 1436, + "loc": { + "start": { + "line": 54, + "column": 23 + }, + "end": { + "line": 54, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1437, + "end": 1438, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 1439, + "end": 1442, + "loc": { + "start": { + "line": 54, + "column": 27 + }, + "end": { + "line": 54, + "column": 30 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1442, + "end": 1443, + "loc": { + "start": { + "line": 54, + "column": 30 + }, + "end": { + "line": 54, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1443, + "end": 1446, + "loc": { + "start": { + "line": 54, + "column": 31 + }, + "end": { + "line": 54, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1446, + "end": 1447, + "loc": { + "start": { + "line": 54, + "column": 34 + }, + "end": { + "line": 54, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1447, + "end": 1448, + "loc": { + "start": { + "line": 54, + "column": 35 + }, + "end": { + "line": 54, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1457, + "end": 1458, + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1458, + "end": 1459, + "loc": { + "start": { + "line": 55, + "column": 9 + }, + "end": { + "line": 55, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1459, + "end": 1460, + "loc": { + "start": { + "line": 55, + "column": 10 + }, + "end": { + "line": 55, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1467, + "end": 1468, + "loc": { + "start": { + "line": 56, + "column": 6 + }, + "end": { + "line": 56, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1468, + "end": 1469, + "loc": { + "start": { + "line": 56, + "column": 7 + }, + "end": { + "line": 56, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1469, + "end": 1470, + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1477, + "end": 1484, + "loc": { + "start": { + "line": 57, + "column": 6 + }, + "end": { + "line": 57, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1484, + "end": 1485, + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1485, + "end": 1489, + "loc": { + "start": { + "line": 57, + "column": 14 + }, + "end": { + "line": 57, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1490, + "end": 1491, + "loc": { + "start": { + "line": 57, + "column": 19 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTags", + "start": 1492, + "end": 1501, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1501, + "end": 1502, + "loc": { + "start": { + "line": 57, + "column": 30 + }, + "end": { + "line": 57, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1507, + "end": 1508, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Not supported at this time.", + "start": 1514, + "end": 1544, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " if (references) {", + "start": 1549, + "end": 1569, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " options.references = references;", + "start": 1574, + "end": 1611, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 1616, + "end": 1620, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": "", + "start": 1625, + "end": 1627, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1632, + "end": 1639, + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 65, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1639, + "end": 1640, + "loc": { + "start": { + "line": 65, + "column": 11 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 1640, + "end": 1649, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1650, + "end": 1651, + "loc": { + "start": { + "line": 65, + "column": 22 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 1652, + "end": 1656, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1656, + "end": 1657, + "loc": { + "start": { + "line": 65, + "column": 28 + }, + "end": { + "line": 65, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 1657, + "end": 1660, + "loc": { + "start": { + "line": 65, + "column": 29 + }, + "end": { + "line": 65, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1660, + "end": 1661, + "loc": { + "start": { + "line": 65, + "column": 32 + }, + "end": { + "line": 65, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1661, + "end": 1662, + "loc": { + "start": { + "line": 65, + "column": 33 + }, + "end": { + "line": 65, + "column": 34 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 1663, + "end": 1664, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 1665, + "end": 1669, + "loc": { + "start": { + "line": 65, + "column": 37 + }, + "end": { + "line": 65, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1669, + "end": 1670, + "loc": { + "start": { + "line": 65, + "column": 41 + }, + "end": { + "line": 65, + "column": 42 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1676, + "end": 1680, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1680, + "end": 1681, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1681, + "end": 1686, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1687, + "end": 1688, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1689, + "end": 1693, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1693, + "end": 1694, + "loc": { + "start": { + "line": 67, + "column": 21 + }, + "end": { + "line": 67, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_tracer", + "start": 1694, + "end": 1701, + "loc": { + "start": { + "line": 67, + "column": 22 + }, + "end": { + "line": 67, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1701, + "end": 1702, + "loc": { + "start": { + "line": 67, + "column": 29 + }, + "end": { + "line": 67, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startSpan", + "start": 1702, + "end": 1711, + "loc": { + "start": { + "line": 67, + "column": 30 + }, + "end": { + "line": 67, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1711, + "end": 1712, + "loc": { + "start": { + "line": 67, + "column": 39 + }, + "end": { + "line": 67, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1712, + "end": 1716, + "loc": { + "start": { + "line": 67, + "column": 40 + }, + "end": { + "line": 67, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1716, + "end": 1717, + "loc": { + "start": { + "line": 67, + "column": 44 + }, + "end": { + "line": 67, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1718, + "end": 1725, + "loc": { + "start": { + "line": 67, + "column": 46 + }, + "end": { + "line": 67, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1725, + "end": 1726, + "loc": { + "start": { + "line": 67, + "column": 53 + }, + "end": { + "line": 67, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1726, + "end": 1727, + "loc": { + "start": { + "line": 67, + "column": 54 + }, + "end": { + "line": 67, + "column": 55 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1733, + "end": 1737, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1737, + "end": 1738, + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_tracer", + "start": 1738, + "end": 1745, + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1745, + "end": 1746, + "loc": { + "start": { + "line": 69, + "column": 16 + }, + "end": { + "line": 69, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inject", + "start": 1746, + "end": 1752, + "loc": { + "start": { + "line": 69, + "column": 17 + }, + "end": { + "line": 69, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1752, + "end": 1753, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 69, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1753, + "end": 1757, + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1757, + "end": 1758, + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1758, + "end": 1763, + "loc": { + "start": { + "line": 69, + "column": 29 + }, + "end": { + "line": 69, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 69, + "column": 34 + }, + "end": { + "line": 69, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 1764, + "end": 1771, + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1771, + "end": 1772, + "loc": { + "start": { + "line": 69, + "column": 42 + }, + "end": { + "line": 69, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1772, + "end": 1773, + "loc": { + "start": { + "line": 69, + "column": 43 + }, + "end": { + "line": 69, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1773, + "end": 1774, + "loc": { + "start": { + "line": 69, + "column": 44 + }, + "end": { + "line": 69, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FORMAT_TEXT_MAP", + "start": 1775, + "end": 1790, + "loc": { + "start": { + "line": 69, + "column": 46 + }, + "end": { + "line": 69, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1790, + "end": 1791, + "loc": { + "start": { + "line": 69, + "column": 61 + }, + "end": { + "line": 69, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1792, + "end": 1800, + "loc": { + "start": { + "line": 69, + "column": 63 + }, + "end": { + "line": 69, + "column": 71 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1801, + "end": 1804, + "loc": { + "start": { + "line": 69, + "column": 72 + }, + "end": { + "line": 69, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 1805, + "end": 1814, + "loc": { + "start": { + "line": 69, + "column": 76 + }, + "end": { + "line": 69, + "column": 85 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1815, + "end": 1817, + "loc": { + "start": { + "line": 69, + "column": 86 + }, + "end": { + "line": 69, + "column": 88 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1818, + "end": 1826, + "loc": { + "start": { + "line": 69, + "column": 89 + }, + "end": { + "line": 69, + "column": 97 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1827, + "end": 1830, + "loc": { + "start": { + "line": 69, + "column": 98 + }, + "end": { + "line": 69, + "column": 101 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1831, + "end": 1835, + "loc": { + "start": { + "line": 69, + "column": 102 + }, + "end": { + "line": 69, + "column": 106 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1836, + "end": 1837, + "loc": { + "start": { + "line": 69, + "column": 107 + }, + "end": { + "line": 69, + "column": 108 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1838, + "end": 1839, + "loc": { + "start": { + "line": 69, + "column": 109 + }, + "end": { + "line": 69, + "column": 110 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1839, + "end": 1840, + "loc": { + "start": { + "line": 69, + "column": 110 + }, + "end": { + "line": 69, + "column": 111 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1841, + "end": 1842, + "loc": { + "start": { + "line": 69, + "column": 112 + }, + "end": { + "line": 69, + "column": 113 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1843, + "end": 1851, + "loc": { + "start": { + "line": 69, + "column": 114 + }, + "end": { + "line": 69, + "column": 122 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1851, + "end": 1852, + "loc": { + "start": { + "line": 69, + "column": 122 + }, + "end": { + "line": 69, + "column": 123 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1852, + "end": 1853, + "loc": { + "start": { + "line": 69, + "column": 123 + }, + "end": { + "line": 69, + "column": 124 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1856, + "end": 1857, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 70, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1861, + "end": 1870, + "loc": { + "start": { + "line": 72, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cleanup", + "start": 1873, + "end": 1880, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1880, + "end": 1881, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1881, + "end": 1882, + "loc": { + "start": { + "line": 74, + "column": 10 + }, + "end": { + "line": 74, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1883, + "end": 1884, + "loc": { + "start": { + "line": 74, + "column": 12 + }, + "end": { + "line": 74, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1889, + "end": 1893, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1893, + "end": 1894, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1894, + "end": 1899, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1899, + "end": 1900, + "loc": { + "start": { + "line": 75, + "column": 14 + }, + "end": { + "line": 75, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finish", + "start": 1900, + "end": 1906, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1906, + "end": 1907, + "loc": { + "start": { + "line": 75, + "column": 21 + }, + "end": { + "line": 75, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1907, + "end": 1908, + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1908, + "end": 1909, + "loc": { + "start": { + "line": 75, + "column": 23 + }, + "end": { + "line": 75, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1912, + "end": 1913, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1917, + "end": 1926, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 79, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 1929, + "end": 1940, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1940, + "end": 1941, + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 1941, + "end": 1947, + "loc": { + "start": { + "line": 80, + "column": 14 + }, + "end": { + "line": 80, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1947, + "end": 1948, + "loc": { + "start": { + "line": 80, + "column": 20 + }, + "end": { + "line": 80, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1949, + "end": 1950, + "loc": { + "start": { + "line": 80, + "column": 22 + }, + "end": { + "line": 80, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1955, + "end": 1959, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1959, + "end": 1960, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancel", + "start": 1960, + "end": 1967, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1968, + "end": 1969, + "loc": { + "start": { + "line": 81, + "column": 17 + }, + "end": { + "line": 81, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 1970, + "end": 1976, + "loc": { + "start": { + "line": 81, + "column": 19 + }, + "end": { + "line": 81, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1976, + "end": 1977, + "loc": { + "start": { + "line": 81, + "column": 25 + }, + "end": { + "line": 81, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1982, + "end": 1986, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1986, + "end": 1987, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1987, + "end": 1992, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1992, + "end": 1993, + "loc": { + "start": { + "line": 82, + "column": 14 + }, + "end": { + "line": 82, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 1993, + "end": 1996, + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 82, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1996, + "end": 1997, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onSubscribe", + "start": 1997, + "end": 2010, + "loc": { + "start": { + "line": 82, + "column": 19 + }, + "end": { + "line": 82, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2010, + "end": 2011, + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2012, + "end": 2024, + "loc": { + "start": { + "line": 82, + "column": 34 + }, + "end": { + "line": 82, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2024, + "end": 2025, + "loc": { + "start": { + "line": 82, + "column": 46 + }, + "end": { + "line": 82, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2025, + "end": 2026, + "loc": { + "start": { + "line": 82, + "column": 47 + }, + "end": { + "line": 82, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2026, + "end": 2027, + "loc": { + "start": { + "line": 82, + "column": 48 + }, + "end": { + "line": 82, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2027, + "end": 2028, + "loc": { + "start": { + "line": 82, + "column": 49 + }, + "end": { + "line": 82, + "column": 50 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2033, + "end": 2037, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2037, + "end": 2038, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 2038, + "end": 2049, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2049, + "end": 2050, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 2050, + "end": 2061, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2061, + "end": 2062, + "loc": { + "start": { + "line": 83, + "column": 32 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2062, + "end": 2063, + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 83, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2063, + "end": 2064, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 35 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2065, + "end": 2067, + "loc": { + "start": { + "line": 83, + "column": 36 + }, + "end": { + "line": 83, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2068, + "end": 2069, + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 40 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2076, + "end": 2080, + "loc": { + "start": { + "line": 84, + "column": 6 + }, + "end": { + "line": 84, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2080, + "end": 2081, + "loc": { + "start": { + "line": 84, + "column": 10 + }, + "end": { + "line": 84, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2081, + "end": 2087, + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2087, + "end": 2088, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2088, + "end": 2089, + "loc": { + "start": { + "line": 84, + "column": 18 + }, + "end": { + "line": 84, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2089, + "end": 2090, + "loc": { + "start": { + "line": 84, + "column": 19 + }, + "end": { + "line": 84, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2095, + "end": 2096, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2096, + "end": 2097, + "loc": { + "start": { + "line": 85, + "column": 5 + }, + "end": { + "line": 85, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2097, + "end": 2098, + "loc": { + "start": { + "line": 85, + "column": 6 + }, + "end": { + "line": 85, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2101, + "end": 2102, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2106, + "end": 2115, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2118, + "end": 2124, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2124, + "end": 2125, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2125, + "end": 2126, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 90, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2127, + "end": 2128, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 12 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 2133, + "end": 2136, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2137, + "end": 2138, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2145, + "end": 2149, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2149, + "end": 2150, + "loc": { + "start": { + "line": 92, + "column": 10 + }, + "end": { + "line": 92, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 2150, + "end": 2155, + "loc": { + "start": { + "line": 92, + "column": 11 + }, + "end": { + "line": 92, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2155, + "end": 2156, + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 2156, + "end": 2159, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2159, + "end": 2160, + "loc": { + "start": { + "line": 92, + "column": 20 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cancel", + "start": 2160, + "end": 2168, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2168, + "end": 2169, + "loc": { + "start": { + "line": 92, + "column": 29 + }, + "end": { + "line": 92, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2170, + "end": 2182, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2182, + "end": 2183, + "loc": { + "start": { + "line": 92, + "column": 43 + }, + "end": { + "line": 92, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2183, + "end": 2184, + "loc": { + "start": { + "line": 92, + "column": 44 + }, + "end": { + "line": 92, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2184, + "end": 2185, + "loc": { + "start": { + "line": 92, + "column": 45 + }, + "end": { + "line": 92, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2185, + "end": 2186, + "loc": { + "start": { + "line": 92, + "column": 46 + }, + "end": { + "line": 92, + "column": 47 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2193, + "end": 2197, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2197, + "end": 2198, + "loc": { + "start": { + "line": 93, + "column": 10 + }, + "end": { + "line": 93, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancel", + "start": 2198, + "end": 2205, + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 93, + "column": 18 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2206, + "end": 2208, + "loc": { + "start": { + "line": 93, + "column": 19 + }, + "end": { + "line": 93, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2209, + "end": 2213, + "loc": { + "start": { + "line": 93, + "column": 22 + }, + "end": { + "line": 93, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2213, + "end": 2214, + "loc": { + "start": { + "line": 93, + "column": 26 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_cancel", + "start": 2214, + "end": 2221, + "loc": { + "start": { + "line": 93, + "column": 27 + }, + "end": { + "line": 93, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2221, + "end": 2222, + "loc": { + "start": { + "line": 93, + "column": 34 + }, + "end": { + "line": 93, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2222, + "end": 2223, + "loc": { + "start": { + "line": 93, + "column": 35 + }, + "end": { + "line": 93, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2223, + "end": 2224, + "loc": { + "start": { + "line": 93, + "column": 36 + }, + "end": { + "line": 93, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2229, + "end": 2230, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 5 + } + } + }, + { + "type": { + "label": "finally", + "keyword": "finally", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "finally", + "start": 2231, + "end": 2238, + "loc": { + "start": { + "line": 94, + "column": 6 + }, + "end": { + "line": 94, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2239, + "end": 2240, + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 94, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2247, + "end": 2251, + "loc": { + "start": { + "line": 95, + "column": 6 + }, + "end": { + "line": 95, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2251, + "end": 2252, + "loc": { + "start": { + "line": 95, + "column": 10 + }, + "end": { + "line": 95, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cleanup", + "start": 2252, + "end": 2259, + "loc": { + "start": { + "line": 95, + "column": 11 + }, + "end": { + "line": 95, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2259, + "end": 2260, + "loc": { + "start": { + "line": 95, + "column": 18 + }, + "end": { + "line": 95, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2260, + "end": 2261, + "loc": { + "start": { + "line": 95, + "column": 19 + }, + "end": { + "line": 95, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2261, + "end": 2262, + "loc": { + "start": { + "line": 95, + "column": 20 + }, + "end": { + "line": 95, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2267, + "end": 2268, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2271, + "end": 2272, + "loc": { + "start": { + "line": 97, + "column": 2 + }, + "end": { + "line": 97, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2276, + "end": 2285, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 100, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2288, + "end": 2295, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 101, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2295, + "end": 2296, + "loc": { + "start": { + "line": 101, + "column": 9 + }, + "end": { + "line": 101, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2296, + "end": 2301, + "loc": { + "start": { + "line": 101, + "column": 10 + }, + "end": { + "line": 101, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2301, + "end": 2302, + "loc": { + "start": { + "line": 101, + "column": 15 + }, + "end": { + "line": 101, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2303, + "end": 2304, + "loc": { + "start": { + "line": 101, + "column": 17 + }, + "end": { + "line": 101, + "column": 18 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 2309, + "end": 2312, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2313, + "end": 2314, + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2321, + "end": 2325, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2325, + "end": 2326, + "loc": { + "start": { + "line": 103, + "column": 10 + }, + "end": { + "line": 103, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 2326, + "end": 2331, + "loc": { + "start": { + "line": 103, + "column": 11 + }, + "end": { + "line": 103, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2331, + "end": 2332, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 2332, + "end": 2335, + "loc": { + "start": { + "line": 103, + "column": 17 + }, + "end": { + "line": 103, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2335, + "end": 2336, + "loc": { + "start": { + "line": 103, + "column": 20 + }, + "end": { + "line": 103, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onError", + "start": 2336, + "end": 2345, + "loc": { + "start": { + "line": 103, + "column": 21 + }, + "end": { + "line": 103, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2345, + "end": 2346, + "loc": { + "start": { + "line": 103, + "column": 30 + }, + "end": { + "line": 103, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2347, + "end": 2359, + "loc": { + "start": { + "line": 103, + "column": 32 + }, + "end": { + "line": 103, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2359, + "end": 2360, + "loc": { + "start": { + "line": 103, + "column": 44 + }, + "end": { + "line": 103, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2360, + "end": 2361, + "loc": { + "start": { + "line": 103, + "column": 45 + }, + "end": { + "line": 103, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2361, + "end": 2362, + "loc": { + "start": { + "line": 103, + "column": 46 + }, + "end": { + "line": 103, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2362, + "end": 2363, + "loc": { + "start": { + "line": 103, + "column": 47 + }, + "end": { + "line": 103, + "column": 48 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2370, + "end": 2374, + "loc": { + "start": { + "line": 104, + "column": 6 + }, + "end": { + "line": 104, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2374, + "end": 2375, + "loc": { + "start": { + "line": 104, + "column": 10 + }, + "end": { + "line": 104, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 2375, + "end": 2386, + "loc": { + "start": { + "line": 104, + "column": 11 + }, + "end": { + "line": 104, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2386, + "end": 2387, + "loc": { + "start": { + "line": 104, + "column": 22 + }, + "end": { + "line": 104, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2387, + "end": 2394, + "loc": { + "start": { + "line": 104, + "column": 23 + }, + "end": { + "line": 104, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2394, + "end": 2395, + "loc": { + "start": { + "line": 104, + "column": 30 + }, + "end": { + "line": 104, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2395, + "end": 2400, + "loc": { + "start": { + "line": 104, + "column": 31 + }, + "end": { + "line": 104, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2400, + "end": 2401, + "loc": { + "start": { + "line": 104, + "column": 36 + }, + "end": { + "line": 104, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2401, + "end": 2402, + "loc": { + "start": { + "line": 104, + "column": 37 + }, + "end": { + "line": 104, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2407, + "end": 2408, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": { + "label": "finally", + "keyword": "finally", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "finally", + "start": 2409, + "end": 2416, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2417, + "end": 2418, + "loc": { + "start": { + "line": 105, + "column": 14 + }, + "end": { + "line": 105, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2425, + "end": 2429, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2429, + "end": 2430, + "loc": { + "start": { + "line": 106, + "column": 10 + }, + "end": { + "line": 106, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cleanup", + "start": 2430, + "end": 2437, + "loc": { + "start": { + "line": 106, + "column": 11 + }, + "end": { + "line": 106, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2437, + "end": 2438, + "loc": { + "start": { + "line": 106, + "column": 18 + }, + "end": { + "line": 106, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2438, + "end": 2439, + "loc": { + "start": { + "line": 106, + "column": 19 + }, + "end": { + "line": 106, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2439, + "end": 2440, + "loc": { + "start": { + "line": 106, + "column": 20 + }, + "end": { + "line": 106, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2445, + "end": 2446, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2449, + "end": 2450, + "loc": { + "start": { + "line": 108, + "column": 2 + }, + "end": { + "line": 108, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2454, + "end": 2463, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 111, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2466, + "end": 2476, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 112, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2476, + "end": 2477, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2477, + "end": 2482, + "loc": { + "start": { + "line": 112, + "column": 13 + }, + "end": { + "line": 112, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2482, + "end": 2483, + "loc": { + "start": { + "line": 112, + "column": 18 + }, + "end": { + "line": 112, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2484, + "end": 2485, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 112, + "column": 21 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 2490, + "end": 2493, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2494, + "end": 2495, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2502, + "end": 2506, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2506, + "end": 2507, + "loc": { + "start": { + "line": 114, + "column": 10 + }, + "end": { + "line": 114, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 2507, + "end": 2512, + "loc": { + "start": { + "line": 114, + "column": 11 + }, + "end": { + "line": 114, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2512, + "end": 2513, + "loc": { + "start": { + "line": 114, + "column": 16 + }, + "end": { + "line": 114, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 2513, + "end": 2516, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2516, + "end": 2517, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onComplete", + "start": 2517, + "end": 2529, + "loc": { + "start": { + "line": 114, + "column": 21 + }, + "end": { + "line": 114, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2529, + "end": 2530, + "loc": { + "start": { + "line": 114, + "column": 33 + }, + "end": { + "line": 114, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2531, + "end": 2543, + "loc": { + "start": { + "line": 114, + "column": 35 + }, + "end": { + "line": 114, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2543, + "end": 2544, + "loc": { + "start": { + "line": 114, + "column": 47 + }, + "end": { + "line": 114, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2544, + "end": 2545, + "loc": { + "start": { + "line": 114, + "column": 48 + }, + "end": { + "line": 114, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2545, + "end": 2546, + "loc": { + "start": { + "line": 114, + "column": 49 + }, + "end": { + "line": 114, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2546, + "end": 2547, + "loc": { + "start": { + "line": 114, + "column": 50 + }, + "end": { + "line": 114, + "column": 51 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2554, + "end": 2558, + "loc": { + "start": { + "line": 115, + "column": 6 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2558, + "end": 2559, + "loc": { + "start": { + "line": 115, + "column": 10 + }, + "end": { + "line": 115, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 2559, + "end": 2570, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2570, + "end": 2571, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2571, + "end": 2581, + "loc": { + "start": { + "line": 115, + "column": 23 + }, + "end": { + "line": 115, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2581, + "end": 2582, + "loc": { + "start": { + "line": 115, + "column": 33 + }, + "end": { + "line": 115, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2582, + "end": 2587, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2587, + "end": 2588, + "loc": { + "start": { + "line": 115, + "column": 39 + }, + "end": { + "line": 115, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2588, + "end": 2589, + "loc": { + "start": { + "line": 115, + "column": 40 + }, + "end": { + "line": 115, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2594, + "end": 2595, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 5 + } + } + }, + { + "type": { + "label": "finally", + "keyword": "finally", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "finally", + "start": 2596, + "end": 2603, + "loc": { + "start": { + "line": 116, + "column": 6 + }, + "end": { + "line": 116, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2604, + "end": 2605, + "loc": { + "start": { + "line": 116, + "column": 14 + }, + "end": { + "line": 116, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2612, + "end": 2616, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2616, + "end": 2617, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cleanup", + "start": 2617, + "end": 2624, + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 117, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2624, + "end": 2625, + "loc": { + "start": { + "line": 117, + "column": 18 + }, + "end": { + "line": 117, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2625, + "end": 2626, + "loc": { + "start": { + "line": 117, + "column": 19 + }, + "end": { + "line": 117, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2626, + "end": 2627, + "loc": { + "start": { + "line": 117, + "column": 20 + }, + "end": { + "line": 117, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2632, + "end": 2633, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2636, + "end": 2637, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 119, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2638, + "end": 2639, + "loc": { + "start": { + "line": 120, + "column": 0 + }, + "end": { + "line": 120, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds.\n *\n * @return {number} The return value of {@link Date#now} converted into microseconds\n ", + "start": 2641, + "end": 2780, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 126, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 2781, + "end": 2789, + "loc": { + "start": { + "line": 127, + "column": 0 + }, + "end": { + "line": 127, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2790, + "end": 2802, + "loc": { + "start": { + "line": 127, + "column": 9 + }, + "end": { + "line": 127, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2802, + "end": 2803, + "loc": { + "start": { + "line": 127, + "column": 21 + }, + "end": { + "line": 127, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2803, + "end": 2804, + "loc": { + "start": { + "line": 127, + "column": 22 + }, + "end": { + "line": 127, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2805, + "end": 2806, + "loc": { + "start": { + "line": 127, + "column": 24 + }, + "end": { + "line": 127, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2809, + "end": 2815, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2816, + "end": 2820, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 128, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2820, + "end": 2821, + "loc": { + "start": { + "line": 128, + "column": 13 + }, + "end": { + "line": 128, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 2821, + "end": 2824, + "loc": { + "start": { + "line": 128, + "column": 14 + }, + "end": { + "line": 128, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2824, + "end": 2825, + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2825, + "end": 2826, + "loc": { + "start": { + "line": 128, + "column": 18 + }, + "end": { + "line": 128, + "column": 19 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2827, + "end": 2828, + "loc": { + "start": { + "line": 128, + "column": 20 + }, + "end": { + "line": 128, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 2829, + "end": 2833, + "loc": { + "start": { + "line": 128, + "column": 22 + }, + "end": { + "line": 128, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": " microseconds ", + "start": 2834, + "end": 2852, + "loc": { + "start": { + "line": 128, + "column": 27 + }, + "end": { + "line": 128, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2852, + "end": 2853, + "loc": { + "start": { + "line": 128, + "column": 45 + }, + "end": { + "line": 128, + "column": 46 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2854, + "end": 2855, + "loc": { + "start": { + "line": 129, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2855, + "end": 2855, + "loc": { + "start": { + "line": 129, + "column": 1 + }, + "end": { + "line": 129, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/tracing/src/SpanSubscriber.js.json b/rsocket-rpc-js/docs/ast/source/tracing/src/SpanSubscriber.js.json new file mode 100644 index 0000000..0443f34 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/tracing/src/SpanSubscriber.js.json @@ -0,0 +1,19142 @@ +{ + "type": "File", + "start": 0, + "end": 2972, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 143, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2972, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 143, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 176, + "end": 235, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 59 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 185, + "end": 196, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 20 + } + }, + "imported": { + "type": "Identifier", + "start": 185, + "end": 196, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 20 + }, + "identifierName": "ISubscriber" + }, + "name": "ISubscriber", + "leadingComments": null + }, + "local": { + "type": "Identifier", + "start": 185, + "end": 196, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 20 + }, + "identifierName": "ISubscriber" + }, + "name": "ISubscriber" + }, + "leadingComments": null + }, + { + "type": "ImportSpecifier", + "start": 198, + "end": 211, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 35 + } + }, + "imported": { + "type": "Identifier", + "start": 198, + "end": 211, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 35 + }, + "identifierName": "ISubscription" + }, + "name": "ISubscription" + }, + "local": { + "type": "Identifier", + "start": 198, + "end": 211, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 35 + }, + "identifierName": "ISubscription" + }, + "name": "ISubscription" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 219, + "end": 234, + "loc": { + "start": { + "line": 9, + "column": 43 + }, + "end": { + "line": 9, + "column": 58 + } + }, + "extra": { + "rawValue": "rsocket-types", + "raw": "'rsocket-types'" + }, + "value": "rsocket-types" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name SpanSubscriber.js\n * @fileoverview Defines the \"SpanSubscriber\" class.\n * @requires NPM:rsocket-types\n * @requires NPM:opentracing\n * @exports SpanSubscriber\n ", + "start": 0, + "end": 174, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 236, + "end": 309, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 73 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 245, + "end": 251, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 245, + "end": 251, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 15 + }, + "identifierName": "Tracer" + }, + "name": "Tracer" + }, + "local": { + "type": "Identifier", + "start": 245, + "end": 251, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 15 + }, + "identifierName": "Tracer" + }, + "name": "Tracer" + } + }, + { + "type": "ImportSpecifier", + "start": 253, + "end": 257, + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 21 + } + }, + "imported": { + "type": "Identifier", + "start": 253, + "end": 257, + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 21 + }, + "identifierName": "Span" + }, + "name": "Span" + }, + "local": { + "type": "Identifier", + "start": 253, + "end": 257, + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 21 + }, + "identifierName": "Span" + }, + "name": "Span" + } + }, + { + "type": "ImportSpecifier", + "start": 259, + "end": 270, + "loc": { + "start": { + "line": 10, + "column": 23 + }, + "end": { + "line": 10, + "column": 34 + } + }, + "imported": { + "type": "Identifier", + "start": 259, + "end": 270, + "loc": { + "start": { + "line": 10, + "column": 23 + }, + "end": { + "line": 10, + "column": 34 + }, + "identifierName": "SpanContext" + }, + "name": "SpanContext" + }, + "local": { + "type": "Identifier", + "start": 259, + "end": 270, + "loc": { + "start": { + "line": 10, + "column": 23 + }, + "end": { + "line": 10, + "column": 34 + }, + "identifierName": "SpanContext" + }, + "name": "SpanContext" + } + }, + { + "type": "ImportSpecifier", + "start": 272, + "end": 287, + "loc": { + "start": { + "line": 10, + "column": 36 + }, + "end": { + "line": 10, + "column": 51 + } + }, + "imported": { + "type": "Identifier", + "start": 272, + "end": 287, + "loc": { + "start": { + "line": 10, + "column": 36 + }, + "end": { + "line": 10, + "column": 51 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + }, + "local": { + "type": "Identifier", + "start": 272, + "end": 287, + "loc": { + "start": { + "line": 10, + "column": 36 + }, + "end": { + "line": 10, + "column": 51 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 295, + "end": 308, + "loc": { + "start": { + "line": 10, + "column": 59 + }, + "end": { + "line": 10, + "column": 72 + } + }, + "extra": { + "rawValue": "opentracing", + "raw": "'opentracing'" + }, + "value": "opentracing" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 311, + "end": 318, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 319, + "end": 2758, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 134, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 326, + "end": 2758, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 134, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 332, + "end": 346, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 27 + }, + "identifierName": "SpanSubscriber" + }, + "name": "SpanSubscriber", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 347, + "end": 2758, + "loc": { + "start": { + "line": 14, + "column": 28 + }, + "end": { + "line": 134, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 578, + "end": 1548, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 578, + "end": 589, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 590, + "end": 600, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 24 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + { + "type": "Identifier", + "start": 602, + "end": 608, + "loc": { + "start": { + "line": 24, + "column": 26 + }, + "end": { + "line": 24, + "column": 32 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 610, + "end": 614, + "loc": { + "start": { + "line": 24, + "column": 34 + }, + "end": { + "line": 24, + "column": 38 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 616, + "end": 623, + "loc": { + "start": { + "line": 24, + "column": 40 + }, + "end": { + "line": 24, + "column": 47 + }, + "identifierName": "context" + }, + "name": "context" + }, + { + "type": "Identifier", + "start": 625, + "end": 633, + "loc": { + "start": { + "line": 24, + "column": 49 + }, + "end": { + "line": 24, + "column": 57 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + { + "type": "RestElement", + "start": 635, + "end": 642, + "loc": { + "start": { + "line": 24, + "column": 59 + }, + "end": { + "line": 24, + "column": 66 + } + }, + "argument": { + "type": "Identifier", + "start": 638, + "end": 642, + "loc": { + "start": { + "line": 24, + "column": 62 + }, + "end": { + "line": 24, + "column": 66 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 644, + "end": 1548, + "loc": { + "start": { + "line": 24, + "column": 68 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 676, + "end": 698, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 676, + "end": 697, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 676, + "end": 688, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 676, + "end": 680, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 681, + "end": 688, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 16 + }, + "identifierName": "_tracer" + }, + "name": "_tracer" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 691, + "end": 697, + "loc": { + "start": { + "line": 26, + "column": 19 + }, + "end": { + "line": 26, + "column": 25 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Tracer} ", + "start": 650, + "end": 671, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 703, + "end": 729, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 734, + "end": 764, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 734, + "end": 763, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 734, + "end": 750, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 734, + "end": 738, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 739, + "end": 750, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 20 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 753, + "end": 763, + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 33 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 703, + "end": 729, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 769, + "end": 789, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 769, + "end": 788, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 769, + "end": 784, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 769, + "end": 773, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 774, + "end": 784, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 19 + }, + "identifierName": "_nextCount" + }, + "name": "_nextCount" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 787, + "end": 788, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 23 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 794, + "end": 820, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 794, + "end": 819, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 794, + "end": 811, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 794, + "end": 798, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 799, + "end": 811, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 21 + }, + "identifierName": "_requestOnce" + }, + "name": "_requestOnce" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 814, + "end": 819, + "loc": { + "start": { + "line": 30, + "column": 24 + }, + "end": { + "line": 30, + "column": 29 + } + }, + "value": false + } + } + }, + { + "type": "VariableDeclaration", + "start": 826, + "end": 843, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 21 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 830, + "end": 842, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 20 + } + }, + "id": { + "type": "Identifier", + "start": 830, + "end": 837, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 15 + }, + "identifierName": "options" + }, + "name": "options" + }, + "init": { + "type": "ObjectExpression", + "start": 840, + "end": 842, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 20 + } + }, + "properties": [] + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 849, + "end": 902, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 36, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 853, + "end": 860, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 15 + }, + "identifierName": "context" + }, + "name": "context" + }, + "consequent": { + "type": "BlockStatement", + "start": 862, + "end": 902, + "loc": { + "start": { + "line": 34, + "column": 17 + }, + "end": { + "line": 36, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 870, + "end": 896, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 870, + "end": 895, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 870, + "end": 885, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 870, + "end": 877, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 13 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 878, + "end": 885, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 21 + }, + "identifierName": "childOf" + }, + "name": "childOf" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 888, + "end": 895, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 31 + }, + "identifierName": "context" + }, + "name": "context" + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 908, + "end": 1115, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 47, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 912, + "end": 916, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 12 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "consequent": { + "type": "BlockStatement", + "start": 918, + "end": 1115, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 47, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 926, + "end": 947, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 932, + "end": 946, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 932, + "end": 941, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 21 + }, + "identifierName": "finalTags" + }, + "name": "finalTags" + }, + "init": { + "type": "ObjectExpression", + "start": 944, + "end": 946, + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 26 + } + }, + "properties": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 954, + "end": 1076, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 44, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 954, + "end": 1075, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 44, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 954, + "end": 966, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 954, + "end": 958, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 10 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "property": { + "type": "Identifier", + "start": 959, + "end": 966, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 18 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 967, + "end": 1074, + "loc": { + "start": { + "line": 40, + "column": 19 + }, + "end": { + "line": 44, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 967, + "end": 970, + "loc": { + "start": { + "line": 40, + "column": 19 + }, + "end": { + "line": 40, + "column": 22 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ], + "body": { + "type": "BlockStatement", + "start": 974, + "end": 1074, + "loc": { + "start": { + "line": 40, + "column": 26 + }, + "end": { + "line": 44, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 984, + "end": 1066, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 984, + "end": 1065, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 43, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 984, + "end": 1008, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 984, + "end": 1000, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 984, + "end": 995, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 984, + "end": 990, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 14 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 991, + "end": 995, + "loc": { + "start": { + "line": 41, + "column": 15 + }, + "end": { + "line": 41, + "column": 19 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 996, + "end": 999, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 23 + }, + "identifierName": "tag" + }, + "name": "tag" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1001, + "end": 1008, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 32 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1009, + "end": 1064, + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 43, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1009, + "end": 1012, + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 36 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 1016, + "end": 1064, + "loc": { + "start": { + "line": 41, + "column": 40 + }, + "end": { + "line": 43, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1028, + "end": 1054, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 36 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1028, + "end": 1053, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1028, + "end": 1042, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 1028, + "end": 1037, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 19 + }, + "identifierName": "finalTags" + }, + "name": "finalTags" + }, + "property": { + "type": "Identifier", + "start": 1038, + "end": 1041, + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 23 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 1045, + "end": 1053, + "loc": { + "start": { + "line": 42, + "column": 27 + }, + "end": { + "line": 42, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 1045, + "end": 1048, + "loc": { + "start": { + "line": 42, + "column": 27 + }, + "end": { + "line": 42, + "column": 30 + }, + "identifierName": "tag" + }, + "name": "tag" + }, + "property": { + "type": "Identifier", + "start": 1049, + "end": 1052, + "loc": { + "start": { + "line": 42, + "column": 31 + }, + "end": { + "line": 42, + "column": 34 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + } + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1084, + "end": 1109, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1084, + "end": 1108, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1084, + "end": 1096, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1084, + "end": 1091, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 13 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 1092, + "end": 1096, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 18 + }, + "identifierName": "tags" + }, + "name": "tags" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1099, + "end": 1108, + "loc": { + "start": { + "line": 46, + "column": 21 + }, + "end": { + "line": 46, + "column": 30 + }, + "identifierName": "finalTags" + }, + "name": "finalTags" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Not currently supported", + "start": 1121, + "end": 1147, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " if (references) {", + "start": 1152, + "end": 1172, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " options.references = references;", + "start": 1177, + "end": 1214, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 1219, + "end": 1223, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": "", + "start": 1228, + "end": 1230, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 6 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1236, + "end": 1274, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 42 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1236, + "end": 1273, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1236, + "end": 1253, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 1236, + "end": 1243, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 11 + }, + "identifierName": "options" + }, + "name": "options", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1244, + "end": 1253, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 21 + }, + "identifierName": "startTime" + }, + "name": "startTime" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 1256, + "end": 1273, + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 41 + } + }, + "left": { + "type": "CallExpression", + "start": 1256, + "end": 1266, + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1256, + "end": 1264, + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 1256, + "end": 1260, + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 28 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "property": { + "type": "Identifier", + "start": 1261, + "end": 1264, + "loc": { + "start": { + "line": 55, + "column": 29 + }, + "end": { + "line": 55, + "column": 32 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 1269, + "end": 1273, + "loc": { + "start": { + "line": 55, + "column": 37 + }, + "end": { + "line": 55, + "column": 41 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Not currently supported", + "start": 1121, + "end": 1147, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " if (references) {", + "start": 1152, + "end": 1172, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " options.references = references;", + "start": 1177, + "end": 1214, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 1219, + "end": 1223, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": "", + "start": 1228, + "end": 1230, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 6 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Span} ", + "start": 1280, + "end": 1299, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 23 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1304, + "end": 1349, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1304, + "end": 1348, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1304, + "end": 1314, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1304, + "end": 1308, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1309, + "end": 1314, + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 14 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 1317, + "end": 1348, + "loc": { + "start": { + "line": 58, + "column": 17 + }, + "end": { + "line": 58, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1317, + "end": 1333, + "loc": { + "start": { + "line": 58, + "column": 17 + }, + "end": { + "line": 58, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 1317, + "end": 1323, + "loc": { + "start": { + "line": 58, + "column": 17 + }, + "end": { + "line": 58, + "column": 23 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "property": { + "type": "Identifier", + "start": 1324, + "end": 1333, + "loc": { + "start": { + "line": 58, + "column": 24 + }, + "end": { + "line": 58, + "column": 33 + }, + "identifierName": "startSpan" + }, + "name": "startSpan" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1334, + "end": 1338, + "loc": { + "start": { + "line": 58, + "column": 34 + }, + "end": { + "line": 58, + "column": 38 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 1340, + "end": 1347, + "loc": { + "start": { + "line": 58, + "column": 40 + }, + "end": { + "line": 58, + "column": 47 + }, + "identifierName": "options" + }, + "name": "options" + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Span} ", + "start": 1280, + "end": 1299, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 23 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Span} ", + "start": 1354, + "end": 1373, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 23 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1378, + "end": 1424, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 50 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1378, + "end": 1423, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 49 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1378, + "end": 1392, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1378, + "end": 1382, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1383, + "end": 1392, + "loc": { + "start": { + "line": 60, + "column": 9 + }, + "end": { + "line": 60, + "column": 18 + }, + "identifierName": "_rootSpan" + }, + "name": "_rootSpan" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "LogicalExpression", + "start": 1395, + "end": 1423, + "loc": { + "start": { + "line": 60, + "column": 21 + }, + "end": { + "line": 60, + "column": 49 + } + }, + "left": { + "type": "MemberExpression", + "start": 1395, + "end": 1409, + "loc": { + "start": { + "line": 60, + "column": 21 + }, + "end": { + "line": 60, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 1395, + "end": 1399, + "loc": { + "start": { + "line": 60, + "column": 21 + }, + "end": { + "line": 60, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 1400, + "end": 1409, + "loc": { + "start": { + "line": 60, + "column": 26 + }, + "end": { + "line": 60, + "column": 35 + }, + "identifierName": "_rootSpan" + }, + "name": "_rootSpan" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 1413, + "end": 1423, + "loc": { + "start": { + "line": 60, + "column": 39 + }, + "end": { + "line": 60, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 1413, + "end": 1417, + "loc": { + "start": { + "line": 60, + "column": 39 + }, + "end": { + "line": 60, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "start": 1418, + "end": 1423, + "loc": { + "start": { + "line": 60, + "column": 44 + }, + "end": { + "line": 60, + "column": 49 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {Span} ", + "start": 1354, + "end": 1373, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 23 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1430, + "end": 1544, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 118 + } + }, + "expression": { + "type": "CallExpression", + "start": 1430, + "end": 1543, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 117 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1430, + "end": 1443, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 1430, + "end": 1436, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 10 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "property": { + "type": "Identifier", + "start": 1437, + "end": 1443, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 17 + }, + "identifierName": "inject" + }, + "name": "inject" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1444, + "end": 1464, + "loc": { + "start": { + "line": 62, + "column": 18 + }, + "end": { + "line": 62, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1444, + "end": 1462, + "loc": { + "start": { + "line": 62, + "column": 18 + }, + "end": { + "line": 62, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 1444, + "end": 1454, + "loc": { + "start": { + "line": 62, + "column": 18 + }, + "end": { + "line": 62, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 1444, + "end": 1448, + "loc": { + "start": { + "line": 62, + "column": 18 + }, + "end": { + "line": 62, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 1449, + "end": 1454, + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 28 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1455, + "end": 1462, + "loc": { + "start": { + "line": 62, + "column": 29 + }, + "end": { + "line": 62, + "column": 36 + }, + "identifierName": "context" + }, + "name": "context" + }, + "computed": false + }, + "arguments": [] + }, + { + "type": "Identifier", + "start": 1466, + "end": 1481, + "loc": { + "start": { + "line": 62, + "column": 40 + }, + "end": { + "line": 62, + "column": 55 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + }, + { + "type": "ConditionalExpression", + "start": 1483, + "end": 1542, + "loc": { + "start": { + "line": 62, + "column": 57 + }, + "end": { + "line": 62, + "column": 116 + } + }, + "test": { + "type": "LogicalExpression", + "start": 1483, + "end": 1526, + "loc": { + "start": { + "line": 62, + "column": 57 + }, + "end": { + "line": 62, + "column": 100 + } + }, + "left": { + "type": "BinaryExpression", + "start": 1483, + "end": 1505, + "loc": { + "start": { + "line": 62, + "column": 57 + }, + "end": { + "line": 62, + "column": 79 + } + }, + "left": { + "type": "Identifier", + "start": 1483, + "end": 1491, + "loc": { + "start": { + "line": 62, + "column": 57 + }, + "end": { + "line": 62, + "column": 65 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 1496, + "end": 1505, + "loc": { + "start": { + "line": 62, + "column": 70 + }, + "end": { + "line": 62, + "column": 79 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 1509, + "end": 1526, + "loc": { + "start": { + "line": 62, + "column": 83 + }, + "end": { + "line": 62, + "column": 100 + } + }, + "left": { + "type": "Identifier", + "start": 1509, + "end": 1517, + "loc": { + "start": { + "line": 62, + "column": 83 + }, + "end": { + "line": 62, + "column": 91 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 1522, + "end": 1526, + "loc": { + "start": { + "line": 62, + "column": 96 + }, + "end": { + "line": 62, + "column": 100 + } + } + } + } + }, + "consequent": { + "type": "ObjectExpression", + "start": 1529, + "end": 1531, + "loc": { + "start": { + "line": 62, + "column": 103 + }, + "end": { + "line": 62, + "column": 105 + } + }, + "properties": [] + }, + "alternate": { + "type": "Identifier", + "start": 1534, + "end": 1542, + "loc": { + "start": { + "line": 62, + "column": 108 + }, + "end": { + "line": 62, + "column": 116 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} subscriber -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} [context] - \n * @param {?Object} [metadata] - \n * @param {Object} ...tags -\n ", + "start": 352, + "end": 575, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 23, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1552, + "end": 1561, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1564, + "end": 1604, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1564, + "end": 1571, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 9 + }, + "identifierName": "cleanup" + }, + "name": "cleanup", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1574, + "end": 1604, + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 69, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1580, + "end": 1600, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 1580, + "end": 1599, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1580, + "end": 1597, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 1580, + "end": 1590, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1580, + "end": 1584, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1585, + "end": 1590, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 14 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1591, + "end": 1597, + "loc": { + "start": { + "line": 68, + "column": 15 + }, + "end": { + "line": 68, + "column": 21 + }, + "identifierName": "finish" + }, + "name": "finish" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1552, + "end": 1561, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Subscription} subscription\n ", + "start": 1608, + "end": 1658, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1661, + "end": 1855, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 79, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1661, + "end": 1672, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 74, + "column": 13 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1673, + "end": 1685, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 26 + }, + "identifierName": "subscription" + }, + "name": "subscription" + } + ], + "body": { + "type": "BlockStatement", + "start": 1687, + "end": 1855, + "loc": { + "start": { + "line": 74, + "column": 28 + }, + "end": { + "line": 79, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1726, + "end": 1760, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 38 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1726, + "end": 1759, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 37 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1726, + "end": 1744, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1726, + "end": 1730, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1731, + "end": 1744, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 22 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1747, + "end": 1759, + "loc": { + "start": { + "line": 76, + "column": 25 + }, + "end": { + "line": 76, + "column": 37 + }, + "identifierName": "subscription" + }, + "name": "subscription" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @type {ISubscription} ", + "start": 1693, + "end": 1721, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1765, + "end": 1811, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 1765, + "end": 1810, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1765, + "end": 1779, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 18 + } + }, + "object": { + "type": "MemberExpression", + "start": 1765, + "end": 1775, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 1765, + "end": 1769, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1770, + "end": 1775, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 14 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1776, + "end": 1779, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 18 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1780, + "end": 1793, + "loc": { + "start": { + "line": 77, + "column": 19 + }, + "end": { + "line": 77, + "column": 32 + } + }, + "extra": { + "rawValue": "onSubscribe", + "raw": "'onSubscribe'" + }, + "value": "onSubscribe" + }, + { + "type": "CallExpression", + "start": 1795, + "end": 1809, + "loc": { + "start": { + "line": 77, + "column": 34 + }, + "end": { + "line": 77, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 1795, + "end": 1807, + "loc": { + "start": { + "line": 77, + "column": 34 + }, + "end": { + "line": 77, + "column": 46 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1816, + "end": 1851, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 1816, + "end": 1850, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1816, + "end": 1844, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 1816, + "end": 1832, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 1816, + "end": 1820, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1821, + "end": 1832, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 20 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1833, + "end": 1844, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 32 + }, + "identifierName": "onSubscribe" + }, + "name": "onSubscribe" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 1845, + "end": 1849, + "loc": { + "start": { + "line": 78, + "column": 33 + }, + "end": { + "line": 78, + "column": 37 + } + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Subscription} subscription\n ", + "start": 1608, + "end": 1658, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} n\n ", + "start": 1859, + "end": 1891, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 83, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1894, + "end": 2093, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 92, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1894, + "end": 1901, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 84, + "column": 9 + }, + "identifierName": "request" + }, + "name": "request", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1902, + "end": 1903, + "loc": { + "start": { + "line": 84, + "column": 10 + }, + "end": { + "line": 84, + "column": 11 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 1905, + "end": 2093, + "loc": { + "start": { + "line": 84, + "column": 13 + }, + "end": { + "line": 92, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1911, + "end": 2031, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 89, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 1915, + "end": 1933, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 26 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1916, + "end": 1933, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 1916, + "end": 1920, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 1921, + "end": 1933, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 26 + }, + "identifierName": "_requestOnce" + }, + "name": "_requestOnce" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1935, + "end": 2031, + "loc": { + "start": { + "line": 85, + "column": 28 + }, + "end": { + "line": 89, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1943, + "end": 1968, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1943, + "end": 1967, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1943, + "end": 1960, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 1943, + "end": 1947, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1948, + "end": 1960, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 23 + }, + "identifierName": "_requestOnce" + }, + "name": "_requestOnce" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 1963, + "end": 1967, + "loc": { + "start": { + "line": 86, + "column": 26 + }, + "end": { + "line": 86, + "column": 30 + } + }, + "value": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 1976, + "end": 2025, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 55 + } + }, + "expression": { + "type": "CallExpression", + "start": 1976, + "end": 2024, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1976, + "end": 1990, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 1976, + "end": 1986, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1976, + "end": 1980, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1981, + "end": 1986, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 16 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1987, + "end": 1990, + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 20 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1991, + "end": 2007, + "loc": { + "start": { + "line": 88, + "column": 21 + }, + "end": { + "line": 88, + "column": 37 + } + }, + "extra": { + "rawValue": "request issued", + "raw": "'request issued'" + }, + "value": "request issued" + }, + { + "type": "CallExpression", + "start": 2009, + "end": 2023, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 2009, + "end": 2021, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 51 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 2037, + "end": 2089, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 56 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 2037, + "end": 2088, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 55 + } + }, + "left": { + "type": "MemberExpression", + "start": 2037, + "end": 2055, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2037, + "end": 2041, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2042, + "end": 2055, + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 22 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2059, + "end": 2088, + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2059, + "end": 2085, + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 2059, + "end": 2077, + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 2059, + "end": 2063, + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2064, + "end": 2077, + "loc": { + "start": { + "line": 91, + "column": 31 + }, + "end": { + "line": 91, + "column": 44 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2078, + "end": 2085, + "loc": { + "start": { + "line": 91, + "column": 45 + }, + "end": { + "line": 91, + "column": 52 + }, + "identifierName": "request" + }, + "name": "request" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2086, + "end": 2087, + "loc": { + "start": { + "line": 91, + "column": 53 + }, + "end": { + "line": 91, + "column": 54 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} n\n ", + "start": 1859, + "end": 1891, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 83, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2097, + "end": 2106, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2109, + "end": 2282, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 103, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2109, + "end": 2115, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 8 + }, + "identifierName": "cancel" + }, + "name": "cancel", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2118, + "end": 2282, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 103, + "column": 3 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 2124, + "end": 2278, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 102, + "column": 5 + } + }, + "block": { + "type": "BlockStatement", + "start": 2128, + "end": 2240, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 100, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2136, + "end": 2177, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 2136, + "end": 2176, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2136, + "end": 2150, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 2136, + "end": 2146, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2136, + "end": 2140, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2141, + "end": 2146, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 16 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2147, + "end": 2150, + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 20 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2151, + "end": 2159, + "loc": { + "start": { + "line": 98, + "column": 21 + }, + "end": { + "line": 98, + "column": 29 + } + }, + "extra": { + "rawValue": "cancel", + "raw": "'cancel'" + }, + "value": "cancel" + }, + { + "type": "CallExpression", + "start": 2161, + "end": 2175, + "loc": { + "start": { + "line": 98, + "column": 31 + }, + "end": { + "line": 98, + "column": 45 + } + }, + "callee": { + "type": "Identifier", + "start": 2161, + "end": 2173, + "loc": { + "start": { + "line": 98, + "column": 31 + }, + "end": { + "line": 98, + "column": 43 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2184, + "end": 2234, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 56 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 2184, + "end": 2233, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 55 + } + }, + "left": { + "type": "MemberExpression", + "start": 2184, + "end": 2202, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 2184, + "end": 2188, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2189, + "end": 2202, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 24 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2206, + "end": 2233, + "loc": { + "start": { + "line": 99, + "column": 28 + }, + "end": { + "line": 99, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2206, + "end": 2231, + "loc": { + "start": { + "line": 99, + "column": 28 + }, + "end": { + "line": 99, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 2206, + "end": 2224, + "loc": { + "start": { + "line": 99, + "column": 28 + }, + "end": { + "line": 99, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 2206, + "end": 2210, + "loc": { + "start": { + "line": 99, + "column": 28 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 2211, + "end": 2224, + "loc": { + "start": { + "line": 99, + "column": 33 + }, + "end": { + "line": 99, + "column": 46 + }, + "identifierName": "_subscription" + }, + "name": "_subscription" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2225, + "end": 2231, + "loc": { + "start": { + "line": 99, + "column": 47 + }, + "end": { + "line": 99, + "column": 53 + }, + "identifierName": "cancel" + }, + "name": "cancel" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "handler": null, + "guardedHandlers": [], + "finalizer": { + "type": "BlockStatement", + "start": 2249, + "end": 2278, + "loc": { + "start": { + "line": 100, + "column": 14 + }, + "end": { + "line": 102, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2257, + "end": 2272, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 2257, + "end": 2271, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2257, + "end": 2269, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2257, + "end": 2261, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2262, + "end": 2269, + "loc": { + "start": { + "line": 101, + "column": 11 + }, + "end": { + "line": 101, + "column": 18 + }, + "identifierName": "cleanup" + }, + "name": "cleanup" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2097, + "end": 2106, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {T} value\n ", + "start": 2286, + "end": 2317, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 107, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2320, + "end": 2375, + "loc": { + "start": { + "line": 108, + "column": 2 + }, + "end": { + "line": 110, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2320, + "end": 2326, + "loc": { + "start": { + "line": 108, + "column": 2 + }, + "end": { + "line": 108, + "column": 8 + }, + "identifierName": "onNext" + }, + "name": "onNext", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2327, + "end": 2332, + "loc": { + "start": { + "line": 108, + "column": 9 + }, + "end": { + "line": 108, + "column": 14 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "body": { + "type": "BlockStatement", + "start": 2334, + "end": 2375, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 110, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2340, + "end": 2371, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 2340, + "end": 2370, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2340, + "end": 2363, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 2340, + "end": 2356, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2340, + "end": 2344, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2345, + "end": 2356, + "loc": { + "start": { + "line": 109, + "column": 9 + }, + "end": { + "line": 109, + "column": 20 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2357, + "end": 2363, + "loc": { + "start": { + "line": 109, + "column": 21 + }, + "end": { + "line": 109, + "column": 27 + }, + "identifierName": "onNext" + }, + "name": "onNext" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2364, + "end": 2369, + "loc": { + "start": { + "line": 109, + "column": 28 + }, + "end": { + "line": 109, + "column": 33 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {T} value\n ", + "start": 2286, + "end": 2317, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 107, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Error} error\n ", + "start": 2379, + "end": 2414, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 114, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2417, + "end": 2579, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 122, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2417, + "end": 2424, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 9 + }, + "identifierName": "onError" + }, + "name": "onError", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2425, + "end": 2430, + "loc": { + "start": { + "line": 115, + "column": 10 + }, + "end": { + "line": 115, + "column": 15 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "BlockStatement", + "start": 2432, + "end": 2579, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 122, + "column": 3 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 2438, + "end": 2575, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 121, + "column": 5 + } + }, + "block": { + "type": "BlockStatement", + "start": 2442, + "end": 2537, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 119, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2450, + "end": 2492, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 2450, + "end": 2491, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2450, + "end": 2464, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 2450, + "end": 2460, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2450, + "end": 2454, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2455, + "end": 2460, + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 117, + "column": 16 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2461, + "end": 2464, + "loc": { + "start": { + "line": 117, + "column": 17 + }, + "end": { + "line": 117, + "column": 20 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2465, + "end": 2474, + "loc": { + "start": { + "line": 117, + "column": 21 + }, + "end": { + "line": 117, + "column": 30 + } + }, + "extra": { + "rawValue": "onError", + "raw": "'onError'" + }, + "value": "onError" + }, + { + "type": "CallExpression", + "start": 2476, + "end": 2490, + "loc": { + "start": { + "line": 117, + "column": 32 + }, + "end": { + "line": 117, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 2476, + "end": 2488, + "loc": { + "start": { + "line": 117, + "column": 32 + }, + "end": { + "line": 117, + "column": 44 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2499, + "end": 2531, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 2499, + "end": 2530, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2499, + "end": 2523, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 2499, + "end": 2515, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2499, + "end": 2503, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2504, + "end": 2515, + "loc": { + "start": { + "line": 118, + "column": 11 + }, + "end": { + "line": 118, + "column": 22 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2516, + "end": 2523, + "loc": { + "start": { + "line": 118, + "column": 23 + }, + "end": { + "line": 118, + "column": 30 + }, + "identifierName": "onError" + }, + "name": "onError" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2524, + "end": 2529, + "loc": { + "start": { + "line": 118, + "column": 31 + }, + "end": { + "line": 118, + "column": 36 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ], + "directives": [] + }, + "handler": null, + "guardedHandlers": [], + "finalizer": { + "type": "BlockStatement", + "start": 2546, + "end": 2575, + "loc": { + "start": { + "line": 119, + "column": 14 + }, + "end": { + "line": 121, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2554, + "end": 2569, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 2554, + "end": 2568, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2554, + "end": 2566, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2554, + "end": 2558, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2559, + "end": 2566, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 18 + }, + "identifierName": "cleanup" + }, + "name": "cleanup" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {Error} error\n ", + "start": 2379, + "end": 2414, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 114, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2583, + "end": 2592, + "loc": { + "start": { + "line": 124, + "column": 2 + }, + "end": { + "line": 125, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2595, + "end": 2756, + "loc": { + "start": { + "line": 126, + "column": 2 + }, + "end": { + "line": 133, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2595, + "end": 2605, + "loc": { + "start": { + "line": 126, + "column": 2 + }, + "end": { + "line": 126, + "column": 12 + }, + "identifierName": "onComplete" + }, + "name": "onComplete", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2608, + "end": 2756, + "loc": { + "start": { + "line": 126, + "column": 15 + }, + "end": { + "line": 133, + "column": 3 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 2614, + "end": 2752, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 132, + "column": 5 + } + }, + "block": { + "type": "BlockStatement", + "start": 2618, + "end": 2714, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2626, + "end": 2671, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 51 + } + }, + "expression": { + "type": "CallExpression", + "start": 2626, + "end": 2670, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2626, + "end": 2640, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 2626, + "end": 2636, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2626, + "end": 2630, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2631, + "end": 2636, + "loc": { + "start": { + "line": 128, + "column": 11 + }, + "end": { + "line": 128, + "column": 16 + }, + "identifierName": "_span" + }, + "name": "_span" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2637, + "end": 2640, + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 20 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2641, + "end": 2653, + "loc": { + "start": { + "line": 128, + "column": 21 + }, + "end": { + "line": 128, + "column": 33 + } + }, + "extra": { + "rawValue": "onComplete", + "raw": "'onComplete'" + }, + "value": "onComplete" + }, + { + "type": "CallExpression", + "start": 2655, + "end": 2669, + "loc": { + "start": { + "line": 128, + "column": 35 + }, + "end": { + "line": 128, + "column": 49 + } + }, + "callee": { + "type": "Identifier", + "start": 2655, + "end": 2667, + "loc": { + "start": { + "line": 128, + "column": 35 + }, + "end": { + "line": 128, + "column": 47 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros" + }, + "arguments": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2678, + "end": 2708, + "loc": { + "start": { + "line": 129, + "column": 6 + }, + "end": { + "line": 129, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 2678, + "end": 2707, + "loc": { + "start": { + "line": 129, + "column": 6 + }, + "end": { + "line": 129, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2678, + "end": 2705, + "loc": { + "start": { + "line": 129, + "column": 6 + }, + "end": { + "line": 129, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 2678, + "end": 2694, + "loc": { + "start": { + "line": 129, + "column": 6 + }, + "end": { + "line": 129, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2678, + "end": 2682, + "loc": { + "start": { + "line": 129, + "column": 6 + }, + "end": { + "line": 129, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2683, + "end": 2694, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 22 + }, + "identifierName": "_subscriber" + }, + "name": "_subscriber" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2695, + "end": 2705, + "loc": { + "start": { + "line": 129, + "column": 23 + }, + "end": { + "line": 129, + "column": 33 + }, + "identifierName": "onComplete" + }, + "name": "onComplete" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "handler": null, + "guardedHandlers": [], + "finalizer": { + "type": "BlockStatement", + "start": 2723, + "end": 2752, + "loc": { + "start": { + "line": 130, + "column": 14 + }, + "end": { + "line": 132, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2731, + "end": 2746, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 2731, + "end": 2745, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2731, + "end": 2743, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 2731, + "end": 2735, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2736, + "end": 2743, + "loc": { + "start": { + "line": 131, + "column": 11 + }, + "end": { + "line": 131, + "column": 18 + }, + "identifierName": "cleanup" + }, + "name": "cleanup" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2583, + "end": 2592, + "loc": { + "start": { + "line": 124, + "column": 2 + }, + "end": { + "line": 125, + "column": 5 + } + } + } + ] + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 311, + "end": 318, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds\n *\n * @return {number} The return value of {@link Date#now} converted to microseconds.\n ", + "start": 2760, + "end": 2897, + "loc": { + "start": { + "line": 136, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n ", + "start": 311, + "end": 318, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds\n *\n * @return {number} The return value of {@link Date#now} converted to microseconds.\n ", + "start": 2760, + "end": 2897, + "loc": { + "start": { + "line": 136, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 2898, + "end": 2972, + "loc": { + "start": { + "line": 141, + "column": 0 + }, + "end": { + "line": 143, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2907, + "end": 2919, + "loc": { + "start": { + "line": 141, + "column": 9 + }, + "end": { + "line": 141, + "column": 21 + }, + "identifierName": "timeInMicros" + }, + "name": "timeInMicros", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2922, + "end": 2972, + "loc": { + "start": { + "line": 141, + "column": 24 + }, + "end": { + "line": 143, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2926, + "end": 2970, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 142, + "column": 46 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 2933, + "end": 2950, + "loc": { + "start": { + "line": 142, + "column": 9 + }, + "end": { + "line": 142, + "column": 26 + } + }, + "left": { + "type": "CallExpression", + "start": 2933, + "end": 2943, + "loc": { + "start": { + "line": 142, + "column": 9 + }, + "end": { + "line": 142, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2933, + "end": 2941, + "loc": { + "start": { + "line": 142, + "column": 9 + }, + "end": { + "line": 142, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 2933, + "end": 2937, + "loc": { + "start": { + "line": 142, + "column": 9 + }, + "end": { + "line": 142, + "column": 13 + }, + "identifierName": "Date" + }, + "name": "Date" + }, + "property": { + "type": "Identifier", + "start": 2938, + "end": 2941, + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 17 + }, + "identifierName": "now" + }, + "name": "now" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 2946, + "end": 2950, + "loc": { + "start": { + "line": 142, + "column": 22 + }, + "end": { + "line": 142, + "column": 26 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " microseconds ", + "start": 2951, + "end": 2969, + "loc": { + "start": { + "line": 142, + "column": 27 + }, + "end": { + "line": 142, + "column": 45 + } + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds\n *\n * @return {number} The return value of {@link Date#now} converted to microseconds.\n ", + "start": 2760, + "end": 2897, + "loc": { + "start": { + "line": 136, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name SpanSubscriber.js\n * @fileoverview Defines the \"SpanSubscriber\" class.\n * @requires NPM:rsocket-types\n * @requires NPM:opentracing\n * @exports SpanSubscriber\n ", + "start": 0, + "end": 174, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 311, + "end": 318, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} subscriber -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} [context] - \n * @param {?Object} [metadata] - \n * @param {Object} ...tags -\n ", + "start": 352, + "end": 575, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Tracer} ", + "start": 650, + "end": 671, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 703, + "end": 729, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " Not currently supported", + "start": 1121, + "end": 1147, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " if (references) {", + "start": 1152, + "end": 1172, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " options.references = references;", + "start": 1177, + "end": 1214, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 1219, + "end": 1223, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": "", + "start": 1228, + "end": 1230, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 6 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Span} ", + "start": 1280, + "end": 1299, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Span} ", + "start": 1354, + "end": 1373, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1552, + "end": 1561, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?Subscription} subscription\n ", + "start": 1608, + "end": 1658, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscription} ", + "start": 1693, + "end": 1721, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} n\n ", + "start": 1859, + "end": 1891, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 83, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2097, + "end": 2106, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {T} value\n ", + "start": 2286, + "end": 2317, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Error} error\n ", + "start": 2379, + "end": 2414, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2583, + "end": 2592, + "loc": { + "start": { + "line": 124, + "column": 2 + }, + "end": { + "line": 125, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds\n *\n * @return {number} The return value of {@link Date#now} converted to microseconds.\n ", + "start": 2760, + "end": 2897, + "loc": { + "start": { + "line": 136, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": " microseconds ", + "start": 2951, + "end": 2969, + "loc": { + "start": { + "line": 142, + "column": 27 + }, + "end": { + "line": 142, + "column": 45 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name SpanSubscriber.js\n * @fileoverview Defines the \"SpanSubscriber\" class.\n * @requires NPM:rsocket-types\n * @requires NPM:opentracing\n * @exports SpanSubscriber\n ", + "start": 0, + "end": 174, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 176, + "end": 182, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 183, + "end": 184, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISubscriber", + "start": 185, + "end": 196, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 196, + "end": 197, + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISubscription", + "start": 198, + "end": 211, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 212, + "end": 213, + "loc": { + "start": { + "line": 9, + "column": 36 + }, + "end": { + "line": 9, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 214, + "end": 218, + "loc": { + "start": { + "line": 9, + "column": 38 + }, + "end": { + "line": 9, + "column": 42 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-types", + "start": 219, + "end": 234, + "loc": { + "start": { + "line": 9, + "column": 43 + }, + "end": { + "line": 9, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 234, + "end": 235, + "loc": { + "start": { + "line": 9, + "column": 58 + }, + "end": { + "line": 9, + "column": 59 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 236, + "end": 242, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 243, + "end": 244, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Tracer", + "start": 245, + "end": 251, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 251, + "end": 252, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Span", + "start": 253, + "end": 257, + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 257, + "end": 258, + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanContext", + "start": 259, + "end": 270, + "loc": { + "start": { + "line": 10, + "column": 23 + }, + "end": { + "line": 10, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 270, + "end": 271, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 10, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FORMAT_TEXT_MAP", + "start": 272, + "end": 287, + "loc": { + "start": { + "line": 10, + "column": 36 + }, + "end": { + "line": 10, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 288, + "end": 289, + "loc": { + "start": { + "line": 10, + "column": 52 + }, + "end": { + "line": 10, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 290, + "end": 294, + "loc": { + "start": { + "line": 10, + "column": 54 + }, + "end": { + "line": 10, + "column": 58 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "opentracing", + "start": 295, + "end": 308, + "loc": { + "start": { + "line": 10, + "column": 59 + }, + "end": { + "line": 10, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 308, + "end": 309, + "loc": { + "start": { + "line": 10, + "column": 72 + }, + "end": { + "line": 10, + "column": 73 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 311, + "end": 318, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 319, + "end": 325, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 326, + "end": 331, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanSubscriber", + "start": 332, + "end": 346, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 347, + "end": 348, + "loc": { + "start": { + "line": 14, + "column": 28 + }, + "end": { + "line": 14, + "column": 29 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {ISubscriber} subscriber -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} [context] - \n * @param {?Object} [metadata] - \n * @param {Object} ...tags -\n ", + "start": 352, + "end": 575, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 578, + "end": 589, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 589, + "end": 590, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 590, + "end": 600, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 602, + "end": 608, + "loc": { + "start": { + "line": 24, + "column": 26 + }, + "end": { + "line": 24, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 608, + "end": 609, + "loc": { + "start": { + "line": 24, + "column": 32 + }, + "end": { + "line": 24, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 610, + "end": 614, + "loc": { + "start": { + "line": 24, + "column": 34 + }, + "end": { + "line": 24, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 614, + "end": 615, + "loc": { + "start": { + "line": 24, + "column": 38 + }, + "end": { + "line": 24, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 616, + "end": 623, + "loc": { + "start": { + "line": 24, + "column": 40 + }, + "end": { + "line": 24, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 623, + "end": 624, + "loc": { + "start": { + "line": 24, + "column": 47 + }, + "end": { + "line": 24, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 625, + "end": 633, + "loc": { + "start": { + "line": 24, + "column": 49 + }, + "end": { + "line": 24, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 633, + "end": 634, + "loc": { + "start": { + "line": 24, + "column": 57 + }, + "end": { + "line": 24, + "column": 58 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 635, + "end": 638, + "loc": { + "start": { + "line": 24, + "column": 59 + }, + "end": { + "line": 24, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 638, + "end": 642, + "loc": { + "start": { + "line": 24, + "column": 62 + }, + "end": { + "line": 24, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 642, + "end": 643, + "loc": { + "start": { + "line": 24, + "column": 66 + }, + "end": { + "line": 24, + "column": 67 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 644, + "end": 645, + "loc": { + "start": { + "line": 24, + "column": 68 + }, + "end": { + "line": 24, + "column": 69 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Tracer} ", + "start": 650, + "end": 671, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 676, + "end": 680, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 680, + "end": 681, + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_tracer", + "start": 681, + "end": 688, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 689, + "end": 690, + "loc": { + "start": { + "line": 26, + "column": 17 + }, + "end": { + "line": 26, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 691, + "end": 697, + "loc": { + "start": { + "line": 26, + "column": 19 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 697, + "end": 698, + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscriber} ", + "start": 703, + "end": 729, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 734, + "end": 738, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 738, + "end": 739, + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 739, + "end": 750, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 751, + "end": 752, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 753, + "end": 763, + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 763, + "end": 764, + "loc": { + "start": { + "line": 28, + "column": 33 + }, + "end": { + "line": 28, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 769, + "end": 773, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 773, + "end": 774, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_nextCount", + "start": 774, + "end": 784, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 785, + "end": 786, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 787, + "end": 788, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 788, + "end": 789, + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 794, + "end": 798, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 798, + "end": 799, + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_requestOnce", + "start": 799, + "end": 811, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 812, + "end": 813, + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 814, + "end": 819, + "loc": { + "start": { + "line": 30, + "column": 24 + }, + "end": { + "line": 30, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 819, + "end": 820, + "loc": { + "start": { + "line": 30, + "column": 29 + }, + "end": { + "line": 30, + "column": 30 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 826, + "end": 829, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 830, + "end": 837, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 838, + "end": 839, + "loc": { + "start": { + "line": 32, + "column": 16 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 840, + "end": 841, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 841, + "end": 842, + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 842, + "end": 843, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 849, + "end": 851, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 852, + "end": 853, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 853, + "end": 860, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 860, + "end": 861, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 862, + "end": 863, + "loc": { + "start": { + "line": 34, + "column": 17 + }, + "end": { + "line": 34, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 870, + "end": 877, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 877, + "end": 878, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "childOf", + "start": 878, + "end": 885, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 886, + "end": 887, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 888, + "end": 895, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 895, + "end": 896, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 901, + "end": 902, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 5 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 908, + "end": 910, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 911, + "end": 912, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 912, + "end": 916, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 916, + "end": 917, + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 918, + "end": 919, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 15 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 926, + "end": 931, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTags", + "start": 932, + "end": 941, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 942, + "end": 943, + "loc": { + "start": { + "line": 39, + "column": 22 + }, + "end": { + "line": 39, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 944, + "end": 945, + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 945, + "end": 946, + "loc": { + "start": { + "line": 39, + "column": 25 + }, + "end": { + "line": 39, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 946, + "end": 947, + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 954, + "end": 958, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 958, + "end": 959, + "loc": { + "start": { + "line": 40, + "column": 10 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 959, + "end": 966, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 966, + "end": 967, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 967, + "end": 970, + "loc": { + "start": { + "line": 40, + "column": 19 + }, + "end": { + "line": 40, + "column": 22 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 971, + "end": 973, + "loc": { + "start": { + "line": 40, + "column": 23 + }, + "end": { + "line": 40, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 974, + "end": 975, + "loc": { + "start": { + "line": 40, + "column": 26 + }, + "end": { + "line": 40, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 984, + "end": 990, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 990, + "end": 991, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 991, + "end": 995, + "loc": { + "start": { + "line": 41, + "column": 15 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 995, + "end": 996, + "loc": { + "start": { + "line": 41, + "column": 19 + }, + "end": { + "line": 41, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 996, + "end": 999, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 999, + "end": 1000, + "loc": { + "start": { + "line": 41, + "column": 23 + }, + "end": { + "line": 41, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1000, + "end": 1001, + "loc": { + "start": { + "line": 41, + "column": 24 + }, + "end": { + "line": 41, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 1001, + "end": 1008, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1008, + "end": 1009, + "loc": { + "start": { + "line": 41, + "column": 32 + }, + "end": { + "line": 41, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1009, + "end": 1012, + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 36 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1013, + "end": 1015, + "loc": { + "start": { + "line": 41, + "column": 37 + }, + "end": { + "line": 41, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1016, + "end": 1017, + "loc": { + "start": { + "line": 41, + "column": 40 + }, + "end": { + "line": 41, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTags", + "start": 1028, + "end": 1037, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1037, + "end": 1038, + "loc": { + "start": { + "line": 42, + "column": 19 + }, + "end": { + "line": 42, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1038, + "end": 1041, + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1041, + "end": 1042, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 42, + "column": 25 + }, + "end": { + "line": 42, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tag", + "start": 1045, + "end": 1048, + "loc": { + "start": { + "line": 42, + "column": 27 + }, + "end": { + "line": 42, + "column": 30 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1048, + "end": 1049, + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1049, + "end": 1052, + "loc": { + "start": { + "line": 42, + "column": 31 + }, + "end": { + "line": 42, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1052, + "end": 1053, + "loc": { + "start": { + "line": 42, + "column": 34 + }, + "end": { + "line": 42, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1053, + "end": 1054, + "loc": { + "start": { + "line": 42, + "column": 35 + }, + "end": { + "line": 42, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1063, + "end": 1064, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1064, + "end": 1065, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 43, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1073, + "end": 1074, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1074, + "end": 1075, + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1075, + "end": 1076, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1084, + "end": 1091, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1091, + "end": 1092, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 1092, + "end": 1096, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1097, + "end": 1098, + "loc": { + "start": { + "line": 46, + "column": 19 + }, + "end": { + "line": 46, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finalTags", + "start": 1099, + "end": 1108, + "loc": { + "start": { + "line": 46, + "column": 21 + }, + "end": { + "line": 46, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1108, + "end": 1109, + "loc": { + "start": { + "line": 46, + "column": 30 + }, + "end": { + "line": 46, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1114, + "end": 1115, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " Not currently supported", + "start": 1121, + "end": 1147, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " if (references) {", + "start": 1152, + "end": 1172, + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " options.references = references;", + "start": 1177, + "end": 1214, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 1219, + "end": 1223, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 8 + } + } + }, + { + "type": "CommentLine", + "value": "", + "start": 1228, + "end": 1230, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1236, + "end": 1243, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1243, + "end": 1244, + "loc": { + "start": { + "line": 55, + "column": 11 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startTime", + "start": 1244, + "end": 1253, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1254, + "end": 1255, + "loc": { + "start": { + "line": 55, + "column": 22 + }, + "end": { + "line": 55, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 1256, + "end": 1260, + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1260, + "end": 1261, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 1261, + "end": 1264, + "loc": { + "start": { + "line": 55, + "column": 29 + }, + "end": { + "line": 55, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1264, + "end": 1265, + "loc": { + "start": { + "line": 55, + "column": 32 + }, + "end": { + "line": 55, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1265, + "end": 1266, + "loc": { + "start": { + "line": 55, + "column": 33 + }, + "end": { + "line": 55, + "column": 34 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 1267, + "end": 1268, + "loc": { + "start": { + "line": 55, + "column": 35 + }, + "end": { + "line": 55, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 1269, + "end": 1273, + "loc": { + "start": { + "line": 55, + "column": 37 + }, + "end": { + "line": 55, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1273, + "end": 1274, + "loc": { + "start": { + "line": 55, + "column": 41 + }, + "end": { + "line": 55, + "column": 42 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Span} ", + "start": 1280, + "end": 1299, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1304, + "end": 1308, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1308, + "end": 1309, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1309, + "end": 1314, + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1315, + "end": 1316, + "loc": { + "start": { + "line": 58, + "column": 15 + }, + "end": { + "line": 58, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 1317, + "end": 1323, + "loc": { + "start": { + "line": 58, + "column": 17 + }, + "end": { + "line": 58, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1323, + "end": 1324, + "loc": { + "start": { + "line": 58, + "column": 23 + }, + "end": { + "line": 58, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "startSpan", + "start": 1324, + "end": 1333, + "loc": { + "start": { + "line": 58, + "column": 24 + }, + "end": { + "line": 58, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1333, + "end": 1334, + "loc": { + "start": { + "line": 58, + "column": 33 + }, + "end": { + "line": 58, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1334, + "end": 1338, + "loc": { + "start": { + "line": 58, + "column": 34 + }, + "end": { + "line": 58, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1338, + "end": 1339, + "loc": { + "start": { + "line": 58, + "column": 38 + }, + "end": { + "line": 58, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1340, + "end": 1347, + "loc": { + "start": { + "line": 58, + "column": 40 + }, + "end": { + "line": 58, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1347, + "end": 1348, + "loc": { + "start": { + "line": 58, + "column": 47 + }, + "end": { + "line": 58, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1348, + "end": 1349, + "loc": { + "start": { + "line": 58, + "column": 48 + }, + "end": { + "line": 58, + "column": 49 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {Span} ", + "start": 1354, + "end": 1373, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1378, + "end": 1382, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1382, + "end": 1383, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_rootSpan", + "start": 1383, + "end": 1392, + "loc": { + "start": { + "line": 60, + "column": 9 + }, + "end": { + "line": 60, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1393, + "end": 1394, + "loc": { + "start": { + "line": 60, + "column": 19 + }, + "end": { + "line": 60, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1395, + "end": 1399, + "loc": { + "start": { + "line": 60, + "column": 21 + }, + "end": { + "line": 60, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1399, + "end": 1400, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 60, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_rootSpan", + "start": 1400, + "end": 1409, + "loc": { + "start": { + "line": 60, + "column": 26 + }, + "end": { + "line": 60, + "column": 35 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1410, + "end": 1412, + "loc": { + "start": { + "line": 60, + "column": 36 + }, + "end": { + "line": 60, + "column": 38 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1413, + "end": 1417, + "loc": { + "start": { + "line": 60, + "column": 39 + }, + "end": { + "line": 60, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1417, + "end": 1418, + "loc": { + "start": { + "line": 60, + "column": 43 + }, + "end": { + "line": 60, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1418, + "end": 1423, + "loc": { + "start": { + "line": 60, + "column": 44 + }, + "end": { + "line": 60, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1423, + "end": 1424, + "loc": { + "start": { + "line": 60, + "column": 49 + }, + "end": { + "line": 60, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 1430, + "end": 1436, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1436, + "end": 1437, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inject", + "start": 1437, + "end": 1443, + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 62, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1443, + "end": 1444, + "loc": { + "start": { + "line": 62, + "column": 17 + }, + "end": { + "line": 62, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1444, + "end": 1448, + "loc": { + "start": { + "line": 62, + "column": 18 + }, + "end": { + "line": 62, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1448, + "end": 1449, + "loc": { + "start": { + "line": 62, + "column": 22 + }, + "end": { + "line": 62, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1449, + "end": 1454, + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1454, + "end": 1455, + "loc": { + "start": { + "line": 62, + "column": 28 + }, + "end": { + "line": 62, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 1455, + "end": 1462, + "loc": { + "start": { + "line": 62, + "column": 29 + }, + "end": { + "line": 62, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1462, + "end": 1463, + "loc": { + "start": { + "line": 62, + "column": 36 + }, + "end": { + "line": 62, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1463, + "end": 1464, + "loc": { + "start": { + "line": 62, + "column": 37 + }, + "end": { + "line": 62, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1464, + "end": 1465, + "loc": { + "start": { + "line": 62, + "column": 38 + }, + "end": { + "line": 62, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FORMAT_TEXT_MAP", + "start": 1466, + "end": 1481, + "loc": { + "start": { + "line": 62, + "column": 40 + }, + "end": { + "line": 62, + "column": 55 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1481, + "end": 1482, + "loc": { + "start": { + "line": 62, + "column": 55 + }, + "end": { + "line": 62, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1483, + "end": 1491, + "loc": { + "start": { + "line": 62, + "column": 57 + }, + "end": { + "line": 62, + "column": 65 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1492, + "end": 1495, + "loc": { + "start": { + "line": 62, + "column": 66 + }, + "end": { + "line": 62, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 1496, + "end": 1505, + "loc": { + "start": { + "line": 62, + "column": 70 + }, + "end": { + "line": 62, + "column": 79 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1506, + "end": 1508, + "loc": { + "start": { + "line": 62, + "column": 80 + }, + "end": { + "line": 62, + "column": 82 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1509, + "end": 1517, + "loc": { + "start": { + "line": 62, + "column": 83 + }, + "end": { + "line": 62, + "column": 91 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1518, + "end": 1521, + "loc": { + "start": { + "line": 62, + "column": 92 + }, + "end": { + "line": 62, + "column": 95 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1522, + "end": 1526, + "loc": { + "start": { + "line": 62, + "column": 96 + }, + "end": { + "line": 62, + "column": 100 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1527, + "end": 1528, + "loc": { + "start": { + "line": 62, + "column": 101 + }, + "end": { + "line": 62, + "column": 102 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1529, + "end": 1530, + "loc": { + "start": { + "line": 62, + "column": 103 + }, + "end": { + "line": 62, + "column": 104 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1530, + "end": 1531, + "loc": { + "start": { + "line": 62, + "column": 104 + }, + "end": { + "line": 62, + "column": 105 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1532, + "end": 1533, + "loc": { + "start": { + "line": 62, + "column": 106 + }, + "end": { + "line": 62, + "column": 107 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1534, + "end": 1542, + "loc": { + "start": { + "line": 62, + "column": 108 + }, + "end": { + "line": 62, + "column": 116 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1542, + "end": 1543, + "loc": { + "start": { + "line": 62, + "column": 116 + }, + "end": { + "line": 62, + "column": 117 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1543, + "end": 1544, + "loc": { + "start": { + "line": 62, + "column": 117 + }, + "end": { + "line": 62, + "column": 118 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1547, + "end": 1548, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 1552, + "end": 1561, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cleanup", + "start": 1564, + "end": 1571, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1571, + "end": 1572, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1572, + "end": 1573, + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1574, + "end": 1575, + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 67, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1580, + "end": 1584, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1584, + "end": 1585, + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1585, + "end": 1590, + "loc": { + "start": { + "line": 68, + "column": 9 + }, + "end": { + "line": 68, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1590, + "end": 1591, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "finish", + "start": 1591, + "end": 1597, + "loc": { + "start": { + "line": 68, + "column": 15 + }, + "end": { + "line": 68, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1597, + "end": 1598, + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 68, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1598, + "end": 1599, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1599, + "end": 1600, + "loc": { + "start": { + "line": 68, + "column": 23 + }, + "end": { + "line": 68, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1603, + "end": 1604, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?Subscription} subscription\n ", + "start": 1608, + "end": 1658, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 1661, + "end": 1672, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 74, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1672, + "end": 1673, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 1673, + "end": 1685, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1685, + "end": 1686, + "loc": { + "start": { + "line": 74, + "column": 26 + }, + "end": { + "line": 74, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1687, + "end": 1688, + "loc": { + "start": { + "line": 74, + "column": 28 + }, + "end": { + "line": 74, + "column": 29 + } + } + }, + { + "type": "CommentBlock", + "value": "* @type {ISubscription} ", + "start": 1693, + "end": 1721, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 32 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1726, + "end": 1730, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1730, + "end": 1731, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 1731, + "end": 1744, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1745, + "end": 1746, + "loc": { + "start": { + "line": 76, + "column": 23 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscription", + "start": 1747, + "end": 1759, + "loc": { + "start": { + "line": 76, + "column": 25 + }, + "end": { + "line": 76, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1759, + "end": 1760, + "loc": { + "start": { + "line": 76, + "column": 37 + }, + "end": { + "line": 76, + "column": 38 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1765, + "end": 1769, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1769, + "end": 1770, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1770, + "end": 1775, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1775, + "end": 1776, + "loc": { + "start": { + "line": 77, + "column": 14 + }, + "end": { + "line": 77, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 1776, + "end": 1779, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1779, + "end": 1780, + "loc": { + "start": { + "line": 77, + "column": 18 + }, + "end": { + "line": 77, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onSubscribe", + "start": 1780, + "end": 1793, + "loc": { + "start": { + "line": 77, + "column": 19 + }, + "end": { + "line": 77, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1793, + "end": 1794, + "loc": { + "start": { + "line": 77, + "column": 32 + }, + "end": { + "line": 77, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 1795, + "end": 1807, + "loc": { + "start": { + "line": 77, + "column": 34 + }, + "end": { + "line": 77, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1807, + "end": 1808, + "loc": { + "start": { + "line": 77, + "column": 46 + }, + "end": { + "line": 77, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1808, + "end": 1809, + "loc": { + "start": { + "line": 77, + "column": 47 + }, + "end": { + "line": 77, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1809, + "end": 1810, + "loc": { + "start": { + "line": 77, + "column": 48 + }, + "end": { + "line": 77, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1810, + "end": 1811, + "loc": { + "start": { + "line": 77, + "column": 49 + }, + "end": { + "line": 77, + "column": 50 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1816, + "end": 1820, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1820, + "end": 1821, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 1821, + "end": 1832, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1832, + "end": 1833, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSubscribe", + "start": 1833, + "end": 1844, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1844, + "end": 1845, + "loc": { + "start": { + "line": 78, + "column": 32 + }, + "end": { + "line": 78, + "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1845, + "end": 1849, + "loc": { + "start": { + "line": 78, + "column": 33 + }, + "end": { + "line": 78, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1849, + "end": 1850, + "loc": { + "start": { + "line": 78, + "column": 37 + }, + "end": { + "line": 78, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1850, + "end": 1851, + "loc": { + "start": { + "line": 78, + "column": 38 + }, + "end": { + "line": 78, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1854, + "end": 1855, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} n\n ", + "start": 1859, + "end": 1891, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 83, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 1894, + "end": 1901, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 84, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1901, + "end": 1902, + "loc": { + "start": { + "line": 84, + "column": 9 + }, + "end": { + "line": 84, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 1902, + "end": 1903, + "loc": { + "start": { + "line": 84, + "column": 10 + }, + "end": { + "line": 84, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1903, + "end": 1904, + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1905, + "end": 1906, + "loc": { + "start": { + "line": 84, + "column": 13 + }, + "end": { + "line": 84, + "column": 14 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1911, + "end": 1913, + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 85, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1914, + "end": 1915, + "loc": { + "start": { + "line": 85, + "column": 7 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1915, + "end": 1916, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1916, + "end": 1920, + "loc": { + "start": { + "line": 85, + "column": 9 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1920, + "end": 1921, + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_requestOnce", + "start": 1921, + "end": 1933, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1933, + "end": 1934, + "loc": { + "start": { + "line": 85, + "column": 26 + }, + "end": { + "line": 85, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1935, + "end": 1936, + "loc": { + "start": { + "line": 85, + "column": 28 + }, + "end": { + "line": 85, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1943, + "end": 1947, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1947, + "end": 1948, + "loc": { + "start": { + "line": 86, + "column": 10 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_requestOnce", + "start": 1948, + "end": 1960, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1961, + "end": 1962, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 25 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1963, + "end": 1967, + "loc": { + "start": { + "line": 86, + "column": 26 + }, + "end": { + "line": 86, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1967, + "end": 1968, + "loc": { + "start": { + "line": 86, + "column": 30 + }, + "end": { + "line": 86, + "column": 31 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1976, + "end": 1980, + "loc": { + "start": { + "line": 88, + "column": 6 + }, + "end": { + "line": 88, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1980, + "end": 1981, + "loc": { + "start": { + "line": 88, + "column": 10 + }, + "end": { + "line": 88, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 1981, + "end": 1986, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1986, + "end": 1987, + "loc": { + "start": { + "line": 88, + "column": 16 + }, + "end": { + "line": 88, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 1987, + "end": 1990, + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1990, + "end": 1991, + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "request issued", + "start": 1991, + "end": 2007, + "loc": { + "start": { + "line": 88, + "column": 21 + }, + "end": { + "line": 88, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2007, + "end": 2008, + "loc": { + "start": { + "line": 88, + "column": 37 + }, + "end": { + "line": 88, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2009, + "end": 2021, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2021, + "end": 2022, + "loc": { + "start": { + "line": 88, + "column": 51 + }, + "end": { + "line": 88, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2022, + "end": 2023, + "loc": { + "start": { + "line": 88, + "column": 52 + }, + "end": { + "line": 88, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2023, + "end": 2024, + "loc": { + "start": { + "line": 88, + "column": 53 + }, + "end": { + "line": 88, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2024, + "end": 2025, + "loc": { + "start": { + "line": 88, + "column": 54 + }, + "end": { + "line": 88, + "column": 55 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2030, + "end": 2031, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2037, + "end": 2041, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2041, + "end": 2042, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2042, + "end": 2055, + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2056, + "end": 2058, + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2059, + "end": 2063, + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2063, + "end": 2064, + "loc": { + "start": { + "line": 91, + "column": 30 + }, + "end": { + "line": 91, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2064, + "end": 2077, + "loc": { + "start": { + "line": 91, + "column": 31 + }, + "end": { + "line": 91, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2077, + "end": 2078, + "loc": { + "start": { + "line": 91, + "column": 44 + }, + "end": { + "line": 91, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "request", + "start": 2078, + "end": 2085, + "loc": { + "start": { + "line": 91, + "column": 45 + }, + "end": { + "line": 91, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2085, + "end": 2086, + "loc": { + "start": { + "line": 91, + "column": 52 + }, + "end": { + "line": 91, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 2086, + "end": 2087, + "loc": { + "start": { + "line": 91, + "column": 53 + }, + "end": { + "line": 91, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2087, + "end": 2088, + "loc": { + "start": { + "line": 91, + "column": 54 + }, + "end": { + "line": 91, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2088, + "end": 2089, + "loc": { + "start": { + "line": 91, + "column": 55 + }, + "end": { + "line": 91, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2092, + "end": 2093, + "loc": { + "start": { + "line": 92, + "column": 2 + }, + "end": { + "line": 92, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2097, + "end": 2106, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2109, + "end": 2115, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2115, + "end": 2116, + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2116, + "end": 2117, + "loc": { + "start": { + "line": 96, + "column": 9 + }, + "end": { + "line": 96, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2118, + "end": 2119, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 12 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 2124, + "end": 2127, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2128, + "end": 2129, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2136, + "end": 2140, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2140, + "end": 2141, + "loc": { + "start": { + "line": 98, + "column": 10 + }, + "end": { + "line": 98, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 2141, + "end": 2146, + "loc": { + "start": { + "line": 98, + "column": 11 + }, + "end": { + "line": 98, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2146, + "end": 2147, + "loc": { + "start": { + "line": 98, + "column": 16 + }, + "end": { + "line": 98, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 2147, + "end": 2150, + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2150, + "end": 2151, + "loc": { + "start": { + "line": 98, + "column": 20 + }, + "end": { + "line": 98, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cancel", + "start": 2151, + "end": 2159, + "loc": { + "start": { + "line": 98, + "column": 21 + }, + "end": { + "line": 98, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2159, + "end": 2160, + "loc": { + "start": { + "line": 98, + "column": 29 + }, + "end": { + "line": 98, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2161, + "end": 2173, + "loc": { + "start": { + "line": 98, + "column": 31 + }, + "end": { + "line": 98, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2173, + "end": 2174, + "loc": { + "start": { + "line": 98, + "column": 43 + }, + "end": { + "line": 98, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2174, + "end": 2175, + "loc": { + "start": { + "line": 98, + "column": 44 + }, + "end": { + "line": 98, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2175, + "end": 2176, + "loc": { + "start": { + "line": 98, + "column": 45 + }, + "end": { + "line": 98, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2176, + "end": 2177, + "loc": { + "start": { + "line": 98, + "column": 46 + }, + "end": { + "line": 98, + "column": 47 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2184, + "end": 2188, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2188, + "end": 2189, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2189, + "end": 2202, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2203, + "end": 2205, + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2206, + "end": 2210, + "loc": { + "start": { + "line": 99, + "column": 28 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2210, + "end": 2211, + "loc": { + "start": { + "line": 99, + "column": 32 + }, + "end": { + "line": 99, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscription", + "start": 2211, + "end": 2224, + "loc": { + "start": { + "line": 99, + "column": 33 + }, + "end": { + "line": 99, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2224, + "end": 2225, + "loc": { + "start": { + "line": 99, + "column": 46 + }, + "end": { + "line": 99, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cancel", + "start": 2225, + "end": 2231, + "loc": { + "start": { + "line": 99, + "column": 47 + }, + "end": { + "line": 99, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2231, + "end": 2232, + "loc": { + "start": { + "line": 99, + "column": 53 + }, + "end": { + "line": 99, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2232, + "end": 2233, + "loc": { + "start": { + "line": 99, + "column": 54 + }, + "end": { + "line": 99, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2233, + "end": 2234, + "loc": { + "start": { + "line": 99, + "column": 55 + }, + "end": { + "line": 99, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2239, + "end": 2240, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 5 + } + } + }, + { + "type": { + "label": "finally", + "keyword": "finally", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "finally", + "start": 2241, + "end": 2248, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2249, + "end": 2250, + "loc": { + "start": { + "line": 100, + "column": 14 + }, + "end": { + "line": 100, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2257, + "end": 2261, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2261, + "end": 2262, + "loc": { + "start": { + "line": 101, + "column": 10 + }, + "end": { + "line": 101, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cleanup", + "start": 2262, + "end": 2269, + "loc": { + "start": { + "line": 101, + "column": 11 + }, + "end": { + "line": 101, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2269, + "end": 2270, + "loc": { + "start": { + "line": 101, + "column": 18 + }, + "end": { + "line": 101, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2270, + "end": 2271, + "loc": { + "start": { + "line": 101, + "column": 19 + }, + "end": { + "line": 101, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2271, + "end": 2272, + "loc": { + "start": { + "line": 101, + "column": 20 + }, + "end": { + "line": 101, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2277, + "end": 2278, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2281, + "end": 2282, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {T} value\n ", + "start": 2286, + "end": 2317, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 2320, + "end": 2326, + "loc": { + "start": { + "line": 108, + "column": 2 + }, + "end": { + "line": 108, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2326, + "end": 2327, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2327, + "end": 2332, + "loc": { + "start": { + "line": 108, + "column": 9 + }, + "end": { + "line": 108, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2332, + "end": 2333, + "loc": { + "start": { + "line": 108, + "column": 14 + }, + "end": { + "line": 108, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2334, + "end": 2335, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2340, + "end": 2344, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2344, + "end": 2345, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 2345, + "end": 2356, + "loc": { + "start": { + "line": 109, + "column": 9 + }, + "end": { + "line": 109, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2356, + "end": 2357, + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onNext", + "start": 2357, + "end": 2363, + "loc": { + "start": { + "line": 109, + "column": 21 + }, + "end": { + "line": 109, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2363, + "end": 2364, + "loc": { + "start": { + "line": 109, + "column": 27 + }, + "end": { + "line": 109, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2364, + "end": 2369, + "loc": { + "start": { + "line": 109, + "column": 28 + }, + "end": { + "line": 109, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2369, + "end": 2370, + "loc": { + "start": { + "line": 109, + "column": 33 + }, + "end": { + "line": 109, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2370, + "end": 2371, + "loc": { + "start": { + "line": 109, + "column": 34 + }, + "end": { + "line": 109, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2374, + "end": 2375, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 110, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {Error} error\n ", + "start": 2379, + "end": 2414, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2417, + "end": 2424, + "loc": { + "start": { + "line": 115, + "column": 2 + }, + "end": { + "line": 115, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2424, + "end": 2425, + "loc": { + "start": { + "line": 115, + "column": 9 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2425, + "end": 2430, + "loc": { + "start": { + "line": 115, + "column": 10 + }, + "end": { + "line": 115, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2430, + "end": 2431, + "loc": { + "start": { + "line": 115, + "column": 15 + }, + "end": { + "line": 115, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2432, + "end": 2433, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 115, + "column": 18 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 2438, + "end": 2441, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2442, + "end": 2443, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2450, + "end": 2454, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2454, + "end": 2455, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 2455, + "end": 2460, + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 117, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2460, + "end": 2461, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 2461, + "end": 2464, + "loc": { + "start": { + "line": 117, + "column": 17 + }, + "end": { + "line": 117, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2464, + "end": 2465, + "loc": { + "start": { + "line": 117, + "column": 20 + }, + "end": { + "line": 117, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onError", + "start": 2465, + "end": 2474, + "loc": { + "start": { + "line": 117, + "column": 21 + }, + "end": { + "line": 117, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2474, + "end": 2475, + "loc": { + "start": { + "line": 117, + "column": 30 + }, + "end": { + "line": 117, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2476, + "end": 2488, + "loc": { + "start": { + "line": 117, + "column": 32 + }, + "end": { + "line": 117, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2488, + "end": 2489, + "loc": { + "start": { + "line": 117, + "column": 44 + }, + "end": { + "line": 117, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2489, + "end": 2490, + "loc": { + "start": { + "line": 117, + "column": 45 + }, + "end": { + "line": 117, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2490, + "end": 2491, + "loc": { + "start": { + "line": 117, + "column": 46 + }, + "end": { + "line": 117, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2491, + "end": 2492, + "loc": { + "start": { + "line": 117, + "column": 47 + }, + "end": { + "line": 117, + "column": 48 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2499, + "end": 2503, + "loc": { + "start": { + "line": 118, + "column": 6 + }, + "end": { + "line": 118, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2503, + "end": 2504, + "loc": { + "start": { + "line": 118, + "column": 10 + }, + "end": { + "line": 118, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 2504, + "end": 2515, + "loc": { + "start": { + "line": 118, + "column": 11 + }, + "end": { + "line": 118, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2515, + "end": 2516, + "loc": { + "start": { + "line": 118, + "column": 22 + }, + "end": { + "line": 118, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onError", + "start": 2516, + "end": 2523, + "loc": { + "start": { + "line": 118, + "column": 23 + }, + "end": { + "line": 118, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2523, + "end": 2524, + "loc": { + "start": { + "line": 118, + "column": 30 + }, + "end": { + "line": 118, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 2524, + "end": 2529, + "loc": { + "start": { + "line": 118, + "column": 31 + }, + "end": { + "line": 118, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2529, + "end": 2530, + "loc": { + "start": { + "line": 118, + "column": 36 + }, + "end": { + "line": 118, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2530, + "end": 2531, + "loc": { + "start": { + "line": 118, + "column": 37 + }, + "end": { + "line": 118, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2536, + "end": 2537, + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 119, + "column": 5 + } + } + }, + { + "type": { + "label": "finally", + "keyword": "finally", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "finally", + "start": 2538, + "end": 2545, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2546, + "end": 2547, + "loc": { + "start": { + "line": 119, + "column": 14 + }, + "end": { + "line": 119, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2554, + "end": 2558, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2558, + "end": 2559, + "loc": { + "start": { + "line": 120, + "column": 10 + }, + "end": { + "line": 120, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cleanup", + "start": 2559, + "end": 2566, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2566, + "end": 2567, + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2567, + "end": 2568, + "loc": { + "start": { + "line": 120, + "column": 19 + }, + "end": { + "line": 120, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2568, + "end": 2569, + "loc": { + "start": { + "line": 120, + "column": 20 + }, + "end": { + "line": 120, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2574, + "end": 2575, + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 121, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2578, + "end": 2579, + "loc": { + "start": { + "line": 122, + "column": 2 + }, + "end": { + "line": 122, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n ", + "start": 2583, + "end": 2592, + "loc": { + "start": { + "line": 124, + "column": 2 + }, + "end": { + "line": 125, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2595, + "end": 2605, + "loc": { + "start": { + "line": 126, + "column": 2 + }, + "end": { + "line": 126, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2605, + "end": 2606, + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2606, + "end": 2607, + "loc": { + "start": { + "line": 126, + "column": 13 + }, + "end": { + "line": 126, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2608, + "end": 2609, + "loc": { + "start": { + "line": 126, + "column": 15 + }, + "end": { + "line": 126, + "column": 16 + } + } + }, + { + "type": { + "label": "try", + "keyword": "try", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "try", + "start": 2614, + "end": 2617, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2618, + "end": 2619, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2626, + "end": 2630, + "loc": { + "start": { + "line": 128, + "column": 6 + }, + "end": { + "line": 128, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2630, + "end": 2631, + "loc": { + "start": { + "line": 128, + "column": 10 + }, + "end": { + "line": 128, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_span", + "start": 2631, + "end": 2636, + "loc": { + "start": { + "line": 128, + "column": 11 + }, + "end": { + "line": 128, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2636, + "end": 2637, + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 2637, + "end": 2640, + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2640, + "end": 2641, + "loc": { + "start": { + "line": 128, + "column": 20 + }, + "end": { + "line": 128, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onComplete", + "start": 2641, + "end": 2653, + "loc": { + "start": { + "line": 128, + "column": 21 + }, + "end": { + "line": 128, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2653, + "end": 2654, + "loc": { + "start": { + "line": 128, + "column": 33 + }, + "end": { + "line": 128, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2655, + "end": 2667, + "loc": { + "start": { + "line": 128, + "column": 35 + }, + "end": { + "line": 128, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2667, + "end": 2668, + "loc": { + "start": { + "line": 128, + "column": 47 + }, + "end": { + "line": 128, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2668, + "end": 2669, + "loc": { + "start": { + "line": 128, + "column": 48 + }, + "end": { + "line": 128, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2669, + "end": 2670, + "loc": { + "start": { + "line": 128, + "column": 49 + }, + "end": { + "line": 128, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2670, + "end": 2671, + "loc": { + "start": { + "line": 128, + "column": 50 + }, + "end": { + "line": 128, + "column": 51 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2678, + "end": 2682, + "loc": { + "start": { + "line": 129, + "column": 6 + }, + "end": { + "line": 129, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2682, + "end": 2683, + "loc": { + "start": { + "line": 129, + "column": 10 + }, + "end": { + "line": 129, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_subscriber", + "start": 2683, + "end": 2694, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2694, + "end": 2695, + "loc": { + "start": { + "line": 129, + "column": 22 + }, + "end": { + "line": 129, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onComplete", + "start": 2695, + "end": 2705, + "loc": { + "start": { + "line": 129, + "column": 23 + }, + "end": { + "line": 129, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2705, + "end": 2706, + "loc": { + "start": { + "line": 129, + "column": 33 + }, + "end": { + "line": 129, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2706, + "end": 2707, + "loc": { + "start": { + "line": 129, + "column": 34 + }, + "end": { + "line": 129, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2707, + "end": 2708, + "loc": { + "start": { + "line": 129, + "column": 35 + }, + "end": { + "line": 129, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2713, + "end": 2714, + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 130, + "column": 5 + } + } + }, + { + "type": { + "label": "finally", + "keyword": "finally", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "finally", + "start": 2715, + "end": 2722, + "loc": { + "start": { + "line": 130, + "column": 6 + }, + "end": { + "line": 130, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2723, + "end": 2724, + "loc": { + "start": { + "line": 130, + "column": 14 + }, + "end": { + "line": 130, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2731, + "end": 2735, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2735, + "end": 2736, + "loc": { + "start": { + "line": 131, + "column": 10 + }, + "end": { + "line": 131, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cleanup", + "start": 2736, + "end": 2743, + "loc": { + "start": { + "line": 131, + "column": 11 + }, + "end": { + "line": 131, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2743, + "end": 2744, + "loc": { + "start": { + "line": 131, + "column": 18 + }, + "end": { + "line": 131, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2744, + "end": 2745, + "loc": { + "start": { + "line": 131, + "column": 19 + }, + "end": { + "line": 131, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2745, + "end": 2746, + "loc": { + "start": { + "line": 131, + "column": 20 + }, + "end": { + "line": 131, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2751, + "end": 2752, + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 132, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2755, + "end": 2756, + "loc": { + "start": { + "line": 133, + "column": 2 + }, + "end": { + "line": 133, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2757, + "end": 2758, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 134, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the current time in microseconds\n *\n * @return {number} The return value of {@link Date#now} converted to microseconds.\n ", + "start": 2760, + "end": 2897, + "loc": { + "start": { + "line": 136, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 2898, + "end": 2906, + "loc": { + "start": { + "line": 141, + "column": 0 + }, + "end": { + "line": 141, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "timeInMicros", + "start": 2907, + "end": 2919, + "loc": { + "start": { + "line": 141, + "column": 9 + }, + "end": { + "line": 141, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2919, + "end": 2920, + "loc": { + "start": { + "line": 141, + "column": 21 + }, + "end": { + "line": 141, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2920, + "end": 2921, + "loc": { + "start": { + "line": 141, + "column": 22 + }, + "end": { + "line": 141, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2922, + "end": 2923, + "loc": { + "start": { + "line": 141, + "column": 24 + }, + "end": { + "line": 141, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2926, + "end": 2932, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 142, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Date", + "start": 2933, + "end": 2937, + "loc": { + "start": { + "line": 142, + "column": 9 + }, + "end": { + "line": 142, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2937, + "end": 2938, + "loc": { + "start": { + "line": 142, + "column": 13 + }, + "end": { + "line": 142, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "now", + "start": 2938, + "end": 2941, + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2941, + "end": 2942, + "loc": { + "start": { + "line": 142, + "column": 17 + }, + "end": { + "line": 142, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2942, + "end": 2943, + "loc": { + "start": { + "line": 142, + "column": 18 + }, + "end": { + "line": 142, + "column": 19 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2944, + "end": 2945, + "loc": { + "start": { + "line": 142, + "column": 20 + }, + "end": { + "line": 142, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 2946, + "end": 2950, + "loc": { + "start": { + "line": 142, + "column": 22 + }, + "end": { + "line": 142, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": " microseconds ", + "start": 2951, + "end": 2969, + "loc": { + "start": { + "line": 142, + "column": 27 + }, + "end": { + "line": 142, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2969, + "end": 2970, + "loc": { + "start": { + "line": 142, + "column": 45 + }, + "end": { + "line": 142, + "column": 46 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2971, + "end": 2972, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 143, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2972, + "end": 2972, + "loc": { + "start": { + "line": 143, + "column": 1 + }, + "end": { + "line": 143, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/tracing/src/Tracing.js.json b/rsocket-rpc-js/docs/ast/source/tracing/src/Tracing.js.json new file mode 100644 index 0000000..313093a --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/tracing/src/Tracing.js.json @@ -0,0 +1,30764 @@ +{ + "type": "File", + "start": 0, + "end": 8302, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 248, + "column": 1 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 8302, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 248, + "column": 1 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 460, + "end": 532, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 72 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 469, + "end": 480, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 20 + } + }, + "imported": { + "type": "Identifier", + "start": 469, + "end": 480, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 20 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder", + "leadingComments": null + }, + "local": { + "type": "Identifier", + "start": 469, + "end": 480, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 20 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "leadingComments": null + }, + { + "type": "ImportSpecifier", + "start": 482, + "end": 495, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 35 + } + }, + "imported": { + "type": "Identifier", + "start": 482, + "end": 495, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 35 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "local": { + "type": "Identifier", + "start": 482, + "end": 495, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 35 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + } + }, + { + "type": "ImportSpecifier", + "start": 497, + "end": 509, + "loc": { + "start": { + "line": 20, + "column": 37 + }, + "end": { + "line": 20, + "column": 49 + } + }, + "imported": { + "type": "Identifier", + "start": 497, + "end": 509, + "loc": { + "start": { + "line": 20, + "column": 37 + }, + "end": { + "line": 20, + "column": 49 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + }, + "local": { + "type": "Identifier", + "start": 497, + "end": 509, + "loc": { + "start": { + "line": 20, + "column": 37 + }, + "end": { + "line": 20, + "column": 49 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 517, + "end": 531, + "loc": { + "start": { + "line": 20, + "column": 57 + }, + "end": { + "line": 20, + "column": 71 + } + }, + "extra": { + "rawValue": "rsocket-core", + "raw": "'rsocket-core'" + }, + "value": "rsocket-core" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Tracing.js\n * @fileoverview Tracing functionality.\n * @requires NPM:rsocket-core\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:opentracing\n * @requires NPM:rsocket-rpc-frames\n * @requires SpanSubscriber\n * @requires SpanSingle\n * @exports deserializeTraceData\n * @exports mapToBuffer\n * @exports bufferToMap\n * @exports trace\n * @exports traceAsChild\n * @exports traceSingle\n * @exports traceSingleAsChild\n ", + "start": 0, + "end": 458, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 533, + "end": 577, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 44 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 20 + } + }, + "imported": { + "type": "Identifier", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 20 + }, + "identifierName": "ISubscriber" + }, + "name": "ISubscriber" + }, + "local": { + "type": "Identifier", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 20 + }, + "identifierName": "ISubscriber" + }, + "name": "ISubscriber" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 561, + "end": 576, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 43 + } + }, + "extra": { + "rawValue": "rsocket-types", + "raw": "'rsocket-types'" + }, + "value": "rsocket-types" + } + }, + { + "type": "ImportDeclaration", + "start": 578, + "end": 630, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 52 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 587, + "end": 595, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 587, + "end": 595, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + }, + "local": { + "type": "Identifier", + "start": 587, + "end": 595, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 17 + }, + "identifierName": "Flowable" + }, + "name": "Flowable" + } + }, + { + "type": "ImportSpecifier", + "start": 597, + "end": 603, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 25 + } + }, + "imported": { + "type": "Identifier", + "start": 597, + "end": 603, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 25 + }, + "identifierName": "Single" + }, + "name": "Single" + }, + "local": { + "type": "Identifier", + "start": 597, + "end": 603, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 25 + }, + "identifierName": "Single" + }, + "name": "Single" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 611, + "end": 629, + "loc": { + "start": { + "line": 22, + "column": 33 + }, + "end": { + "line": 22, + "column": 51 + } + }, + "extra": { + "rawValue": "rsocket-flowable", + "raw": "'rsocket-flowable'" + }, + "value": "rsocket-flowable" + } + }, + { + "type": "ImportDeclaration", + "start": 632, + "end": 682, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 50 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 641, + "end": 655, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 23 + } + }, + "imported": { + "type": "Identifier", + "start": 641, + "end": 655, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 23 + }, + "identifierName": "SpanSubscriber" + }, + "name": "SpanSubscriber" + }, + "local": { + "type": "Identifier", + "start": 641, + "end": 655, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 23 + }, + "identifierName": "SpanSubscriber" + }, + "name": "SpanSubscriber" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 663, + "end": 681, + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 49 + } + }, + "extra": { + "rawValue": "./SpanSubscriber", + "raw": "'./SpanSubscriber'" + }, + "value": "./SpanSubscriber" + } + }, + { + "type": "ImportDeclaration", + "start": 683, + "end": 731, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 48 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 692, + "end": 708, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 25 + } + }, + "imported": { + "type": "Identifier", + "start": 692, + "end": 708, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 25 + }, + "identifierName": "createSpanSingle" + }, + "name": "createSpanSingle" + }, + "local": { + "type": "Identifier", + "start": 692, + "end": 708, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 25 + }, + "identifierName": "createSpanSingle" + }, + "name": "createSpanSingle" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 716, + "end": 730, + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 47 + } + }, + "extra": { + "rawValue": "./SpanSingle", + "raw": "'./SpanSingle'" + }, + "value": "./SpanSingle" + } + }, + { + "type": "ImportDeclaration", + "start": 732, + "end": 799, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 67 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 741, + "end": 752, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 20 + } + }, + "imported": { + "type": "Identifier", + "start": 741, + "end": 752, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 20 + }, + "identifierName": "SpanContext" + }, + "name": "SpanContext" + }, + "local": { + "type": "Identifier", + "start": 741, + "end": 752, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 20 + }, + "identifierName": "SpanContext" + }, + "name": "SpanContext" + } + }, + { + "type": "ImportSpecifier", + "start": 754, + "end": 760, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 28 + } + }, + "imported": { + "type": "Identifier", + "start": 754, + "end": 760, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 28 + }, + "identifierName": "Tracer" + }, + "name": "Tracer" + }, + "local": { + "type": "Identifier", + "start": 754, + "end": 760, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 28 + }, + "identifierName": "Tracer" + }, + "name": "Tracer" + } + }, + { + "type": "ImportSpecifier", + "start": 762, + "end": 777, + "loc": { + "start": { + "line": 26, + "column": 30 + }, + "end": { + "line": 26, + "column": 45 + } + }, + "imported": { + "type": "Identifier", + "start": 762, + "end": 777, + "loc": { + "start": { + "line": 26, + "column": 30 + }, + "end": { + "line": 26, + "column": 45 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + }, + "local": { + "type": "Identifier", + "start": 762, + "end": 777, + "loc": { + "start": { + "line": 26, + "column": 30 + }, + "end": { + "line": 26, + "column": 45 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 785, + "end": 798, + "loc": { + "start": { + "line": 26, + "column": 53 + }, + "end": { + "line": 26, + "column": 66 + } + }, + "extra": { + "rawValue": "opentracing", + "raw": "'opentracing'" + }, + "value": "opentracing" + } + }, + { + "type": "ImportDeclaration", + "start": 801, + "end": 849, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 48 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 810, + "end": 820, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 19 + } + }, + "imported": { + "type": "Identifier", + "start": 810, + "end": 820, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 19 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + }, + "local": { + "type": "Identifier", + "start": 810, + "end": 820, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 19 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 828, + "end": 848, + "loc": { + "start": { + "line": 28, + "column": 27 + }, + "end": { + "line": 28, + "column": 47 + } + }, + "extra": { + "rawValue": "rsocket-rpc-frames", + "raw": "'rsocket-rpc-frames'" + }, + "value": "rsocket-rpc-frames" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {Buffer} metadata -\n * @returns {?SpanContext} or null if the tracer is null or there is no tracing data\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 851, + "end": 1132, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 1133, + "end": 1417, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 49, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1140, + "end": 1417, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 49, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1149, + "end": 1169, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 36 + }, + "identifierName": "deserializeTraceData" + }, + "name": "deserializeTraceData", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1170, + "end": 1176, + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 43 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 1178, + "end": 1186, + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 53 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ], + "body": { + "type": "BlockStatement", + "start": 1188, + "end": 1417, + "loc": { + "start": { + "line": 37, + "column": 55 + }, + "end": { + "line": 49, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1192, + "end": 1227, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 40, + "column": 3 + } + }, + "test": { + "type": "UnaryExpression", + "start": 1196, + "end": 1203, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 13 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 1197, + "end": 1203, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 13 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1205, + "end": 1227, + "loc": { + "start": { + "line": 38, + "column": 15 + }, + "end": { + "line": 40, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1211, + "end": 1223, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 16 + } + }, + "argument": { + "type": "NullLiteral", + "start": 1218, + "end": 1222, + "loc": { + "start": { + "line": 39, + "column": 11 + }, + "end": { + "line": 39, + "column": 15 + } + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 1231, + "end": 1272, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1237, + "end": 1271, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 1237, + "end": 1248, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 19 + }, + "identifierName": "tracingData" + }, + "name": "tracingData" + }, + "init": { + "type": "CallExpression", + "start": 1251, + "end": 1271, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 42 + } + }, + "callee": { + "type": "Identifier", + "start": 1251, + "end": 1261, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 32 + }, + "identifierName": "getTracing" + }, + "name": "getTracing" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1262, + "end": 1270, + "loc": { + "start": { + "line": 42, + "column": 33 + }, + "end": { + "line": 42, + "column": 41 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 1276, + "end": 1346, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1280, + "end": 1322, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 48 + } + }, + "left": { + "type": "CallExpression", + "start": 1280, + "end": 1317, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1280, + "end": 1304, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 1280, + "end": 1293, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 19 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "property": { + "type": "Identifier", + "start": 1294, + "end": 1304, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 30 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1305, + "end": 1316, + "loc": { + "start": { + "line": 44, + "column": 31 + }, + "end": { + "line": 44, + "column": 42 + }, + "identifierName": "tracingData" + }, + "name": "tracingData" + } + ] + }, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 1321, + "end": 1322, + "loc": { + "start": { + "line": 44, + "column": 47 + }, + "end": { + "line": 44, + "column": 48 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1324, + "end": 1346, + "loc": { + "start": { + "line": 44, + "column": 50 + }, + "end": { + "line": 46, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1330, + "end": 1342, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 16 + } + }, + "argument": { + "type": "NullLiteral", + "start": 1337, + "end": 1341, + "loc": { + "start": { + "line": 45, + "column": 11 + }, + "end": { + "line": 45, + "column": 15 + } + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 1350, + "end": 1415, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 67 + } + }, + "argument": { + "type": "CallExpression", + "start": 1357, + "end": 1414, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1357, + "end": 1371, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 1357, + "end": 1363, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 15 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "property": { + "type": "Identifier", + "start": 1364, + "end": 1371, + "loc": { + "start": { + "line": 48, + "column": 16 + }, + "end": { + "line": 48, + "column": 23 + }, + "identifierName": "extract" + }, + "name": "extract" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1372, + "end": 1387, + "loc": { + "start": { + "line": 48, + "column": 24 + }, + "end": { + "line": 48, + "column": 39 + }, + "identifierName": "FORMAT_TEXT_MAP" + }, + "name": "FORMAT_TEXT_MAP" + }, + { + "type": "CallExpression", + "start": 1389, + "end": 1413, + "loc": { + "start": { + "line": 48, + "column": 41 + }, + "end": { + "line": 48, + "column": 65 + } + }, + "callee": { + "type": "Identifier", + "start": 1389, + "end": 1400, + "loc": { + "start": { + "line": 48, + "column": 41 + }, + "end": { + "line": 48, + "column": 52 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1401, + "end": 1412, + "loc": { + "start": { + "line": 48, + "column": 53 + }, + "end": { + "line": 48, + "column": 64 + }, + "identifierName": "tracingData" + }, + "name": "tracingData" + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {Buffer} metadata -\n * @returns {?SpanContext} or null if the tracer is null or there is no tracing data\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 851, + "end": 1132, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Object} map -\n * @returns {Buffer}\n ", + "start": 1419, + "end": 1473, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 54, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {Buffer} metadata -\n * @returns {?SpanContext} or null if the tracer is null or there is no tracing data\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 851, + "end": 1132, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Object} map -\n * @returns {Buffer}\n ", + "start": 1419, + "end": 1473, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 54, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 1474, + "end": 2802, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1481, + "end": 2802, + "loc": { + "start": { + "line": 55, + "column": 7 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1490, + "end": 1501, + "loc": { + "start": { + "line": 55, + "column": 16 + }, + "end": { + "line": 55, + "column": 27 + }, + "identifierName": "mapToBuffer" + }, + "name": "mapToBuffer", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1502, + "end": 1505, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 31 + }, + "identifierName": "map" + }, + "name": "map" + } + ], + "body": { + "type": "BlockStatement", + "start": 1507, + "end": 2802, + "loc": { + "start": { + "line": 55, + "column": 33 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1511, + "end": 1586, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 58, + "column": 3 + } + }, + "test": { + "type": "LogicalExpression", + "start": 1515, + "end": 1551, + "loc": { + "start": { + "line": 56, + "column": 6 + }, + "end": { + "line": 56, + "column": 42 + } + }, + "left": { + "type": "UnaryExpression", + "start": 1515, + "end": 1519, + "loc": { + "start": { + "line": 56, + "column": 6 + }, + "end": { + "line": 56, + "column": 10 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 1516, + "end": 1519, + "loc": { + "start": { + "line": 56, + "column": 7 + }, + "end": { + "line": 56, + "column": 10 + }, + "identifierName": "map" + }, + "name": "map" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 1523, + "end": 1551, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 42 + } + }, + "left": { + "type": "MemberExpression", + "start": 1523, + "end": 1546, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 37 + } + }, + "object": { + "type": "CallExpression", + "start": 1523, + "end": 1539, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1523, + "end": 1534, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 1523, + "end": 1529, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 20 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 1530, + "end": 1534, + "loc": { + "start": { + "line": 56, + "column": 21 + }, + "end": { + "line": 56, + "column": 25 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1535, + "end": 1538, + "loc": { + "start": { + "line": 56, + "column": 26 + }, + "end": { + "line": 56, + "column": 29 + }, + "identifierName": "map" + }, + "name": "map" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1540, + "end": 1546, + "loc": { + "start": { + "line": 56, + "column": 31 + }, + "end": { + "line": 56, + "column": 37 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 1550, + "end": 1551, + "loc": { + "start": { + "line": 56, + "column": 41 + }, + "end": { + "line": 56, + "column": 42 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1553, + "end": 1586, + "loc": { + "start": { + "line": 56, + "column": 44 + }, + "end": { + "line": 58, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1559, + "end": 1582, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 27 + } + }, + "argument": { + "type": "CallExpression", + "start": 1566, + "end": 1581, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 26 + } + }, + "callee": { + "type": "Identifier", + "start": 1566, + "end": 1578, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 23 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1579, + "end": 1580, + "loc": { + "start": { + "line": 57, + "column": 24 + }, + "end": { + "line": 57, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 1590, + "end": 2265, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 78, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1596, + "end": 2264, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 78, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 1596, + "end": 1610, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 22 + }, + "identifierName": "aggregatedTags" + }, + "name": "aggregatedTags" + }, + "init": { + "type": "CallExpression", + "start": 1613, + "end": 2264, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 78, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1613, + "end": 1636, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 60, + "column": 48 + } + }, + "object": { + "type": "CallExpression", + "start": 1613, + "end": 1629, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 60, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1613, + "end": 1624, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 60, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 1613, + "end": 1619, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 60, + "column": 31 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 1620, + "end": 1624, + "loc": { + "start": { + "line": 60, + "column": 32 + }, + "end": { + "line": 60, + "column": 36 + }, + "identifierName": "keys" + }, + "name": "keys" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1625, + "end": 1628, + "loc": { + "start": { + "line": 60, + "column": 37 + }, + "end": { + "line": 60, + "column": 40 + }, + "identifierName": "map" + }, + "name": "map" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1630, + "end": 1636, + "loc": { + "start": { + "line": 60, + "column": 42 + }, + "end": { + "line": 60, + "column": 48 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1637, + "end": 2232, + "loc": { + "start": { + "line": 60, + "column": 49 + }, + "end": { + "line": 78, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1638, + "end": 1647, + "loc": { + "start": { + "line": 60, + "column": 50 + }, + "end": { + "line": 60, + "column": 59 + }, + "identifierName": "aggregate" + }, + "name": "aggregate" + }, + { + "type": "Identifier", + "start": 1649, + "end": 1652, + "loc": { + "start": { + "line": 60, + "column": 61 + }, + "end": { + "line": 60, + "column": 64 + }, + "identifierName": "key" + }, + "name": "key" + } + ], + "body": { + "type": "BlockStatement", + "start": 1657, + "end": 2232, + "loc": { + "start": { + "line": 60, + "column": 69 + }, + "end": { + "line": 78, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1663, + "end": 1684, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1669, + "end": 1683, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 1669, + "end": 1672, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 13 + }, + "identifierName": "val" + }, + "name": "val" + }, + "init": { + "type": "MemberExpression", + "start": 1675, + "end": 1683, + "loc": { + "start": { + "line": 61, + "column": 16 + }, + "end": { + "line": 61, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 1675, + "end": 1678, + "loc": { + "start": { + "line": 61, + "column": 16 + }, + "end": { + "line": 61, + "column": 19 + }, + "identifierName": "map" + }, + "name": "map" + }, + "property": { + "type": "Identifier", + "start": 1679, + "end": 1682, + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 23 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1689, + "end": 1732, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1695, + "end": 1731, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 1695, + "end": 1701, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 16 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + }, + "init": { + "type": "CallExpression", + "start": 1704, + "end": 1731, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1704, + "end": 1726, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 1704, + "end": 1715, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 30 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 1716, + "end": 1726, + "loc": { + "start": { + "line": 62, + "column": 31 + }, + "end": { + "line": 62, + "column": 41 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1727, + "end": 1730, + "loc": { + "start": { + "line": 62, + "column": 42 + }, + "end": { + "line": 62, + "column": 45 + }, + "identifierName": "key" + }, + "name": "key" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1737, + "end": 1773, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1743, + "end": 1772, + "loc": { + "start": { + "line": 63, + "column": 10 + }, + "end": { + "line": 63, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 1743, + "end": 1749, + "loc": { + "start": { + "line": 63, + "column": 10 + }, + "end": { + "line": 63, + "column": 16 + }, + "identifierName": "keyBuf" + }, + "name": "keyBuf" + }, + "init": { + "type": "CallExpression", + "start": 1752, + "end": 1772, + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 1752, + "end": 1764, + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 31 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1765, + "end": 1771, + "loc": { + "start": { + "line": 63, + "column": 32 + }, + "end": { + "line": 63, + "column": 38 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1778, + "end": 1821, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 1778, + "end": 1820, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1778, + "end": 1796, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1778, + "end": 1789, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 15 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 1790, + "end": 1796, + "loc": { + "start": { + "line": 64, + "column": 16 + }, + "end": { + "line": 64, + "column": 22 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1797, + "end": 1800, + "loc": { + "start": { + "line": 64, + "column": 23 + }, + "end": { + "line": 64, + "column": 26 + }, + "identifierName": "key" + }, + "name": "key" + }, + { + "type": "Identifier", + "start": 1802, + "end": 1808, + "loc": { + "start": { + "line": 64, + "column": 28 + }, + "end": { + "line": 64, + "column": 34 + }, + "identifierName": "keyBuf" + }, + "name": "keyBuf" + }, + { + "type": "NumericLiteral", + "start": 1810, + "end": 1811, + "loc": { + "start": { + "line": 64, + "column": 36 + }, + "end": { + "line": 64, + "column": 37 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "Identifier", + "start": 1813, + "end": 1819, + "loc": { + "start": { + "line": 64, + "column": 39 + }, + "end": { + "line": 64, + "column": 45 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 1827, + "end": 1870, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1833, + "end": 1869, + "loc": { + "start": { + "line": 66, + "column": 10 + }, + "end": { + "line": 66, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 1833, + "end": 1839, + "loc": { + "start": { + "line": 66, + "column": 10 + }, + "end": { + "line": 66, + "column": 16 + }, + "identifierName": "valLen" + }, + "name": "valLen" + }, + "init": { + "type": "CallExpression", + "start": 1842, + "end": 1869, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1842, + "end": 1864, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 1842, + "end": 1853, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 30 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 1854, + "end": 1864, + "loc": { + "start": { + "line": 66, + "column": 31 + }, + "end": { + "line": 66, + "column": 41 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1865, + "end": 1868, + "loc": { + "start": { + "line": 66, + "column": 42 + }, + "end": { + "line": 66, + "column": 45 + }, + "identifierName": "val" + }, + "name": "val" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1875, + "end": 1911, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1881, + "end": 1910, + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 1881, + "end": 1887, + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 16 + }, + "identifierName": "valBuf" + }, + "name": "valBuf" + }, + "init": { + "type": "CallExpression", + "start": 1890, + "end": 1910, + "loc": { + "start": { + "line": 67, + "column": 19 + }, + "end": { + "line": 67, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 1890, + "end": 1902, + "loc": { + "start": { + "line": 67, + "column": 19 + }, + "end": { + "line": 67, + "column": 31 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1903, + "end": 1909, + "loc": { + "start": { + "line": 67, + "column": 32 + }, + "end": { + "line": 67, + "column": 38 + }, + "identifierName": "valLen" + }, + "name": "valLen" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1916, + "end": 1959, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 1916, + "end": 1958, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1916, + "end": 1934, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1916, + "end": 1927, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 15 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 1928, + "end": 1934, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 22 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1935, + "end": 1938, + "loc": { + "start": { + "line": 68, + "column": 23 + }, + "end": { + "line": 68, + "column": 26 + }, + "identifierName": "val" + }, + "name": "val" + }, + { + "type": "Identifier", + "start": 1940, + "end": 1946, + "loc": { + "start": { + "line": 68, + "column": 28 + }, + "end": { + "line": 68, + "column": 34 + }, + "identifierName": "valBuf" + }, + "name": "valBuf" + }, + { + "type": "NumericLiteral", + "start": 1948, + "end": 1949, + "loc": { + "start": { + "line": 68, + "column": 36 + }, + "end": { + "line": 68, + "column": 37 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "Identifier", + "start": 1951, + "end": 1957, + "loc": { + "start": { + "line": 68, + "column": 39 + }, + "end": { + "line": 68, + "column": 45 + }, + "identifierName": "valLen" + }, + "name": "valLen" + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 1965, + "end": 2002, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1971, + "end": 2001, + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 70, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 1971, + "end": 1981, + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 70, + "column": 20 + }, + "identifierName": "newEntries" + }, + "name": "newEntries" + }, + "init": { + "type": "MemberExpression", + "start": 1984, + "end": 2001, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 1984, + "end": 1993, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 32 + }, + "identifierName": "aggregate" + }, + "name": "aggregate" + }, + "property": { + "type": "Identifier", + "start": 1994, + "end": 2001, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 40 + }, + "identifierName": "entries" + }, + "name": "entries" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2007, + "end": 2059, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 56 + } + }, + "expression": { + "type": "CallExpression", + "start": 2007, + "end": 2058, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2007, + "end": 2022, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 2007, + "end": 2017, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 14 + }, + "identifierName": "newEntries" + }, + "name": "newEntries" + }, + "property": { + "type": "Identifier", + "start": 2018, + "end": 2022, + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 19 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 2023, + "end": 2057, + "loc": { + "start": { + "line": 71, + "column": 20 + }, + "end": { + "line": 71, + "column": 54 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2025, + "end": 2031, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 28 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2025, + "end": 2031, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 28 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + }, + "value": { + "type": "Identifier", + "start": 2025, + "end": 2031, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 28 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2033, + "end": 2039, + "loc": { + "start": { + "line": 71, + "column": 30 + }, + "end": { + "line": 71, + "column": 36 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2033, + "end": 2039, + "loc": { + "start": { + "line": 71, + "column": 30 + }, + "end": { + "line": 71, + "column": 36 + }, + "identifierName": "keyBuf" + }, + "name": "keyBuf" + }, + "value": { + "type": "Identifier", + "start": 2033, + "end": 2039, + "loc": { + "start": { + "line": 71, + "column": 30 + }, + "end": { + "line": 71, + "column": 36 + }, + "identifierName": "keyBuf" + }, + "name": "keyBuf" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2041, + "end": 2047, + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 44 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2041, + "end": 2047, + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 44 + }, + "identifierName": "valLen" + }, + "name": "valLen" + }, + "value": { + "type": "Identifier", + "start": 2041, + "end": 2047, + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 44 + }, + "identifierName": "valLen" + }, + "name": "valLen" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2049, + "end": 2055, + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 52 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2049, + "end": 2055, + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 52 + }, + "identifierName": "valBuf" + }, + "name": "valBuf" + }, + "value": { + "type": "Identifier", + "start": 2049, + "end": 2055, + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 52 + }, + "identifierName": "valBuf" + }, + "name": "valBuf" + }, + "extra": { + "shorthand": true + } + } + ] + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 2065, + "end": 2228, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 77, + "column": 6 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 2072, + "end": 2227, + "loc": { + "start": { + "line": 73, + "column": 11 + }, + "end": { + "line": 77, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2142, + "end": 2194, + "loc": { + "start": { + "line": 75, + "column": 6 + }, + "end": { + "line": 75, + "column": 58 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2142, + "end": 2151, + "loc": { + "start": { + "line": 75, + "column": 6 + }, + "end": { + "line": 75, + "column": 15 + }, + "identifierName": "totalSize" + }, + "name": "totalSize", + "leadingComments": null + }, + "value": { + "type": "BinaryExpression", + "start": 2153, + "end": 2194, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 58 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2153, + "end": 2185, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 49 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2153, + "end": 2176, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 40 + } + }, + "left": { + "type": "MemberExpression", + "start": 2153, + "end": 2172, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 2153, + "end": 2162, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 26 + }, + "identifierName": "aggregate" + }, + "name": "aggregate" + }, + "property": { + "type": "Identifier", + "start": 2163, + "end": 2172, + "loc": { + "start": { + "line": 75, + "column": 27 + }, + "end": { + "line": 75, + "column": 36 + }, + "identifierName": "totalSize" + }, + "name": "totalSize" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 2175, + "end": 2176, + "loc": { + "start": { + "line": 75, + "column": 39 + }, + "end": { + "line": 75, + "column": 40 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2179, + "end": 2185, + "loc": { + "start": { + "line": 75, + "column": 43 + }, + "end": { + "line": 75, + "column": 49 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2188, + "end": 2194, + "loc": { + "start": { + "line": 75, + "column": 52 + }, + "end": { + "line": 75, + "column": 58 + }, + "identifierName": "valLen" + }, + "name": "valLen" + } + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " 4 for the sizes plus the actual key and actual value", + "start": 2080, + "end": 2135, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 74, + "column": 61 + } + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 2202, + "end": 2221, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2202, + "end": 2209, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 13 + }, + "identifierName": "entries" + }, + "name": "entries" + }, + "value": { + "type": "Identifier", + "start": 2211, + "end": 2221, + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 25 + }, + "identifierName": "newEntries" + }, + "name": "newEntries" + } + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ObjectExpression", + "start": 2234, + "end": 2263, + "loc": { + "start": { + "line": 78, + "column": 5 + }, + "end": { + "line": 78, + "column": 34 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2236, + "end": 2248, + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 19 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2236, + "end": 2245, + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 16 + }, + "identifierName": "totalSize" + }, + "name": "totalSize" + }, + "value": { + "type": "NumericLiteral", + "start": 2247, + "end": 2248, + "loc": { + "start": { + "line": 78, + "column": 18 + }, + "end": { + "line": 78, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + { + "type": "ObjectProperty", + "start": 2250, + "end": 2261, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 32 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2250, + "end": 2257, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 28 + }, + "identifierName": "entries" + }, + "name": "entries" + }, + "value": { + "type": "ArrayExpression", + "start": 2259, + "end": 2261, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 32 + } + }, + "elements": [] + } + } + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2269, + "end": 2284, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 17 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2273, + "end": 2283, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 16 + } + }, + "id": { + "type": "Identifier", + "start": 2273, + "end": 2279, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "init": { + "type": "NumericLiteral", + "start": 2282, + "end": 2283, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 16 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 2287, + "end": 2344, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 81, + "column": 59 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2293, + "end": 2343, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 58 + } + }, + "id": { + "type": "Identifier", + "start": 2293, + "end": 2302, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 17 + }, + "identifierName": "resultBuf" + }, + "name": "resultBuf" + }, + "init": { + "type": "CallExpression", + "start": 2305, + "end": 2343, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 58 + } + }, + "callee": { + "type": "Identifier", + "start": 2305, + "end": 2317, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 32 + }, + "identifierName": "createBuffer" + }, + "name": "createBuffer" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2318, + "end": 2342, + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 2318, + "end": 2332, + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 47 + }, + "identifierName": "aggregatedTags" + }, + "name": "aggregatedTags" + }, + "property": { + "type": "Identifier", + "start": 2333, + "end": 2342, + "loc": { + "start": { + "line": 81, + "column": 48 + }, + "end": { + "line": 81, + "column": 57 + }, + "identifierName": "totalSize" + }, + "name": "totalSize" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2347, + "end": 2779, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 94, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 2347, + "end": 2778, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 94, + "column": 4 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2347, + "end": 2377, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 2347, + "end": 2369, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2347, + "end": 2361, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 16 + }, + "identifierName": "aggregatedTags" + }, + "name": "aggregatedTags" + }, + "property": { + "type": "Identifier", + "start": 2362, + "end": 2369, + "loc": { + "start": { + "line": 82, + "column": 17 + }, + "end": { + "line": 82, + "column": 24 + }, + "identifierName": "entries" + }, + "name": "entries" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2370, + "end": 2377, + "loc": { + "start": { + "line": 82, + "column": 25 + }, + "end": { + "line": 82, + "column": 32 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2378, + "end": 2777, + "loc": { + "start": { + "line": 82, + "column": 33 + }, + "end": { + "line": 94, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2378, + "end": 2383, + "loc": { + "start": { + "line": 82, + "column": 33 + }, + "end": { + "line": 82, + "column": 38 + }, + "identifierName": "entry" + }, + "name": "entry" + } + ], + "body": { + "type": "BlockStatement", + "start": 2387, + "end": 2777, + "loc": { + "start": { + "line": 82, + "column": 42 + }, + "end": { + "line": 94, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2393, + "end": 2439, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 2393, + "end": 2438, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2393, + "end": 2416, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 2393, + "end": 2402, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 13 + }, + "identifierName": "resultBuf" + }, + "name": "resultBuf" + }, + "property": { + "type": "Identifier", + "start": 2403, + "end": 2416, + "loc": { + "start": { + "line": 83, + "column": 14 + }, + "end": { + "line": 83, + "column": 27 + }, + "identifierName": "writeUInt16BE" + }, + "name": "writeUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2417, + "end": 2429, + "loc": { + "start": { + "line": 83, + "column": 28 + }, + "end": { + "line": 83, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 2417, + "end": 2422, + "loc": { + "start": { + "line": 83, + "column": 28 + }, + "end": { + "line": 83, + "column": 33 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "property": { + "type": "Identifier", + "start": 2423, + "end": 2429, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 40 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2431, + "end": 2437, + "loc": { + "start": { + "line": 83, + "column": 42 + }, + "end": { + "line": 83, + "column": 48 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2444, + "end": 2456, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 16 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2444, + "end": 2455, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 15 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 2444, + "end": 2450, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 10 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "NumericLiteral", + "start": 2454, + "end": 2455, + "loc": { + "start": { + "line": 84, + "column": 14 + }, + "end": { + "line": 84, + "column": 15 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " 2 bytes for key length", + "start": 2457, + "end": 2482, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 42 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2488, + "end": 2565, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 81 + } + }, + "expression": { + "type": "CallExpression", + "start": 2488, + "end": 2564, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 80 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2488, + "end": 2508, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2488, + "end": 2501, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 17 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2502, + "end": 2508, + "loc": { + "start": { + "line": 86, + "column": 18 + }, + "end": { + "line": 86, + "column": 24 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2509, + "end": 2521, + "loc": { + "start": { + "line": 86, + "column": 25 + }, + "end": { + "line": 86, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 2509, + "end": 2514, + "loc": { + "start": { + "line": 86, + "column": 25 + }, + "end": { + "line": 86, + "column": 30 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "property": { + "type": "Identifier", + "start": 2515, + "end": 2521, + "loc": { + "start": { + "line": 86, + "column": 31 + }, + "end": { + "line": 86, + "column": 37 + }, + "identifierName": "keyBuf" + }, + "name": "keyBuf" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2523, + "end": 2532, + "loc": { + "start": { + "line": 86, + "column": 39 + }, + "end": { + "line": 86, + "column": 48 + }, + "identifierName": "resultBuf" + }, + "name": "resultBuf" + }, + { + "type": "Identifier", + "start": 2534, + "end": 2540, + "loc": { + "start": { + "line": 86, + "column": 50 + }, + "end": { + "line": 86, + "column": 56 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 2542, + "end": 2563, + "loc": { + "start": { + "line": 86, + "column": 58 + }, + "end": { + "line": 86, + "column": 79 + } + }, + "left": { + "type": "Identifier", + "start": 2542, + "end": 2548, + "loc": { + "start": { + "line": 86, + "column": 58 + }, + "end": { + "line": 86, + "column": 64 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 2551, + "end": 2563, + "loc": { + "start": { + "line": 86, + "column": 67 + }, + "end": { + "line": 86, + "column": 79 + } + }, + "object": { + "type": "Identifier", + "start": 2551, + "end": 2556, + "loc": { + "start": { + "line": 86, + "column": 67 + }, + "end": { + "line": 86, + "column": 72 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "property": { + "type": "Identifier", + "start": 2557, + "end": 2563, + "loc": { + "start": { + "line": 86, + "column": 73 + }, + "end": { + "line": 86, + "column": 79 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + }, + "computed": false + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " 2 bytes for key length", + "start": 2457, + "end": 2482, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 42 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2570, + "end": 2593, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2570, + "end": 2592, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 26 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 2570, + "end": 2576, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 10 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "MemberExpression", + "start": 2580, + "end": 2592, + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 2580, + "end": 2585, + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 19 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "property": { + "type": "Identifier", + "start": 2586, + "end": 2592, + "loc": { + "start": { + "line": 87, + "column": 20 + }, + "end": { + "line": 87, + "column": 26 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 2599, + "end": 2645, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 2599, + "end": 2644, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2599, + "end": 2622, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 2599, + "end": 2608, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 13 + }, + "identifierName": "resultBuf" + }, + "name": "resultBuf" + }, + "property": { + "type": "Identifier", + "start": 2609, + "end": 2622, + "loc": { + "start": { + "line": 89, + "column": 14 + }, + "end": { + "line": 89, + "column": 27 + }, + "identifierName": "writeUInt16BE" + }, + "name": "writeUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2623, + "end": 2635, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 2623, + "end": 2628, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 33 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "property": { + "type": "Identifier", + "start": 2629, + "end": 2635, + "loc": { + "start": { + "line": 89, + "column": 34 + }, + "end": { + "line": 89, + "column": 40 + }, + "identifierName": "valLen" + }, + "name": "valLen" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2637, + "end": 2643, + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 48 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2650, + "end": 2662, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 16 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2650, + "end": 2661, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 15 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 2650, + "end": 2656, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 10 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "NumericLiteral", + "start": 2660, + "end": 2661, + "loc": { + "start": { + "line": 90, + "column": 14 + }, + "end": { + "line": 90, + "column": 15 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + }, + { + "type": "ExpressionStatement", + "start": 2668, + "end": 2745, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 81 + } + }, + "expression": { + "type": "CallExpression", + "start": 2668, + "end": 2744, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 80 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2668, + "end": 2688, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2668, + "end": 2681, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 17 + }, + "identifierName": "BufferEncoder" + }, + "name": "BufferEncoder" + }, + "property": { + "type": "Identifier", + "start": 2682, + "end": 2688, + "loc": { + "start": { + "line": 92, + "column": 18 + }, + "end": { + "line": 92, + "column": 24 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2689, + "end": 2701, + "loc": { + "start": { + "line": 92, + "column": 25 + }, + "end": { + "line": 92, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 2689, + "end": 2694, + "loc": { + "start": { + "line": 92, + "column": 25 + }, + "end": { + "line": 92, + "column": 30 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "property": { + "type": "Identifier", + "start": 2695, + "end": 2701, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 37 + }, + "identifierName": "valBuf" + }, + "name": "valBuf" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2703, + "end": 2712, + "loc": { + "start": { + "line": 92, + "column": 39 + }, + "end": { + "line": 92, + "column": 48 + }, + "identifierName": "resultBuf" + }, + "name": "resultBuf" + }, + { + "type": "Identifier", + "start": 2714, + "end": 2720, + "loc": { + "start": { + "line": 92, + "column": 50 + }, + "end": { + "line": 92, + "column": 56 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 2722, + "end": 2743, + "loc": { + "start": { + "line": 92, + "column": 58 + }, + "end": { + "line": 92, + "column": 79 + } + }, + "left": { + "type": "Identifier", + "start": 2722, + "end": 2728, + "loc": { + "start": { + "line": 92, + "column": 58 + }, + "end": { + "line": 92, + "column": 64 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 2731, + "end": 2743, + "loc": { + "start": { + "line": 92, + "column": 67 + }, + "end": { + "line": 92, + "column": 79 + } + }, + "object": { + "type": "Identifier", + "start": 2731, + "end": 2736, + "loc": { + "start": { + "line": 92, + "column": 67 + }, + "end": { + "line": 92, + "column": 72 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "property": { + "type": "Identifier", + "start": 2737, + "end": 2743, + "loc": { + "start": { + "line": 92, + "column": 73 + }, + "end": { + "line": 92, + "column": 79 + }, + "identifierName": "valLen" + }, + "name": "valLen" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2750, + "end": 2773, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2750, + "end": 2772, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 26 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 2750, + "end": 2756, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 10 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "MemberExpression", + "start": 2760, + "end": 2772, + "loc": { + "start": { + "line": 93, + "column": 14 + }, + "end": { + "line": 93, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 2760, + "end": 2765, + "loc": { + "start": { + "line": 93, + "column": 14 + }, + "end": { + "line": 93, + "column": 19 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "property": { + "type": "Identifier", + "start": 2766, + "end": 2772, + "loc": { + "start": { + "line": 93, + "column": 20 + }, + "end": { + "line": 93, + "column": 26 + }, + "identifierName": "valLen" + }, + "name": "valLen" + }, + "computed": false + } + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 2783, + "end": 2800, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 19 + } + }, + "argument": { + "type": "Identifier", + "start": 2790, + "end": 2799, + "loc": { + "start": { + "line": 96, + "column": 9 + }, + "end": { + "line": 96, + "column": 18 + }, + "identifierName": "resultBuf" + }, + "name": "resultBuf" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Object} map -\n * @returns {Buffer}\n ", + "start": 1419, + "end": 1473, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 54, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {!Buffer} buffer - \n * @returns {Object}\n ", + "start": 2804, + "end": 2862, + "loc": { + "start": { + "line": 99, + "column": 0 + }, + "end": { + "line": 102, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {?Object} map -\n * @returns {Buffer}\n ", + "start": 1419, + "end": 1473, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 54, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {!Buffer} buffer - \n * @returns {Object}\n ", + "start": 2804, + "end": 2862, + "loc": { + "start": { + "line": 99, + "column": 0 + }, + "end": { + "line": 102, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 2863, + "end": 3334, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 124, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 2870, + "end": 3334, + "loc": { + "start": { + "line": 103, + "column": 7 + }, + "end": { + "line": 124, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2879, + "end": 2890, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 27 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2891, + "end": 2897, + "loc": { + "start": { + "line": 103, + "column": 28 + }, + "end": { + "line": 103, + "column": 34 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ], + "body": { + "type": "BlockStatement", + "start": 2899, + "end": 3334, + "loc": { + "start": { + "line": 103, + "column": 36 + }, + "end": { + "line": 124, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2903, + "end": 2921, + "loc": { + "start": { + "line": 104, + "column": 2 + }, + "end": { + "line": 104, + "column": 20 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2909, + "end": 2920, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 2909, + "end": 2915, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 14 + }, + "identifierName": "result" + }, + "name": "result" + }, + "init": { + "type": "ObjectExpression", + "start": 2918, + "end": 2920, + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 19 + } + }, + "properties": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2925, + "end": 2940, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 17 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2929, + "end": 2939, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 16 + } + }, + "id": { + "type": "Identifier", + "start": 2929, + "end": 2935, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "init": { + "type": "NumericLiteral", + "start": 2938, + "end": 2939, + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 106, + "column": 16 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "WhileStatement", + "start": 2943, + "end": 3314, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 121, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2950, + "end": 2972, + "loc": { + "start": { + "line": 107, + "column": 9 + }, + "end": { + "line": 107, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 2950, + "end": 2956, + "loc": { + "start": { + "line": 107, + "column": 9 + }, + "end": { + "line": 107, + "column": 15 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 2959, + "end": 2972, + "loc": { + "start": { + "line": 107, + "column": 18 + }, + "end": { + "line": 107, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 2959, + "end": 2965, + "loc": { + "start": { + "line": 107, + "column": 18 + }, + "end": { + "line": 107, + "column": 24 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 2966, + "end": 2972, + "loc": { + "start": { + "line": 107, + "column": 25 + }, + "end": { + "line": 107, + "column": 31 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "body": { + "type": "BlockStatement", + "start": 2974, + "end": 3314, + "loc": { + "start": { + "line": 107, + "column": 33 + }, + "end": { + "line": 121, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2980, + "end": 3021, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2984, + "end": 3020, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 44 + } + }, + "id": { + "type": "Identifier", + "start": 2984, + "end": 2990, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 14 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + }, + "init": { + "type": "CallExpression", + "start": 2993, + "end": 3020, + "loc": { + "start": { + "line": 108, + "column": 17 + }, + "end": { + "line": 108, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2993, + "end": 3012, + "loc": { + "start": { + "line": 108, + "column": 17 + }, + "end": { + "line": 108, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 2993, + "end": 2999, + "loc": { + "start": { + "line": 108, + "column": 17 + }, + "end": { + "line": 108, + "column": 23 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 3000, + "end": 3012, + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 36 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3013, + "end": 3019, + "loc": { + "start": { + "line": 108, + "column": 37 + }, + "end": { + "line": 108, + "column": 43 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 3026, + "end": 3038, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 16 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3026, + "end": 3037, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 15 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 3026, + "end": 3032, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 10 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "NumericLiteral", + "start": 3036, + "end": 3037, + "loc": { + "start": { + "line": 109, + "column": 14 + }, + "end": { + "line": 109, + "column": 15 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + }, + { + "type": "VariableDeclaration", + "start": 3044, + "end": 3106, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 66 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3048, + "end": 3105, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 65 + } + }, + "id": { + "type": "Identifier", + "start": 3048, + "end": 3051, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 11 + }, + "identifierName": "key" + }, + "name": "key" + }, + "init": { + "type": "CallExpression", + "start": 3054, + "end": 3105, + "loc": { + "start": { + "line": 111, + "column": 14 + }, + "end": { + "line": 111, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3054, + "end": 3072, + "loc": { + "start": { + "line": 111, + "column": 14 + }, + "end": { + "line": 111, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 3054, + "end": 3065, + "loc": { + "start": { + "line": 111, + "column": 14 + }, + "end": { + "line": 111, + "column": 25 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 3066, + "end": 3072, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 32 + }, + "identifierName": "decode" + }, + "name": "decode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3073, + "end": 3079, + "loc": { + "start": { + "line": 111, + "column": 33 + }, + "end": { + "line": 111, + "column": 39 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 3081, + "end": 3087, + "loc": { + "start": { + "line": 111, + "column": 41 + }, + "end": { + "line": 111, + "column": 47 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 3089, + "end": 3104, + "loc": { + "start": { + "line": 111, + "column": 49 + }, + "end": { + "line": 111, + "column": 64 + } + }, + "left": { + "type": "Identifier", + "start": 3089, + "end": 3095, + "loc": { + "start": { + "line": 111, + "column": 49 + }, + "end": { + "line": 111, + "column": 55 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 3098, + "end": 3104, + "loc": { + "start": { + "line": 111, + "column": 58 + }, + "end": { + "line": 111, + "column": 64 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + } + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 3111, + "end": 3128, + "loc": { + "start": { + "line": 112, + "column": 4 + }, + "end": { + "line": 112, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3111, + "end": 3127, + "loc": { + "start": { + "line": 112, + "column": 4 + }, + "end": { + "line": 112, + "column": 20 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 3111, + "end": 3117, + "loc": { + "start": { + "line": 112, + "column": 4 + }, + "end": { + "line": 112, + "column": 10 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "Identifier", + "start": 3121, + "end": 3127, + "loc": { + "start": { + "line": 112, + "column": 14 + }, + "end": { + "line": 112, + "column": 20 + }, + "identifierName": "keyLen" + }, + "name": "keyLen" + } + } + }, + { + "type": "VariableDeclaration", + "start": 3134, + "end": 3175, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3138, + "end": 3174, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 44 + } + }, + "id": { + "type": "Identifier", + "start": 3138, + "end": 3144, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 14 + }, + "identifierName": "valLen" + }, + "name": "valLen" + }, + "init": { + "type": "CallExpression", + "start": 3147, + "end": 3174, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3147, + "end": 3166, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 3147, + "end": 3153, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 23 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "property": { + "type": "Identifier", + "start": 3154, + "end": 3166, + "loc": { + "start": { + "line": 114, + "column": 24 + }, + "end": { + "line": 114, + "column": 36 + }, + "identifierName": "readUInt16BE" + }, + "name": "readUInt16BE" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3167, + "end": 3173, + "loc": { + "start": { + "line": 114, + "column": 37 + }, + "end": { + "line": 114, + "column": 43 + }, + "identifierName": "offset" + }, + "name": "offset" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 3180, + "end": 3192, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 16 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3180, + "end": 3191, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 15 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 3180, + "end": 3186, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 10 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "NumericLiteral", + "start": 3190, + "end": 3191, + "loc": { + "start": { + "line": 115, + "column": 14 + }, + "end": { + "line": 115, + "column": 15 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + }, + { + "type": "VariableDeclaration", + "start": 3198, + "end": 3262, + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 117, + "column": 68 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3202, + "end": 3261, + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 67 + } + }, + "id": { + "type": "Identifier", + "start": 3202, + "end": 3207, + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 13 + }, + "identifierName": "value" + }, + "name": "value" + }, + "init": { + "type": "CallExpression", + "start": 3210, + "end": 3261, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 67 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3210, + "end": 3228, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 3210, + "end": 3221, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 27 + }, + "identifierName": "UTF8Encoder" + }, + "name": "UTF8Encoder" + }, + "property": { + "type": "Identifier", + "start": 3222, + "end": 3228, + "loc": { + "start": { + "line": 117, + "column": 28 + }, + "end": { + "line": 117, + "column": 34 + }, + "identifierName": "decode" + }, + "name": "decode" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3229, + "end": 3235, + "loc": { + "start": { + "line": 117, + "column": 35 + }, + "end": { + "line": 117, + "column": 41 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + { + "type": "Identifier", + "start": 3237, + "end": 3243, + "loc": { + "start": { + "line": 117, + "column": 43 + }, + "end": { + "line": 117, + "column": 49 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + { + "type": "BinaryExpression", + "start": 3245, + "end": 3260, + "loc": { + "start": { + "line": 117, + "column": 51 + }, + "end": { + "line": 117, + "column": 66 + } + }, + "left": { + "type": "Identifier", + "start": 3245, + "end": 3251, + "loc": { + "start": { + "line": 117, + "column": 51 + }, + "end": { + "line": 117, + "column": 57 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 3254, + "end": 3260, + "loc": { + "start": { + "line": 117, + "column": 60 + }, + "end": { + "line": 117, + "column": 66 + }, + "identifierName": "valLen" + }, + "name": "valLen" + } + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 3267, + "end": 3284, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3267, + "end": 3283, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 20 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 3267, + "end": 3273, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 10 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "Identifier", + "start": 3277, + "end": 3283, + "loc": { + "start": { + "line": 118, + "column": 14 + }, + "end": { + "line": 118, + "column": 20 + }, + "identifierName": "valLen" + }, + "name": "valLen" + } + } + }, + { + "type": "ExpressionStatement", + "start": 3290, + "end": 3310, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3290, + "end": 3309, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3290, + "end": 3301, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 3290, + "end": 3296, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 10 + }, + "identifierName": "result" + }, + "name": "result" + }, + "property": { + "type": "Identifier", + "start": 3297, + "end": 3300, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 14 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 3304, + "end": 3309, + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 23 + }, + "identifierName": "value" + }, + "name": "value" + } + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 3318, + "end": 3332, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 123, + "column": 16 + } + }, + "argument": { + "type": "Identifier", + "start": 3325, + "end": 3331, + "loc": { + "start": { + "line": 123, + "column": 9 + }, + "end": { + "line": 123, + "column": 15 + }, + "identifierName": "result" + }, + "name": "result" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {!Buffer} buffer - \n * @returns {Object}\n ", + "start": 2804, + "end": 2862, + "loc": { + "start": { + "line": 99, + "column": 0 + }, + "end": { + "line": 102, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a {@link Flowable}.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 3336, + "end": 4300, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 146, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {!Buffer} buffer - \n * @returns {Object}\n ", + "start": 2804, + "end": 2862, + "loc": { + "start": { + "line": 99, + "column": 0 + }, + "end": { + "line": 102, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a {@link Flowable}.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 3336, + "end": 4300, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 146, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 4301, + "end": 4643, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 159, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 4308, + "end": 4643, + "loc": { + "start": { + "line": 147, + "column": 7 + }, + "end": { + "line": 159, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 4317, + "end": 4322, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, + "column": 21 + }, + "identifierName": "trace" + }, + "name": "trace", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4323, + "end": 4329, + "loc": { + "start": { + "line": 147, + "column": 22 + }, + "end": { + "line": 147, + "column": 28 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 4331, + "end": 4335, + "loc": { + "start": { + "line": 147, + "column": 30 + }, + "end": { + "line": 147, + "column": 34 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "RestElement", + "start": 4337, + "end": 4344, + "loc": { + "start": { + "line": 147, + "column": 36 + }, + "end": { + "line": 147, + "column": 43 + } + }, + "argument": { + "type": "Identifier", + "start": 4340, + "end": 4344, + "loc": { + "start": { + "line": 147, + "column": 39 + }, + "end": { + "line": 147, + "column": 43 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 4346, + "end": 4643, + "loc": { + "start": { + "line": 147, + "column": 45 + }, + "end": { + "line": 159, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 4350, + "end": 4641, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 158, + "column": 3 + } + }, + "test": { + "type": "LogicalExpression", + "start": 4354, + "end": 4368, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 20 + } + }, + "left": { + "type": "Identifier", + "start": 4354, + "end": 4360, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 12 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 4364, + "end": 4368, + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 20 + }, + "identifierName": "name" + }, + "name": "name" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4370, + "end": 4588, + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 156, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4376, + "end": 4584, + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 155, + "column": 6 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 4383, + "end": 4583, + "loc": { + "start": { + "line": 149, + "column": 11 + }, + "end": { + "line": 155, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4383, + "end": 4391, + "loc": { + "start": { + "line": 149, + "column": 11 + }, + "end": { + "line": 149, + "column": 19 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ], + "body": { + "type": "BlockStatement", + "start": 4395, + "end": 4583, + "loc": { + "start": { + "line": 149, + "column": 23 + }, + "end": { + "line": 155, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4403, + "end": 4577, + "loc": { + "start": { + "line": 150, + "column": 6 + }, + "end": { + "line": 154, + "column": 8 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 4410, + "end": 4576, + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 154, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4410, + "end": 4418, + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 150, + "column": 21 + }, + "identifierName": "flowable" + }, + "name": "flowable" + } + ], + "body": { + "type": "BlockStatement", + "start": 4422, + "end": 4576, + "loc": { + "start": { + "line": 150, + "column": 25 + }, + "end": { + "line": 154, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4432, + "end": 4568, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 153, + "column": 11 + } + }, + "argument": { + "type": "CallExpression", + "start": 4439, + "end": 4567, + "loc": { + "start": { + "line": 151, + "column": 15 + }, + "end": { + "line": 153, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4439, + "end": 4452, + "loc": { + "start": { + "line": 151, + "column": 15 + }, + "end": { + "line": 151, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 4439, + "end": 4447, + "loc": { + "start": { + "line": 151, + "column": 15 + }, + "end": { + "line": 151, + "column": 23 + }, + "identifierName": "flowable" + }, + "name": "flowable" + }, + "property": { + "type": "Identifier", + "start": 4448, + "end": 4452, + "loc": { + "start": { + "line": 151, + "column": 24 + }, + "end": { + "line": 151, + "column": 28 + }, + "identifierName": "lift" + }, + "name": "lift" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4453, + "end": 4566, + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 153, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4453, + "end": 4463, + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 151, + "column": 39 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "BlockStatement", + "start": 4467, + "end": 4566, + "loc": { + "start": { + "line": 151, + "column": 43 + }, + "end": { + "line": 153, + "column": 9 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4479, + "end": 4556, + "loc": { + "start": { + "line": 152, + "column": 10 + }, + "end": { + "line": 152, + "column": 87 + } + }, + "argument": { + "type": "NewExpression", + "start": 4486, + "end": 4555, + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 86 + } + }, + "callee": { + "type": "Identifier", + "start": 4490, + "end": 4504, + "loc": { + "start": { + "line": 152, + "column": 21 + }, + "end": { + "line": 152, + "column": 35 + }, + "identifierName": "SpanSubscriber" + }, + "name": "SpanSubscriber" + }, + "arguments": [ + { + "type": "Identifier", + "start": 4505, + "end": 4515, + "loc": { + "start": { + "line": 152, + "column": 36 + }, + "end": { + "line": 152, + "column": 46 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + { + "type": "Identifier", + "start": 4517, + "end": 4523, + "loc": { + "start": { + "line": 152, + "column": 48 + }, + "end": { + "line": 152, + "column": 54 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 4525, + "end": 4529, + "loc": { + "start": { + "line": 152, + "column": 56 + }, + "end": { + "line": 152, + "column": 60 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "NullLiteral", + "start": 4531, + "end": 4535, + "loc": { + "start": { + "line": 152, + "column": 62 + }, + "end": { + "line": 152, + "column": 66 + } + } + }, + { + "type": "Identifier", + "start": 4537, + "end": 4545, + "loc": { + "start": { + "line": 152, + "column": 68 + }, + "end": { + "line": 152, + "column": 76 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + { + "type": "SpreadElement", + "start": 4547, + "end": 4554, + "loc": { + "start": { + "line": 152, + "column": 78 + }, + "end": { + "line": 152, + "column": 85 + } + }, + "argument": { + "type": "Identifier", + "start": 4550, + "end": 4554, + "loc": { + "start": { + "line": 152, + "column": 81 + }, + "end": { + "line": 152, + "column": 85 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 4594, + "end": 4641, + "loc": { + "start": { + "line": 156, + "column": 9 + }, + "end": { + "line": 158, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4600, + "end": 4637, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 41 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 4607, + "end": 4636, + "loc": { + "start": { + "line": 157, + "column": 11 + }, + "end": { + "line": 157, + "column": 40 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4607, + "end": 4610, + "loc": { + "start": { + "line": 157, + "column": 11 + }, + "end": { + "line": 157, + "column": 14 + }, + "identifierName": "map" + }, + "name": "map" + } + ], + "body": { + "type": "ArrowFunctionExpression", + "start": 4614, + "end": 4636, + "loc": { + "start": { + "line": 157, + "column": 18 + }, + "end": { + "line": 157, + "column": 40 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4614, + "end": 4623, + "loc": { + "start": { + "line": 157, + "column": 18 + }, + "end": { + "line": 157, + "column": 27 + }, + "identifierName": "publisher" + }, + "name": "publisher" + } + ], + "body": { + "type": "Identifier", + "start": 4627, + "end": 4636, + "loc": { + "start": { + "line": 157, + "column": 31 + }, + "end": { + "line": 157, + "column": 40 + }, + "identifierName": "publisher" + }, + "name": "publisher" + } + } + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a {@link Flowable}.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 3336, + "end": 4300, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 146, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link trace}, except meant to be used on the server side where a\n * {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 4645, + "end": 5538, + "loc": { + "start": { + "line": 161, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a {@link Flowable}.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 3336, + "end": 4300, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 146, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link trace}, except meant to be used on the server side where a\n * {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 4645, + "end": 5538, + "loc": { + "start": { + "line": 161, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 5539, + "end": 5890, + "loc": { + "start": { + "line": 176, + "column": 0 + }, + "end": { + "line": 188, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 5546, + "end": 5890, + "loc": { + "start": { + "line": 176, + "column": 7 + }, + "end": { + "line": 188, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 5555, + "end": 5567, + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 28 + }, + "identifierName": "traceAsChild" + }, + "name": "traceAsChild", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5568, + "end": 5574, + "loc": { + "start": { + "line": 176, + "column": 29 + }, + "end": { + "line": 176, + "column": 35 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 5576, + "end": 5580, + "loc": { + "start": { + "line": 176, + "column": 37 + }, + "end": { + "line": 176, + "column": 41 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "RestElement", + "start": 5582, + "end": 5589, + "loc": { + "start": { + "line": 176, + "column": 43 + }, + "end": { + "line": 176, + "column": 50 + } + }, + "argument": { + "type": "Identifier", + "start": 5585, + "end": 5589, + "loc": { + "start": { + "line": 176, + "column": 46 + }, + "end": { + "line": 176, + "column": 50 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 5591, + "end": 5890, + "loc": { + "start": { + "line": 176, + "column": 52 + }, + "end": { + "line": 188, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 5595, + "end": 5888, + "loc": { + "start": { + "line": 177, + "column": 2 + }, + "end": { + "line": 187, + "column": 3 + } + }, + "test": { + "type": "LogicalExpression", + "start": 5599, + "end": 5613, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 177, + "column": 20 + } + }, + "left": { + "type": "Identifier", + "start": 5599, + "end": 5605, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 177, + "column": 12 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 5609, + "end": 5613, + "loc": { + "start": { + "line": 177, + "column": 16 + }, + "end": { + "line": 177, + "column": 20 + }, + "identifierName": "name" + }, + "name": "name" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 5615, + "end": 5831, + "loc": { + "start": { + "line": 177, + "column": 22 + }, + "end": { + "line": 185, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5621, + "end": 5827, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 184, + "column": 6 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 5628, + "end": 5826, + "loc": { + "start": { + "line": 178, + "column": 11 + }, + "end": { + "line": 184, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5628, + "end": 5635, + "loc": { + "start": { + "line": 178, + "column": 11 + }, + "end": { + "line": 178, + "column": 18 + }, + "identifierName": "context" + }, + "name": "context" + } + ], + "body": { + "type": "BlockStatement", + "start": 5639, + "end": 5826, + "loc": { + "start": { + "line": 178, + "column": 22 + }, + "end": { + "line": 184, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5647, + "end": 5820, + "loc": { + "start": { + "line": 179, + "column": 6 + }, + "end": { + "line": 183, + "column": 8 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 5654, + "end": 5819, + "loc": { + "start": { + "line": 179, + "column": 13 + }, + "end": { + "line": 183, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5654, + "end": 5662, + "loc": { + "start": { + "line": 179, + "column": 13 + }, + "end": { + "line": 179, + "column": 21 + }, + "identifierName": "flowable" + }, + "name": "flowable" + } + ], + "body": { + "type": "BlockStatement", + "start": 5666, + "end": 5819, + "loc": { + "start": { + "line": 179, + "column": 25 + }, + "end": { + "line": 183, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5676, + "end": 5811, + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 182, + "column": 11 + } + }, + "argument": { + "type": "CallExpression", + "start": 5683, + "end": 5810, + "loc": { + "start": { + "line": 180, + "column": 15 + }, + "end": { + "line": 182, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5683, + "end": 5696, + "loc": { + "start": { + "line": 180, + "column": 15 + }, + "end": { + "line": 180, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 5683, + "end": 5691, + "loc": { + "start": { + "line": 180, + "column": 15 + }, + "end": { + "line": 180, + "column": 23 + }, + "identifierName": "flowable" + }, + "name": "flowable" + }, + "property": { + "type": "Identifier", + "start": 5692, + "end": 5696, + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 28 + }, + "identifierName": "lift" + }, + "name": "lift" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 5697, + "end": 5809, + "loc": { + "start": { + "line": 180, + "column": 29 + }, + "end": { + "line": 182, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5697, + "end": 5707, + "loc": { + "start": { + "line": 180, + "column": 29 + }, + "end": { + "line": 180, + "column": 39 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + } + ], + "body": { + "type": "BlockStatement", + "start": 5711, + "end": 5809, + "loc": { + "start": { + "line": 180, + "column": 43 + }, + "end": { + "line": 182, + "column": 9 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5723, + "end": 5799, + "loc": { + "start": { + "line": 181, + "column": 10 + }, + "end": { + "line": 181, + "column": 86 + } + }, + "argument": { + "type": "NewExpression", + "start": 5730, + "end": 5798, + "loc": { + "start": { + "line": 181, + "column": 17 + }, + "end": { + "line": 181, + "column": 85 + } + }, + "callee": { + "type": "Identifier", + "start": 5734, + "end": 5748, + "loc": { + "start": { + "line": 181, + "column": 21 + }, + "end": { + "line": 181, + "column": 35 + }, + "identifierName": "SpanSubscriber" + }, + "name": "SpanSubscriber" + }, + "arguments": [ + { + "type": "Identifier", + "start": 5749, + "end": 5759, + "loc": { + "start": { + "line": 181, + "column": 36 + }, + "end": { + "line": 181, + "column": 46 + }, + "identifierName": "subscriber" + }, + "name": "subscriber" + }, + { + "type": "Identifier", + "start": 5761, + "end": 5767, + "loc": { + "start": { + "line": 181, + "column": 48 + }, + "end": { + "line": 181, + "column": 54 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 5769, + "end": 5773, + "loc": { + "start": { + "line": 181, + "column": 56 + }, + "end": { + "line": 181, + "column": 60 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 5775, + "end": 5782, + "loc": { + "start": { + "line": 181, + "column": 62 + }, + "end": { + "line": 181, + "column": 69 + }, + "identifierName": "context" + }, + "name": "context" + }, + { + "type": "NullLiteral", + "start": 5784, + "end": 5788, + "loc": { + "start": { + "line": 181, + "column": 71 + }, + "end": { + "line": 181, + "column": 75 + } + } + }, + { + "type": "SpreadElement", + "start": 5790, + "end": 5797, + "loc": { + "start": { + "line": 181, + "column": 77 + }, + "end": { + "line": 181, + "column": 84 + } + }, + "argument": { + "type": "Identifier", + "start": 5793, + "end": 5797, + "loc": { + "start": { + "line": 181, + "column": 80 + }, + "end": { + "line": 181, + "column": 84 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 5837, + "end": 5888, + "loc": { + "start": { + "line": 185, + "column": 9 + }, + "end": { + "line": 187, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5843, + "end": 5884, + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 186, + "column": 45 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 5850, + "end": 5883, + "loc": { + "start": { + "line": 186, + "column": 11 + }, + "end": { + "line": 186, + "column": 44 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5850, + "end": 5857, + "loc": { + "start": { + "line": 186, + "column": 11 + }, + "end": { + "line": 186, + "column": 18 + }, + "identifierName": "context" + }, + "name": "context" + } + ], + "body": { + "type": "ArrowFunctionExpression", + "start": 5861, + "end": 5883, + "loc": { + "start": { + "line": 186, + "column": 22 + }, + "end": { + "line": 186, + "column": 44 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5861, + "end": 5870, + "loc": { + "start": { + "line": 186, + "column": 22 + }, + "end": { + "line": 186, + "column": 31 + }, + "identifierName": "publisher" + }, + "name": "publisher" + } + ], + "body": { + "type": "Identifier", + "start": 5874, + "end": 5883, + "loc": { + "start": { + "line": 186, + "column": 35 + }, + "end": { + "line": 186, + "column": 44 + }, + "identifierName": "publisher" + }, + "name": "publisher" + } + } + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link trace}, except meant to be used on the server side where a\n * {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 4645, + "end": 5538, + "loc": { + "start": { + "line": 161, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a Flowable.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 5892, + "end": 6844, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 210, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link trace}, except meant to be used on the server side where a\n * {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 4645, + "end": 5538, + "loc": { + "start": { + "line": 161, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a Flowable.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 5892, + "end": 6844, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 210, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 6845, + "end": 7120, + "loc": { + "start": { + "line": 211, + "column": 0 + }, + "end": { + "line": 221, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 6852, + "end": 7120, + "loc": { + "start": { + "line": 211, + "column": 7 + }, + "end": { + "line": 221, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 6861, + "end": 6872, + "loc": { + "start": { + "line": 211, + "column": 16 + }, + "end": { + "line": 211, + "column": 27 + }, + "identifierName": "traceSingle" + }, + "name": "traceSingle", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6873, + "end": 6879, + "loc": { + "start": { + "line": 211, + "column": 28 + }, + "end": { + "line": 211, + "column": 34 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 6881, + "end": 6885, + "loc": { + "start": { + "line": 211, + "column": 36 + }, + "end": { + "line": 211, + "column": 40 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "RestElement", + "start": 6887, + "end": 6894, + "loc": { + "start": { + "line": 211, + "column": 42 + }, + "end": { + "line": 211, + "column": 49 + } + }, + "argument": { + "type": "Identifier", + "start": 6890, + "end": 6894, + "loc": { + "start": { + "line": 211, + "column": 45 + }, + "end": { + "line": 211, + "column": 49 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 6896, + "end": 7120, + "loc": { + "start": { + "line": 211, + "column": 51 + }, + "end": { + "line": 221, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 6900, + "end": 7118, + "loc": { + "start": { + "line": 212, + "column": 2 + }, + "end": { + "line": 220, + "column": 3 + } + }, + "test": { + "type": "LogicalExpression", + "start": 6904, + "end": 6918, + "loc": { + "start": { + "line": 212, + "column": 6 + }, + "end": { + "line": 212, + "column": 20 + } + }, + "left": { + "type": "Identifier", + "start": 6904, + "end": 6910, + "loc": { + "start": { + "line": 212, + "column": 6 + }, + "end": { + "line": 212, + "column": 12 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 6914, + "end": 6918, + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 20 + }, + "identifierName": "name" + }, + "name": "name" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 6920, + "end": 7071, + "loc": { + "start": { + "line": 212, + "column": 22 + }, + "end": { + "line": 218, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6926, + "end": 7067, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 217, + "column": 6 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 6933, + "end": 7066, + "loc": { + "start": { + "line": 213, + "column": 11 + }, + "end": { + "line": 217, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6933, + "end": 6941, + "loc": { + "start": { + "line": 213, + "column": 11 + }, + "end": { + "line": 213, + "column": 19 + }, + "identifierName": "metadata" + }, + "name": "metadata" + } + ], + "body": { + "type": "BlockStatement", + "start": 6945, + "end": 7066, + "loc": { + "start": { + "line": 213, + "column": 23 + }, + "end": { + "line": 217, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6953, + "end": 7060, + "loc": { + "start": { + "line": 214, + "column": 6 + }, + "end": { + "line": 216, + "column": 8 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 6960, + "end": 7059, + "loc": { + "start": { + "line": 214, + "column": 13 + }, + "end": { + "line": 216, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6960, + "end": 6966, + "loc": { + "start": { + "line": 214, + "column": 13 + }, + "end": { + "line": 214, + "column": 19 + }, + "identifierName": "single" + }, + "name": "single" + } + ], + "body": { + "type": "BlockStatement", + "start": 6970, + "end": 7059, + "loc": { + "start": { + "line": 214, + "column": 23 + }, + "end": { + "line": 216, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6980, + "end": 7051, + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 79 + } + }, + "argument": { + "type": "CallExpression", + "start": 6987, + "end": 7050, + "loc": { + "start": { + "line": 215, + "column": 15 + }, + "end": { + "line": 215, + "column": 78 + } + }, + "callee": { + "type": "Identifier", + "start": 6987, + "end": 7003, + "loc": { + "start": { + "line": 215, + "column": 15 + }, + "end": { + "line": 215, + "column": 31 + }, + "identifierName": "createSpanSingle" + }, + "name": "createSpanSingle" + }, + "arguments": [ + { + "type": "Identifier", + "start": 7004, + "end": 7010, + "loc": { + "start": { + "line": 215, + "column": 32 + }, + "end": { + "line": 215, + "column": 38 + }, + "identifierName": "single" + }, + "name": "single" + }, + { + "type": "Identifier", + "start": 7012, + "end": 7018, + "loc": { + "start": { + "line": 215, + "column": 40 + }, + "end": { + "line": 215, + "column": 46 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 7020, + "end": 7024, + "loc": { + "start": { + "line": 215, + "column": 48 + }, + "end": { + "line": 215, + "column": 52 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "NullLiteral", + "start": 7026, + "end": 7030, + "loc": { + "start": { + "line": 215, + "column": 54 + }, + "end": { + "line": 215, + "column": 58 + } + } + }, + { + "type": "Identifier", + "start": 7032, + "end": 7040, + "loc": { + "start": { + "line": 215, + "column": 60 + }, + "end": { + "line": 215, + "column": 68 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + { + "type": "SpreadElement", + "start": 7042, + "end": 7049, + "loc": { + "start": { + "line": 215, + "column": 70 + }, + "end": { + "line": 215, + "column": 77 + } + }, + "argument": { + "type": "Identifier", + "start": 7045, + "end": 7049, + "loc": { + "start": { + "line": 215, + "column": 73 + }, + "end": { + "line": 215, + "column": 77 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 7077, + "end": 7118, + "loc": { + "start": { + "line": 218, + "column": 9 + }, + "end": { + "line": 220, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 7083, + "end": 7114, + "loc": { + "start": { + "line": 219, + "column": 4 + }, + "end": { + "line": 219, + "column": 35 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 7090, + "end": 7113, + "loc": { + "start": { + "line": 219, + "column": 11 + }, + "end": { + "line": 219, + "column": 34 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7090, + "end": 7093, + "loc": { + "start": { + "line": 219, + "column": 11 + }, + "end": { + "line": 219, + "column": 14 + }, + "identifierName": "map" + }, + "name": "map" + } + ], + "body": { + "type": "ArrowFunctionExpression", + "start": 7097, + "end": 7113, + "loc": { + "start": { + "line": 219, + "column": 18 + }, + "end": { + "line": 219, + "column": 34 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7097, + "end": 7103, + "loc": { + "start": { + "line": 219, + "column": 18 + }, + "end": { + "line": 219, + "column": 24 + }, + "identifierName": "single" + }, + "name": "single" + } + ], + "body": { + "type": "Identifier", + "start": 7107, + "end": 7113, + "loc": { + "start": { + "line": 219, + "column": 28 + }, + "end": { + "line": 219, + "column": 34 + }, + "identifierName": "single" + }, + "name": "single" + } + } + } + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a Flowable.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 5892, + "end": 6844, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 210, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link traceSingle}, except meant to be used on the server side\n * where a {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 7122, + "end": 8017, + "loc": { + "start": { + "line": 223, + "column": 0 + }, + "end": { + "line": 237, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a Flowable.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 5892, + "end": 6844, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 210, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link traceSingle}, except meant to be used on the server side\n * where a {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 7122, + "end": 8017, + "loc": { + "start": { + "line": 223, + "column": 0 + }, + "end": { + "line": 237, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 8018, + "end": 8302, + "loc": { + "start": { + "line": 238, + "column": 0 + }, + "end": { + "line": 248, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 8025, + "end": 8302, + "loc": { + "start": { + "line": 238, + "column": 7 + }, + "end": { + "line": 248, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 8034, + "end": 8052, + "loc": { + "start": { + "line": 238, + "column": 16 + }, + "end": { + "line": 238, + "column": 34 + }, + "identifierName": "traceSingleAsChild" + }, + "name": "traceSingleAsChild", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8053, + "end": 8059, + "loc": { + "start": { + "line": 238, + "column": 35 + }, + "end": { + "line": 238, + "column": 41 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 8061, + "end": 8065, + "loc": { + "start": { + "line": 238, + "column": 43 + }, + "end": { + "line": 238, + "column": 47 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "RestElement", + "start": 8067, + "end": 8074, + "loc": { + "start": { + "line": 238, + "column": 49 + }, + "end": { + "line": 238, + "column": 56 + } + }, + "argument": { + "type": "Identifier", + "start": 8070, + "end": 8074, + "loc": { + "start": { + "line": 238, + "column": 52 + }, + "end": { + "line": 238, + "column": 56 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 8076, + "end": 8302, + "loc": { + "start": { + "line": 238, + "column": 58 + }, + "end": { + "line": 248, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 8080, + "end": 8300, + "loc": { + "start": { + "line": 239, + "column": 2 + }, + "end": { + "line": 247, + "column": 3 + } + }, + "test": { + "type": "LogicalExpression", + "start": 8084, + "end": 8098, + "loc": { + "start": { + "line": 239, + "column": 6 + }, + "end": { + "line": 239, + "column": 20 + } + }, + "left": { + "type": "Identifier", + "start": 8084, + "end": 8090, + "loc": { + "start": { + "line": 239, + "column": 6 + }, + "end": { + "line": 239, + "column": 12 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 8094, + "end": 8098, + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 20 + }, + "identifierName": "name" + }, + "name": "name" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8100, + "end": 8249, + "loc": { + "start": { + "line": 239, + "column": 22 + }, + "end": { + "line": 245, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 8106, + "end": 8245, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 244, + "column": 6 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 8113, + "end": 8244, + "loc": { + "start": { + "line": 240, + "column": 11 + }, + "end": { + "line": 244, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8113, + "end": 8120, + "loc": { + "start": { + "line": 240, + "column": 11 + }, + "end": { + "line": 240, + "column": 18 + }, + "identifierName": "context" + }, + "name": "context" + } + ], + "body": { + "type": "BlockStatement", + "start": 8124, + "end": 8244, + "loc": { + "start": { + "line": 240, + "column": 22 + }, + "end": { + "line": 244, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 8132, + "end": 8238, + "loc": { + "start": { + "line": 241, + "column": 6 + }, + "end": { + "line": 243, + "column": 8 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 8139, + "end": 8237, + "loc": { + "start": { + "line": 241, + "column": 13 + }, + "end": { + "line": 243, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8139, + "end": 8145, + "loc": { + "start": { + "line": 241, + "column": 13 + }, + "end": { + "line": 241, + "column": 19 + }, + "identifierName": "single" + }, + "name": "single" + } + ], + "body": { + "type": "BlockStatement", + "start": 8149, + "end": 8237, + "loc": { + "start": { + "line": 241, + "column": 23 + }, + "end": { + "line": 243, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 8159, + "end": 8229, + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 78 + } + }, + "argument": { + "type": "CallExpression", + "start": 8166, + "end": 8228, + "loc": { + "start": { + "line": 242, + "column": 15 + }, + "end": { + "line": 242, + "column": 77 + } + }, + "callee": { + "type": "Identifier", + "start": 8166, + "end": 8182, + "loc": { + "start": { + "line": 242, + "column": 15 + }, + "end": { + "line": 242, + "column": 31 + }, + "identifierName": "createSpanSingle" + }, + "name": "createSpanSingle" + }, + "arguments": [ + { + "type": "Identifier", + "start": 8183, + "end": 8189, + "loc": { + "start": { + "line": 242, + "column": 32 + }, + "end": { + "line": 242, + "column": 38 + }, + "identifierName": "single" + }, + "name": "single" + }, + { + "type": "Identifier", + "start": 8191, + "end": 8197, + "loc": { + "start": { + "line": 242, + "column": 40 + }, + "end": { + "line": 242, + "column": 46 + }, + "identifierName": "tracer" + }, + "name": "tracer" + }, + { + "type": "Identifier", + "start": 8199, + "end": 8203, + "loc": { + "start": { + "line": 242, + "column": 48 + }, + "end": { + "line": 242, + "column": 52 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 8205, + "end": 8212, + "loc": { + "start": { + "line": 242, + "column": 54 + }, + "end": { + "line": 242, + "column": 61 + }, + "identifierName": "context" + }, + "name": "context" + }, + { + "type": "NullLiteral", + "start": 8214, + "end": 8218, + "loc": { + "start": { + "line": 242, + "column": 63 + }, + "end": { + "line": 242, + "column": 67 + } + } + }, + { + "type": "SpreadElement", + "start": 8220, + "end": 8227, + "loc": { + "start": { + "line": 242, + "column": 69 + }, + "end": { + "line": 242, + "column": 76 + } + }, + "argument": { + "type": "Identifier", + "start": 8223, + "end": 8227, + "loc": { + "start": { + "line": 242, + "column": 72 + }, + "end": { + "line": 242, + "column": 76 + }, + "identifierName": "tags" + }, + "name": "tags" + } + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 8255, + "end": 8300, + "loc": { + "start": { + "line": 245, + "column": 9 + }, + "end": { + "line": 247, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 8261, + "end": 8296, + "loc": { + "start": { + "line": 246, + "column": 4 + }, + "end": { + "line": 246, + "column": 39 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 8268, + "end": 8295, + "loc": { + "start": { + "line": 246, + "column": 11 + }, + "end": { + "line": 246, + "column": 38 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8268, + "end": 8275, + "loc": { + "start": { + "line": 246, + "column": 11 + }, + "end": { + "line": 246, + "column": 18 + }, + "identifierName": "context" + }, + "name": "context" + } + ], + "body": { + "type": "ArrowFunctionExpression", + "start": 8279, + "end": 8295, + "loc": { + "start": { + "line": 246, + "column": 22 + }, + "end": { + "line": 246, + "column": 38 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8279, + "end": 8285, + "loc": { + "start": { + "line": 246, + "column": 22 + }, + "end": { + "line": 246, + "column": 28 + }, + "identifierName": "single" + }, + "name": "single" + } + ], + "body": { + "type": "Identifier", + "start": 8289, + "end": 8295, + "loc": { + "start": { + "line": 246, + "column": 32 + }, + "end": { + "line": 246, + "column": 38 + }, + "identifierName": "single" + }, + "name": "single" + } + } + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link traceSingle}, except meant to be used on the server side\n * where a {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 7122, + "end": 8017, + "loc": { + "start": { + "line": 223, + "column": 0 + }, + "end": { + "line": 237, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link traceSingle}, except meant to be used on the server side\n * where a {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 7122, + "end": 8017, + "loc": { + "start": { + "line": 223, + "column": 0 + }, + "end": { + "line": 237, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name Tracing.js\n * @fileoverview Tracing functionality.\n * @requires NPM:rsocket-core\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:opentracing\n * @requires NPM:rsocket-rpc-frames\n * @requires SpanSubscriber\n * @requires SpanSingle\n * @exports deserializeTraceData\n * @exports mapToBuffer\n * @exports bufferToMap\n * @exports trace\n * @exports traceAsChild\n * @exports traceSingle\n * @exports traceSingleAsChild\n ", + "start": 0, + "end": 458, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {Buffer} metadata -\n * @returns {?SpanContext} or null if the tracer is null or there is no tracing data\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 851, + "end": 1132, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?Object} map -\n * @returns {Buffer}\n ", + "start": 1419, + "end": 1473, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 54, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " 4 for the sizes plus the actual key and actual value", + "start": 2080, + "end": 2135, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 74, + "column": 61 + } + } + }, + { + "type": "CommentLine", + "value": " 2 bytes for key length", + "start": 2457, + "end": 2482, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 42 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {!Buffer} buffer - \n * @returns {Object}\n ", + "start": 2804, + "end": 2862, + "loc": { + "start": { + "line": 99, + "column": 0 + }, + "end": { + "line": 102, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a {@link Flowable}.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 3336, + "end": 4300, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 146, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link trace}, except meant to be used on the server side where a\n * {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 4645, + "end": 5538, + "loc": { + "start": { + "line": 161, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a Flowable.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 5892, + "end": 6844, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 210, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link traceSingle}, except meant to be used on the server side\n * where a {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 7122, + "end": 8017, + "loc": { + "start": { + "line": 223, + "column": 0 + }, + "end": { + "line": 237, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name Tracing.js\n * @fileoverview Tracing functionality.\n * @requires NPM:rsocket-core\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:opentracing\n * @requires NPM:rsocket-rpc-frames\n * @requires SpanSubscriber\n * @requires SpanSingle\n * @exports deserializeTraceData\n * @exports mapToBuffer\n * @exports bufferToMap\n * @exports trace\n * @exports traceAsChild\n * @exports traceSingle\n * @exports traceSingleAsChild\n ", + "start": 0, + "end": 458, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 460, + "end": 466, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 467, + "end": 468, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 469, + "end": 480, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 480, + "end": 481, + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 482, + "end": 495, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 495, + "end": 496, + "loc": { + "start": { + "line": 20, + "column": 35 + }, + "end": { + "line": 20, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createBuffer", + "start": 497, + "end": 509, + "loc": { + "start": { + "line": 20, + "column": 37 + }, + "end": { + "line": 20, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 510, + "end": 511, + "loc": { + "start": { + "line": 20, + "column": 50 + }, + "end": { + "line": 20, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 512, + "end": 516, + "loc": { + "start": { + "line": 20, + "column": 52 + }, + "end": { + "line": 20, + "column": 56 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-core", + "start": 517, + "end": 531, + "loc": { + "start": { + "line": 20, + "column": 57 + }, + "end": { + "line": 20, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 531, + "end": 532, + "loc": { + "start": { + "line": 20, + "column": 71 + }, + "end": { + "line": 20, + "column": 72 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 533, + "end": 539, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 540, + "end": 541, + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ISubscriber", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 554, + "end": 555, + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 556, + "end": 560, + "loc": { + "start": { + "line": 21, + "column": 23 + }, + "end": { + "line": 21, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-types", + "start": 561, + "end": 576, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 576, + "end": 577, + "loc": { + "start": { + "line": 21, + "column": 43 + }, + "end": { + "line": 21, + "column": 44 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 578, + "end": 584, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 585, + "end": 586, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flowable", + "start": 587, + "end": 595, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 595, + "end": 596, + "loc": { + "start": { + "line": 22, + "column": 17 + }, + "end": { + "line": 22, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Single", + "start": 597, + "end": 603, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 606, + "end": 610, + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-flowable", + "start": 611, + "end": 629, + "loc": { + "start": { + "line": 22, + "column": 33 + }, + "end": { + "line": 22, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 22, + "column": 51 + }, + "end": { + "line": 22, + "column": 52 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 632, + "end": 638, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 639, + "end": 640, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanSubscriber", + "start": 641, + "end": 655, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 656, + "end": 657, + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 658, + "end": 662, + "loc": { + "start": { + "line": 24, + "column": 26 + }, + "end": { + "line": 24, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./SpanSubscriber", + "start": 663, + "end": 681, + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 681, + "end": 682, + "loc": { + "start": { + "line": 24, + "column": 49 + }, + "end": { + "line": 24, + "column": 50 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 683, + "end": 689, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 690, + "end": 691, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createSpanSingle", + "start": 692, + "end": 708, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 25, + "column": 26 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 711, + "end": 715, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./SpanSingle", + "start": 716, + "end": 730, + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 730, + "end": 731, + "loc": { + "start": { + "line": 25, + "column": 47 + }, + "end": { + "line": 25, + "column": 48 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 732, + "end": 738, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 739, + "end": 740, + "loc": { + "start": { + "line": 26, + "column": 7 + }, + "end": { + "line": 26, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanContext", + "start": 741, + "end": 752, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 752, + "end": 753, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Tracer", + "start": 754, + "end": 760, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 760, + "end": 761, + "loc": { + "start": { + "line": 26, + "column": 28 + }, + "end": { + "line": 26, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FORMAT_TEXT_MAP", + "start": 762, + "end": 777, + "loc": { + "start": { + "line": 26, + "column": 30 + }, + "end": { + "line": 26, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 778, + "end": 779, + "loc": { + "start": { + "line": 26, + "column": 46 + }, + "end": { + "line": 26, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 780, + "end": 784, + "loc": { + "start": { + "line": 26, + "column": 48 + }, + "end": { + "line": 26, + "column": 52 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "opentracing", + "start": 785, + "end": 798, + "loc": { + "start": { + "line": 26, + "column": 53 + }, + "end": { + "line": 26, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 798, + "end": 799, + "loc": { + "start": { + "line": 26, + "column": 66 + }, + "end": { + "line": 26, + "column": 67 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 801, + "end": 807, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 808, + "end": 809, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTracing", + "start": 810, + "end": 820, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 821, + "end": 822, + "loc": { + "start": { + "line": 28, + "column": 20 + }, + "end": { + "line": 28, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 823, + "end": 827, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rsocket-rpc-frames", + "start": 828, + "end": 848, + "loc": { + "start": { + "line": 28, + "column": 27 + }, + "end": { + "line": 28, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 848, + "end": 849, + "loc": { + "start": { + "line": 28, + "column": 47 + }, + "end": { + "line": 28, + "column": 48 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {Buffer} metadata -\n * @returns {?SpanContext} or null if the tracer is null or there is no tracing data\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 851, + "end": 1132, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1133, + "end": 1139, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1140, + "end": 1148, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deserializeTraceData", + "start": 1149, + "end": 1169, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1169, + "end": 1170, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 1170, + "end": 1176, + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1176, + "end": 1177, + "loc": { + "start": { + "line": 37, + "column": 43 + }, + "end": { + "line": 37, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1178, + "end": 1186, + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1186, + "end": 1187, + "loc": { + "start": { + "line": 37, + "column": 53 + }, + "end": { + "line": 37, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1188, + "end": 1189, + "loc": { + "start": { + "line": 37, + "column": 55 + }, + "end": { + "line": 37, + "column": 56 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1192, + "end": 1194, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1195, + "end": 1196, + "loc": { + "start": { + "line": 38, + "column": 5 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1196, + "end": 1197, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 1197, + "end": 1203, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1203, + "end": 1204, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1205, + "end": 1206, + "loc": { + "start": { + "line": 38, + "column": 15 + }, + "end": { + "line": 38, + "column": 16 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1211, + "end": 1217, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 10 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1218, + "end": 1222, + "loc": { + "start": { + "line": 39, + "column": 11 + }, + "end": { + "line": 39, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1222, + "end": 1223, + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 39, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1226, + "end": 1227, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1231, + "end": 1236, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingData", + "start": 1237, + "end": 1248, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1249, + "end": 1250, + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getTracing", + "start": 1251, + "end": 1261, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1261, + "end": 1262, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1262, + "end": 1270, + "loc": { + "start": { + "line": 42, + "column": 33 + }, + "end": { + "line": 42, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1270, + "end": 1271, + "loc": { + "start": { + "line": 42, + "column": 41 + }, + "end": { + "line": 42, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1271, + "end": 1272, + "loc": { + "start": { + "line": 42, + "column": 42 + }, + "end": { + "line": 42, + "column": 43 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1276, + "end": 1278, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1279, + "end": 1280, + "loc": { + "start": { + "line": 44, + "column": 5 + }, + "end": { + "line": 44, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 1280, + "end": 1293, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1293, + "end": 1294, + "loc": { + "start": { + "line": 44, + "column": 19 + }, + "end": { + "line": 44, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 1294, + "end": 1304, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1304, + "end": 1305, + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingData", + "start": 1305, + "end": 1316, + "loc": { + "start": { + "line": 44, + "column": 31 + }, + "end": { + "line": 44, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1316, + "end": 1317, + "loc": { + "start": { + "line": 44, + "column": 42 + }, + "end": { + "line": 44, + "column": 43 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<=", + "start": 1318, + "end": 1320, + "loc": { + "start": { + "line": 44, + "column": 44 + }, + "end": { + "line": 44, + "column": 46 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1321, + "end": 1322, + "loc": { + "start": { + "line": 44, + "column": 47 + }, + "end": { + "line": 44, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1322, + "end": 1323, + "loc": { + "start": { + "line": 44, + "column": 48 + }, + "end": { + "line": 44, + "column": 49 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1324, + "end": 1325, + "loc": { + "start": { + "line": 44, + "column": 50 + }, + "end": { + "line": 44, + "column": 51 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1330, + "end": 1336, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 10 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 1337, + "end": 1341, + "loc": { + "start": { + "line": 45, + "column": 11 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1341, + "end": 1342, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1345, + "end": 1346, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 3 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1350, + "end": 1356, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 1357, + "end": 1363, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1363, + "end": 1364, + "loc": { + "start": { + "line": 48, + "column": 15 + }, + "end": { + "line": 48, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "extract", + "start": 1364, + "end": 1371, + "loc": { + "start": { + "line": 48, + "column": 16 + }, + "end": { + "line": 48, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1371, + "end": 1372, + "loc": { + "start": { + "line": 48, + "column": 23 + }, + "end": { + "line": 48, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FORMAT_TEXT_MAP", + "start": 1372, + "end": 1387, + "loc": { + "start": { + "line": 48, + "column": 24 + }, + "end": { + "line": 48, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1387, + "end": 1388, + "loc": { + "start": { + "line": 48, + "column": 39 + }, + "end": { + "line": 48, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bufferToMap", + "start": 1389, + "end": 1400, + "loc": { + "start": { + "line": 48, + "column": 41 + }, + "end": { + "line": 48, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1400, + "end": 1401, + "loc": { + "start": { + "line": 48, + "column": 52 + }, + "end": { + "line": 48, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracingData", + "start": 1401, + "end": 1412, + "loc": { + "start": { + "line": 48, + "column": 53 + }, + "end": { + "line": 48, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1412, + "end": 1413, + "loc": { + "start": { + "line": 48, + "column": 64 + }, + "end": { + "line": 48, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1413, + "end": 1414, + "loc": { + "start": { + "line": 48, + "column": 65 + }, + "end": { + "line": 48, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1414, + "end": 1415, + "loc": { + "start": { + "line": 48, + "column": 66 + }, + "end": { + "line": 48, + "column": 67 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1416, + "end": 1417, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 49, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {?Object} map -\n * @returns {Buffer}\n ", + "start": 1419, + "end": 1473, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 54, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1474, + "end": 1480, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1481, + "end": 1489, + "loc": { + "start": { + "line": 55, + "column": 7 + }, + "end": { + "line": 55, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mapToBuffer", + "start": 1490, + "end": 1501, + "loc": { + "start": { + "line": 55, + "column": 16 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1501, + "end": 1502, + "loc": { + "start": { + "line": 55, + "column": 27 + }, + "end": { + "line": 55, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 1502, + "end": 1505, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1505, + "end": 1506, + "loc": { + "start": { + "line": 55, + "column": 31 + }, + "end": { + "line": 55, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1507, + "end": 1508, + "loc": { + "start": { + "line": 55, + "column": 33 + }, + "end": { + "line": 55, + "column": 34 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1511, + "end": 1513, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1514, + "end": 1515, + "loc": { + "start": { + "line": 56, + "column": 5 + }, + "end": { + "line": 56, + "column": 6 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1515, + "end": 1516, + "loc": { + "start": { + "line": 56, + "column": 6 + }, + "end": { + "line": 56, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 1516, + "end": 1519, + "loc": { + "start": { + "line": 56, + "column": 7 + }, + "end": { + "line": 56, + "column": 10 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1520, + "end": 1522, + "loc": { + "start": { + "line": 56, + "column": 11 + }, + "end": { + "line": 56, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 1523, + "end": 1529, + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 56, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1529, + "end": 1530, + "loc": { + "start": { + "line": 56, + "column": 20 + }, + "end": { + "line": 56, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 1530, + "end": 1534, + "loc": { + "start": { + "line": 56, + "column": 21 + }, + "end": { + "line": 56, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1534, + "end": 1535, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 1535, + "end": 1538, + "loc": { + "start": { + "line": 56, + "column": 26 + }, + "end": { + "line": 56, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1538, + "end": 1539, + "loc": { + "start": { + "line": 56, + "column": 29 + }, + "end": { + "line": 56, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1539, + "end": 1540, + "loc": { + "start": { + "line": 56, + "column": 30 + }, + "end": { + "line": 56, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1540, + "end": 1546, + "loc": { + "start": { + "line": 56, + "column": 31 + }, + "end": { + "line": 56, + "column": 37 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<=", + "start": 1547, + "end": 1549, + "loc": { + "start": { + "line": 56, + "column": 38 + }, + "end": { + "line": 56, + "column": 40 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1550, + "end": 1551, + "loc": { + "start": { + "line": 56, + "column": 41 + }, + "end": { + "line": 56, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1551, + "end": 1552, + "loc": { + "start": { + "line": 56, + "column": 42 + }, + "end": { + "line": 56, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1553, + "end": 1554, + "loc": { + "start": { + "line": 56, + "column": 44 + }, + "end": { + "line": 56, + "column": 45 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1559, + "end": 1565, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createBuffer", + "start": 1566, + "end": 1578, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1578, + "end": 1579, + "loc": { + "start": { + "line": 57, + "column": 23 + }, + "end": { + "line": 57, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1579, + "end": 1580, + "loc": { + "start": { + "line": 57, + "column": 24 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1580, + "end": 1581, + "loc": { + "start": { + "line": 57, + "column": 25 + }, + "end": { + "line": 57, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1581, + "end": 1582, + "loc": { + "start": { + "line": 57, + "column": 26 + }, + "end": { + "line": 57, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1585, + "end": 1586, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1590, + "end": 1595, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 60, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "aggregatedTags", + "start": 1596, + "end": 1610, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1611, + "end": 1612, + "loc": { + "start": { + "line": 60, + "column": 23 + }, + "end": { + "line": 60, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 1613, + "end": 1619, + "loc": { + "start": { + "line": 60, + "column": 25 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1619, + "end": 1620, + "loc": { + "start": { + "line": 60, + "column": 31 + }, + "end": { + "line": 60, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 1620, + "end": 1624, + "loc": { + "start": { + "line": 60, + "column": 32 + }, + "end": { + "line": 60, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1624, + "end": 1625, + "loc": { + "start": { + "line": 60, + "column": 36 + }, + "end": { + "line": 60, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 1625, + "end": 1628, + "loc": { + "start": { + "line": 60, + "column": 37 + }, + "end": { + "line": 60, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1628, + "end": 1629, + "loc": { + "start": { + "line": 60, + "column": 40 + }, + "end": { + "line": 60, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1629, + "end": 1630, + "loc": { + "start": { + "line": 60, + "column": 41 + }, + "end": { + "line": 60, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reduce", + "start": 1630, + "end": 1636, + "loc": { + "start": { + "line": 60, + "column": 42 + }, + "end": { + "line": 60, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1636, + "end": 1637, + "loc": { + "start": { + "line": 60, + "column": 48 + }, + "end": { + "line": 60, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1637, + "end": 1638, + "loc": { + "start": { + "line": 60, + "column": 49 + }, + "end": { + "line": 60, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "aggregate", + "start": 1638, + "end": 1647, + "loc": { + "start": { + "line": 60, + "column": 50 + }, + "end": { + "line": 60, + "column": 59 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1647, + "end": 1648, + "loc": { + "start": { + "line": 60, + "column": 59 + }, + "end": { + "line": 60, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1649, + "end": 1652, + "loc": { + "start": { + "line": 60, + "column": 61 + }, + "end": { + "line": 60, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1652, + "end": 1653, + "loc": { + "start": { + "line": 60, + "column": 64 + }, + "end": { + "line": 60, + "column": 65 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1654, + "end": 1656, + "loc": { + "start": { + "line": 60, + "column": 66 + }, + "end": { + "line": 60, + "column": 68 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1657, + "end": 1658, + "loc": { + "start": { + "line": 60, + "column": 69 + }, + "end": { + "line": 60, + "column": 70 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1663, + "end": 1668, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1669, + "end": 1672, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1673, + "end": 1674, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 1675, + "end": 1678, + "loc": { + "start": { + "line": 61, + "column": 16 + }, + "end": { + "line": 61, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1678, + "end": 1679, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1679, + "end": 1682, + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 23 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1682, + "end": 1683, + "loc": { + "start": { + "line": 61, + "column": 23 + }, + "end": { + "line": 61, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1683, + "end": 1684, + "loc": { + "start": { + "line": 61, + "column": 24 + }, + "end": { + "line": 61, + "column": 25 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1689, + "end": 1694, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 1695, + "end": 1701, + "loc": { + "start": { + "line": 62, + "column": 10 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1702, + "end": 1703, + "loc": { + "start": { + "line": 62, + "column": 17 + }, + "end": { + "line": 62, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 1704, + "end": 1715, + "loc": { + "start": { + "line": 62, + "column": 19 + }, + "end": { + "line": 62, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1715, + "end": 1716, + "loc": { + "start": { + "line": 62, + "column": 30 + }, + "end": { + "line": 62, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 1716, + "end": 1726, + "loc": { + "start": { + "line": 62, + "column": 31 + }, + "end": { + "line": 62, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1726, + "end": 1727, + "loc": { + "start": { + "line": 62, + "column": 41 + }, + "end": { + "line": 62, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1727, + "end": 1730, + "loc": { + "start": { + "line": 62, + "column": 42 + }, + "end": { + "line": 62, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1730, + "end": 1731, + "loc": { + "start": { + "line": 62, + "column": 45 + }, + "end": { + "line": 62, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1731, + "end": 1732, + "loc": { + "start": { + "line": 62, + "column": 46 + }, + "end": { + "line": 62, + "column": 47 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1737, + "end": 1742, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyBuf", + "start": 1743, + "end": 1749, + "loc": { + "start": { + "line": 63, + "column": 10 + }, + "end": { + "line": 63, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1750, + "end": 1751, + "loc": { + "start": { + "line": 63, + "column": 17 + }, + "end": { + "line": 63, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createBuffer", + "start": 1752, + "end": 1764, + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1764, + "end": 1765, + "loc": { + "start": { + "line": 63, + "column": 31 + }, + "end": { + "line": 63, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 1765, + "end": 1771, + "loc": { + "start": { + "line": 63, + "column": 32 + }, + "end": { + "line": 63, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1771, + "end": 1772, + "loc": { + "start": { + "line": 63, + "column": 38 + }, + "end": { + "line": 63, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1772, + "end": 1773, + "loc": { + "start": { + "line": 63, + "column": 39 + }, + "end": { + "line": 63, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 1778, + "end": 1789, + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1789, + "end": 1790, + "loc": { + "start": { + "line": 64, + "column": 15 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 1790, + "end": 1796, + "loc": { + "start": { + "line": 64, + "column": 16 + }, + "end": { + "line": 64, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1796, + "end": 1797, + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1797, + "end": 1800, + "loc": { + "start": { + "line": 64, + "column": 23 + }, + "end": { + "line": 64, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1800, + "end": 1801, + "loc": { + "start": { + "line": 64, + "column": 26 + }, + "end": { + "line": 64, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyBuf", + "start": 1802, + "end": 1808, + "loc": { + "start": { + "line": 64, + "column": 28 + }, + "end": { + "line": 64, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1808, + "end": 1809, + "loc": { + "start": { + "line": 64, + "column": 34 + }, + "end": { + "line": 64, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1810, + "end": 1811, + "loc": { + "start": { + "line": 64, + "column": 36 + }, + "end": { + "line": 64, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1811, + "end": 1812, + "loc": { + "start": { + "line": 64, + "column": 37 + }, + "end": { + "line": 64, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 1813, + "end": 1819, + "loc": { + "start": { + "line": 64, + "column": 39 + }, + "end": { + "line": 64, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1819, + "end": 1820, + "loc": { + "start": { + "line": 64, + "column": 45 + }, + "end": { + "line": 64, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1820, + "end": 1821, + "loc": { + "start": { + "line": 64, + "column": 46 + }, + "end": { + "line": 64, + "column": 47 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1827, + "end": 1832, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 1833, + "end": 1839, + "loc": { + "start": { + "line": 66, + "column": 10 + }, + "end": { + "line": 66, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1840, + "end": 1841, + "loc": { + "start": { + "line": 66, + "column": 17 + }, + "end": { + "line": 66, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 1842, + "end": 1853, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1853, + "end": 1854, + "loc": { + "start": { + "line": 66, + "column": 30 + }, + "end": { + "line": 66, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 1854, + "end": 1864, + "loc": { + "start": { + "line": 66, + "column": 31 + }, + "end": { + "line": 66, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1864, + "end": 1865, + "loc": { + "start": { + "line": 66, + "column": 41 + }, + "end": { + "line": 66, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1865, + "end": 1868, + "loc": { + "start": { + "line": 66, + "column": 42 + }, + "end": { + "line": 66, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1868, + "end": 1869, + "loc": { + "start": { + "line": 66, + "column": 45 + }, + "end": { + "line": 66, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1869, + "end": 1870, + "loc": { + "start": { + "line": 66, + "column": 46 + }, + "end": { + "line": 66, + "column": 47 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1875, + "end": 1880, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valBuf", + "start": 1881, + "end": 1887, + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1888, + "end": 1889, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createBuffer", + "start": 1890, + "end": 1902, + "loc": { + "start": { + "line": 67, + "column": 19 + }, + "end": { + "line": 67, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1902, + "end": 1903, + "loc": { + "start": { + "line": 67, + "column": 31 + }, + "end": { + "line": 67, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 1903, + "end": 1909, + "loc": { + "start": { + "line": 67, + "column": 32 + }, + "end": { + "line": 67, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1909, + "end": 1910, + "loc": { + "start": { + "line": 67, + "column": 38 + }, + "end": { + "line": 67, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1910, + "end": 1911, + "loc": { + "start": { + "line": 67, + "column": 39 + }, + "end": { + "line": 67, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 1916, + "end": 1927, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1927, + "end": 1928, + "loc": { + "start": { + "line": 68, + "column": 15 + }, + "end": { + "line": 68, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 1928, + "end": 1934, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1934, + "end": 1935, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "val", + "start": 1935, + "end": 1938, + "loc": { + "start": { + "line": 68, + "column": 23 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1938, + "end": 1939, + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valBuf", + "start": 1940, + "end": 1946, + "loc": { + "start": { + "line": 68, + "column": 28 + }, + "end": { + "line": 68, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1946, + "end": 1947, + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 1948, + "end": 1949, + "loc": { + "start": { + "line": 68, + "column": 36 + }, + "end": { + "line": 68, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1949, + "end": 1950, + "loc": { + "start": { + "line": 68, + "column": 37 + }, + "end": { + "line": 68, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 1951, + "end": 1957, + "loc": { + "start": { + "line": 68, + "column": 39 + }, + "end": { + "line": 68, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1957, + "end": 1958, + "loc": { + "start": { + "line": 68, + "column": 45 + }, + "end": { + "line": 68, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1958, + "end": 1959, + "loc": { + "start": { + "line": 68, + "column": 46 + }, + "end": { + "line": 68, + "column": 47 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1965, + "end": 1970, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newEntries", + "start": 1971, + "end": 1981, + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 70, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1982, + "end": 1983, + "loc": { + "start": { + "line": 70, + "column": 21 + }, + "end": { + "line": 70, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "aggregate", + "start": 1984, + "end": 1993, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1993, + "end": 1994, + "loc": { + "start": { + "line": 70, + "column": 32 + }, + "end": { + "line": 70, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entries", + "start": 1994, + "end": 2001, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2001, + "end": 2002, + "loc": { + "start": { + "line": 70, + "column": 40 + }, + "end": { + "line": 70, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newEntries", + "start": 2007, + "end": 2017, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2017, + "end": 2018, + "loc": { + "start": { + "line": 71, + "column": 14 + }, + "end": { + "line": 71, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 2018, + "end": 2022, + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2022, + "end": 2023, + "loc": { + "start": { + "line": 71, + "column": 19 + }, + "end": { + "line": 71, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2023, + "end": 2024, + "loc": { + "start": { + "line": 71, + "column": 20 + }, + "end": { + "line": 71, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 2025, + "end": 2031, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2031, + "end": 2032, + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyBuf", + "start": 2033, + "end": 2039, + "loc": { + "start": { + "line": 71, + "column": 30 + }, + "end": { + "line": 71, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2039, + "end": 2040, + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 2041, + "end": 2047, + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2047, + "end": 2048, + "loc": { + "start": { + "line": 71, + "column": 44 + }, + "end": { + "line": 71, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valBuf", + "start": 2049, + "end": 2055, + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 52 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2056, + "end": 2057, + "loc": { + "start": { + "line": 71, + "column": 53 + }, + "end": { + "line": 71, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2057, + "end": 2058, + "loc": { + "start": { + "line": 71, + "column": 54 + }, + "end": { + "line": 71, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2058, + "end": 2059, + "loc": { + "start": { + "line": 71, + "column": 55 + }, + "end": { + "line": 71, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2065, + "end": 2071, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2072, + "end": 2073, + "loc": { + "start": { + "line": 73, + "column": 11 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + { + "type": "CommentLine", + "value": " 4 for the sizes plus the actual key and actual value", + "start": 2080, + "end": 2135, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 74, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalSize", + "start": 2142, + "end": 2151, + "loc": { + "start": { + "line": 75, + "column": 6 + }, + "end": { + "line": 75, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2151, + "end": 2152, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "aggregate", + "start": 2153, + "end": 2162, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2162, + "end": 2163, + "loc": { + "start": { + "line": 75, + "column": 26 + }, + "end": { + "line": 75, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalSize", + "start": 2163, + "end": 2172, + "loc": { + "start": { + "line": 75, + "column": 27 + }, + "end": { + "line": 75, + "column": 36 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2173, + "end": 2174, + "loc": { + "start": { + "line": 75, + "column": 37 + }, + "end": { + "line": 75, + "column": 38 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4, + "start": 2175, + "end": 2176, + "loc": { + "start": { + "line": 75, + "column": 39 + }, + "end": { + "line": 75, + "column": 40 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2177, + "end": 2178, + "loc": { + "start": { + "line": 75, + "column": 41 + }, + "end": { + "line": 75, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 2179, + "end": 2185, + "loc": { + "start": { + "line": 75, + "column": 43 + }, + "end": { + "line": 75, + "column": 49 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2186, + "end": 2187, + "loc": { + "start": { + "line": 75, + "column": 50 + }, + "end": { + "line": 75, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 2188, + "end": 2194, + "loc": { + "start": { + "line": 75, + "column": 52 + }, + "end": { + "line": 75, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2194, + "end": 2195, + "loc": { + "start": { + "line": 75, + "column": 58 + }, + "end": { + "line": 75, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entries", + "start": 2202, + "end": 2209, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2209, + "end": 2210, + "loc": { + "start": { + "line": 76, + "column": 13 + }, + "end": { + "line": 76, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newEntries", + "start": 2211, + "end": 2221, + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2226, + "end": 2227, + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2227, + "end": 2228, + "loc": { + "start": { + "line": 77, + "column": 5 + }, + "end": { + "line": 77, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2231, + "end": 2232, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2232, + "end": 2233, + "loc": { + "start": { + "line": 78, + "column": 3 + }, + "end": { + "line": 78, + "column": 4 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2234, + "end": 2235, + "loc": { + "start": { + "line": 78, + "column": 5 + }, + "end": { + "line": 78, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalSize", + "start": 2236, + "end": 2245, + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2245, + "end": 2246, + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 78, + "column": 17 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2247, + "end": 2248, + "loc": { + "start": { + "line": 78, + "column": 18 + }, + "end": { + "line": 78, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2248, + "end": 2249, + "loc": { + "start": { + "line": 78, + "column": 19 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entries", + "start": 2250, + "end": 2257, + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 28 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2257, + "end": 2258, + "loc": { + "start": { + "line": 78, + "column": 28 + }, + "end": { + "line": 78, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2259, + "end": 2260, + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 31 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2260, + "end": 2261, + "loc": { + "start": { + "line": 78, + "column": 31 + }, + "end": { + "line": 78, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2262, + "end": 2263, + "loc": { + "start": { + "line": 78, + "column": 33 + }, + "end": { + "line": 78, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2263, + "end": 2264, + "loc": { + "start": { + "line": 78, + "column": 34 + }, + "end": { + "line": 78, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2264, + "end": 2265, + "loc": { + "start": { + "line": 78, + "column": 35 + }, + "end": { + "line": 78, + "column": 36 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2269, + "end": 2272, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2273, + "end": 2279, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2280, + "end": 2281, + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2282, + "end": 2283, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2283, + "end": 2284, + "loc": { + "start": { + "line": 80, + "column": 16 + }, + "end": { + "line": 80, + "column": 17 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2287, + "end": 2292, + "loc": { + "start": { + "line": 81, + "column": 2 + }, + "end": { + "line": 81, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resultBuf", + "start": 2293, + "end": 2302, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2303, + "end": 2304, + "loc": { + "start": { + "line": 81, + "column": 18 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createBuffer", + "start": 2305, + "end": 2317, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2317, + "end": 2318, + "loc": { + "start": { + "line": 81, + "column": 32 + }, + "end": { + "line": 81, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "aggregatedTags", + "start": 2318, + "end": 2332, + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2332, + "end": 2333, + "loc": { + "start": { + "line": 81, + "column": 47 + }, + "end": { + "line": 81, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalSize", + "start": 2333, + "end": 2342, + "loc": { + "start": { + "line": 81, + "column": 48 + }, + "end": { + "line": 81, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2342, + "end": 2343, + "loc": { + "start": { + "line": 81, + "column": 57 + }, + "end": { + "line": 81, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2343, + "end": 2344, + "loc": { + "start": { + "line": 81, + "column": 58 + }, + "end": { + "line": 81, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "aggregatedTags", + "start": 2347, + "end": 2361, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 82, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2361, + "end": 2362, + "loc": { + "start": { + "line": 82, + "column": 16 + }, + "end": { + "line": 82, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entries", + "start": 2362, + "end": 2369, + "loc": { + "start": { + "line": 82, + "column": 17 + }, + "end": { + "line": 82, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2369, + "end": 2370, + "loc": { + "start": { + "line": 82, + "column": 24 + }, + "end": { + "line": 82, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 2370, + "end": 2377, + "loc": { + "start": { + "line": 82, + "column": 25 + }, + "end": { + "line": 82, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2377, + "end": 2378, + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2378, + "end": 2383, + "loc": { + "start": { + "line": 82, + "column": 33 + }, + "end": { + "line": 82, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2384, + "end": 2386, + "loc": { + "start": { + "line": 82, + "column": 39 + }, + "end": { + "line": 82, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2387, + "end": 2388, + "loc": { + "start": { + "line": 82, + "column": 42 + }, + "end": { + "line": 82, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resultBuf", + "start": 2393, + "end": 2402, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2402, + "end": 2403, + "loc": { + "start": { + "line": 83, + "column": 13 + }, + "end": { + "line": 83, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeUInt16BE", + "start": 2403, + "end": 2416, + "loc": { + "start": { + "line": 83, + "column": 14 + }, + "end": { + "line": 83, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2416, + "end": 2417, + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2417, + "end": 2422, + "loc": { + "start": { + "line": 83, + "column": 28 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2422, + "end": 2423, + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 83, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 2423, + "end": 2429, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2429, + "end": 2430, + "loc": { + "start": { + "line": 83, + "column": 40 + }, + "end": { + "line": 83, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2431, + "end": 2437, + "loc": { + "start": { + "line": 83, + "column": 42 + }, + "end": { + "line": 83, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2437, + "end": 2438, + "loc": { + "start": { + "line": 83, + "column": 48 + }, + "end": { + "line": 83, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2438, + "end": 2439, + "loc": { + "start": { + "line": 83, + "column": 49 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2444, + "end": 2450, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 10 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 2451, + "end": 2453, + "loc": { + "start": { + "line": 84, + "column": 11 + }, + "end": { + "line": 84, + "column": 13 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 2454, + "end": 2455, + "loc": { + "start": { + "line": 84, + "column": 14 + }, + "end": { + "line": 84, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2455, + "end": 2456, + "loc": { + "start": { + "line": 84, + "column": 15 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + { + "type": "CommentLine", + "value": " 2 bytes for key length", + "start": 2457, + "end": 2482, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 2488, + "end": 2501, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2501, + "end": 2502, + "loc": { + "start": { + "line": 86, + "column": 17 + }, + "end": { + "line": 86, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 2502, + "end": 2508, + "loc": { + "start": { + "line": 86, + "column": 18 + }, + "end": { + "line": 86, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2508, + "end": 2509, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2509, + "end": 2514, + "loc": { + "start": { + "line": 86, + "column": 25 + }, + "end": { + "line": 86, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2514, + "end": 2515, + "loc": { + "start": { + "line": 86, + "column": 30 + }, + "end": { + "line": 86, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyBuf", + "start": 2515, + "end": 2521, + "loc": { + "start": { + "line": 86, + "column": 31 + }, + "end": { + "line": 86, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2521, + "end": 2522, + "loc": { + "start": { + "line": 86, + "column": 37 + }, + "end": { + "line": 86, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resultBuf", + "start": 2523, + "end": 2532, + "loc": { + "start": { + "line": 86, + "column": 39 + }, + "end": { + "line": 86, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2532, + "end": 2533, + "loc": { + "start": { + "line": 86, + "column": 48 + }, + "end": { + "line": 86, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2534, + "end": 2540, + "loc": { + "start": { + "line": 86, + "column": 50 + }, + "end": { + "line": 86, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2540, + "end": 2541, + "loc": { + "start": { + "line": 86, + "column": 56 + }, + "end": { + "line": 86, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2542, + "end": 2548, + "loc": { + "start": { + "line": 86, + "column": 58 + }, + "end": { + "line": 86, + "column": 64 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2549, + "end": 2550, + "loc": { + "start": { + "line": 86, + "column": 65 + }, + "end": { + "line": 86, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2551, + "end": 2556, + "loc": { + "start": { + "line": 86, + "column": 67 + }, + "end": { + "line": 86, + "column": 72 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2556, + "end": 2557, + "loc": { + "start": { + "line": 86, + "column": 72 + }, + "end": { + "line": 86, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 2557, + "end": 2563, + "loc": { + "start": { + "line": 86, + "column": 73 + }, + "end": { + "line": 86, + "column": 79 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2563, + "end": 2564, + "loc": { + "start": { + "line": 86, + "column": 79 + }, + "end": { + "line": 86, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2564, + "end": 2565, + "loc": { + "start": { + "line": 86, + "column": 80 + }, + "end": { + "line": 86, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2570, + "end": 2576, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 10 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 2577, + "end": 2579, + "loc": { + "start": { + "line": 87, + "column": 11 + }, + "end": { + "line": 87, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2580, + "end": 2585, + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2585, + "end": 2586, + "loc": { + "start": { + "line": 87, + "column": 19 + }, + "end": { + "line": 87, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 2586, + "end": 2592, + "loc": { + "start": { + "line": 87, + "column": 20 + }, + "end": { + "line": 87, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2592, + "end": 2593, + "loc": { + "start": { + "line": 87, + "column": 26 + }, + "end": { + "line": 87, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resultBuf", + "start": 2599, + "end": 2608, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2608, + "end": 2609, + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeUInt16BE", + "start": 2609, + "end": 2622, + "loc": { + "start": { + "line": 89, + "column": 14 + }, + "end": { + "line": 89, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2622, + "end": 2623, + "loc": { + "start": { + "line": 89, + "column": 27 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2623, + "end": 2628, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2628, + "end": 2629, + "loc": { + "start": { + "line": 89, + "column": 33 + }, + "end": { + "line": 89, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 2629, + "end": 2635, + "loc": { + "start": { + "line": 89, + "column": 34 + }, + "end": { + "line": 89, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2635, + "end": 2636, + "loc": { + "start": { + "line": 89, + "column": 40 + }, + "end": { + "line": 89, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2637, + "end": 2643, + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2643, + "end": 2644, + "loc": { + "start": { + "line": 89, + "column": 48 + }, + "end": { + "line": 89, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2644, + "end": 2645, + "loc": { + "start": { + "line": 89, + "column": 49 + }, + "end": { + "line": 89, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2650, + "end": 2656, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 10 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 2657, + "end": 2659, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 2660, + "end": 2661, + "loc": { + "start": { + "line": 90, + "column": 14 + }, + "end": { + "line": 90, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2661, + "end": 2662, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 90, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BufferEncoder", + "start": 2668, + "end": 2681, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2681, + "end": 2682, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 2682, + "end": 2688, + "loc": { + "start": { + "line": 92, + "column": 18 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2688, + "end": 2689, + "loc": { + "start": { + "line": 92, + "column": 24 + }, + "end": { + "line": 92, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2689, + "end": 2694, + "loc": { + "start": { + "line": 92, + "column": 25 + }, + "end": { + "line": 92, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2694, + "end": 2695, + "loc": { + "start": { + "line": 92, + "column": 30 + }, + "end": { + "line": 92, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valBuf", + "start": 2695, + "end": 2701, + "loc": { + "start": { + "line": 92, + "column": 31 + }, + "end": { + "line": 92, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2701, + "end": 2702, + "loc": { + "start": { + "line": 92, + "column": 37 + }, + "end": { + "line": 92, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resultBuf", + "start": 2703, + "end": 2712, + "loc": { + "start": { + "line": 92, + "column": 39 + }, + "end": { + "line": 92, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2712, + "end": 2713, + "loc": { + "start": { + "line": 92, + "column": 48 + }, + "end": { + "line": 92, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2714, + "end": 2720, + "loc": { + "start": { + "line": 92, + "column": 50 + }, + "end": { + "line": 92, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2720, + "end": 2721, + "loc": { + "start": { + "line": 92, + "column": 56 + }, + "end": { + "line": 92, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2722, + "end": 2728, + "loc": { + "start": { + "line": 92, + "column": 58 + }, + "end": { + "line": 92, + "column": 64 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2729, + "end": 2730, + "loc": { + "start": { + "line": 92, + "column": 65 + }, + "end": { + "line": 92, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2731, + "end": 2736, + "loc": { + "start": { + "line": 92, + "column": 67 + }, + "end": { + "line": 92, + "column": 72 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2736, + "end": 2737, + "loc": { + "start": { + "line": 92, + "column": 72 + }, + "end": { + "line": 92, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 2737, + "end": 2743, + "loc": { + "start": { + "line": 92, + "column": 73 + }, + "end": { + "line": 92, + "column": 79 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2743, + "end": 2744, + "loc": { + "start": { + "line": 92, + "column": 79 + }, + "end": { + "line": 92, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2744, + "end": 2745, + "loc": { + "start": { + "line": 92, + "column": 80 + }, + "end": { + "line": 92, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2750, + "end": 2756, + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 10 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 2757, + "end": 2759, + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 93, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 2760, + "end": 2765, + "loc": { + "start": { + "line": 93, + "column": 14 + }, + "end": { + "line": 93, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2765, + "end": 2766, + "loc": { + "start": { + "line": 93, + "column": 19 + }, + "end": { + "line": 93, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 2766, + "end": 2772, + "loc": { + "start": { + "line": 93, + "column": 20 + }, + "end": { + "line": 93, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2772, + "end": 2773, + "loc": { + "start": { + "line": 93, + "column": 26 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2776, + "end": 2777, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 94, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2777, + "end": 2778, + "loc": { + "start": { + "line": 94, + "column": 3 + }, + "end": { + "line": 94, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2778, + "end": 2779, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2783, + "end": 2789, + "loc": { + "start": { + "line": 96, + "column": 2 + }, + "end": { + "line": 96, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resultBuf", + "start": 2790, + "end": 2799, + "loc": { + "start": { + "line": 96, + "column": 9 + }, + "end": { + "line": 96, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2799, + "end": 2800, + "loc": { + "start": { + "line": 96, + "column": 18 + }, + "end": { + "line": 96, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2801, + "end": 2802, + "loc": { + "start": { + "line": 97, + "column": 0 + }, + "end": { + "line": 97, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {!Buffer} buffer - \n * @returns {Object}\n ", + "start": 2804, + "end": 2862, + "loc": { + "start": { + "line": 99, + "column": 0 + }, + "end": { + "line": 102, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 2863, + "end": 2869, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 103, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 2870, + "end": 2878, + "loc": { + "start": { + "line": 103, + "column": 7 + }, + "end": { + "line": 103, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bufferToMap", + "start": 2879, + "end": 2890, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2890, + "end": 2891, + "loc": { + "start": { + "line": 103, + "column": 27 + }, + "end": { + "line": 103, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2891, + "end": 2897, + "loc": { + "start": { + "line": 103, + "column": 28 + }, + "end": { + "line": 103, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2897, + "end": 2898, + "loc": { + "start": { + "line": 103, + "column": 34 + }, + "end": { + "line": 103, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2899, + "end": 2900, + "loc": { + "start": { + "line": 103, + "column": 36 + }, + "end": { + "line": 103, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2903, + "end": 2908, + "loc": { + "start": { + "line": 104, + "column": 2 + }, + "end": { + "line": 104, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result", + "start": 2909, + "end": 2915, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2916, + "end": 2917, + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2918, + "end": 2919, + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2919, + "end": 2920, + "loc": { + "start": { + "line": 104, + "column": 18 + }, + "end": { + "line": 104, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2920, + "end": 2921, + "loc": { + "start": { + "line": 104, + "column": 19 + }, + "end": { + "line": 104, + "column": 20 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2925, + "end": 2928, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2929, + "end": 2935, + "loc": { + "start": { + "line": 106, + "column": 6 + }, + "end": { + "line": 106, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2936, + "end": 2937, + "loc": { + "start": { + "line": 106, + "column": 13 + }, + "end": { + "line": 106, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2938, + "end": 2939, + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 106, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2939, + "end": 2940, + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 17 + } + } + }, + { + "type": { + "label": "while", + "keyword": "while", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "while", + "start": 2943, + "end": 2948, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 107, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2949, + "end": 2950, + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 2950, + "end": 2956, + "loc": { + "start": { + "line": 107, + "column": 9 + }, + "end": { + "line": 107, + "column": 15 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 2957, + "end": 2958, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2959, + "end": 2965, + "loc": { + "start": { + "line": 107, + "column": 18 + }, + "end": { + "line": 107, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2965, + "end": 2966, + "loc": { + "start": { + "line": 107, + "column": 24 + }, + "end": { + "line": 107, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2966, + "end": 2972, + "loc": { + "start": { + "line": 107, + "column": 25 + }, + "end": { + "line": 107, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2972, + "end": 2973, + "loc": { + "start": { + "line": 107, + "column": 31 + }, + "end": { + "line": 107, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2974, + "end": 2975, + "loc": { + "start": { + "line": 107, + "column": 33 + }, + "end": { + "line": 107, + "column": 34 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2980, + "end": 2983, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 2984, + "end": 2990, + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2991, + "end": 2992, + "loc": { + "start": { + "line": 108, + "column": 15 + }, + "end": { + "line": 108, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 2993, + "end": 2999, + "loc": { + "start": { + "line": 108, + "column": 17 + }, + "end": { + "line": 108, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2999, + "end": 3000, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 3000, + "end": 3012, + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3012, + "end": 3013, + "loc": { + "start": { + "line": 108, + "column": 36 + }, + "end": { + "line": 108, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3013, + "end": 3019, + "loc": { + "start": { + "line": 108, + "column": 37 + }, + "end": { + "line": 108, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3019, + "end": 3020, + "loc": { + "start": { + "line": 108, + "column": 43 + }, + "end": { + "line": 108, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3020, + "end": 3021, + "loc": { + "start": { + "line": 108, + "column": 44 + }, + "end": { + "line": 108, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3026, + "end": 3032, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 10 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 3033, + "end": 3035, + "loc": { + "start": { + "line": 109, + "column": 11 + }, + "end": { + "line": 109, + "column": 13 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 3036, + "end": 3037, + "loc": { + "start": { + "line": 109, + "column": 14 + }, + "end": { + "line": 109, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3037, + "end": 3038, + "loc": { + "start": { + "line": 109, + "column": 15 + }, + "end": { + "line": 109, + "column": 16 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 3044, + "end": 3047, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 3048, + "end": 3051, + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3052, + "end": 3053, + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 3054, + "end": 3065, + "loc": { + "start": { + "line": 111, + "column": 14 + }, + "end": { + "line": 111, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3065, + "end": 3066, + "loc": { + "start": { + "line": 111, + "column": 25 + }, + "end": { + "line": 111, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decode", + "start": 3066, + "end": 3072, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3072, + "end": 3073, + "loc": { + "start": { + "line": 111, + "column": 32 + }, + "end": { + "line": 111, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3073, + "end": 3079, + "loc": { + "start": { + "line": 111, + "column": 33 + }, + "end": { + "line": 111, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3079, + "end": 3080, + "loc": { + "start": { + "line": 111, + "column": 39 + }, + "end": { + "line": 111, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3081, + "end": 3087, + "loc": { + "start": { + "line": 111, + "column": 41 + }, + "end": { + "line": 111, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3087, + "end": 3088, + "loc": { + "start": { + "line": 111, + "column": 47 + }, + "end": { + "line": 111, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3089, + "end": 3095, + "loc": { + "start": { + "line": 111, + "column": 49 + }, + "end": { + "line": 111, + "column": 55 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3096, + "end": 3097, + "loc": { + "start": { + "line": 111, + "column": 56 + }, + "end": { + "line": 111, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 3098, + "end": 3104, + "loc": { + "start": { + "line": 111, + "column": 58 + }, + "end": { + "line": 111, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3104, + "end": 3105, + "loc": { + "start": { + "line": 111, + "column": 64 + }, + "end": { + "line": 111, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3105, + "end": 3106, + "loc": { + "start": { + "line": 111, + "column": 65 + }, + "end": { + "line": 111, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3111, + "end": 3117, + "loc": { + "start": { + "line": 112, + "column": 4 + }, + "end": { + "line": 112, + "column": 10 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 3118, + "end": 3120, + "loc": { + "start": { + "line": 112, + "column": 11 + }, + "end": { + "line": 112, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyLen", + "start": 3121, + "end": 3127, + "loc": { + "start": { + "line": 112, + "column": 14 + }, + "end": { + "line": 112, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3127, + "end": 3128, + "loc": { + "start": { + "line": 112, + "column": 20 + }, + "end": { + "line": 112, + "column": 21 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 3134, + "end": 3137, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 3138, + "end": 3144, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3145, + "end": 3146, + "loc": { + "start": { + "line": 114, + "column": 15 + }, + "end": { + "line": 114, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3147, + "end": 3153, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3153, + "end": 3154, + "loc": { + "start": { + "line": 114, + "column": 23 + }, + "end": { + "line": 114, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "readUInt16BE", + "start": 3154, + "end": 3166, + "loc": { + "start": { + "line": 114, + "column": 24 + }, + "end": { + "line": 114, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3166, + "end": 3167, + "loc": { + "start": { + "line": 114, + "column": 36 + }, + "end": { + "line": 114, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3167, + "end": 3173, + "loc": { + "start": { + "line": 114, + "column": 37 + }, + "end": { + "line": 114, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3173, + "end": 3174, + "loc": { + "start": { + "line": 114, + "column": 43 + }, + "end": { + "line": 114, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3174, + "end": 3175, + "loc": { + "start": { + "line": 114, + "column": 44 + }, + "end": { + "line": 114, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3180, + "end": 3186, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 10 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 3187, + "end": 3189, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 13 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 3190, + "end": 3191, + "loc": { + "start": { + "line": 115, + "column": 14 + }, + "end": { + "line": 115, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3191, + "end": 3192, + "loc": { + "start": { + "line": 115, + "column": 15 + }, + "end": { + "line": 115, + "column": 16 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 3198, + "end": 3201, + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 3202, + "end": 3207, + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3208, + "end": 3209, + "loc": { + "start": { + "line": 117, + "column": 14 + }, + "end": { + "line": 117, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UTF8Encoder", + "start": 3210, + "end": 3221, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3221, + "end": 3222, + "loc": { + "start": { + "line": 117, + "column": 27 + }, + "end": { + "line": 117, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decode", + "start": 3222, + "end": 3228, + "loc": { + "start": { + "line": 117, + "column": 28 + }, + "end": { + "line": 117, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3228, + "end": 3229, + "loc": { + "start": { + "line": 117, + "column": 34 + }, + "end": { + "line": 117, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3229, + "end": 3235, + "loc": { + "start": { + "line": 117, + "column": 35 + }, + "end": { + "line": 117, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3235, + "end": 3236, + "loc": { + "start": { + "line": 117, + "column": 41 + }, + "end": { + "line": 117, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3237, + "end": 3243, + "loc": { + "start": { + "line": 117, + "column": 43 + }, + "end": { + "line": 117, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3243, + "end": 3244, + "loc": { + "start": { + "line": 117, + "column": 49 + }, + "end": { + "line": 117, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3245, + "end": 3251, + "loc": { + "start": { + "line": 117, + "column": 51 + }, + "end": { + "line": 117, + "column": 57 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3252, + "end": 3253, + "loc": { + "start": { + "line": 117, + "column": 58 + }, + "end": { + "line": 117, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 3254, + "end": 3260, + "loc": { + "start": { + "line": 117, + "column": 60 + }, + "end": { + "line": 117, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3260, + "end": 3261, + "loc": { + "start": { + "line": 117, + "column": 66 + }, + "end": { + "line": 117, + "column": 67 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3261, + "end": 3262, + "loc": { + "start": { + "line": 117, + "column": 67 + }, + "end": { + "line": 117, + "column": 68 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offset", + "start": 3267, + "end": 3273, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 10 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 3274, + "end": 3276, + "loc": { + "start": { + "line": 118, + "column": 11 + }, + "end": { + "line": 118, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valLen", + "start": 3277, + "end": 3283, + "loc": { + "start": { + "line": 118, + "column": 14 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3283, + "end": 3284, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result", + "start": 3290, + "end": 3296, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 10 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3296, + "end": 3297, + "loc": { + "start": { + "line": 120, + "column": 10 + }, + "end": { + "line": 120, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 3297, + "end": 3300, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 14 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3300, + "end": 3301, + "loc": { + "start": { + "line": 120, + "column": 14 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3302, + "end": 3303, + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 3304, + "end": 3309, + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3309, + "end": 3310, + "loc": { + "start": { + "line": 120, + "column": 23 + }, + "end": { + "line": 120, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3313, + "end": 3314, + "loc": { + "start": { + "line": 121, + "column": 2 + }, + "end": { + "line": 121, + "column": 3 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3318, + "end": 3324, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 123, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "result", + "start": 3325, + "end": 3331, + "loc": { + "start": { + "line": 123, + "column": 9 + }, + "end": { + "line": 123, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3331, + "end": 3332, + "loc": { + "start": { + "line": 123, + "column": 15 + }, + "end": { + "line": 123, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3333, + "end": 3334, + "loc": { + "start": { + "line": 124, + "column": 0 + }, + "end": { + "line": 124, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a {@link Flowable}.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 3336, + "end": 4300, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 146, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 4301, + "end": 4307, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 147, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 4308, + "end": 4316, + "loc": { + "start": { + "line": 147, + "column": 7 + }, + "end": { + "line": 147, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "trace", + "start": 4317, + "end": 4322, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4322, + "end": 4323, + "loc": { + "start": { + "line": 147, + "column": 21 + }, + "end": { + "line": 147, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 4323, + "end": 4329, + "loc": { + "start": { + "line": 147, + "column": 22 + }, + "end": { + "line": 147, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4329, + "end": 4330, + "loc": { + "start": { + "line": 147, + "column": 28 + }, + "end": { + "line": 147, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 4331, + "end": 4335, + "loc": { + "start": { + "line": 147, + "column": 30 + }, + "end": { + "line": 147, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4335, + "end": 4336, + "loc": { + "start": { + "line": 147, + "column": 34 + }, + "end": { + "line": 147, + "column": 35 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4337, + "end": 4340, + "loc": { + "start": { + "line": 147, + "column": 36 + }, + "end": { + "line": 147, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 4340, + "end": 4344, + "loc": { + "start": { + "line": 147, + "column": 39 + }, + "end": { + "line": 147, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4344, + "end": 4345, + "loc": { + "start": { + "line": 147, + "column": 43 + }, + "end": { + "line": 147, + "column": 44 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4346, + "end": 4347, + "loc": { + "start": { + "line": 147, + "column": 45 + }, + "end": { + "line": 147, + "column": 46 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4350, + "end": 4352, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4353, + "end": 4354, + "loc": { + "start": { + "line": 148, + "column": 5 + }, + "end": { + "line": 148, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 4354, + "end": 4360, + "loc": { + "start": { + "line": 148, + "column": 6 + }, + "end": { + "line": 148, + "column": 12 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 4361, + "end": 4363, + "loc": { + "start": { + "line": 148, + "column": 13 + }, + "end": { + "line": 148, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 4364, + "end": 4368, + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4368, + "end": 4369, + "loc": { + "start": { + "line": 148, + "column": 20 + }, + "end": { + "line": 148, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4370, + "end": 4371, + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4376, + "end": 4382, + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 149, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 4383, + "end": 4391, + "loc": { + "start": { + "line": 149, + "column": 11 + }, + "end": { + "line": 149, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4392, + "end": 4394, + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4395, + "end": 4396, + "loc": { + "start": { + "line": 149, + "column": 23 + }, + "end": { + "line": 149, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4403, + "end": 4409, + "loc": { + "start": { + "line": 150, + "column": 6 + }, + "end": { + "line": 150, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowable", + "start": 4410, + "end": 4418, + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 150, + "column": 21 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4419, + "end": 4421, + "loc": { + "start": { + "line": 150, + "column": 22 + }, + "end": { + "line": 150, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4422, + "end": 4423, + "loc": { + "start": { + "line": 150, + "column": 25 + }, + "end": { + "line": 150, + "column": 26 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4432, + "end": 4438, + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowable", + "start": 4439, + "end": 4447, + "loc": { + "start": { + "line": 151, + "column": 15 + }, + "end": { + "line": 151, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4447, + "end": 4448, + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lift", + "start": 4448, + "end": 4452, + "loc": { + "start": { + "line": 151, + "column": 24 + }, + "end": { + "line": 151, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4452, + "end": 4453, + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 4453, + "end": 4463, + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 151, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4464, + "end": 4466, + "loc": { + "start": { + "line": 151, + "column": 40 + }, + "end": { + "line": 151, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4467, + "end": 4468, + "loc": { + "start": { + "line": 151, + "column": 43 + }, + "end": { + "line": 151, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4479, + "end": 4485, + "loc": { + "start": { + "line": 152, + "column": 10 + }, + "end": { + "line": 152, + "column": 16 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 4486, + "end": 4489, + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanSubscriber", + "start": 4490, + "end": 4504, + "loc": { + "start": { + "line": 152, + "column": 21 + }, + "end": { + "line": 152, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4504, + "end": 4505, + "loc": { + "start": { + "line": 152, + "column": 35 + }, + "end": { + "line": 152, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 4505, + "end": 4515, + "loc": { + "start": { + "line": 152, + "column": 36 + }, + "end": { + "line": 152, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4515, + "end": 4516, + "loc": { + "start": { + "line": 152, + "column": 46 + }, + "end": { + "line": 152, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 4517, + "end": 4523, + "loc": { + "start": { + "line": 152, + "column": 48 + }, + "end": { + "line": 152, + "column": 54 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4523, + "end": 4524, + "loc": { + "start": { + "line": 152, + "column": 54 + }, + "end": { + "line": 152, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 4525, + "end": 4529, + "loc": { + "start": { + "line": 152, + "column": 56 + }, + "end": { + "line": 152, + "column": 60 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4529, + "end": 4530, + "loc": { + "start": { + "line": 152, + "column": 60 + }, + "end": { + "line": 152, + "column": 61 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 4531, + "end": 4535, + "loc": { + "start": { + "line": 152, + "column": 62 + }, + "end": { + "line": 152, + "column": 66 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4535, + "end": 4536, + "loc": { + "start": { + "line": 152, + "column": 66 + }, + "end": { + "line": 152, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 4537, + "end": 4545, + "loc": { + "start": { + "line": 152, + "column": 68 + }, + "end": { + "line": 152, + "column": 76 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4545, + "end": 4546, + "loc": { + "start": { + "line": 152, + "column": 76 + }, + "end": { + "line": 152, + "column": 77 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4547, + "end": 4550, + "loc": { + "start": { + "line": 152, + "column": 78 + }, + "end": { + "line": 152, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 4550, + "end": 4554, + "loc": { + "start": { + "line": 152, + "column": 81 + }, + "end": { + "line": 152, + "column": 85 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4554, + "end": 4555, + "loc": { + "start": { + "line": 152, + "column": 85 + }, + "end": { + "line": 152, + "column": 86 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4555, + "end": 4556, + "loc": { + "start": { + "line": 152, + "column": 86 + }, + "end": { + "line": 152, + "column": 87 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4565, + "end": 4566, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4566, + "end": 4567, + "loc": { + "start": { + "line": 153, + "column": 9 + }, + "end": { + "line": 153, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4567, + "end": 4568, + "loc": { + "start": { + "line": 153, + "column": 10 + }, + "end": { + "line": 153, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4575, + "end": 4576, + "loc": { + "start": { + "line": 154, + "column": 6 + }, + "end": { + "line": 154, + "column": 7 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4576, + "end": 4577, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 8 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4582, + "end": 4583, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4583, + "end": 4584, + "loc": { + "start": { + "line": 155, + "column": 5 + }, + "end": { + "line": 155, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4587, + "end": 4588, + "loc": { + "start": { + "line": 156, + "column": 2 + }, + "end": { + "line": 156, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 4589, + "end": 4593, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4594, + "end": 4595, + "loc": { + "start": { + "line": 156, + "column": 9 + }, + "end": { + "line": 156, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4600, + "end": 4606, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 4607, + "end": 4610, + "loc": { + "start": { + "line": 157, + "column": 11 + }, + "end": { + "line": 157, + "column": 14 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4611, + "end": 4613, + "loc": { + "start": { + "line": 157, + "column": 15 + }, + "end": { + "line": 157, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "publisher", + "start": 4614, + "end": 4623, + "loc": { + "start": { + "line": 157, + "column": 18 + }, + "end": { + "line": 157, + "column": 27 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4624, + "end": 4626, + "loc": { + "start": { + "line": 157, + "column": 28 + }, + "end": { + "line": 157, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "publisher", + "start": 4627, + "end": 4636, + "loc": { + "start": { + "line": 157, + "column": 31 + }, + "end": { + "line": 157, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4636, + "end": 4637, + "loc": { + "start": { + "line": 157, + "column": 40 + }, + "end": { + "line": 157, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4640, + "end": 4641, + "loc": { + "start": { + "line": 158, + "column": 2 + }, + "end": { + "line": 158, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4642, + "end": 4643, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link trace}, except meant to be used on the server side where a\n * {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 4645, + "end": 5538, + "loc": { + "start": { + "line": 161, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 5539, + "end": 5545, + "loc": { + "start": { + "line": 176, + "column": 0 + }, + "end": { + "line": 176, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 5546, + "end": 5554, + "loc": { + "start": { + "line": 176, + "column": 7 + }, + "end": { + "line": 176, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceAsChild", + "start": 5555, + "end": 5567, + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5567, + "end": 5568, + "loc": { + "start": { + "line": 176, + "column": 28 + }, + "end": { + "line": 176, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 5568, + "end": 5574, + "loc": { + "start": { + "line": 176, + "column": 29 + }, + "end": { + "line": 176, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5574, + "end": 5575, + "loc": { + "start": { + "line": 176, + "column": 35 + }, + "end": { + "line": 176, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 5576, + "end": 5580, + "loc": { + "start": { + "line": 176, + "column": 37 + }, + "end": { + "line": 176, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5580, + "end": 5581, + "loc": { + "start": { + "line": 176, + "column": 41 + }, + "end": { + "line": 176, + "column": 42 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5582, + "end": 5585, + "loc": { + "start": { + "line": 176, + "column": 43 + }, + "end": { + "line": 176, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 5585, + "end": 5589, + "loc": { + "start": { + "line": 176, + "column": 46 + }, + "end": { + "line": 176, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5589, + "end": 5590, + "loc": { + "start": { + "line": 176, + "column": 50 + }, + "end": { + "line": 176, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5591, + "end": 5592, + "loc": { + "start": { + "line": 176, + "column": 52 + }, + "end": { + "line": 176, + "column": 53 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 5595, + "end": 5597, + "loc": { + "start": { + "line": 177, + "column": 2 + }, + "end": { + "line": 177, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5598, + "end": 5599, + "loc": { + "start": { + "line": 177, + "column": 5 + }, + "end": { + "line": 177, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 5599, + "end": 5605, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 177, + "column": 12 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 5606, + "end": 5608, + "loc": { + "start": { + "line": 177, + "column": 13 + }, + "end": { + "line": 177, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 5609, + "end": 5613, + "loc": { + "start": { + "line": 177, + "column": 16 + }, + "end": { + "line": 177, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5613, + "end": 5614, + "loc": { + "start": { + "line": 177, + "column": 20 + }, + "end": { + "line": 177, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5615, + "end": 5616, + "loc": { + "start": { + "line": 177, + "column": 22 + }, + "end": { + "line": 177, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5621, + "end": 5627, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 178, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 5628, + "end": 5635, + "loc": { + "start": { + "line": 178, + "column": 11 + }, + "end": { + "line": 178, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5636, + "end": 5638, + "loc": { + "start": { + "line": 178, + "column": 19 + }, + "end": { + "line": 178, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5639, + "end": 5640, + "loc": { + "start": { + "line": 178, + "column": 22 + }, + "end": { + "line": 178, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5647, + "end": 5653, + "loc": { + "start": { + "line": 179, + "column": 6 + }, + "end": { + "line": 179, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowable", + "start": 5654, + "end": 5662, + "loc": { + "start": { + "line": 179, + "column": 13 + }, + "end": { + "line": 179, + "column": 21 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5663, + "end": 5665, + "loc": { + "start": { + "line": 179, + "column": 22 + }, + "end": { + "line": 179, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5666, + "end": 5667, + "loc": { + "start": { + "line": 179, + "column": 25 + }, + "end": { + "line": 179, + "column": 26 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5676, + "end": 5682, + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowable", + "start": 5683, + "end": 5691, + "loc": { + "start": { + "line": 180, + "column": 15 + }, + "end": { + "line": 180, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5691, + "end": 5692, + "loc": { + "start": { + "line": 180, + "column": 23 + }, + "end": { + "line": 180, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lift", + "start": 5692, + "end": 5696, + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5696, + "end": 5697, + "loc": { + "start": { + "line": 180, + "column": 28 + }, + "end": { + "line": 180, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 5697, + "end": 5707, + "loc": { + "start": { + "line": 180, + "column": 29 + }, + "end": { + "line": 180, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5708, + "end": 5710, + "loc": { + "start": { + "line": 180, + "column": 40 + }, + "end": { + "line": 180, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5711, + "end": 5712, + "loc": { + "start": { + "line": 180, + "column": 43 + }, + "end": { + "line": 180, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5723, + "end": 5729, + "loc": { + "start": { + "line": 181, + "column": 10 + }, + "end": { + "line": 181, + "column": 16 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5730, + "end": 5733, + "loc": { + "start": { + "line": 181, + "column": 17 + }, + "end": { + "line": 181, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SpanSubscriber", + "start": 5734, + "end": 5748, + "loc": { + "start": { + "line": 181, + "column": 21 + }, + "end": { + "line": 181, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5748, + "end": 5749, + "loc": { + "start": { + "line": 181, + "column": 35 + }, + "end": { + "line": 181, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subscriber", + "start": 5749, + "end": 5759, + "loc": { + "start": { + "line": 181, + "column": 36 + }, + "end": { + "line": 181, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5759, + "end": 5760, + "loc": { + "start": { + "line": 181, + "column": 46 + }, + "end": { + "line": 181, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 5761, + "end": 5767, + "loc": { + "start": { + "line": 181, + "column": 48 + }, + "end": { + "line": 181, + "column": 54 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5767, + "end": 5768, + "loc": { + "start": { + "line": 181, + "column": 54 + }, + "end": { + "line": 181, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 5769, + "end": 5773, + "loc": { + "start": { + "line": 181, + "column": 56 + }, + "end": { + "line": 181, + "column": 60 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5773, + "end": 5774, + "loc": { + "start": { + "line": 181, + "column": 60 + }, + "end": { + "line": 181, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 5775, + "end": 5782, + "loc": { + "start": { + "line": 181, + "column": 62 + }, + "end": { + "line": 181, + "column": 69 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5782, + "end": 5783, + "loc": { + "start": { + "line": 181, + "column": 69 + }, + "end": { + "line": 181, + "column": 70 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 5784, + "end": 5788, + "loc": { + "start": { + "line": 181, + "column": 71 + }, + "end": { + "line": 181, + "column": 75 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5788, + "end": 5789, + "loc": { + "start": { + "line": 181, + "column": 75 + }, + "end": { + "line": 181, + "column": 76 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5790, + "end": 5793, + "loc": { + "start": { + "line": 181, + "column": 77 + }, + "end": { + "line": 181, + "column": 80 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 5793, + "end": 5797, + "loc": { + "start": { + "line": 181, + "column": 80 + }, + "end": { + "line": 181, + "column": 84 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5797, + "end": 5798, + "loc": { + "start": { + "line": 181, + "column": 84 + }, + "end": { + "line": 181, + "column": 85 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5798, + "end": 5799, + "loc": { + "start": { + "line": 181, + "column": 85 + }, + "end": { + "line": 181, + "column": 86 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5808, + "end": 5809, + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5809, + "end": 5810, + "loc": { + "start": { + "line": 182, + "column": 9 + }, + "end": { + "line": 182, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5810, + "end": 5811, + "loc": { + "start": { + "line": 182, + "column": 10 + }, + "end": { + "line": 182, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5818, + "end": 5819, + "loc": { + "start": { + "line": 183, + "column": 6 + }, + "end": { + "line": 183, + "column": 7 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5819, + "end": 5820, + "loc": { + "start": { + "line": 183, + "column": 7 + }, + "end": { + "line": 183, + "column": 8 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5825, + "end": 5826, + "loc": { + "start": { + "line": 184, + "column": 4 + }, + "end": { + "line": 184, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5826, + "end": 5827, + "loc": { + "start": { + "line": 184, + "column": 5 + }, + "end": { + "line": 184, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5830, + "end": 5831, + "loc": { + "start": { + "line": 185, + "column": 2 + }, + "end": { + "line": 185, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 5832, + "end": 5836, + "loc": { + "start": { + "line": 185, + "column": 4 + }, + "end": { + "line": 185, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5837, + "end": 5838, + "loc": { + "start": { + "line": 185, + "column": 9 + }, + "end": { + "line": 185, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5843, + "end": 5849, + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 186, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 5850, + "end": 5857, + "loc": { + "start": { + "line": 186, + "column": 11 + }, + "end": { + "line": 186, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5858, + "end": 5860, + "loc": { + "start": { + "line": 186, + "column": 19 + }, + "end": { + "line": 186, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "publisher", + "start": 5861, + "end": 5870, + "loc": { + "start": { + "line": 186, + "column": 22 + }, + "end": { + "line": 186, + "column": 31 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5871, + "end": 5873, + "loc": { + "start": { + "line": 186, + "column": 32 + }, + "end": { + "line": 186, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "publisher", + "start": 5874, + "end": 5883, + "loc": { + "start": { + "line": 186, + "column": 35 + }, + "end": { + "line": 186, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5883, + "end": 5884, + "loc": { + "start": { + "line": 186, + "column": 44 + }, + "end": { + "line": 186, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5887, + "end": 5888, + "loc": { + "start": { + "line": 187, + "column": 2 + }, + "end": { + "line": 187, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5889, + "end": 5890, + "loc": { + "start": { + "line": 188, + "column": 0 + }, + "end": { + "line": 188, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Allows propagation of a {@link SpanContext} map through a Flowable.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 5892, + "end": 6844, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 210, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 6845, + "end": 6851, + "loc": { + "start": { + "line": 211, + "column": 0 + }, + "end": { + "line": 211, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 6852, + "end": 6860, + "loc": { + "start": { + "line": 211, + "column": 7 + }, + "end": { + "line": 211, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceSingle", + "start": 6861, + "end": 6872, + "loc": { + "start": { + "line": 211, + "column": 16 + }, + "end": { + "line": 211, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6872, + "end": 6873, + "loc": { + "start": { + "line": 211, + "column": 27 + }, + "end": { + "line": 211, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 6873, + "end": 6879, + "loc": { + "start": { + "line": 211, + "column": 28 + }, + "end": { + "line": 211, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6879, + "end": 6880, + "loc": { + "start": { + "line": 211, + "column": 34 + }, + "end": { + "line": 211, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 6881, + "end": 6885, + "loc": { + "start": { + "line": 211, + "column": 36 + }, + "end": { + "line": 211, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6885, + "end": 6886, + "loc": { + "start": { + "line": 211, + "column": 40 + }, + "end": { + "line": 211, + "column": 41 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6887, + "end": 6890, + "loc": { + "start": { + "line": 211, + "column": 42 + }, + "end": { + "line": 211, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 6890, + "end": 6894, + "loc": { + "start": { + "line": 211, + "column": 45 + }, + "end": { + "line": 211, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6894, + "end": 6895, + "loc": { + "start": { + "line": 211, + "column": 49 + }, + "end": { + "line": 211, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6896, + "end": 6897, + "loc": { + "start": { + "line": 211, + "column": 51 + }, + "end": { + "line": 211, + "column": 52 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 6900, + "end": 6902, + "loc": { + "start": { + "line": 212, + "column": 2 + }, + "end": { + "line": 212, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6903, + "end": 6904, + "loc": { + "start": { + "line": 212, + "column": 5 + }, + "end": { + "line": 212, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 6904, + "end": 6910, + "loc": { + "start": { + "line": 212, + "column": 6 + }, + "end": { + "line": 212, + "column": 12 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 6911, + "end": 6913, + "loc": { + "start": { + "line": 212, + "column": 13 + }, + "end": { + "line": 212, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 6914, + "end": 6918, + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6918, + "end": 6919, + "loc": { + "start": { + "line": 212, + "column": 20 + }, + "end": { + "line": 212, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6920, + "end": 6921, + "loc": { + "start": { + "line": 212, + "column": 22 + }, + "end": { + "line": 212, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6926, + "end": 6932, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 213, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 6933, + "end": 6941, + "loc": { + "start": { + "line": 213, + "column": 11 + }, + "end": { + "line": 213, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6942, + "end": 6944, + "loc": { + "start": { + "line": 213, + "column": 20 + }, + "end": { + "line": 213, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6945, + "end": 6946, + "loc": { + "start": { + "line": 213, + "column": 23 + }, + "end": { + "line": 213, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6953, + "end": 6959, + "loc": { + "start": { + "line": 214, + "column": 6 + }, + "end": { + "line": 214, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 6960, + "end": 6966, + "loc": { + "start": { + "line": 214, + "column": 13 + }, + "end": { + "line": 214, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6967, + "end": 6969, + "loc": { + "start": { + "line": 214, + "column": 20 + }, + "end": { + "line": 214, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6970, + "end": 6971, + "loc": { + "start": { + "line": 214, + "column": 23 + }, + "end": { + "line": 214, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 6980, + "end": 6986, + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createSpanSingle", + "start": 6987, + "end": 7003, + "loc": { + "start": { + "line": 215, + "column": 15 + }, + "end": { + "line": 215, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7003, + "end": 7004, + "loc": { + "start": { + "line": 215, + "column": 31 + }, + "end": { + "line": 215, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 7004, + "end": 7010, + "loc": { + "start": { + "line": 215, + "column": 32 + }, + "end": { + "line": 215, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7010, + "end": 7011, + "loc": { + "start": { + "line": 215, + "column": 38 + }, + "end": { + "line": 215, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 7012, + "end": 7018, + "loc": { + "start": { + "line": 215, + "column": 40 + }, + "end": { + "line": 215, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7018, + "end": 7019, + "loc": { + "start": { + "line": 215, + "column": 46 + }, + "end": { + "line": 215, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 7020, + "end": 7024, + "loc": { + "start": { + "line": 215, + "column": 48 + }, + "end": { + "line": 215, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7024, + "end": 7025, + "loc": { + "start": { + "line": 215, + "column": 52 + }, + "end": { + "line": 215, + "column": 53 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 7026, + "end": 7030, + "loc": { + "start": { + "line": 215, + "column": 54 + }, + "end": { + "line": 215, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7030, + "end": 7031, + "loc": { + "start": { + "line": 215, + "column": 58 + }, + "end": { + "line": 215, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 7032, + "end": 7040, + "loc": { + "start": { + "line": 215, + "column": 60 + }, + "end": { + "line": 215, + "column": 68 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7040, + "end": 7041, + "loc": { + "start": { + "line": 215, + "column": 68 + }, + "end": { + "line": 215, + "column": 69 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7042, + "end": 7045, + "loc": { + "start": { + "line": 215, + "column": 70 + }, + "end": { + "line": 215, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 7045, + "end": 7049, + "loc": { + "start": { + "line": 215, + "column": 73 + }, + "end": { + "line": 215, + "column": 77 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7049, + "end": 7050, + "loc": { + "start": { + "line": 215, + "column": 77 + }, + "end": { + "line": 215, + "column": 78 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7050, + "end": 7051, + "loc": { + "start": { + "line": 215, + "column": 78 + }, + "end": { + "line": 215, + "column": 79 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7058, + "end": 7059, + "loc": { + "start": { + "line": 216, + "column": 6 + }, + "end": { + "line": 216, + "column": 7 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7059, + "end": 7060, + "loc": { + "start": { + "line": 216, + "column": 7 + }, + "end": { + "line": 216, + "column": 8 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7065, + "end": 7066, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7066, + "end": 7067, + "loc": { + "start": { + "line": 217, + "column": 5 + }, + "end": { + "line": 217, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7070, + "end": 7071, + "loc": { + "start": { + "line": 218, + "column": 2 + }, + "end": { + "line": 218, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 7072, + "end": 7076, + "loc": { + "start": { + "line": 218, + "column": 4 + }, + "end": { + "line": 218, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7077, + "end": 7078, + "loc": { + "start": { + "line": 218, + "column": 9 + }, + "end": { + "line": 218, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7083, + "end": 7089, + "loc": { + "start": { + "line": 219, + "column": 4 + }, + "end": { + "line": 219, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 7090, + "end": 7093, + "loc": { + "start": { + "line": 219, + "column": 11 + }, + "end": { + "line": 219, + "column": 14 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7094, + "end": 7096, + "loc": { + "start": { + "line": 219, + "column": 15 + }, + "end": { + "line": 219, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 7097, + "end": 7103, + "loc": { + "start": { + "line": 219, + "column": 18 + }, + "end": { + "line": 219, + "column": 24 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7104, + "end": 7106, + "loc": { + "start": { + "line": 219, + "column": 25 + }, + "end": { + "line": 219, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 7107, + "end": 7113, + "loc": { + "start": { + "line": 219, + "column": 28 + }, + "end": { + "line": 219, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7113, + "end": 7114, + "loc": { + "start": { + "line": 219, + "column": 34 + }, + "end": { + "line": 219, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7117, + "end": 7118, + "loc": { + "start": { + "line": 220, + "column": 2 + }, + "end": { + "line": 220, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7119, + "end": 7120, + "loc": { + "start": { + "line": 221, + "column": 0 + }, + "end": { + "line": 221, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Similar to {@link traceSingle}, except meant to be used on the server side\n * where a {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n ", + "start": 7122, + "end": 8017, + "loc": { + "start": { + "line": 223, + "column": 0 + }, + "end": { + "line": 237, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 8018, + "end": 8024, + "loc": { + "start": { + "line": 238, + "column": 0 + }, + "end": { + "line": 238, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 8025, + "end": 8033, + "loc": { + "start": { + "line": 238, + "column": 7 + }, + "end": { + "line": 238, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceSingleAsChild", + "start": 8034, + "end": 8052, + "loc": { + "start": { + "line": 238, + "column": 16 + }, + "end": { + "line": 238, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8052, + "end": 8053, + "loc": { + "start": { + "line": 238, + "column": 34 + }, + "end": { + "line": 238, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 8053, + "end": 8059, + "loc": { + "start": { + "line": 238, + "column": 35 + }, + "end": { + "line": 238, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8059, + "end": 8060, + "loc": { + "start": { + "line": 238, + "column": 41 + }, + "end": { + "line": 238, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 8061, + "end": 8065, + "loc": { + "start": { + "line": 238, + "column": 43 + }, + "end": { + "line": 238, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8065, + "end": 8066, + "loc": { + "start": { + "line": 238, + "column": 47 + }, + "end": { + "line": 238, + "column": 48 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8067, + "end": 8070, + "loc": { + "start": { + "line": 238, + "column": 49 + }, + "end": { + "line": 238, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 8070, + "end": 8074, + "loc": { + "start": { + "line": 238, + "column": 52 + }, + "end": { + "line": 238, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8074, + "end": 8075, + "loc": { + "start": { + "line": 238, + "column": 56 + }, + "end": { + "line": 238, + "column": 57 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8076, + "end": 8077, + "loc": { + "start": { + "line": 238, + "column": 58 + }, + "end": { + "line": 238, + "column": 59 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 8080, + "end": 8082, + "loc": { + "start": { + "line": 239, + "column": 2 + }, + "end": { + "line": 239, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8083, + "end": 8084, + "loc": { + "start": { + "line": 239, + "column": 5 + }, + "end": { + "line": 239, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 8084, + "end": 8090, + "loc": { + "start": { + "line": 239, + "column": 6 + }, + "end": { + "line": 239, + "column": 12 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 8091, + "end": 8093, + "loc": { + "start": { + "line": 239, + "column": 13 + }, + "end": { + "line": 239, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 8094, + "end": 8098, + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8098, + "end": 8099, + "loc": { + "start": { + "line": 239, + "column": 20 + }, + "end": { + "line": 239, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8100, + "end": 8101, + "loc": { + "start": { + "line": 239, + "column": 22 + }, + "end": { + "line": 239, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 8106, + "end": 8112, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 8113, + "end": 8120, + "loc": { + "start": { + "line": 240, + "column": 11 + }, + "end": { + "line": 240, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8121, + "end": 8123, + "loc": { + "start": { + "line": 240, + "column": 19 + }, + "end": { + "line": 240, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8124, + "end": 8125, + "loc": { + "start": { + "line": 240, + "column": 22 + }, + "end": { + "line": 240, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 8132, + "end": 8138, + "loc": { + "start": { + "line": 241, + "column": 6 + }, + "end": { + "line": 241, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 8139, + "end": 8145, + "loc": { + "start": { + "line": 241, + "column": 13 + }, + "end": { + "line": 241, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8146, + "end": 8148, + "loc": { + "start": { + "line": 241, + "column": 20 + }, + "end": { + "line": 241, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8149, + "end": 8150, + "loc": { + "start": { + "line": 241, + "column": 23 + }, + "end": { + "line": 241, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 8159, + "end": 8165, + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createSpanSingle", + "start": 8166, + "end": 8182, + "loc": { + "start": { + "line": 242, + "column": 15 + }, + "end": { + "line": 242, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8182, + "end": 8183, + "loc": { + "start": { + "line": 242, + "column": 31 + }, + "end": { + "line": 242, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 8183, + "end": 8189, + "loc": { + "start": { + "line": 242, + "column": 32 + }, + "end": { + "line": 242, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8189, + "end": 8190, + "loc": { + "start": { + "line": 242, + "column": 38 + }, + "end": { + "line": 242, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracer", + "start": 8191, + "end": 8197, + "loc": { + "start": { + "line": 242, + "column": 40 + }, + "end": { + "line": 242, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8197, + "end": 8198, + "loc": { + "start": { + "line": 242, + "column": 46 + }, + "end": { + "line": 242, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 8199, + "end": 8203, + "loc": { + "start": { + "line": 242, + "column": 48 + }, + "end": { + "line": 242, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8203, + "end": 8204, + "loc": { + "start": { + "line": 242, + "column": 52 + }, + "end": { + "line": 242, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 8205, + "end": 8212, + "loc": { + "start": { + "line": 242, + "column": 54 + }, + "end": { + "line": 242, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8212, + "end": 8213, + "loc": { + "start": { + "line": 242, + "column": 61 + }, + "end": { + "line": 242, + "column": 62 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 8214, + "end": 8218, + "loc": { + "start": { + "line": 242, + "column": 63 + }, + "end": { + "line": 242, + "column": 67 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8218, + "end": 8219, + "loc": { + "start": { + "line": 242, + "column": 67 + }, + "end": { + "line": 242, + "column": 68 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8220, + "end": 8223, + "loc": { + "start": { + "line": 242, + "column": 69 + }, + "end": { + "line": 242, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tags", + "start": 8223, + "end": 8227, + "loc": { + "start": { + "line": 242, + "column": 72 + }, + "end": { + "line": 242, + "column": 76 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8227, + "end": 8228, + "loc": { + "start": { + "line": 242, + "column": 76 + }, + "end": { + "line": 242, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8228, + "end": 8229, + "loc": { + "start": { + "line": 242, + "column": 77 + }, + "end": { + "line": 242, + "column": 78 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8236, + "end": 8237, + "loc": { + "start": { + "line": 243, + "column": 6 + }, + "end": { + "line": 243, + "column": 7 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8237, + "end": 8238, + "loc": { + "start": { + "line": 243, + "column": 7 + }, + "end": { + "line": 243, + "column": 8 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8243, + "end": 8244, + "loc": { + "start": { + "line": 244, + "column": 4 + }, + "end": { + "line": 244, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8244, + "end": 8245, + "loc": { + "start": { + "line": 244, + "column": 5 + }, + "end": { + "line": 244, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8248, + "end": 8249, + "loc": { + "start": { + "line": 245, + "column": 2 + }, + "end": { + "line": 245, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 8250, + "end": 8254, + "loc": { + "start": { + "line": 245, + "column": 4 + }, + "end": { + "line": 245, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8255, + "end": 8256, + "loc": { + "start": { + "line": 245, + "column": 9 + }, + "end": { + "line": 245, + "column": 10 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 8261, + "end": 8267, + "loc": { + "start": { + "line": 246, + "column": 4 + }, + "end": { + "line": 246, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 8268, + "end": 8275, + "loc": { + "start": { + "line": 246, + "column": 11 + }, + "end": { + "line": 246, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8276, + "end": 8278, + "loc": { + "start": { + "line": 246, + "column": 19 + }, + "end": { + "line": 246, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 8279, + "end": 8285, + "loc": { + "start": { + "line": 246, + "column": 22 + }, + "end": { + "line": 246, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8286, + "end": 8288, + "loc": { + "start": { + "line": 246, + "column": 29 + }, + "end": { + "line": 246, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "single", + "start": 8289, + "end": 8295, + "loc": { + "start": { + "line": 246, + "column": 32 + }, + "end": { + "line": 246, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8295, + "end": 8296, + "loc": { + "start": { + "line": 246, + "column": 38 + }, + "end": { + "line": 246, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8299, + "end": 8300, + "loc": { + "start": { + "line": 247, + "column": 2 + }, + "end": { + "line": 247, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8301, + "end": 8302, + "loc": { + "start": { + "line": 248, + "column": 0 + }, + "end": { + "line": 248, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8302, + "end": 8302, + "loc": { + "start": { + "line": 248, + "column": 1 + }, + "end": { + "line": 248, + "column": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/tracing/src/__tests__/Tracing-test.js.json b/rsocket-rpc-js/docs/ast/source/tracing/src/__tests__/Tracing-test.js.json new file mode 100644 index 0000000..4cba5be --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/tracing/src/__tests__/Tracing-test.js.json @@ -0,0 +1,10638 @@ +{ + "type": "File", + "start": 0, + "end": 1122, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1122, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 30, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 30 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 15, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 15, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 15, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + }, + "identifierName": "expect" + }, + "name": "expect" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 23, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 23 + }, + "end": { + "line": 1, + "column": 29 + } + }, + "extra": { + "rawValue": "chai", + "raw": "'chai'" + }, + "value": "chai" + } + }, + { + "type": "ImportDeclaration", + "start": 31, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 37 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 40, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 40, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 17 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "local": { + "type": "Identifier", + "start": 40, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 17 + }, + "identifierName": "describe" + }, + "name": "describe" + } + }, + { + "type": "ImportSpecifier", + "start": 50, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 21 + } + }, + "imported": { + "type": "Identifier", + "start": 50, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 21 + }, + "identifierName": "it" + }, + "name": "it" + }, + "local": { + "type": "Identifier", + "start": 50, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 21 + }, + "identifierName": "it" + }, + "name": "it" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 60, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 36 + } + }, + "extra": { + "rawValue": "mocha", + "raw": "'mocha'" + }, + "value": "mocha" + } + }, + { + "type": "ImportDeclaration", + "start": 70, + "end": 124, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 54 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 79, + "end": 90, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 20 + } + }, + "imported": { + "type": "Identifier", + "start": 79, + "end": 90, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 20 + }, + "identifierName": "mapToBuffer" + }, + "name": "mapToBuffer" + }, + "local": { + "type": "Identifier", + "start": 79, + "end": 90, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 20 + }, + "identifierName": "mapToBuffer" + }, + "name": "mapToBuffer" + } + }, + { + "type": "ImportSpecifier", + "start": 92, + "end": 103, + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 33 + } + }, + "imported": { + "type": "Identifier", + "start": 92, + "end": 103, + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 33 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap" + }, + "local": { + "type": "Identifier", + "start": 92, + "end": 103, + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 33 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 111, + "end": 123, + "loc": { + "start": { + "line": 4, + "column": 41 + }, + "end": { + "line": 4, + "column": 53 + } + }, + "extra": { + "rawValue": "../Tracing", + "raw": "'../Tracing'" + }, + "value": "../Tracing" + } + }, + { + "type": "FunctionDeclaration", + "start": 126, + "end": 379, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 15, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 135, + "end": 146, + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 20 + }, + "identifierName": "generateMap" + }, + "name": "generateMap" + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 149, + "end": 379, + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 15, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 153, + "end": 203, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 159, + "end": 202, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 159, + "end": 163, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 12 + }, + "identifierName": "size" + }, + "name": "size" + }, + "init": { + "type": "BinaryExpression", + "start": 166, + "end": 202, + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 7, + "column": 51 + } + }, + "left": { + "type": "CallExpression", + "start": 166, + "end": 197, + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 7, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 166, + "end": 176, + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 7, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 166, + "end": 170, + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 7, + "column": 19 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 171, + "end": 176, + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 25 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 177, + "end": 196, + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 45 + } + }, + "left": { + "type": "CallExpression", + "start": 177, + "end": 190, + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 177, + "end": 188, + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 177, + "end": 181, + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 30 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 182, + "end": 188, + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 37 + }, + "identifierName": "random" + }, + "name": "random" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 193, + "end": 196, + "loc": { + "start": { + "line": 7, + "column": 42 + }, + "end": { + "line": 7, + "column": 45 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + } + ] + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 200, + "end": 202, + "loc": { + "start": { + "line": 7, + "column": 49 + }, + "end": { + "line": 7, + "column": 51 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 206, + "end": 221, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 17 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 212, + "end": 220, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 16 + } + }, + "id": { + "type": "Identifier", + "start": 212, + "end": 215, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 11 + }, + "identifierName": "map" + }, + "name": "map" + }, + "init": { + "type": "ObjectExpression", + "start": 218, + "end": 220, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 16 + } + }, + "properties": [] + } + } + ], + "kind": "const" + }, + { + "type": "ForStatement", + "start": 224, + "end": 363, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 13, + "column": 3 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 229, + "end": 238, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 233, + "end": 238, + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 16 + } + }, + "id": { + "type": "Identifier", + "start": 233, + "end": 234, + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 12 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 16 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 240, + "end": 248, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 244, + "end": 248, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 26 + }, + "identifierName": "size" + }, + "name": "size" + } + }, + "update": { + "type": "UpdateExpression", + "start": 250, + "end": 253, + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 31 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 250, + "end": 251, + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 29 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 255, + "end": 363, + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 13, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 261, + "end": 295, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 267, + "end": 294, + "loc": { + "start": { + "line": 10, + "column": 10 + }, + "end": { + "line": 10, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 267, + "end": 270, + "loc": { + "start": { + "line": 10, + "column": 10 + }, + "end": { + "line": 10, + "column": 13 + }, + "identifierName": "key" + }, + "name": "key" + }, + "init": { + "type": "CallExpression", + "start": 273, + "end": 294, + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 37 + } + }, + "callee": { + "type": "Identifier", + "start": 273, + "end": 287, + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 30 + }, + "identifierName": "generateString" + }, + "name": "generateString" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 288, + "end": 289, + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 32 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + { + "type": "NumericLiteral", + "start": 291, + "end": 293, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 10, + "column": 36 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 300, + "end": 337, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 306, + "end": 336, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 306, + "end": 311, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 15 + }, + "identifierName": "value" + }, + "name": "value" + }, + "init": { + "type": "CallExpression", + "start": 314, + "end": 336, + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 314, + "end": 328, + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 32 + }, + "identifierName": "generateString" + }, + "name": "generateString" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 329, + "end": 331, + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 35 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + }, + { + "type": "NumericLiteral", + "start": 333, + "end": 335, + "loc": { + "start": { + "line": 11, + "column": 37 + }, + "end": { + "line": 11, + "column": 39 + } + }, + "extra": { + "rawValue": 50, + "raw": "50" + }, + "value": 50 + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 342, + "end": 359, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 342, + "end": 358, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 342, + "end": 350, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 342, + "end": 345, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 7 + }, + "identifierName": "map" + }, + "name": "map" + }, + "property": { + "type": "Identifier", + "start": 346, + "end": 349, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 11 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 353, + "end": 358, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 20 + }, + "identifierName": "value" + }, + "name": "value" + } + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 366, + "end": 377, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 13 + } + }, + "argument": { + "type": "Identifier", + "start": 373, + "end": 376, + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 12 + }, + "identifierName": "map" + }, + "name": "map" + } + } + ], + "directives": [] + } + }, + { + "type": "FunctionDeclaration", + "start": 381, + "end": 583, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 24, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 390, + "end": 404, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 23 + }, + "identifierName": "generateString" + }, + "name": "generateString" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 405, + "end": 408, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 27 + }, + "identifierName": "min" + }, + "name": "min" + }, + { + "type": "Identifier", + "start": 410, + "end": 413, + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 32 + }, + "identifierName": "max" + }, + "name": "max" + } + ], + "body": { + "type": "BlockStatement", + "start": 415, + "end": 583, + "loc": { + "start": { + "line": 17, + "column": 34 + }, + "end": { + "line": 24, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 419, + "end": 470, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 425, + "end": 469, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 425, + "end": 429, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 12 + }, + "identifierName": "size" + }, + "name": "size" + }, + "init": { + "type": "BinaryExpression", + "start": 432, + "end": 469, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 52 + } + }, + "left": { + "type": "CallExpression", + "start": 432, + "end": 463, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 432, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 432, + "end": 436, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 19 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 437, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 25 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 443, + "end": 462, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 45 + } + }, + "left": { + "type": "CallExpression", + "start": 443, + "end": 456, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 443, + "end": 454, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 443, + "end": 447, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 30 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 448, + "end": 454, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 37 + }, + "identifierName": "random" + }, + "name": "random" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "Identifier", + "start": 459, + "end": 462, + "loc": { + "start": { + "line": 18, + "column": 42 + }, + "end": { + "line": 18, + "column": 45 + }, + "identifierName": "max" + }, + "name": "max" + } + } + ] + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 466, + "end": 469, + "loc": { + "start": { + "line": 18, + "column": 49 + }, + "end": { + "line": 18, + "column": 52 + }, + "identifierName": "min" + }, + "name": "min" + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 473, + "end": 491, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 20 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 477, + "end": 490, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 477, + "end": 485, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 14 + }, + "identifierName": "nextWord" + }, + "name": "nextWord" + }, + "init": { + "type": "StringLiteral", + "start": 488, + "end": 490, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 19 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + } + ], + "kind": "let" + }, + { + "type": "ForStatement", + "start": 494, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 22, + "column": 3 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 499, + "end": 508, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 503, + "end": 508, + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 16 + } + }, + "id": { + "type": "Identifier", + "start": 503, + "end": 504, + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 12 + }, + "identifierName": "j" + }, + "name": "j" + }, + "init": { + "type": "NumericLiteral", + "start": 507, + "end": 508, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 16 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 510, + "end": 518, + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 510, + "end": 511, + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 19 + }, + "identifierName": "j" + }, + "name": "j" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 514, + "end": 518, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 26 + }, + "identifierName": "size" + }, + "name": "size" + } + }, + "update": { + "type": "UpdateExpression", + "start": 520, + "end": 523, + "loc": { + "start": { + "line": 20, + "column": 28 + }, + "end": { + "line": 20, + "column": 31 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 20, + "column": 28 + }, + "end": { + "line": 20, + "column": 29 + }, + "identifierName": "j" + }, + "name": "j" + } + }, + "body": { + "type": "BlockStatement", + "start": 525, + "end": 562, + "loc": { + "start": { + "line": 20, + "column": 33 + }, + "end": { + "line": 22, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 531, + "end": 558, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 531, + "end": 557, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 30 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 531, + "end": 539, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 12 + }, + "identifierName": "nextWord" + }, + "name": "nextWord" + }, + "right": { + "type": "CallExpression", + "start": 543, + "end": 557, + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 543, + "end": 555, + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 28 + }, + "identifierName": "generateChar" + }, + "name": "generateChar" + }, + "arguments": [] + } + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 565, + "end": 581, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 572, + "end": 580, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 17 + }, + "identifierName": "nextWord" + }, + "name": "nextWord" + } + } + ], + "directives": [] + } + }, + { + "type": "VariableDeclaration", + "start": 585, + "end": 663, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 78 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 591, + "end": 662, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 77 + } + }, + "id": { + "type": "Identifier", + "start": 591, + "end": 596, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 11 + }, + "identifierName": "chars" + }, + "name": "chars" + }, + "init": { + "type": "StringLiteral", + "start": 599, + "end": 662, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 77 + } + }, + "extra": { + "rawValue": "abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", + "raw": "'abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'" + }, + "value": "abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 664, + "end": 739, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 75 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 670, + "end": 738, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 74 + } + }, + "id": { + "type": "Identifier", + "start": 670, + "end": 682, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 18 + }, + "identifierName": "generateChar" + }, + "name": "generateChar" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 685, + "end": 738, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 74 + } + }, + "id": { + "type": "Identifier", + "start": 670, + "end": 682, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 18 + }, + "identifierName": "generateChar" + }, + "name": "generateChar" + }, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "MemberExpression", + "start": 691, + "end": 738, + "loc": { + "start": { + "line": 27, + "column": 27 + }, + "end": { + "line": 27, + "column": 74 + } + }, + "object": { + "type": "Identifier", + "start": 691, + "end": 696, + "loc": { + "start": { + "line": 27, + "column": 27 + }, + "end": { + "line": 27, + "column": 32 + }, + "identifierName": "chars" + }, + "name": "chars" + }, + "property": { + "type": "CallExpression", + "start": 697, + "end": 737, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 697, + "end": 707, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 697, + "end": 701, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 37 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 702, + "end": 707, + "loc": { + "start": { + "line": 27, + "column": 38 + }, + "end": { + "line": 27, + "column": 43 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 708, + "end": 736, + "loc": { + "start": { + "line": 27, + "column": 44 + }, + "end": { + "line": 27, + "column": 72 + } + }, + "left": { + "type": "CallExpression", + "start": 708, + "end": 721, + "loc": { + "start": { + "line": 27, + "column": 44 + }, + "end": { + "line": 27, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 708, + "end": 719, + "loc": { + "start": { + "line": 27, + "column": 44 + }, + "end": { + "line": 27, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 708, + "end": 712, + "loc": { + "start": { + "line": 27, + "column": 44 + }, + "end": { + "line": 27, + "column": 48 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 713, + "end": 719, + "loc": { + "start": { + "line": 27, + "column": 49 + }, + "end": { + "line": 27, + "column": 55 + }, + "identifierName": "random" + }, + "name": "random" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "MemberExpression", + "start": 724, + "end": 736, + "loc": { + "start": { + "line": 27, + "column": 60 + }, + "end": { + "line": 27, + "column": 72 + } + }, + "object": { + "type": "Identifier", + "start": 724, + "end": 729, + "loc": { + "start": { + "line": 27, + "column": 60 + }, + "end": { + "line": 27, + "column": 65 + }, + "identifierName": "chars" + }, + "name": "chars" + }, + "property": { + "type": "Identifier", + "start": 730, + "end": 736, + "loc": { + "start": { + "line": 27, + "column": 66 + }, + "end": { + "line": 27, + "column": 72 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ] + }, + "computed": true + } + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Tracing}\n ", + "start": 741, + "end": 767, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 768, + "end": 1122, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 768, + "end": 1121, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 42, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 768, + "end": 776, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe", + "leadingComments": null + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 777, + "end": 794, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 26 + } + }, + "extra": { + "rawValue": "TRACING HELPERS", + "raw": "'TRACING HELPERS'" + }, + "value": "TRACING HELPERS" + }, + { + "type": "ArrowFunctionExpression", + "start": 796, + "end": 1120, + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 42, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 802, + "end": 1120, + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 42, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 806, + "end": 1118, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 41, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 806, + "end": 1117, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 41, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 806, + "end": 808, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 4 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 809, + "end": 855, + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 51 + } + }, + "extra": { + "rawValue": "serializes and deserializes an arbitrary map", + "raw": "'serializes and deserializes an arbitrary map'" + }, + "value": "serializes and deserializes an arbitrary map" + }, + { + "type": "ArrowFunctionExpression", + "start": 857, + "end": 1116, + "loc": { + "start": { + "line": 33, + "column": 53 + }, + "end": { + "line": 41, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 863, + "end": 1116, + "loc": { + "start": { + "line": 33, + "column": 59 + }, + "end": { + "line": 41, + "column": 3 + } + }, + "body": [ + { + "type": "ForStatement", + "start": 869, + "end": 1112, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 40, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 874, + "end": 883, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 878, + "end": 883, + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 878, + "end": 879, + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 882, + "end": 883, + "loc": { + "start": { + "line": 34, + "column": 17 + }, + "end": { + "line": 34, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "var" + }, + "test": { + "type": "BinaryExpression", + "start": 885, + "end": 893, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 885, + "end": 886, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 889, + "end": 893, + "loc": { + "start": { + "line": 34, + "column": 24 + }, + "end": { + "line": 34, + "column": 28 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + } + }, + "update": { + "type": "UpdateExpression", + "start": 895, + "end": 898, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 33 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 895, + "end": 896, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 31 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 900, + "end": 1112, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 40, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 908, + "end": 938, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 36 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 914, + "end": 937, + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 35 + } + }, + "id": { + "type": "Identifier", + "start": 914, + "end": 921, + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 19 + }, + "identifierName": "baseMap" + }, + "name": "baseMap" + }, + "init": { + "type": "CallExpression", + "start": 924, + "end": 937, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 924, + "end": 935, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 33 + }, + "identifierName": "generateMap" + }, + "name": "generateMap" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 945, + "end": 978, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 951, + "end": 977, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 951, + "end": 954, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 15 + }, + "identifierName": "buf" + }, + "name": "buf" + }, + "init": { + "type": "CallExpression", + "start": 957, + "end": 977, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 957, + "end": 968, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 29 + }, + "identifierName": "mapToBuffer" + }, + "name": "mapToBuffer" + }, + "arguments": [ + { + "type": "Identifier", + "start": 969, + "end": 976, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 37 + }, + "identifierName": "baseMap" + }, + "name": "baseMap" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 985, + "end": 1017, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 991, + "end": 1016, + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 991, + "end": 997, + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 18 + }, + "identifierName": "newBuf" + }, + "name": "newBuf" + }, + "init": { + "type": "CallExpression", + "start": 1000, + "end": 1016, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1000, + "end": 1011, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 1000, + "end": 1006, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 27 + }, + "identifierName": "Buffer" + }, + "name": "Buffer" + }, + "property": { + "type": "Identifier", + "start": 1007, + "end": 1011, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 32 + }, + "identifierName": "from" + }, + "name": "from" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1012, + "end": 1015, + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 36 + }, + "identifierName": "buf" + }, + "name": "buf" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1024, + "end": 1060, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 42 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1030, + "end": 1059, + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 41 + } + }, + "id": { + "type": "Identifier", + "start": 1030, + "end": 1037, + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 19 + }, + "identifierName": "testMap" + }, + "name": "testMap" + }, + "init": { + "type": "CallExpression", + "start": 1040, + "end": 1059, + "loc": { + "start": { + "line": 38, + "column": 22 + }, + "end": { + "line": 38, + "column": 41 + } + }, + "callee": { + "type": "Identifier", + "start": 1040, + "end": 1051, + "loc": { + "start": { + "line": 38, + "column": 22 + }, + "end": { + "line": 38, + "column": 33 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1052, + "end": 1058, + "loc": { + "start": { + "line": 38, + "column": 34 + }, + "end": { + "line": 38, + "column": 40 + }, + "identifierName": "newBuf" + }, + "name": "newBuf" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1067, + "end": 1106, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 45 + } + }, + "expression": { + "type": "CallExpression", + "start": 1067, + "end": 1105, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1067, + "end": 1096, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 1067, + "end": 1090, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 1067, + "end": 1085, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 24 + } + }, + "object": { + "type": "CallExpression", + "start": 1067, + "end": 1082, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 21 + } + }, + "callee": { + "type": "Identifier", + "start": 1067, + "end": 1073, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 12 + }, + "identifierName": "expect" + }, + "name": "expect" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1074, + "end": 1081, + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 20 + }, + "identifierName": "testMap" + }, + "name": "testMap" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1083, + "end": 1085, + "loc": { + "start": { + "line": 39, + "column": 22 + }, + "end": { + "line": 39, + "column": 24 + }, + "identifierName": "to" + }, + "name": "to" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1086, + "end": 1090, + "loc": { + "start": { + "line": 39, + "column": 25 + }, + "end": { + "line": 39, + "column": 29 + }, + "identifierName": "deep" + }, + "name": "deep" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1091, + "end": 1096, + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 35 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1097, + "end": 1104, + "loc": { + "start": { + "line": 39, + "column": 36 + }, + "end": { + "line": 39, + "column": 43 + }, + "identifierName": "baseMap" + }, + "name": "baseMap" + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Tracing}\n ", + "start": 741, + "end": 767, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @test {Tracing}\n ", + "start": 741, + "end": 767, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 9, + "end": 15, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16, + "end": 17, + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 18, + "end": 22, + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "chai", + "start": 23, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 23 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 29, + "end": 30, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 30 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 31, + "end": 37, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 38, + "end": 39, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 40, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 50, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 53, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 55, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "mocha", + "start": 60, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 67, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 37 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 70, + "end": 76, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 77, + "end": 78, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mapToBuffer", + "start": 79, + "end": 90, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 90, + "end": 91, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bufferToMap", + "start": 92, + "end": 103, + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 104, + "end": 105, + "loc": { + "start": { + "line": 4, + "column": 34 + }, + "end": { + "line": 4, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 106, + "end": 110, + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../Tracing", + "start": 111, + "end": 123, + "loc": { + "start": { + "line": 4, + "column": 41 + }, + "end": { + "line": 4, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 123, + "end": 124, + "loc": { + "start": { + "line": 4, + "column": 53 + }, + "end": { + "line": 4, + "column": 54 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 126, + "end": 134, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "generateMap", + "start": 135, + "end": 146, + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 146, + "end": 147, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 147, + "end": 148, + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 153, + "end": 158, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 159, + "end": 163, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 164, + "end": 165, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 166, + "end": 170, + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 170, + "end": 171, + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 171, + "end": 176, + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 176, + "end": 177, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 177, + "end": 181, + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 181, + "end": 182, + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "random", + "start": 182, + "end": 188, + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 188, + "end": 189, + "loc": { + "start": { + "line": 7, + "column": 37 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 189, + "end": 190, + "loc": { + "start": { + "line": 7, + "column": 38 + }, + "end": { + "line": 7, + "column": 39 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 191, + "end": 192, + "loc": { + "start": { + "line": 7, + "column": 40 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 193, + "end": 196, + "loc": { + "start": { + "line": 7, + "column": 42 + }, + "end": { + "line": 7, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 196, + "end": 197, + "loc": { + "start": { + "line": 7, + "column": 45 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 198, + "end": 199, + "loc": { + "start": { + "line": 7, + "column": 47 + }, + "end": { + "line": 7, + "column": 48 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 200, + "end": 202, + "loc": { + "start": { + "line": 7, + "column": 49 + }, + "end": { + "line": 7, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 202, + "end": 203, + "loc": { + "start": { + "line": 7, + "column": 51 + }, + "end": { + "line": 7, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 206, + "end": 211, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 212, + "end": 215, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 216, + "end": 217, + "loc": { + "start": { + "line": 8, + "column": 12 + }, + "end": { + "line": 8, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 218, + "end": 219, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 220, + "end": 221, + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 224, + "end": 227, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 228, + "end": 229, + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 7 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 229, + "end": 232, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 233, + "end": 234, + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 235, + "end": 236, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 9, + "column": 18 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 242, + "end": 243, + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 244, + "end": 248, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 248, + "end": 249, + "loc": { + "start": { + "line": 9, + "column": 26 + }, + "end": { + "line": 9, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 250, + "end": 251, + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 29 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 251, + "end": 253, + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 253, + "end": 254, + "loc": { + "start": { + "line": 9, + "column": 31 + }, + "end": { + "line": 9, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 255, + "end": 256, + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 261, + "end": 266, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 267, + "end": 270, + "loc": { + "start": { + "line": 10, + "column": 10 + }, + "end": { + "line": 10, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 271, + "end": 272, + "loc": { + "start": { + "line": 10, + "column": 14 + }, + "end": { + "line": 10, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "generateString", + "start": 273, + "end": 287, + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 287, + "end": 288, + "loc": { + "start": { + "line": 10, + "column": 30 + }, + "end": { + "line": 10, + "column": 31 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 288, + "end": 289, + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 289, + "end": 290, + "loc": { + "start": { + "line": 10, + "column": 32 + }, + "end": { + "line": 10, + "column": 33 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 291, + "end": 293, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 10, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 293, + "end": 294, + "loc": { + "start": { + "line": 10, + "column": 36 + }, + "end": { + "line": 10, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 294, + "end": 295, + "loc": { + "start": { + "line": 10, + "column": 37 + }, + "end": { + "line": 10, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 300, + "end": 305, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 306, + "end": 311, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 312, + "end": 313, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "generateString", + "start": 314, + "end": 328, + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 328, + "end": 329, + "loc": { + "start": { + "line": 11, + "column": 32 + }, + "end": { + "line": 11, + "column": 33 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10, + "start": 329, + "end": 331, + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 331, + "end": 332, + "loc": { + "start": { + "line": 11, + "column": 35 + }, + "end": { + "line": 11, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 50, + "start": 333, + "end": 335, + "loc": { + "start": { + "line": 11, + "column": 37 + }, + "end": { + "line": 11, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 335, + "end": 336, + "loc": { + "start": { + "line": 11, + "column": 39 + }, + "end": { + "line": 11, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 336, + "end": 337, + "loc": { + "start": { + "line": 11, + "column": 40 + }, + "end": { + "line": 11, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 342, + "end": 345, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 345, + "end": 346, + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 346, + "end": 349, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 349, + "end": 350, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 351, + "end": 352, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 353, + "end": 358, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 358, + "end": 359, + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 362, + "end": 363, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 366, + "end": 372, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 373, + "end": 376, + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 376, + "end": 377, + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 378, + "end": 379, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 1 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 381, + "end": 389, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "generateString", + "start": 390, + "end": 404, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 404, + "end": 405, + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 405, + "end": 408, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 408, + "end": 409, + "loc": { + "start": { + "line": 17, + "column": 27 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 410, + "end": 413, + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 415, + "end": 416, + "loc": { + "start": { + "line": 17, + "column": 34 + }, + "end": { + "line": 17, + "column": 35 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 419, + "end": 424, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 425, + "end": 429, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 18, + "column": 13 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 432, + "end": 436, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 436, + "end": 437, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 437, + "end": 442, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 442, + "end": 443, + "loc": { + "start": { + "line": 18, + "column": 25 + }, + "end": { + "line": 18, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 443, + "end": 447, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 447, + "end": 448, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "random", + "start": 448, + "end": 454, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 454, + "end": 455, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 455, + "end": 456, + "loc": { + "start": { + "line": 18, + "column": 38 + }, + "end": { + "line": 18, + "column": 39 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 457, + "end": 458, + "loc": { + "start": { + "line": 18, + "column": 40 + }, + "end": { + "line": 18, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 459, + "end": 462, + "loc": { + "start": { + "line": 18, + "column": 42 + }, + "end": { + "line": 18, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 462, + "end": 463, + "loc": { + "start": { + "line": 18, + "column": 45 + }, + "end": { + "line": 18, + "column": 46 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 464, + "end": 465, + "loc": { + "start": { + "line": 18, + "column": 47 + }, + "end": { + "line": 18, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 466, + "end": 469, + "loc": { + "start": { + "line": 18, + "column": 49 + }, + "end": { + "line": 18, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 469, + "end": 470, + "loc": { + "start": { + "line": 18, + "column": 52 + }, + "end": { + "line": 18, + "column": 53 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 473, + "end": 476, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nextWord", + "start": 477, + "end": 485, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 486, + "end": 487, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 488, + "end": 490, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 490, + "end": 491, + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 494, + "end": 497, + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 498, + "end": 499, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 499, + "end": 502, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "j", + "start": 503, + "end": 504, + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 505, + "end": 506, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 14 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 507, + "end": 508, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 508, + "end": 509, + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "j", + "start": 510, + "end": 511, + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 512, + "end": 513, + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "size", + "start": 514, + "end": 518, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 518, + "end": 519, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "j", + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 20, + "column": 28 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 521, + "end": 523, + "loc": { + "start": { + "line": 20, + "column": 29 + }, + "end": { + "line": 20, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 523, + "end": 524, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 525, + "end": 526, + "loc": { + "start": { + "line": 20, + "column": 33 + }, + "end": { + "line": 20, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nextWord", + "start": 531, + "end": 539, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 12 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 540, + "end": 542, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "generateChar", + "start": 543, + "end": 555, + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 556, + "end": 557, + "loc": { + "start": { + "line": 21, + "column": 29 + }, + "end": { + "line": 21, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 557, + "end": 558, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 565, + "end": 571, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nextWord", + "start": 572, + "end": 580, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 580, + "end": 581, + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 582, + "end": 583, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 1 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 585, + "end": 590, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chars", + "start": 591, + "end": 596, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 597, + "end": 598, + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", + "start": 599, + "end": 662, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 662, + "end": 663, + "loc": { + "start": { + "line": 26, + "column": 77 + }, + "end": { + "line": 26, + "column": 78 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 664, + "end": 669, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "generateChar", + "start": 670, + "end": 682, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 683, + "end": 684, + "loc": { + "start": { + "line": 27, + "column": 19 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 685, + "end": 686, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 686, + "end": 687, + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 688, + "end": 690, + "loc": { + "start": { + "line": 27, + "column": 24 + }, + "end": { + "line": 27, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chars", + "start": 691, + "end": 696, + "loc": { + "start": { + "line": 27, + "column": 27 + }, + "end": { + "line": 27, + "column": 32 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 696, + "end": 697, + "loc": { + "start": { + "line": 27, + "column": 32 + }, + "end": { + "line": 27, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 697, + "end": 701, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 701, + "end": 702, + "loc": { + "start": { + "line": 27, + "column": 37 + }, + "end": { + "line": 27, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 702, + "end": 707, + "loc": { + "start": { + "line": 27, + "column": 38 + }, + "end": { + "line": 27, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 707, + "end": 708, + "loc": { + "start": { + "line": 27, + "column": 43 + }, + "end": { + "line": 27, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 708, + "end": 712, + "loc": { + "start": { + "line": 27, + "column": 44 + }, + "end": { + "line": 27, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 712, + "end": 713, + "loc": { + "start": { + "line": 27, + "column": 48 + }, + "end": { + "line": 27, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "random", + "start": 713, + "end": 719, + "loc": { + "start": { + "line": 27, + "column": 49 + }, + "end": { + "line": 27, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 27, + "column": 55 + }, + "end": { + "line": 27, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 27, + "column": 56 + }, + "end": { + "line": 27, + "column": 57 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 722, + "end": 723, + "loc": { + "start": { + "line": 27, + "column": 58 + }, + "end": { + "line": 27, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chars", + "start": 724, + "end": 729, + "loc": { + "start": { + "line": 27, + "column": 60 + }, + "end": { + "line": 27, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 729, + "end": 730, + "loc": { + "start": { + "line": 27, + "column": 65 + }, + "end": { + "line": 27, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 730, + "end": 736, + "loc": { + "start": { + "line": 27, + "column": 66 + }, + "end": { + "line": 27, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 736, + "end": 737, + "loc": { + "start": { + "line": 27, + "column": 72 + }, + "end": { + "line": 27, + "column": 73 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 737, + "end": 738, + "loc": { + "start": { + "line": 27, + "column": 73 + }, + "end": { + "line": 27, + "column": 74 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 738, + "end": 739, + "loc": { + "start": { + "line": 27, + "column": 74 + }, + "end": { + "line": 27, + "column": 75 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @test {Tracing}\n ", + "start": 741, + "end": 767, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 768, + "end": 776, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 776, + "end": 777, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "TRACING HELPERS", + "start": 777, + "end": 794, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 794, + "end": 795, + "loc": { + "start": { + "line": 32, + "column": 26 + }, + "end": { + "line": 32, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 796, + "end": 797, + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 797, + "end": 798, + "loc": { + "start": { + "line": 32, + "column": 29 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 799, + "end": 801, + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 802, + "end": 803, + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 32, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 806, + "end": 808, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 808, + "end": 809, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "serializes and deserializes an arbitrary map", + "start": 809, + "end": 855, + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 51 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 855, + "end": 856, + "loc": { + "start": { + "line": 33, + "column": 51 + }, + "end": { + "line": 33, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 33, + "column": 53 + }, + "end": { + "line": 33, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 858, + "end": 859, + "loc": { + "start": { + "line": 33, + "column": 54 + }, + "end": { + "line": 33, + "column": 55 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 860, + "end": 862, + "loc": { + "start": { + "line": 33, + "column": 56 + }, + "end": { + "line": 33, + "column": 58 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 863, + "end": 864, + "loc": { + "start": { + "line": 33, + "column": 59 + }, + "end": { + "line": 33, + "column": 60 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 869, + "end": 872, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 873, + "end": 874, + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 874, + "end": 877, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 878, + "end": 879, + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 880, + "end": 881, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 882, + "end": 883, + "loc": { + "start": { + "line": 34, + "column": 17 + }, + "end": { + "line": 34, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 883, + "end": 884, + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 885, + "end": 886, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 887, + "end": 888, + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 889, + "end": 893, + "loc": { + "start": { + "line": 34, + "column": 24 + }, + "end": { + "line": 34, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 893, + "end": 894, + "loc": { + "start": { + "line": 34, + "column": 28 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 895, + "end": 896, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 31 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 896, + "end": 898, + "loc": { + "start": { + "line": 34, + "column": 31 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 898, + "end": 899, + "loc": { + "start": { + "line": 34, + "column": 33 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 900, + "end": 901, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 36 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 908, + "end": 913, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "baseMap", + "start": 914, + "end": 921, + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 922, + "end": 923, + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "generateMap", + "start": 924, + "end": 935, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 935, + "end": 936, + "loc": { + "start": { + "line": 35, + "column": 33 + }, + "end": { + "line": 35, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 936, + "end": 937, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 937, + "end": 938, + "loc": { + "start": { + "line": 35, + "column": 35 + }, + "end": { + "line": 35, + "column": 36 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 945, + "end": 950, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buf", + "start": 951, + "end": 954, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 955, + "end": 956, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mapToBuffer", + "start": 957, + "end": 968, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 968, + "end": 969, + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "baseMap", + "start": 969, + "end": 976, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 976, + "end": 977, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 977, + "end": 978, + "loc": { + "start": { + "line": 36, + "column": 38 + }, + "end": { + "line": 36, + "column": 39 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 985, + "end": 990, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBuf", + "start": 991, + "end": 997, + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 998, + "end": 999, + "loc": { + "start": { + "line": 37, + "column": 19 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Buffer", + "start": 1000, + "end": 1006, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1006, + "end": 1007, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1007, + "end": 1011, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1011, + "end": 1012, + "loc": { + "start": { + "line": 37, + "column": 32 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buf", + "start": 1012, + "end": 1015, + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1015, + "end": 1016, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1016, + "end": 1017, + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1024, + "end": 1029, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "testMap", + "start": 1030, + "end": 1037, + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1038, + "end": 1039, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bufferToMap", + "start": 1040, + "end": 1051, + "loc": { + "start": { + "line": 38, + "column": 22 + }, + "end": { + "line": 38, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1051, + "end": 1052, + "loc": { + "start": { + "line": 38, + "column": 33 + }, + "end": { + "line": 38, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBuf", + "start": 1052, + "end": 1058, + "loc": { + "start": { + "line": 38, + "column": 34 + }, + "end": { + "line": 38, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1058, + "end": 1059, + "loc": { + "start": { + "line": 38, + "column": 40 + }, + "end": { + "line": 38, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1059, + "end": 1060, + "loc": { + "start": { + "line": 38, + "column": 41 + }, + "end": { + "line": 38, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "expect", + "start": 1067, + "end": 1073, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1073, + "end": 1074, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "testMap", + "start": 1074, + "end": 1081, + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1081, + "end": 1082, + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1082, + "end": 1083, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1083, + "end": 1085, + "loc": { + "start": { + "line": 39, + "column": 22 + }, + "end": { + "line": 39, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1085, + "end": 1086, + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deep", + "start": 1086, + "end": 1090, + "loc": { + "start": { + "line": 39, + "column": 25 + }, + "end": { + "line": 39, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1090, + "end": 1091, + "loc": { + "start": { + "line": 39, + "column": 29 + }, + "end": { + "line": 39, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1091, + "end": 1096, + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1096, + "end": 1097, + "loc": { + "start": { + "line": 39, + "column": 35 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "baseMap", + "start": 1097, + "end": 1104, + "loc": { + "start": { + "line": 39, + "column": 36 + }, + "end": { + "line": 39, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1104, + "end": 1105, + "loc": { + "start": { + "line": 39, + "column": 43 + }, + "end": { + "line": 39, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1105, + "end": 1106, + "loc": { + "start": { + "line": 39, + "column": 44 + }, + "end": { + "line": 39, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1111, + "end": 1112, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1115, + "end": 1116, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1116, + "end": 1117, + "loc": { + "start": { + "line": 41, + "column": 3 + }, + "end": { + "line": 41, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1117, + "end": 1118, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1119, + "end": 1120, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1120, + "end": 1121, + "loc": { + "start": { + "line": 42, + "column": 1 + }, + "end": { + "line": 42, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1121, + "end": 1122, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1122, + "end": 1122, + "loc": { + "start": { + "line": 42, + "column": 3 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/ast/source/tracing/src/index.js.json b/rsocket-rpc-js/docs/ast/source/tracing/src/index.js.json new file mode 100644 index 0000000..8394439 --- /dev/null +++ b/rsocket-rpc-js/docs/ast/source/tracing/src/index.js.json @@ -0,0 +1,1883 @@ +{ + "type": "File", + "start": 0, + "end": 1201, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 35, + "column": 112 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1201, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 35, + "column": 112 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 958, + "end": 1087, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 129 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 967, + "end": 972, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 14 + } + }, + "imported": { + "type": "Identifier", + "start": 967, + "end": 972, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 14 + }, + "identifierName": "trace" + }, + "name": "trace" + }, + "local": { + "type": "Identifier", + "start": 967, + "end": 972, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 14 + }, + "identifierName": "trace" + }, + "name": "trace" + } + }, + { + "type": "ImportSpecifier", + "start": 974, + "end": 986, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 28 + } + }, + "imported": { + "type": "Identifier", + "start": 974, + "end": 986, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 28 + }, + "identifierName": "traceAsChild" + }, + "name": "traceAsChild" + }, + "local": { + "type": "Identifier", + "start": 974, + "end": 986, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 28 + }, + "identifierName": "traceAsChild" + }, + "name": "traceAsChild" + } + }, + { + "type": "ImportSpecifier", + "start": 988, + "end": 999, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 41 + } + }, + "imported": { + "type": "Identifier", + "start": 988, + "end": 999, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 41 + }, + "identifierName": "traceSingle" + }, + "name": "traceSingle" + }, + "local": { + "type": "Identifier", + "start": 988, + "end": 999, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 41 + }, + "identifierName": "traceSingle" + }, + "name": "traceSingle" + } + }, + { + "type": "ImportSpecifier", + "start": 1001, + "end": 1019, + "loc": { + "start": { + "line": 33, + "column": 43 + }, + "end": { + "line": 33, + "column": 61 + } + }, + "imported": { + "type": "Identifier", + "start": 1001, + "end": 1019, + "loc": { + "start": { + "line": 33, + "column": 43 + }, + "end": { + "line": 33, + "column": 61 + }, + "identifierName": "traceSingleAsChild" + }, + "name": "traceSingleAsChild" + }, + "local": { + "type": "Identifier", + "start": 1001, + "end": 1019, + "loc": { + "start": { + "line": 33, + "column": 43 + }, + "end": { + "line": 33, + "column": 61 + }, + "identifierName": "traceSingleAsChild" + }, + "name": "traceSingleAsChild" + } + }, + { + "type": "ImportSpecifier", + "start": 1021, + "end": 1032, + "loc": { + "start": { + "line": 33, + "column": 63 + }, + "end": { + "line": 33, + "column": 74 + } + }, + "imported": { + "type": "Identifier", + "start": 1021, + "end": 1032, + "loc": { + "start": { + "line": 33, + "column": 63 + }, + "end": { + "line": 33, + "column": 74 + }, + "identifierName": "mapToBuffer" + }, + "name": "mapToBuffer" + }, + "local": { + "type": "Identifier", + "start": 1021, + "end": 1032, + "loc": { + "start": { + "line": 33, + "column": 63 + }, + "end": { + "line": 33, + "column": 74 + }, + "identifierName": "mapToBuffer" + }, + "name": "mapToBuffer" + } + }, + { + "type": "ImportSpecifier", + "start": 1034, + "end": 1054, + "loc": { + "start": { + "line": 33, + "column": 76 + }, + "end": { + "line": 33, + "column": 96 + } + }, + "imported": { + "type": "Identifier", + "start": 1034, + "end": 1054, + "loc": { + "start": { + "line": 33, + "column": 76 + }, + "end": { + "line": 33, + "column": 96 + }, + "identifierName": "deserializeTraceData" + }, + "name": "deserializeTraceData" + }, + "local": { + "type": "Identifier", + "start": 1034, + "end": 1054, + "loc": { + "start": { + "line": 33, + "column": 76 + }, + "end": { + "line": 33, + "column": 96 + }, + "identifierName": "deserializeTraceData" + }, + "name": "deserializeTraceData" + } + }, + { + "type": "ImportSpecifier", + "start": 1056, + "end": 1067, + "loc": { + "start": { + "line": 33, + "column": 98 + }, + "end": { + "line": 33, + "column": 109 + } + }, + "imported": { + "type": "Identifier", + "start": 1056, + "end": 1067, + "loc": { + "start": { + "line": 33, + "column": 98 + }, + "end": { + "line": 33, + "column": 109 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap" + }, + "local": { + "type": "Identifier", + "start": 1056, + "end": 1067, + "loc": { + "start": { + "line": 33, + "column": 98 + }, + "end": { + "line": 33, + "column": 109 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 1075, + "end": 1086, + "loc": { + "start": { + "line": 33, + "column": 117 + }, + "end": { + "line": 33, + "column": 128 + } + }, + "extra": { + "rawValue": "./Tracing", + "raw": "'./Tracing'" + }, + "value": "./Tracing" + } + }, + { + "type": "ExportNamedDeclaration", + "start": 1089, + "end": 1201, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 112 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 1098, + "end": 1103, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 1098, + "end": 1103, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 14 + }, + "identifierName": "trace" + }, + "name": "trace" + }, + "exported": { + "type": "Identifier", + "start": 1098, + "end": 1103, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 14 + }, + "identifierName": "trace" + }, + "name": "trace" + } + }, + { + "type": "ExportSpecifier", + "start": 1105, + "end": 1117, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 28 + } + }, + "local": { + "type": "Identifier", + "start": 1105, + "end": 1117, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 28 + }, + "identifierName": "traceAsChild" + }, + "name": "traceAsChild" + }, + "exported": { + "type": "Identifier", + "start": 1105, + "end": 1117, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 28 + }, + "identifierName": "traceAsChild" + }, + "name": "traceAsChild" + } + }, + { + "type": "ExportSpecifier", + "start": 1119, + "end": 1130, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 41 + } + }, + "local": { + "type": "Identifier", + "start": 1119, + "end": 1130, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 41 + }, + "identifierName": "traceSingle" + }, + "name": "traceSingle" + }, + "exported": { + "type": "Identifier", + "start": 1119, + "end": 1130, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 41 + }, + "identifierName": "traceSingle" + }, + "name": "traceSingle" + } + }, + { + "type": "ExportSpecifier", + "start": 1132, + "end": 1150, + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 61 + } + }, + "local": { + "type": "Identifier", + "start": 1132, + "end": 1150, + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 61 + }, + "identifierName": "traceSingleAsChild" + }, + "name": "traceSingleAsChild" + }, + "exported": { + "type": "Identifier", + "start": 1132, + "end": 1150, + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 61 + }, + "identifierName": "traceSingleAsChild" + }, + "name": "traceSingleAsChild" + } + }, + { + "type": "ExportSpecifier", + "start": 1152, + "end": 1163, + "loc": { + "start": { + "line": 35, + "column": 63 + }, + "end": { + "line": 35, + "column": 74 + } + }, + "local": { + "type": "Identifier", + "start": 1152, + "end": 1163, + "loc": { + "start": { + "line": 35, + "column": 63 + }, + "end": { + "line": 35, + "column": 74 + }, + "identifierName": "mapToBuffer" + }, + "name": "mapToBuffer" + }, + "exported": { + "type": "Identifier", + "start": 1152, + "end": 1163, + "loc": { + "start": { + "line": 35, + "column": 63 + }, + "end": { + "line": 35, + "column": 74 + }, + "identifierName": "mapToBuffer" + }, + "name": "mapToBuffer" + } + }, + { + "type": "ExportSpecifier", + "start": 1165, + "end": 1185, + "loc": { + "start": { + "line": 35, + "column": 76 + }, + "end": { + "line": 35, + "column": 96 + } + }, + "local": { + "type": "Identifier", + "start": 1165, + "end": 1185, + "loc": { + "start": { + "line": 35, + "column": 76 + }, + "end": { + "line": 35, + "column": 96 + }, + "identifierName": "deserializeTraceData" + }, + "name": "deserializeTraceData" + }, + "exported": { + "type": "Identifier", + "start": 1165, + "end": 1185, + "loc": { + "start": { + "line": 35, + "column": 76 + }, + "end": { + "line": 35, + "column": 96 + }, + "identifierName": "deserializeTraceData" + }, + "name": "deserializeTraceData" + } + }, + { + "type": "ExportSpecifier", + "start": 1187, + "end": 1198, + "loc": { + "start": { + "line": 35, + "column": 98 + }, + "end": { + "line": 35, + "column": 109 + } + }, + "local": { + "type": "Identifier", + "start": 1187, + "end": 1198, + "loc": { + "start": { + "line": 35, + "column": 98 + }, + "end": { + "line": 35, + "column": 109 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap" + }, + "exported": { + "type": "Identifier", + "start": 1187, + "end": 1198, + "loc": { + "start": { + "line": 35, + "column": 98 + }, + "end": { + "line": 35, + "column": 109 + }, + "identifierName": "bufferToMap" + }, + "name": "bufferToMap" + } + } + ], + "source": null + } + ], + "directives": [ + { + "type": "Directive", + "start": 943, + "end": 956, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 943, + "end": 955, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/tracing\n * @fileoverview Exports the Tracing package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Tracing\n * @exports trace\n * @exports traceAsChild\n * @exports traceSingle\n * @exports traceSingleAsChild\n * @exports mapToBuffer\n * @exports deserializeTraceData\n * @exports bufferToMap\n ", + "start": 0, + "end": 941, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + } + ] + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/tracing\n * @fileoverview Exports the Tracing package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Tracing\n * @exports trace\n * @exports traceAsChild\n * @exports traceSingle\n * @exports traceSingleAsChild\n * @exports mapToBuffer\n * @exports deserializeTraceData\n * @exports bufferToMap\n ", + "start": 0, + "end": 941, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @name rsocket-rpc-js/packages/tracing\n * @fileoverview Exports the Tracing package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * \n *\n * @requires Tracing\n * @exports trace\n * @exports traceAsChild\n * @exports traceSingle\n * @exports traceSingleAsChild\n * @exports mapToBuffer\n * @exports deserializeTraceData\n * @exports bufferToMap\n ", + "start": 0, + "end": 941, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 943, + "end": 955, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 955, + "end": 956, + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 13 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 958, + "end": 964, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 33, + "column": 7 + }, + "end": { + "line": 33, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "trace", + "start": 967, + "end": 972, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 972, + "end": 973, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceAsChild", + "start": 974, + "end": 986, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 986, + "end": 987, + "loc": { + "start": { + "line": 33, + "column": 28 + }, + "end": { + "line": 33, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceSingle", + "start": 988, + "end": 999, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 999, + "end": 1000, + "loc": { + "start": { + "line": 33, + "column": 41 + }, + "end": { + "line": 33, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceSingleAsChild", + "start": 1001, + "end": 1019, + "loc": { + "start": { + "line": 33, + "column": 43 + }, + "end": { + "line": 33, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1019, + "end": 1020, + "loc": { + "start": { + "line": 33, + "column": 61 + }, + "end": { + "line": 33, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mapToBuffer", + "start": 1021, + "end": 1032, + "loc": { + "start": { + "line": 33, + "column": 63 + }, + "end": { + "line": 33, + "column": 74 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1032, + "end": 1033, + "loc": { + "start": { + "line": 33, + "column": 74 + }, + "end": { + "line": 33, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deserializeTraceData", + "start": 1034, + "end": 1054, + "loc": { + "start": { + "line": 33, + "column": 76 + }, + "end": { + "line": 33, + "column": 96 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1054, + "end": 1055, + "loc": { + "start": { + "line": 33, + "column": 96 + }, + "end": { + "line": 33, + "column": 97 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bufferToMap", + "start": 1056, + "end": 1067, + "loc": { + "start": { + "line": 33, + "column": 98 + }, + "end": { + "line": 33, + "column": 109 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1068, + "end": 1069, + "loc": { + "start": { + "line": 33, + "column": 110 + }, + "end": { + "line": 33, + "column": 111 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1070, + "end": 1074, + "loc": { + "start": { + "line": 33, + "column": 112 + }, + "end": { + "line": 33, + "column": 116 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Tracing", + "start": 1075, + "end": 1086, + "loc": { + "start": { + "line": 33, + "column": 117 + }, + "end": { + "line": 33, + "column": 128 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1086, + "end": 1087, + "loc": { + "start": { + "line": 33, + "column": 128 + }, + "end": { + "line": 33, + "column": 129 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1089, + "end": 1095, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1096, + "end": 1097, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "trace", + "start": 1098, + "end": 1103, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1103, + "end": 1104, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceAsChild", + "start": 1105, + "end": 1117, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1117, + "end": 1118, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceSingle", + "start": 1119, + "end": 1130, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1130, + "end": 1131, + "loc": { + "start": { + "line": 35, + "column": 41 + }, + "end": { + "line": 35, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "traceSingleAsChild", + "start": 1132, + "end": 1150, + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1150, + "end": 1151, + "loc": { + "start": { + "line": 35, + "column": 61 + }, + "end": { + "line": 35, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mapToBuffer", + "start": 1152, + "end": 1163, + "loc": { + "start": { + "line": 35, + "column": 63 + }, + "end": { + "line": 35, + "column": 74 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1163, + "end": 1164, + "loc": { + "start": { + "line": 35, + "column": 74 + }, + "end": { + "line": 35, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deserializeTraceData", + "start": 1165, + "end": 1185, + "loc": { + "start": { + "line": 35, + "column": 76 + }, + "end": { + "line": 35, + "column": 96 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1185, + "end": 1186, + "loc": { + "start": { + "line": 35, + "column": 96 + }, + "end": { + "line": 35, + "column": 97 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bufferToMap", + "start": 1187, + "end": 1198, + "loc": { + "start": { + "line": 35, + "column": 98 + }, + "end": { + "line": 35, + "column": 109 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1199, + "end": 1200, + "loc": { + "start": { + "line": 35, + "column": 110 + }, + "end": { + "line": 35, + "column": 111 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1200, + "end": 1201, + "loc": { + "start": { + "line": 35, + "column": 111 + }, + "end": { + "line": 35, + "column": 112 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1201, + "end": 1201, + "loc": { + "start": { + "line": 35, + "column": 112 + }, + "end": { + "line": 35, + "column": 112 + } + } + } + ] +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/badge.svg b/rsocket-rpc-js/docs/badge.svg new file mode 100644 index 0000000..059d64f --- /dev/null +++ b/rsocket-rpc-js/docs/badge.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + document + document + 78% + 78% + + diff --git a/rsocket-rpc-js/docs/class/packages/core/src/QueuingFlowableProcessor.js~QueuingFlowableProcessor.html b/rsocket-rpc-js/docs/class/packages/core/src/QueuingFlowableProcessor.js~QueuingFlowableProcessor.html new file mode 100644 index 0000000..4a5af8f --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/core/src/QueuingFlowableProcessor.js~QueuingFlowableProcessor.html @@ -0,0 +1,1846 @@ + + + + + + QueuingFlowableProcessor + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import QueuingFlowableProcessor from './packages/core/src/QueuingFlowableProcessor.js'
+ public + class + + + + | source +
+ +
+

QueuingFlowableProcessor

+ + + + + + + + + + + + + + + +

An underlying source of values for a Publisher.

+
+ + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(capacity: number) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Private Members
+ private + + + + + +
+

+ + + + _actual: Subscriber<T> +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _cancelled: boolean +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _capacity: number +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _done: boolean +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _error: Error +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _once: boolean +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _queue: T[] +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _requested: number +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _transformers: function[] +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _wip: number +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + cancel() +

+
+
+ + +

The subscriber to this QueuingFlowableProcessor calls this method to +indicate that it wants no more items and that the +QueuingFlowableProcessor can stop work and empty its queue.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + drain() +

+
+
+ + +

Drain the existing queue of items that are ready for emission by the +QueuingFlowableProcessor by emitting them to its subscriber.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + map(transformer: function): QueuingFlowableProcessor +

+
+
+ + +

Add a mapping function that modifies each emission from the Flowable +producer before emitting it from the QueuingFlowableProcessor.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + onComplete() +

+
+
+ + +

The Flowable producer calls this method to signal to this +QueuingFlowableProcessor that the producer has finished emitting +items.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + onError(t: Error) +

+
+
+ + +

The Flowable producer calls this method to signal to this +QueuingFlowableProcessor that the producer has encountered an error.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + onNext(t: T) +

+
+
+ + +

The Flowable producer calls this method to add an item to the queue +of this QueuingFlowableProcessor for later emission to its +subscriber.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + onSubscribe(s: ISubscription) +

+
+
+ + +

When the QueuingFlowableProcessor gets an onSubscribe call +from the Flowable producer, it requests that the Flowable +begin sending it items: either capacity items, if the capacity was +set during the call to QueuingFlowableProcessor#constructor, or +MAX_REQUEST_N items (effectively unlimited).

+
+
+
+ + +
+ public + + + + + +
+

+ + + + request(n: number) +

+
+
+ + +

The subscriber to this QueuingFlowableProcessor calls this method to +request a certain number of additional items.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + subscribe(s: Subscriber<T>) +

+
+
+ + +

The subscriber to this QueuingFlowableProcessor subscribes by calling +this method.

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(capacity: number) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
capacitynumber
  • optional
  • +
  • nullable: true

the maximum size of the backlog queue of +items this QueuingFlowableProcessor will maintain (default = +MAX_REQUEST_N). If this queue size is exceeded, the +QueuingFlowableProcessor will begin to drop incoming items from the +producer.

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Private Members

+ +
+

+ private + + + + + + _actual: Subscriber<T> + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _cancelled: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _capacity: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _done: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _error: Error + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _once: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _queue: T[] + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _requested: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _transformers: function[] + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _wip: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + cancel() + + + + source + +

+ + + + +

The subscriber to this QueuingFlowableProcessor calls this method to +indicate that it wants no more items and that the +QueuingFlowableProcessor can stop work and empty its queue.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + drain() + + + + source + +

+ + + + +

Drain the existing queue of items that are ready for emission by the +QueuingFlowableProcessor by emitting them to its subscriber. This +is typically called implicitly by other methods of the +QueuingFlowableProcessor, not explicitly by the producer or +subscriber.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + map(transformer: function): QueuingFlowableProcessor + + + + source + +

+ + + + +

Add a mapping function that modifies each emission from the Flowable +producer before emitting it from the QueuingFlowableProcessor. Note +that you can call this multiple times to add multiple mapping functions, +each of which will operate on the outputs of its predecessor.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
transformerfunction

a transformation function that accepts an + item emitted by the Flowable producer and returns an item + expected by the subscriber or by the next transformer

+
+
+
+ +
+

Return:

+ + + + + + + +
QueuingFlowableProcessor

this same processor, modified with the + transformation function

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onComplete() + + + + source + +

+ + + + +

The Flowable producer calls this method to signal to this +QueuingFlowableProcessor that the producer has finished emitting +items. The QueuingFlowableProcessor will pass this message on to its +subscriber after it has finished sending the remaining items in its queue.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onError(t: Error) + + + + source + +

+ + + + +

The Flowable producer calls this method to signal to this +QueuingFlowableProcessor that the producer has encountered an error. +The QueuingFlowableProcessor will pass this error on to its +subscriber after it has finished sending the remaining items in its queue.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tError

the specific error

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onNext(t: T) + + + + source + +

+ + + + +

The Flowable producer calls this method to add an item to the queue +of this QueuingFlowableProcessor for later emission to its +subscriber.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tT

the item to add

+
+
+
+ + + + + + + +
+

Throw:

+ + + + + + + + +

Error

if t is null. Flowables are not permitted to emit + null values.

+
+
+ + + + + + + + + +
+
+

+ public + + + + + + onSubscribe(s: ISubscription) + + + + source + +

+ + + + +

When the QueuingFlowableProcessor gets an onSubscribe call +from the Flowable producer, it requests that the Flowable +begin sending it items: either capacity items, if the capacity was +set during the call to QueuingFlowableProcessor#constructor, or +MAX_REQUEST_N items (effectively unlimited).

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
sISubscription

the subscription from the source Flowable

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + request(n: number) + + + + source + +

+ + + + +

The subscriber to this QueuingFlowableProcessor calls this method to +request a certain number of additional items.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber

the number of items to request

+
+
+
+ + + + + + + +
+

Throw:

+ + + + + + + + +

Error

if n is zero or negative

+
+
+ + + +
+

Example:

+ +
+
Note that requests are additive:
+
// this is equivalent to request(5):
+myQFP.request(2);
+myQFP.request(3);
+
+
+ + + + + +
+
+

+ public + + + + + + subscribe(s: Subscriber<T>) + + + + source + +

+ + + + +

The subscriber to this QueuingFlowableProcessor subscribes by calling +this method.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
sSubscriber<T>

an object that implements the Subscriber methods + this QueuingFlowableProcessor will call to pass along messages + from the Flowable producer.

+
+
+
+ + + + + + + +
+

Throw:

+ + + + + + + + +

Error

if a Subscriber is already subscribed to this + QueuingFlowableProcessor

+
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html b/rsocket-rpc-js/docs/class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html new file mode 100644 index 0000000..2106d15 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html @@ -0,0 +1,932 @@ + + + + + + RequestHandlingRSocket + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import RequestHandlingRSocket from './packages/core/src/RequestHandlingRSocket.js'
+ public + class + + + + | source +
+ +
+

RequestHandlingRSocket

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor() +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + +
Private Members
+ private + + + + + +
+

+ + + + _registeredServices: * +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + addService(service: string, handler: Responder<Buffer, Buffer>) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + fireAndForget(payload: Payload<Buffer, Buffer>) +

+
+
+ + + +
+
+ + +
+ public + + + abstract + + +
+

+ + + + metadataPush(payload: Payload<Buffer, Buffer>): Single<void> +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + + +
+
+ + +
+ public + + + + + + +
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + requestStream(payload: Payload<Buffer, Buffer>): Flowable<Buffer, Buffer> +

+
+
+ + + +
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Private Members

+ +
+

+ private + + + + + + _registeredServices: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + addService(service: string, handler: Responder<Buffer, Buffer>) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
servicestring
handlerResponder<Buffer, Buffer>
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + fireAndForget(payload: Payload<Buffer, Buffer>) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
payloadPayload<Buffer, Buffer>

the - request payload

+
+
+
+ + + + + + + +
+

Throw:

+ + + + + + + + + + + + +

Error

if there is no registered service associated with the service type reflected in the request payload metadata

+

Error

if the request payload metadata is null

+
+
+ + + + + + + + + +
+
+

+ public + + + abstract + + + metadataPush(payload: Payload<Buffer, Buffer>): Single<void> + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
payloadPayload<Buffer, Buffer>
+
+
+ +
+

Return:

+ + + + + + + +
Single<void>

a Single that signals an error and terminates

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + requestChannel(payloads: Flowable<Payload<Buffer, Buffer>>): Flowable<Payload<Buffer, Buffer>> + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
payloadsFlowable<Payload<Buffer, Buffer>>

the request payloads

+
+
+
+ +
+

Return:

+ + + + + + + +
Flowable<Payload<Buffer, Buffer>>

a Flowable that emits + the response payloads, or that signals an error if there is no registered + service associated with the service type reflected in the request payload + metadata or if the request payload metadata is null

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + requestResponse(payload: Payload<Buffer, Buffer>): Single<Payload<Buffer, Buffer>> + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
payloadPayload<Buffer, Buffer>

the request payload

+
+
+
+ +
+

Return:

+ + + + + + + +
Single<Payload<Buffer, Buffer>>

a Single that emits the + response payload, or that signals an error if there is no registered + service associated with the service type reflected in the request payload + metadata or if the request payload metadata is null

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + requestStream(payload: Payload<Buffer, Buffer>): Flowable<Buffer, Buffer> + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
payloadPayload<Buffer, Buffer>

the request payload

+
+
+
+ +
+

Return:

+ + + + + + + +
Flowable<Buffer, Buffer>

a Flowable that emits the response + payloads, or that signals an error if there is no registered service + associated with the service type reflected in the request payload + metadata or if the request payload metadata is null

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/core/src/RpcClient.js~RpcClient.html b/rsocket-rpc-js/docs/class/packages/core/src/RpcClient.js~RpcClient.html new file mode 100644 index 0000000..0a65a69 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/core/src/RpcClient.js~RpcClient.html @@ -0,0 +1,606 @@ + + + + + + RpcClient + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import RpcClient from './packages/core/src/RpcClient.js'
+ public + class + + + + | source +
+ +
+

RpcClient

+ + + + + + + + + + + + + + + +

The primary class/entry point for the core package is the RpcClient. +The client encapsulates the RSocket methods of fireAndForget, +requestResponse, requestStream, and requestChannel and merges them with a +bidirectional connection, allowing seamless use of RSocket for RPC.

+
+ + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(config: ClientConfig<D, M>) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + +
Private Members
+ private + + + + + +
+

+ + + + _config: * +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _connection: * +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + close() +

+
+
+ + +

Close the RPC Client connection.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + connect(): Single<ReactiveSocket<D, M>> +

+
+
+ + +

Returns a Single, which, when you subscribe to it, initiates the +connection and emits a ReactiveSocket object that defines the +connection.

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(config: ClientConfig<D, M>) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
configClientConfig<D, M>
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Private Members

+ +
+

+ private + + + + + + _config: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _connection: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + close() + + + + source + +

+ + + + +

Close the RPC Client connection.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + connect(): Single<ReactiveSocket<D, M>> + + + + source + +

+ + + + +

Returns a Single, which, when you subscribe to it, initiates the +connection and emits a ReactiveSocket object that defines the +connection.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
Single<ReactiveSocket<D, M>>
+
+
+
+ + + + + +
+

Throw:

+ + + + + + + + +

Error

if the RpcClient is already connected

+
+
+ + + +
+

Example:

+ +
+
Here is an example instantiation of an RpcClient:
+
const local = 'ws://localhost:8088/';
+const keepAlive = 60000; // 60s in ms 
+const lifetime = 360000; // 360s in ms
+const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);
+const client = new RpcClient({setup:{keepAlive, lifetime}, transport});
+client.connect().subscribe({
+  onComplete: rsocket => {
+    console.info("Success! We have a handle to an RSocket connection");
+  },
+  onError: error => {
+    console.error("Failed to connect to local RSocket server.", error);
+  }
+});
+
+
+ + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html b/rsocket-rpc-js/docs/class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html new file mode 100644 index 0000000..6738301 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html @@ -0,0 +1,1517 @@ + + + + + + SwitchTransformOperator + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import SwitchTransformOperator from './packages/core/src/SwitchTransformOperator.js'
+ public + class + + + + | source +
+ +
+

SwitchTransformOperator

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(initial: ISubscriber, transformer: function) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Private Members
+ private + + + + + +
+

+ + + + _canceled: boolean +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _done: boolean +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _error: * +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _first: * +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _inner: * +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _outer: * +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _subscription: * +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _transformer: * +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + cancel() +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + map(fn: function): IPublisher +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onComplete() +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onError(error: Error) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onNext(value: T) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onSubscribe(subscription: ISubscription) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + request(n: number) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + subscribe(actual: IPartialSubscriber) +

+
+
+ + + +
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(initial: ISubscriber, transformer: function) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
initialISubscriber
transformerfunction
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Private Members

+ +
+

+ private + + + + + + _canceled: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _done: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _error: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _first: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _inner: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _outer: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _subscription: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _transformer: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + cancel() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + map(fn: function): IPublisher + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
fnfunction
+
+
+ +
+

Return:

+ + + + + + + +
IPublisher
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onComplete() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onError(error: Error) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
errorError
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onNext(value: T) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valueT
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onSubscribe(subscription: ISubscription) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
subscriptionISubscription
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + request(n: number) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + subscribe(actual: IPartialSubscriber) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
actualIPartialSubscriber
  • nullable: true
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/BaseMeter.js~BaseMeter.html b/rsocket-rpc-js/docs/class/packages/metrics/src/BaseMeter.js~BaseMeter.html new file mode 100644 index 0000000..7c3e707 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/BaseMeter.js~BaseMeter.html @@ -0,0 +1,1850 @@ + + + + + + BaseMeter + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import BaseMeter from './packages/metrics/src/BaseMeter.js'
+ public + class + + + + | source +
+ +
+

BaseMeter

+ + + + + + +

Direct Subclass:

+ + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(name: string, description: string, tags: RawMeterTag[]) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + description: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m15Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m1Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m5Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + name: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + startTime: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + statistic: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + tags: RawMeterTag[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + type: string +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + convert(converter: function): Meter[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + fifteenMinuteRate(): number +

+
+
+ + +

Return the fifteen-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + fiveMinuteRate(): number +

+
+
+ + +

Return the five-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + mark(n: number): number +

+
+
+ + +

Mark the occurence of n events

+
+
+
+ + +
+ public + + + + + +
+

+ + + + meanRate(): number +

+
+
+ + +

Return the per-second rate over the complete lifetime of the meter.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + oneMinuteRate(): number +

+
+
+ + +

Return the one-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + rates(): Object +

+
+
+ + +

Return an object containing the rate values.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + tick() +

+
+
+ + +

Tick the one-, five-, and fifteen-minute rates.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + toObject(): Object +

+
+
+ + + +
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(name: string, description: string, tags: RawMeterTag[]) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
namestring
descriptionstring
  • nullable: true
tagsRawMeterTag[]
  • nullable: true
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + count: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + description: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + m15Rate: EWMA + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + m1Rate: EWMA + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + m5Rate: EWMA + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + name: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + startTime: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + statistic: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + tags: RawMeterTag[] + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + type: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + convert(converter: function): Meter[] + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
converterfunction
+
+
+ +
+

Return:

+ + + + + + + +
Meter[]
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + fifteenMinuteRate(): number + + + + source + +

+ + + + +

Return the fifteen-minute per-second rate.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number

the rate

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + fiveMinuteRate(): number + + + + source + +

+ + + + +

Return the five-minute per-second rate.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number

the rate

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + mark(n: number): number + + + + source + +

+ + + + +

Mark the occurence of n events

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
  • optional
  • +
  • default: 1
  • +
  • nullable: true

the number of events to mark the occurence of

+
+
+
+ +
+

Return:

+ + + + + + + +
number

the number of events marked

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + meanRate(): number + + + + source + +

+ + + + +

Return the per-second rate over the complete lifetime of the meter.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number

the rate

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + oneMinuteRate(): number + + + + source + +

+ + + + +

Return the one-minute per-second rate.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number

the rate

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + rates(): Object + + + + source + +

+ + + + +

Return an object containing the rate values.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
Object
+
+

Return Properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
'1'number

the one-minute rate

+
'5'number

the five-minute rate

+
'15'number

the fifteen-minute rate

+
meannumber

the over-all mean per-second rate

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + tick() + + + + source + +

+ + + + +

Tick the one-, five-, and fifteen-minute rates.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + toObject(): Object + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
Object
+
+

Return Properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
typestring
countnumber
tagsRawMeterTag[]
namestring
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/Counter.js~Counter.html b/rsocket-rpc-js/docs/class/packages/metrics/src/Counter.js~Counter.html new file mode 100644 index 0000000..f954e47 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/Counter.js~Counter.html @@ -0,0 +1,1372 @@ + + + + + + Counter + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import Counter from './packages/metrics/src/Counter.js'
+ public + class + + + + | source +
+ +
+

Counter

+ + + + + +

Extends:

BaseMeter → Counter
+ + + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(name: string, description: string, units: string, tags: RawMeterTag[]) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + statistic: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + type: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + units: string +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + clear() +

+
+
+ + +

Reset the number of items in the count to zero.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + dec(val: number) +

+
+
+ + +

Decrement the count by a certain number of items.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + inc(val: number) +

+
+
+ + +

Increment the count by a certain number of items.

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class BaseMeter
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + description: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m15Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m1Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m5Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + name: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + startTime: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + statistic: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + tags: RawMeterTag[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + type: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + convert(converter: function): Meter[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + fifteenMinuteRate(): number +

+
+
+ + +

Return the fifteen-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + fiveMinuteRate(): number +

+
+
+ + +

Return the five-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + mark(n: number): number +

+
+
+ + +

Mark the occurence of n events

+
+
+
+ + +
+ public + + + + + +
+

+ + + + meanRate(): number +

+
+
+ + +

Return the per-second rate over the complete lifetime of the meter.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + oneMinuteRate(): number +

+
+
+ + +

Return the one-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + rates(): Object +

+
+
+ + +

Return an object containing the rate values.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + tick() +

+
+
+ + +

Tick the one-, five-, and fifteen-minute rates.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + toObject(): Object +

+
+
+ + + +
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(name: string, description: string, units: string, tags: RawMeterTag[]) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
namestring
descriptionstring
  • optional
  • +
  • nullable: true
unitsstring
tagsRawMeterTag[]
  • optional
  • +
  • nullable: true
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + count: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + statistic: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + type: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + units: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + clear() + + + + source + +

+ + + + +

Reset the number of items in the count to zero.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + dec(val: number) + + + + source + +

+ + + + +

Decrement the count by a certain number of items.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valnumber
  • optional
  • +
  • default: 1
  • +
  • nullable: true

the number of items to decrement

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + inc(val: number) + + + + source + +

+ + + + +

Increment the count by a certain number of items.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valnumber
  • optional
  • +
  • nullable: true

the number of items to increment

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/Histogram.js~Histogram.html b/rsocket-rpc-js/docs/class/packages/metrics/src/Histogram.js~Histogram.html new file mode 100644 index 0000000..f2026fb --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/Histogram.js~Histogram.html @@ -0,0 +1,1945 @@ + + + + + + Histogram + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import {Histogram} from './packages/metrics/src/Histogram.js'
+ public + class + + + + | source +
+ +
+

Histogram

+ + + + + + + + + + + + + + + +

A histogram tracks the distribution of items, given a sample type.

+
+ + + + + + + + + +
+ + +

Static Method Summary

+ + + + + + + + + + + + + + +
Static Public Methods
+ public + static + + + + +
+

+ + + + createExponentialDecayHistogram(size: number, alpha: number): Histogram +

+
+
+ + +

Create an exponentially decaying histogram.

+
+
+
+ + +
+ public + static + + + + +
+

+ + + + createUniformHistogram(size: number): Histogram +

+
+
+ + +

Create a uniformly-sampled histogram.

+
+
+
+ + +
+
+

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(sample: ISample) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + max: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + min: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + sample: ISample +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + sum: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + type: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + varianceM: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + varianceS: number +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + clear() +

+
+
+ + +

Return the histogram to its default values.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + mean(): number +

+
+
+ + +

Return the sum of squares of differences from the current mean.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + percentiles(percentiles: number[]): number[] +

+
+
+ + +

Get the values for a set of percentiles.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + stdDev(): number +

+
+
+ + +

Return the standard deviation, the square root of the average variance.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + toObject(): Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + update(val: number, timestamp: number) +

+
+
+ + +

timestamp param primarily used for testing

+
+
+
+ + +
+ public + + + + + +
+

+ + + + updateVariance(val: number) +

+
+
+ + +

Set the value of the Welford algorithm variance.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + values(): any[] +

+
+
+ + +

Return the set of values in the sample.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + variance(): number +

+
+
+ + +

Return the average variance using the Welford algorithm.

+
+
+
+ + +
+
+ + + + +

Static Public Methods

+ +
+

+ public + static + + + + + createExponentialDecayHistogram(size: number, alpha: number): Histogram + + + + source + +

+ + + + +

Create an exponentially decaying histogram.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
sizenumber
  • optional
  • +
  • default: 1028
alphanumber
  • optional
  • +
  • default: 0.015
+
+
+ +
+

Return:

+ + + + + + + +
Histogram
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + static + + + + + createUniformHistogram(size: number): Histogram + + + + source + +

+ + + + +

Create a uniformly-sampled histogram.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
sizenumber
  • optional
  • +
  • default: 1028
+
+
+ +
+

Return:

+ + + + + + + +
Histogram
+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Constructors

+ +
+

+ public + + + + + + constructor(sample: ISample) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
sampleISample
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + count: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + max: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + min: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + sample: ISample + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + sum: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + type: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + varianceM: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + varianceS: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + clear() + + + + source + +

+ + + + +

Return the histogram to its default values.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + mean(): number + + + + source + +

+ + + + +

Return the sum of squares of differences from the current mean.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number (nullable: true)

the sum of squares of differences from the current mean, or null if this is undefined because the count is zero.

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + percentiles(percentiles: number[]): number[] + + + + source + +

+ + + + +

Get the values for a set of percentiles.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
percentilesnumber[]
  • optional
  • +
  • nullable: true

An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is DEFAULT_PERCENTILES.

+
+
+
+ +
+

Return:

+ + + + + + + +
number[]

the values for each percentile level

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + stdDev(): number + + + + source + +

+ + + + +

Return the standard deviation, the square root of the average variance.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number (nullable: true)

the standard deviation, or null if this is undefined because the count is zero.

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + toObject(): Object + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
Object
+
+

Return Properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
typestring

"histogram"

+
minnumber
maxnumber
sumnumber
variancenumber
meannumber
stdDevnumber
countnumber
mediannumber
p75number
p95number
p99number
p999number
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + update(val: number, timestamp: number) + + + + source + +

+ + + + +

timestamp param primarily used for testing

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
valnumber
timestampnumber
  • optional
  • +
  • nullable: true
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + updateVariance(val: number) + + + + source + +

+ + + + +

Set the value of the Welford algorithm variance.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valnumber
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + values(): any[] + + + + source + +

+ + + + +

Return the set of values in the sample.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
any[]

an array of the values in the sample

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + variance(): number + + + + source + +

+ + + + +

Return the average variance using the Welford algorithm.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number (nullable: true)

the average variance, or null if this is undefined because the count is zero.

+
+
+
+
+ + + + + +
+

Throw:

+ + + + + + + + +

Error

a divide by zero error if this.count==1

+
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/Metrics.js~Metrics.html b/rsocket-rpc-js/docs/class/packages/metrics/src/Metrics.js~Metrics.html new file mode 100644 index 0000000..e059f17 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/Metrics.js~Metrics.html @@ -0,0 +1,487 @@ + + + + + + Metrics + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import Metrics from './packages/metrics/src/Metrics.js'
+ public + class + + + + | source +
+ +
+

Metrics

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +

Static Method Summary

+ + + + + + + + + + + + + + +
Static Public Methods
+ public + static + + + + +
+

+ + + + timed(registry: IMeterRegistry, name: string, tags: Object[]): function +

+
+
+ + + +
+
+ + +
+ public + static + + + + +
+

+ + + + timedSingle(registry: IMeterRegistry, name: string, tags: Object[]): function +

+
+
+ + + +
+
+ + +
+
+

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor() +

+
+
+ + + +
+
+ + +
+
+ + + + + + +

Static Public Methods

+ +
+

+ public + static + + + + + timed(registry: IMeterRegistry, name: string, tags: Object[]): function + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
registryIMeterRegistry
  • optional
  • +
  • nullable: true
namestring
tagsObject[]
+
+
+ +
+

Return:

+ + + + + + + +
function

a wrapping function through which you weave your RSocket calls

+
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+ +
const metricsWrapper = timed(myMeterRegistry, "my.function.name", {tag1: "tag"}, {anotherTag: "again"});
+const responseStream = rsocket.requestStream(requestPayload);
+metricsWrapper(responseStream).subscribe(...);
+
+
+ + + + + +
+
+

+ public + static + + + + + timedSingle(registry: IMeterRegistry, name: string, tags: Object[]): function + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
registryIMeterRegistry
  • optional
  • +
  • nullable: true
namestring
tagsObject[]
+
+
+ +
+

Return:

+ + + + + + + +
function

a wrapping function through which you weave your RSocket calls

+
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+ +
const metricsWrapper = timedSingle(myMeterRegistry, "my.function.name", {tag1: "tag"}, {anotherTag: "again"});
+const responseStream = rsocket.requestStream(requestPayload);
+metricsWrapper(responseStream).subscribe(...);
+
+
+ + + + + +
+
+

Public Constructors

+ +
+

+ public + + + + + + constructor() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html b/rsocket-rpc-js/docs/class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html new file mode 100644 index 0000000..e9ab169 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html @@ -0,0 +1,954 @@ + + + + + + MetricsExporter + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import MetricsExporter from './packages/metrics/src/MetricsExporter.js'
+ public + class + + + + | source +
+ +
+

MetricsExporter

+ + + + + + + + + + + + + + + +

An RSocket native metrics source.

+
+ + + + +
+

Example:

+ +
+ +
const meters = new SimpleMeterRegistry();
+const snapshotClient = new MetricsSnapshotHandlerClient(rsocket);
+metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);
+metricsExporter.start();
+
+
+ + + +

TODO:

  • use {@link MetricsExporter#batchSize} to window the snapshots
+
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(handler: MetricsSnapshotHandlerClient, registry: IMeterRegistry, exportPeriodSeconds: number, batchSize: number) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + batchSize: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + exportPeriodSeconds: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + handler: MetricsSnapshotHandlerClient +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + intervalHandle: any +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + registry: IMeterRegistry +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + remoteCancel: function +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + remoteSubscriber: ISubscriber<MetricsSnapshot> +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + start() +

+
+
+ + +

Open the channel and begin to send metrics.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + stop() +

+
+
+ + +

Stop sending metrics

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(handler: MetricsSnapshotHandlerClient, registry: IMeterRegistry, exportPeriodSeconds: number, batchSize: number) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
handlerMetricsSnapshotHandlerClient
registryIMeterRegistry
exportPeriodSecondsnumber
batchSizenumber

metrics count

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + batchSize: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + exportPeriodSeconds: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + handler: MetricsSnapshotHandlerClient + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + intervalHandle: any + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + registry: IMeterRegistry + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + remoteCancel: function + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + remoteSubscriber: ISubscriber<MetricsSnapshot> + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + start() + + + + source + +

+ + + + +

Open the channel and begin to send metrics. +This is not re-entrant since we rely on the periodic event of the +interval timer.

+
+ + + +
+
+ + + + + + + +
+

Throw:

+ + + + + + + + +

Error

if a metrics snapshot stream is already subscribed

+
+
+ + + + + + + + + +
+
+

+ public + + + + + + stop() + + + + source + +

+ + + + +

Stop sending metrics

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html b/rsocket-rpc-js/docs/class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html new file mode 100644 index 0000000..0337bb3 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html @@ -0,0 +1,1355 @@ + + + + + + MetricsSubscriber + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import MetricsSubscriber from './packages/metrics/src/MetricsSubscriber.js'
+ public + class + + + + | source +
+ +
+

MetricsSubscriber

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(actual: ISubscriber<T>, next: Counter, complete: Counter, error: Counter, cancelled: Counter, timer: Timer) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Private Members
+ private + + + + + +
+

+ + + + _cancelled: Counter +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _complete: Counter +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _error: Counter +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _next: Counter +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _source: ISubscriber<T> +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _start: number +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _subscription: ISubscription +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _timer: Timer +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + cancel() +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onComplete() +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onError(t: Error) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onNext(t: *) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onSubscribe(s: ISubscription) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + request(n: number) +

+
+
+ + + +
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(actual: ISubscriber<T>, next: Counter, complete: Counter, error: Counter, cancelled: Counter, timer: Timer) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
actualISubscriber<T>
nextCounter
completeCounter
errorCounter
cancelledCounter
timerTimer
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Private Members

+ +
+

+ private + + + + + + _cancelled: Counter + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _complete: Counter + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _error: Counter + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _next: Counter + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _source: ISubscriber<T> + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _start: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _subscription: ISubscription + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _timer: Timer + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + cancel() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onComplete() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onError(t: Error) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tError
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onNext(t: *) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
t*
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onSubscribe(s: ISubscription) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
sISubscription
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + request(n: number) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/RawMeterTag.js~RawMeterTag.html b/rsocket-rpc-js/docs/class/packages/metrics/src/RawMeterTag.js~RawMeterTag.html new file mode 100644 index 0000000..1f21ad5 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/RawMeterTag.js~RawMeterTag.html @@ -0,0 +1,407 @@ + + + + + + RawMeterTag + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import RawMeterTag from './packages/metrics/src/RawMeterTag.js'
+ public + class + + + + | source +
+ +
+

RawMeterTag

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(key: string, value: string) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + key: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + value: string +

+
+
+ + + +
+
+ + +
+
+ + + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(key: string, value: string) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
keystring
valuestring
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + key: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + value: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html b/rsocket-rpc-js/docs/class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html new file mode 100644 index 0000000..7960dc1 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html @@ -0,0 +1,580 @@ + + + + + + SimpleMeterRegistry + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import SimpleMeterRegistry from './packages/metrics/src/SimpleMeterRegistry.js'
+ public + class + + + + | source +
+ +
+

SimpleMeterRegistry

+ + + + + + + + + + + + + + + +

The default implementation of IMeterRegistry.

+
+ + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor() +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + meterMap: Object +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + meters(): IMeter[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + registerMeter(meter: IMeter) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + registerMeters(meters: IMeter[]) +

+
+
+ + + +
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + meterMap: Object + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + meters(): IMeter[] + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
IMeter[]
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + registerMeter(meter: IMeter) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
meterIMeter
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + registerMeters(meters: IMeter[]) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
metersIMeter[]
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/Timer.js~Timer.html b/rsocket-rpc-js/docs/class/packages/metrics/src/Timer.js~Timer.html new file mode 100644 index 0000000..784cb04 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/Timer.js~Timer.html @@ -0,0 +1,1948 @@ + + + + + + Timer + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+ + public + class + + + + | source +
+ +
+

Timer

+ + + + + +

Extends:

BaseMeter → Timer
+ + + + + + + + + +

Basically a timer that tracks the rate of events and histograms the durations.

+
+ + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(name: string, description: string, tags: RawMeterTag[]) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + histogram: Histogram +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + statistic: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + type: string +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + clear(): void +

+
+
+ + +

delegated to Histogram#clear

+
+
+
+ + +
+ public + + + + + +
+

+ + + + max(): number +

+
+
+ + +

delegated to Histogram#max

+
+
+
+ + +
+ public + + + + + +
+

+ + + + mean(): number +

+
+
+ + +

delegated to Histogram#mean

+
+
+
+ + +
+ public + + + + + +
+

+ + + + min(): number +

+
+
+ + +

delegated to Histogram#min

+
+
+
+ + +
+ public + + + + + +
+

+ + + + percentiles(percentiles: number[]): number[] +

+
+
+ + +

delegated to Histogram#percentiles

+
+
+
+ + +
+ public + + + + + +
+

+ + + + stdDev(): number +

+
+
+ + +

delegated to Histogram#stdDev

+
+
+
+ + +
+ public + + + + + +
+

+ + + + toObject(): Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + totalCount(): number +

+
+
+ + +

delegated to Histogram#totalCount

+
+
+
+ + +
+ public + + + + + +
+

+ + + + update(duration: *) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + values(): * +

+
+
+ + +

delegated to Histogram#values

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class BaseMeter
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + description: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m15Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m1Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + m5Rate: EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + name: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + startTime: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + statistic: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + tags: RawMeterTag[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + type: string +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + convert(converter: function): Meter[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + fifteenMinuteRate(): number +

+
+
+ + +

Return the fifteen-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + fiveMinuteRate(): number +

+
+
+ + +

Return the five-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + mark(n: number): number +

+
+
+ + +

Mark the occurence of n events

+
+
+
+ + +
+ public + + + + + +
+

+ + + + meanRate(): number +

+
+
+ + +

Return the per-second rate over the complete lifetime of the meter.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + oneMinuteRate(): number +

+
+
+ + +

Return the one-minute per-second rate.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + rates(): Object +

+
+
+ + +

Return an object containing the rate values.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + tick() +

+
+
+ + +

Tick the one-, five-, and fifteen-minute rates.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + toObject(): Object +

+
+
+ + + +
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(name: string, description: string, tags: RawMeterTag[]) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
namestring
descriptionstring
  • optional
  • +
  • nullable: true

(optional)

+
tagsRawMeterTag[]
  • optional
  • +
  • nullable: true

(optional)

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + histogram: Histogram + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + statistic: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + type: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + clear(): void + + + + source + +

+ + + + +

delegated to Histogram#clear

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
void
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + max(): number + + + + source + +

+ + + + +

delegated to Histogram#max

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number (nullable: true)
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + mean(): number + + + + source + +

+ + + + +

delegated to Histogram#mean

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number (nullable: true)
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + min(): number + + + + source + +

+ + + + +

delegated to Histogram#min

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number (nullable: true)
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + percentiles(percentiles: number[]): number[] + + + + source + +

+ + + + +

delegated to Histogram#percentiles

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
percentilesnumber[]
  • nullable: true
+
+
+ +
+

Return:

+ + + + + + + +
number[]
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + stdDev(): number + + + + source + +

+ + + + +

delegated to Histogram#stdDev

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number (nullable: true)
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + toObject(): Object + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
Object
+
+

Return Properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
typestring
durationObject
countnumber
tagsRawMeterTag[]
namestring
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + totalCount(): number + + + + source + +

+ + + + +

delegated to Histogram#totalCount

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number (nullable: true)
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + update(duration: *) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
duration*
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + values(): * + + + + source + +

+ + + + +

delegated to Histogram#values

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
*
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html b/rsocket-rpc-js/docs/class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html new file mode 100644 index 0000000..8c00193 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html @@ -0,0 +1,1731 @@ + + + + + + ExponentiallyDecayingSample + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import ExponentiallyDecayingSample from './packages/metrics/src/stats/ExponentiallyDecayingSample.js'
+ public + class + + + + | source +
+ +
+

ExponentiallyDecayingSample

+ + + + + +

Extends:

Sample → ExponentiallyDecayingSample
+ + + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(size: number, alpha: number) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + alpha: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + limit: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + nextScaleTime: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + startTime: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + values: BinaryHeap<T> +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + clear(): void +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + getValues(): T[] +

+
+
+ + +

This is a relatively expensive operation.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + newHeap(): BinaryHeap<T> +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + now(): number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + rescale(now: number): void +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + size(): number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + tick(): number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + update(val: T, timestamp: number) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + weight(time: number): number +

+
+
+ + + +
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Sample
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + values: T[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + clear() +

+
+
+ + +

Reset the sample by removing all of its items and setting its count to zero.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getValues(): Array +

+
+
+ + +

Get the items in the sample as an array.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + init() +

+
+
+ + +

Initialize the sample, setting its count to zero and clearing out any previously-stored values.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + print() +

+
+
+ + +

Output the values of this sample to the console.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + size(): number +

+
+
+ + +

Get the number of items in the sample.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + update(val: T, timestamp: number) +

+
+
+ + +

Add a value to the sample.

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(size: number, alpha: number) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
sizenumber
alphanumber
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + alpha: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + count: number + + + + source + +

+ + + + + + +

Override:

Sample#count
+ +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + limit: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + nextScaleTime: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + startTime: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + values: BinaryHeap<T> + + + + source + +

+ + + + + + +

Override:

Sample#values
+ +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + clear(): void + + + + source + +

+ + + + +

Reset the sample by removing all of its items and setting its count to zero.

+
+ +

Override:

Sample#clear
+ +
+
+ +
+

Return:

+ + + + + + + +
void
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getValues(): T[] + + + + source + +

+ + + + +

This is a relatively expensive operation.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
T[]
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + newHeap(): BinaryHeap<T> + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
BinaryHeap<T>
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + now(): number + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
number
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + rescale(now: number): void + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nownumber

parameter primarily used for testing rescales

+
+
+
+ +
+

Return:

+ + + + + + + +
void
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + size(): number + + + + source + +

+ + + + +

Get the number of items in the sample.

+
+ +

Override:

Sample#size
+ +
+
+ +
+

Return:

+ + + + + + + +
number
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + tick(): number + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
number
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + update(val: T, timestamp: number) + + + + source + +

+ + + + +

Add a value to the sample. Note: timestamp is currently unused.

+
+ +

Override:

Sample#update
+ +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
valT
timestampnumber
  • nullable: true

(in milliseconds)

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + weight(time: number): number + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
timenumber
+
+
+ +
+

Return:

+ + + + + + + +
number
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html b/rsocket-rpc-js/docs/class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html new file mode 100644 index 0000000..f41bfdd --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html @@ -0,0 +1,1309 @@ + + + + + + EWMA + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+ + public + class + + + + | source +
+ +
+

EWMA

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +

Static Method Summary

+ + + + + + + + + + + + + + + + + + + +
Static Public Methods
+ public + static + + + + +
+

+ + + + createM15EWMA(): EWMA +

+
+
+ + + +
+
+ + +
+ public + static + + + + +
+

+ + + + createM1EWMA(): EWMA +

+
+
+ + + +
+
+ + +
+ public + static + + + + +
+

+ + + + createM5EWMA(): EWMA +

+
+
+ + + +
+
+ + +
+
+

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(alpha: number, interval: number) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + alpha: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + currentRate: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + interval: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + tickInterval: any +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + uncounted: number +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + rate(): number +

+
+
+ + +

Return the rate per second.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + stop(): void +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + tick(): void +

+
+
+ + +

Update our rate measurements every interval.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + update(n: number): void +

+
+
+ + + +
+
+ + +
+
+ + + + +

Static Public Methods

+ +
+

+ public + static + + + + + createM15EWMA(): EWMA + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
EWMA
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + static + + + + + createM1EWMA(): EWMA + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
EWMA
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + static + + + + + createM5EWMA(): EWMA + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
EWMA
+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Constructors

+ +
+

+ public + + + + + + constructor(alpha: number, interval: number) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
alphanumber
intervalnumber

time in milliseconds

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + alpha: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + currentRate: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + interval: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + tickInterval: any + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + uncounted: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + rate(): number + + + + source + +

+ + + + +

Return the rate per second.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + stop(): void + + + + source + +

+ + + + + + + + +
+
+ +
+

Return:

+ + + + + + + +
void
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + tick(): void + + + + source + +

+ + + + +

Update our rate measurements every interval.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
void
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + update(n: number): void + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ +
+

Return:

+ + + + + + + +
void
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/stats/Sample.js~Sample.html b/rsocket-rpc-js/docs/class/packages/metrics/src/stats/Sample.js~Sample.html new file mode 100644 index 0000000..b1bdaa0 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/stats/Sample.js~Sample.html @@ -0,0 +1,882 @@ + + + + + + Sample + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+ + public + class + + + + | source +
+ +
+

Sample

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor() +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + values: T[] +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + clear() +

+
+
+ + +

Reset the sample by removing all of its items and setting its count to zero.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getValues(): Array +

+
+
+ + +

Get the items in the sample as an array.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + init() +

+
+
+ + +

Initialize the sample, setting its count to zero and clearing out any previously-stored values.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + print() +

+
+
+ + +

Output the values of this sample to the console.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + size(): number +

+
+
+ + +

Get the number of items in the sample.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + update(val: T, timestamp: number) +

+
+
+ + +

Add a value to the sample.

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + count: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + values: T[] + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + clear() + + + + source + +

+ + + + +

Reset the sample by removing all of its items and setting its count to zero.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getValues(): Array + + + + source + +

+ + + + +

Get the items in the sample as an array.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
Array

the set of values in the sample.

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + init() + + + + source + +

+ + + + +

Initialize the sample, setting its count to zero and clearing out any previously-stored values.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + print() + + + + source + +

+ + + + +

Output the values of this sample to the console.

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + size(): number + + + + source + +

+ + + + +

Get the number of items in the sample.

+
+ + + +
+
+ +
+

Return:

+ + + + + + + +
number

the number of values in the sample.

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + update(val: T, timestamp: number) + + + + source + +

+ + + + +

Add a value to the sample. Note: timestamp is currently unused.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
valT

the value to add

+
timestampnumber
  • optional
  • +
  • nullable: true

the time when the value was sampled

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/metrics/src/stats/UniformSample.js~UniformSample.html b/rsocket-rpc-js/docs/class/packages/metrics/src/stats/UniformSample.js~UniformSample.html new file mode 100644 index 0000000..3c74feb --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/metrics/src/stats/UniformSample.js~UniformSample.html @@ -0,0 +1,746 @@ + + + + + + UniformSample + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+ + public + class + + + + | source +
+ +
+

UniformSample

+ + + + + +

Extends:

Sample → UniformSample
+ + + + + + + + + +

Take a uniform sample of size "size" for all values.

+
+ + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(size: number) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + limit: number +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + update(val: T, timestamp: number) +

+
+
+ + +

Add val to the set of values that make up the sample.

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Sample
+ public + + + + + +
+

+ + + + count: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + values: T[] +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + clear() +

+
+
+ + +

Reset the sample by removing all of its items and setting its count to zero.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getValues(): Array +

+
+
+ + +

Get the items in the sample as an array.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + init() +

+
+
+ + +

Initialize the sample, setting its count to zero and clearing out any previously-stored values.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + print() +

+
+
+ + +

Output the values of this sample to the console.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + size(): number +

+
+
+ + +

Get the number of items in the sample.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + update(val: T, timestamp: number) +

+
+
+ + +

Add a value to the sample.

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(size: number) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
sizenumber

the maximum number of items in this sample

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + + count: number + + + + source + +

+ + + + + + +

Override:

Sample#count
+ +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + limit: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + update(val: T, timestamp: number) + + + + source + +

+ + + + +

Add val to the set of values that make up the sample. Note, if +the sample size is already equal to the maximum sample size, the new value +may replace a randomly-chosen existing sample value.

+
+ +

Override:

Sample#update
+ +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
valT

the value to add to those sampled

+
timestampnumber
  • nullable: true

the time when val was sampled (currently unused)

+
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html b/rsocket-rpc-js/docs/class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html new file mode 100644 index 0000000..b0da4e6 --- /dev/null +++ b/rsocket-rpc-js/docs/class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html @@ -0,0 +1,1357 @@ + + + + + + SpanSubscriber + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +
+
import {SpanSubscriber} from './packages/tracing/src/SpanSubscriber.js'
+ public + class + + + + | source +
+ +
+

SpanSubscriber

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor(subscriber: ISubscriber<T>, tracer: Tracer, name: string, context: SpanContext | Span, metadata: Object) +

+
+
+ + + +
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Private Members
+ private + + + + + +
+

+ + + + _nextCount: number +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _requestOnce: boolean +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _rootSpan: Span +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _span: Span +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _subscriber: ISubscriber +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _subscription: ISubscription +

+
+
+ + + +
+
+ + +
+ private + + + + + +
+

+ + + + _tracer: Tracer +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + cancel() +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + cleanup() +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onComplete() +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onError(error: Error) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onNext(value: T) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + onSubscribe(subscription: Subscription) +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + request(n: number) +

+
+
+ + + +
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor(subscriber: ISubscriber<T>, tracer: Tracer, name: string, context: SpanContext | Span, metadata: Object) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
subscriberISubscriber<T>
tracerTracer
namestring
contextSpanContext | Span
  • optional
  • +
  • nullable: true
metadataObject
  • optional
  • +
  • nullable: true
...tagsObject
+
+
+ + + + + + + + + + + + + + + + + +
+
+

Private Members

+ +
+

+ private + + + + + + _nextCount: number + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _requestOnce: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _rootSpan: Span + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _span: Span + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _subscriber: ISubscriber + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _subscription: ISubscription + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ private + + + + + + _tracer: Tracer + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + + cancel() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + cleanup() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onComplete() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onError(error: Error) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
errorError
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onNext(value: T) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valueT
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + onSubscribe(subscription: Subscription) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
subscriptionSubscription
  • nullable: true
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + request(n: number) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/coverage.json b/rsocket-rpc-js/docs/coverage.json new file mode 100644 index 0000000..c94e4db --- /dev/null +++ b/rsocket-rpc-js/docs/coverage.json @@ -0,0 +1,245 @@ +{ + "coverage": "78.71%", + "expectCount": 296, + "actualCount": 233, + "files": { + "packages/core/src/QueuingFlowableProcessor.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "packages/core/src/RequestHandlingRSocket.js": { + "expectCount": 9, + "actualCount": 7, + "undocumentLines": [ + 37, + 38 + ] + }, + "packages/core/src/RpcClient.js": { + "expectCount": 17, + "actualCount": 5, + "undocumentLines": [ + 167, + 168, + 235, + 236, + 253, + 257, + 261, + 265, + 269, + 273, + 277, + 281 + ] + }, + "packages/core/src/SwitchTransformOperator.js": { + "expectCount": 19, + "actualCount": 11, + "undocumentLines": [ + 46, + 47, + 57, + 58, + 67, + 93, + 127, + 128 + ] + }, + "packages/frames/src/Metadata.js": { + "expectCount": 11, + "actualCount": 6, + "undocumentLines": [ + 46, + 48, + 49, + 50, + 51 + ] + }, + "packages/frames/src/__tests__/Metadata-test.js": { + "expectCount": 2, + "actualCount": 2, + "undocumentLines": [] + }, + "packages/metrics/src/BaseMeter.js": { + "expectCount": 22, + "actualCount": 22, + "undocumentLines": [] + }, + "packages/metrics/src/Counter.js": { + "expectCount": 9, + "actualCount": 6, + "undocumentLines": [ + 29, + 30, + 60 + ] + }, + "packages/metrics/src/Histogram.js": { + "expectCount": 22, + "actualCount": 22, + "undocumentLines": [] + }, + "packages/metrics/src/Metrics.js": { + "expectCount": 4, + "actualCount": 3, + "undocumentLines": [ + 44 + ] + }, + "packages/metrics/src/MetricsExporter.js": { + "expectCount": 21, + "actualCount": 21, + "undocumentLines": [] + }, + "packages/metrics/src/MetricsSingleSubscriber.js": { + "expectCount": 15, + "actualCount": 7, + "undocumentLines": [ + 62, + 63, + 64, + 65, + 66, + 67, + 75, + 76 + ] + }, + "packages/metrics/src/MetricsSubscriber.js": { + "expectCount": 16, + "actualCount": 16, + "undocumentLines": [] + }, + "packages/metrics/src/RawMeterTag.js": { + "expectCount": 4, + "actualCount": 4, + "undocumentLines": [] + }, + "packages/metrics/src/SimpleMeterRegistry.js": { + "expectCount": 6, + "actualCount": 5, + "undocumentLines": [ + 35 + ] + }, + "packages/metrics/src/Timer.js": { + "expectCount": 15, + "actualCount": 13, + "undocumentLines": [ + 37, + 38 + ] + }, + "packages/metrics/src/__tests__/exponentially_decaying_sample-test.js": { + "expectCount": 2, + "actualCount": 0, + "undocumentLines": [ + 1, + 4 + ] + }, + "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js": { + "expectCount": 3, + "actualCount": 1, + "undocumentLines": [ + 1, + 2 + ] + }, + "packages/metrics/src/__tests__/histogram-test.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 1 + ] + }, + "packages/metrics/src/__tests__/meter-test.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 1 + ] + }, + "packages/metrics/src/__tests__/timer-test.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 1 + ] + }, + "packages/metrics/src/__tests__/uniform_sample-test.js": { + "expectCount": 1, + "actualCount": 0, + "undocumentLines": [ + 1 + ] + }, + "packages/metrics/src/stats/ExponentiallyDecayingSample.js": { + "expectCount": 18, + "actualCount": 18, + "undocumentLines": [] + }, + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js": { + "expectCount": 18, + "actualCount": 18, + "undocumentLines": [] + }, + "packages/metrics/src/stats/Sample.js": { + "expectCount": 10, + "actualCount": 9, + "undocumentLines": [ + 19 + ] + }, + "packages/metrics/src/stats/UniformSample.js": { + "expectCount": 5, + "actualCount": 5, + "undocumentLines": [] + }, + "packages/metrics/src/stats/lib/binary_heap.js": { + "expectCount": 2, + "actualCount": 0, + "undocumentLines": [ + 4, + 7 + ] + }, + "packages/tracing/src/SpanSingle.js": { + "expectCount": 13, + "actualCount": 9, + "undocumentLines": [ + 40, + 42, + 67, + 81 + ] + }, + "packages/tracing/src/SpanSubscriber.js": { + "expectCount": 17, + "actualCount": 15, + "undocumentLines": [ + 29, + 30 + ] + }, + "packages/tracing/src/Tracing.js": { + "expectCount": 7, + "actualCount": 7, + "undocumentLines": [] + }, + "packages/tracing/src/__tests__/Tracing-test.js": { + "expectCount": 4, + "actualCount": 0, + "undocumentLines": [ + 6, + 17, + 26, + 27 + ] + } + } +} \ No newline at end of file diff --git a/rsocket-rpc-js/docs/css/github.css b/rsocket-rpc-js/docs/css/github.css new file mode 100644 index 0000000..db9ca23 --- /dev/null +++ b/rsocket-rpc-js/docs/css/github.css @@ -0,0 +1,83 @@ +/* github markdown */ +.github-markdown { + font-size: 16px; +} + +.github-markdown h1, +.github-markdown h2, +.github-markdown h3, +.github-markdown h4, +.github-markdown h5 { + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + padding: 0; +} + +.github-markdown h1:nth-of-type(1) { + margin-top: 0; +} + +.github-markdown h1 { + font-size: 2em; + padding-bottom: 0.3em; +} + +.github-markdown h2 { + font-size: 1.75em; + padding-bottom: 0.3em; +} + +.github-markdown h3 { + font-size: 1.5em; +} + +.github-markdown h4 { + font-size: 1.25em; +} + +.github-markdown h5 { + font-size: 1em; +} + +.github-markdown ul, .github-markdown ol { + padding-left: 2em; +} + +.github-markdown pre > code { + font-size: 0.85em; +} + +.github-markdown table { + margin-bottom: 1em; + border-collapse: collapse; + border-spacing: 0; +} + +.github-markdown table tr { + background-color: #fff; + border-top: 1px solid #ccc; +} + +.github-markdown table th, +.github-markdown table td { + padding: 6px 13px; + border: 1px solid #ddd; +} + +.github-markdown table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +.github-markdown hr { + border-right: 0; + border-bottom: 1px solid #e5e5e5; + border-left: 0; + border-top: 0; +} + +/** badge(.svg) does not have border */ +.github-markdown img:not([src*=".svg"]) { + max-width: 100%; + box-shadow: 1px 1px 1px rgba(0,0,0,0.5); +} diff --git a/rsocket-rpc-js/docs/css/identifiers.css b/rsocket-rpc-js/docs/css/identifiers.css new file mode 100644 index 0000000..52c8461 --- /dev/null +++ b/rsocket-rpc-js/docs/css/identifiers.css @@ -0,0 +1,37 @@ +.identifiers-wrap { + display: flex; + align-items: flex-start; +} + +.identifier-dir-tree { + background: #fff; + border: solid 1px #ddd; + border-radius: 0.25em; + top: 52px; + position: -webkit-sticky; + position: sticky; + max-height: calc(100vh - 155px); + overflow-y: scroll; + min-width: 200px; + margin-left: 1em; +} + +.identifier-dir-tree-header { + padding: 0.5em; + background-color: #fafafa; + border-bottom: solid 1px #ddd; +} + +.identifier-dir-tree-content { + padding: 0 0.5em 0; +} + +.identifier-dir-tree-content > div { + padding-top: 0.25em; + padding-bottom: 0.25em; +} + +.identifier-dir-tree-content a { + color: inherit; +} + diff --git a/rsocket-rpc-js/docs/css/manual.css b/rsocket-rpc-js/docs/css/manual.css new file mode 100644 index 0000000..138a07f --- /dev/null +++ b/rsocket-rpc-js/docs/css/manual.css @@ -0,0 +1,134 @@ +.github-markdown .manual-toc { + padding-left: 0; +} + +.manual-index .manual-cards { + display: flex; + flex-wrap: wrap; +} + +.manual-index .manual-card-wrap { + width: 280px; + padding: 10px 20px 10px 0; + box-sizing: border-box; +} + +.manual-index .manual-card-wrap > h1 { + margin: 0; + font-size: 1em; + font-weight: 600; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em 0.1em 0 0; + border: none; +} + +.manual-index .manual-card-wrap > h1 span { + color: #555; +} + +.manual-index .manual-card { + height: 200px; + overflow: hidden; + border: solid 1px rgba(230, 230, 230, 0.84); + border-radius: 0 0 0.1em 0.1em; + padding: 8px; + position: relative; +} + +.manual-index .manual-card > div { + transform: scale(0.4); + transform-origin: 0 0; + width: 250%; +} + +.manual-index .manual-card > a { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(210, 210, 210, 0.1); +} + +.manual-index .manual-card > a:hover { + background: none; +} + +.manual-index .manual-badge { + margin: 0; +} + +.manual-index .manual-user-index { + margin-bottom: 1em; + border-bottom: solid 1px #ddd; +} + +.manual-root .navigation { + padding-left: 4px; + margin-top: 4px; +} + +.navigation .manual-toc-root > div { + padding-left: 0.25em; + padding-right: 0.75em; +} + +.github-markdown .manual-toc-title a { + color: inherit; +} + +.manual-breadcrumb-list { + font-size: 0.8em; + margin-bottom: 1em; +} + +.manual-toc-title a:hover { + color: #039BE5; +} + +.manual-toc li { + margin: 0.75em 0; + list-style-type: none; +} + +.navigation .manual-toc [class^="indent-h"] a { + color: #666; +} + +.navigation .manual-toc .indent-h1 a { + color: #555; + font-weight: 600; + display: block; +} + +.manual-toc .indent-h1 { + display: block; + margin: 0.4em 0 0 0.25em; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em; +} + +.manual-root .navigation .manual-toc li:not(.indent-h1) { + margin-top: 0.5em; +} + +.manual-toc .indent-h2 { + display: none; + margin-left: 1.5em; +} +.manual-toc .indent-h3 { + display: none; + margin-left: 2.5em; +} +.manual-toc .indent-h4 { + display: none; + margin-left: 3.5em; +} +.manual-toc .indent-h5 { + display: none; + margin-left: 4.5em; +} + +.manual-nav li { + margin: 0.75em 0; +} diff --git a/rsocket-rpc-js/docs/css/prettify-tomorrow.css b/rsocket-rpc-js/docs/css/prettify-tomorrow.css new file mode 100644 index 0000000..b6f92a7 --- /dev/null +++ b/rsocket-rpc-js/docs/css/prettify-tomorrow.css @@ -0,0 +1,132 @@ +/* Tomorrow Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* Pretty printing styles. Used with prettify.js. */ +/* SPAN elements with the classes below are added by prettyprint. */ +/* plain text */ +.pln { + color: #4d4d4c; } + +@media screen { + /* string content */ + .str { + color: #718c00; } + + /* a keyword */ + .kwd { + color: #8959a8; } + + /* a comment */ + .com { + color: #8e908c; } + + /* a type name */ + .typ { + color: #4271ae; } + + /* a literal value */ + .lit { + color: #f5871f; } + + /* punctuation */ + .pun { + color: #4d4d4c; } + + /* lisp open bracket */ + .opn { + color: #4d4d4c; } + + /* lisp close bracket */ + .clo { + color: #4d4d4c; } + + /* a markup tag name */ + .tag { + color: #c82829; } + + /* a markup attribute name */ + .atn { + color: #f5871f; } + + /* a markup attribute value */ + .atv { + color: #3e999f; } + + /* a declaration */ + .dec { + color: #f5871f; } + + /* a variable name */ + .var { + color: #c82829; } + + /* a function name */ + .fun { + color: #4271ae; } } +/* Use higher contrast and text-weight for printable form. */ +@media print, projection { + .str { + color: #060; } + + .kwd { + color: #006; + font-weight: bold; } + + .com { + color: #600; + font-style: italic; } + + .typ { + color: #404; + font-weight: bold; } + + .lit { + color: #044; } + + .pun, .opn, .clo { + color: #440; } + + .tag { + color: #006; + font-weight: bold; } + + .atn { + color: #404; } + + .atv { + color: #060; } } +/* Style */ +/* +pre.prettyprint { + background: white; + font-family: Consolas, Monaco, 'Andale Mono', monospace; + font-size: 12px; + line-height: 1.5; + border: 1px solid #ccc; + padding: 10px; } +*/ + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; } + +/* IE indents via margin-left */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 { + /* */ } + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 { + /* */ } diff --git a/rsocket-rpc-js/docs/css/search.css b/rsocket-rpc-js/docs/css/search.css new file mode 100644 index 0000000..9940a54 --- /dev/null +++ b/rsocket-rpc-js/docs/css/search.css @@ -0,0 +1,84 @@ +/* search box */ +.search-box { + position: absolute; + top: 10px; + right: 50px; + padding-right: 8px; + padding-bottom: 10px; + line-height: normal; + font-size: 12px; +} + +.search-box img { + width: 20px; + vertical-align: top; +} + +.search-input { + display: inline; + visibility: hidden; + width: 0; + padding: 2px; + height: 1.5em; + outline: none; + background: transparent; + border: 1px #0af; + border-style: none none solid none; + vertical-align: bottom; +} + +.search-input-edge { + display: none; + width: 1px; + height: 5px; + background-color: #0af; + vertical-align: bottom; +} + +.search-result { + position: absolute; + display: none; + height: 600px; + width: 100%; + padding: 0; + margin-top: 5px; + margin-left: 24px; + background: white; + box-shadow: 1px 1px 4px rgb(0,0,0); + white-space: nowrap; + overflow-y: scroll; +} + +.search-result-import-path { + color: #aaa; + font-size: 12px; +} + +.search-result li { + list-style: none; + padding: 2px 4px; +} + +.search-result li a { + display: block; +} + +.search-result li.selected { + background: #ddd; +} + +.search-result li.search-separator { + background: rgb(37, 138, 175); + color: white; +} + +.search-box.active .search-input { + visibility: visible; + transition: width 0.2s ease-out; + width: 300px; +} + +.search-box.active .search-input-edge { + display: inline-block; +} + diff --git a/rsocket-rpc-js/docs/css/source.css b/rsocket-rpc-js/docs/css/source.css new file mode 100644 index 0000000..3b9c92d --- /dev/null +++ b/rsocket-rpc-js/docs/css/source.css @@ -0,0 +1,55 @@ +table.files-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; + text-align: right; +} + +table.files-summary tbody tr:hover { + background: #eee; +} + +table.files-summary td:first-child, +table.files-summary td:nth-of-type(2) { + text-align: left; +} + +table.files-summary[data-use-coverage="false"] td.coverage { + display: none; +} + +table.files-summary thead { + background: #fafafa; +} + +table.files-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.files-summary td.identifiers > span { + display: block; + margin-top: 4px; +} +table.files-summary td.identifiers > span:first-child { + margin-top: 0; +} + +table.files-summary .coverage-count { + font-size: 12px; + color: #aaa; + display: inline-block; + min-width: 40px; +} + +.total-coverage-count { + position: relative; + bottom: 2px; + font-size: 12px; + color: #666; + font-weight: 500; + padding-left: 5px; +} diff --git a/rsocket-rpc-js/docs/css/style.css b/rsocket-rpc-js/docs/css/style.css new file mode 100644 index 0000000..fe3b2d9 --- /dev/null +++ b/rsocket-rpc-js/docs/css/style.css @@ -0,0 +1,608 @@ +@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); +@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700); +@import url(./manual.css); +@import url(./source.css); +@import url(./test.css); +@import url(./identifiers.css); +@import url(./github.css); +@import url(./search.css); + +* { + margin: 0; + padding: 0; + text-decoration: none; +} + +html +{ + font-family: 'Source Sans Pro', 'Roboto', sans-serif; + overflow: auto; + /*font-size: 14px;*/ + /*color: #4d4e53;*/ + /*color: rgba(0, 0, 0, .68);*/ + color: #555; + background-color: #fff; +} + +a { + /*color: #0095dd;*/ + /*color:rgb(37, 138, 175);*/ + color: #039BE5; +} + +code a:hover { + text-decoration: underline; +} + +ul, ol { + padding-left: 20px; +} + +ul li { + list-style: disc; + margin: 4px 0; +} + +ol li { + margin: 4px 0; +} + +h1 { + margin-bottom: 10px; + font-size: 34px; + font-weight: 300; + border-bottom: solid 1px #ddd; +} + +h2 { + margin-top: 24px; + margin-bottom: 10px; + font-size: 20px; + border-bottom: solid 1px #ddd; + font-weight: 300; +} + +h3 { + position: relative; + font-size: 16px; + margin-bottom: 12px; + padding: 4px; + font-weight: 300; +} + +details { + cursor: pointer; +} + +del { + text-decoration: line-through; +} + +p { + margin-bottom: 15px; + line-height: 1.5; +} + +code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; +} + +pre > code { + display: block; +} + +pre.prettyprint, pre > code { + padding: 4px; + margin: 1em 0; + background-color: #f5f5f5; + border-radius: 3px; +} + +pre.prettyprint > code { + margin: 0; +} + +p > code, +li > code { + padding: 0.2em 0.5em; + margin: 0; + font-size: 85%; + background-color: rgba(0,0,0,0.04); + border-radius: 3px; +} + +.code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 13px; +} + +.import-path pre.prettyprint, +.import-path pre.prettyprint code { + margin: 0; + padding: 0; + border: none; + background: white; +} + +.layout-container { + /*display: flex;*/ + /*flex-direction: row;*/ + /*justify-content: flex-start;*/ + /*align-items: stretch;*/ +} + +.layout-container > header { + display: flex; + height: 40px; + line-height: 40px; + font-size: 16px; + padding: 0 10px; + margin: 0; + position: fixed; + width: 100%; + z-index: 1; + background-color: #fafafa; + top: 0; + border-bottom: solid 1px #ddd; +} +.layout-container > header > a{ + margin: 0 5px; + color: #444; +} + +.layout-container > header > a.repo-url-github { + font-size: 0; + display: inline-block; + width: 20px; + height: 38px; + background: url("../image/github.png") no-repeat center; + background-size: 20px; + vertical-align: top; +} + +.navigation { + position: fixed; + top: 0; + left: 0; + box-sizing: border-box; + width: 250px; + height: 100%; + padding-top: 40px; + padding-left: 15px; + padding-bottom: 2em; + margin-top:1em; + overflow-x: scroll; + box-shadow: rgba(255, 255, 255, 1) -1px 0 0 inset; + border-right: 1px solid #ddd; +} + +.navigation ul { + padding: 0; +} + +.navigation li { + list-style: none; + margin: 4px 0; + white-space: nowrap; +} + +.navigation li a { + color: #666; +} + +.navigation .nav-dir-path { + display: block; + margin-top: 0.7em; + margin-bottom: 0.25em; + font-weight: 600; +} + +.kind-class, +.kind-interface, +.kind-function, +.kind-typedef, +.kind-variable, +.kind-external { + margin-left: 0.75em; + width: 1.2em; + height: 1.2em; + display: inline-block; + text-align: center; + border-radius: 0.2em; + margin-right: 0.2em; + font-weight: bold; + line-height: 1.2em; +} + +.kind-class { + color: #009800; + background-color: #bfe5bf; +} + +.kind-interface { + color: #fbca04; + background-color: #fef2c0; +} + +.kind-function { + color: #6b0090; + background-color: #d6bdde; +} + +.kind-variable { + color: #eb6420; + background-color: #fad8c7; +} + +.kind-typedef { + color: #db001e; + background-color: #edbec3; +} + +.kind-external { + color: #0738c3; + background-color: #bbcbea; +} + +.summary span[class^="kind-"] { + margin-left: 0; +} + +h1 .version, +h1 .url a { + font-size: 14px; + color: #aaa; +} + +.content { + margin-top: 40px; + margin-left: 250px; + padding: 10px 50px 10px 20px; +} + +.header-notice { + font-size: 14px; + color: #aaa; + margin: 0; +} + +.expression-extends .prettyprint { + margin-left: 10px; + background: white; +} + +.extends-chain { + border-bottom: 1px solid#ddd; + padding-bottom: 10px; + margin-bottom: 10px; +} + +.extends-chain span:nth-of-type(1) { + padding-left: 10px; +} + +.extends-chain > div { + margin: 5px 0; +} + +.description table { + font-size: 14px; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +.description thead { + background: #999; + color: white; +} + +.description table td, +.description table th { + border: solid 1px #ddd; + padding: 4px; + font-weight: normal; +} + +.flat-list ul { + padding-left: 0; +} + +.flat-list li { + display: inline; + list-style: none; +} + +table.summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.summary thead { + background: #fafafa; +} + +table.summary td { + border: solid 1px #ddd; + padding: 4px 10px; +} + +table.summary tbody td:nth-child(1) { + text-align: right; + white-space: nowrap; + min-width: 64px; + vertical-align: top; +} + +table.summary tbody td:nth-child(2) { + width: 100%; + border-right: none; +} + +table.summary tbody td:nth-child(3) { + white-space: nowrap; + border-left: none; + vertical-align: top; +} + +table.summary td > div:nth-of-type(2) { + padding-top: 4px; + padding-left: 15px; +} + +table.summary td p { + margin-bottom: 0; +} + +.inherited-summary thead td { + padding-left: 2px; +} + +.inherited-summary thead a { + color: white; +} + +.inherited-summary .summary tbody { + display: none; +} + +.inherited-summary .summary .toggle { + padding: 0 4px; + font-size: 12px; + cursor: pointer; +} +.inherited-summary .summary .toggle.closed:before { + content: "â–¶"; +} +.inherited-summary .summary .toggle.opened:before { + content: "â–¼"; +} + +.member, .method { + margin-bottom: 24px; +} + +table.params { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.params thead { + background: #eee; + color: #aaa; +} + +table.params td { + padding: 4px; + border: solid 1px #ddd; +} + +table.params td p { + margin: 0; +} + +.content .detail > * { + margin: 15px 0; +} + +.content .detail > h3 { + color: black; + background-color: #f0f0f0; +} + +.content .detail > div { + margin-left: 10px; +} + +.content .detail > .import-path { + margin-top: -8px; +} + +.content .detail + .detail { + margin-top: 30px; +} + +.content .detail .throw td:first-child { + padding-right: 10px; +} + +.content .detail h4 + :not(pre) { + padding-left: 0; + margin-left: 10px; +} + +.content .detail h4 + ul li { + list-style: none; +} + +.return-param * { + display: inline; +} + +.argument-params { + margin-bottom: 20px; +} + +.return-type { + padding-right: 10px; + font-weight: normal; +} + +.return-desc { + margin-left: 10px; + margin-top: 4px; +} + +.return-desc p { + margin: 0; +} + +.deprecated, .experimental, .instance-docs { + border-left: solid 5px orange; + padding-left: 4px; + margin: 4px 0; +} + +tr.listen p, +tr.throw p, +tr.emit p{ + margin-bottom: 10px; +} + +.version, .since { + color: #aaa; +} + +h3 .right-info { + position: absolute; + right: 4px; + font-size: 14px; +} + +.version + .since:before { + content: '| '; +} + +.see { + margin-top: 10px; +} + +.see h4 { + margin: 4px 0; +} + +.content .detail h4 + .example-doc { + margin: 6px 0; +} + +.example-caption { + position: relative; + bottom: -1px; + display: inline-block; + padding: 4px; + font-style: italic; + background-color: #f5f5f5; + font-weight: bold; + border-radius: 3px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +.example-caption + pre.source-code { + margin-top: 0; + border-top-left-radius: 0; +} + +footer, .file-footer { + text-align: right; + font-style: italic; + font-weight: 100; + font-size: 13px; + margin-right: 50px; + margin-left: 270px; + border-top: 1px solid #ddd; + padding-top: 30px; + margin-top: 20px; + padding-bottom: 10px; +} + +footer img { + width: 24px; + vertical-align: middle; + padding-left: 4px; + position: relative; + top: -3px; + opacity: 0.6; +} + +pre.source-code { + padding: 4px; +} + +pre.raw-source-code > code { + padding: 0; + margin: 0; + font-size: 12px; + background: #fff; + border: solid 1px #ddd; + line-height: 1.5; +} + +pre.raw-source-code > code > ol { + counter-reset:number; + list-style:none; + margin:0; + padding:0; + overflow: hidden; +} + +pre.raw-source-code > code > ol li:before { + counter-increment: number; + content: counter(number); + display: inline-block; + min-width: 3em; + color: #aaa; + text-align: right; + padding-right: 1em; +} + +pre.source-code.line-number { + padding: 0; +} + +pre.source-code ol { + background: #eee; + padding-left: 40px; +} + +pre.source-code li { + background: white; + padding-left: 4px; + list-style: decimal; + margin: 0; +} + +pre.source-code.line-number li.active { + background: rgb(255, 255, 150) !important; +} + +pre.source-code.line-number li.error-line { + background: #ffb8bf; +} + +.inner-link-active { + /*background: rgb(255, 255, 150) !important;*/ + background: #039BE5 !important; + color: #fff !important; + padding-left: 0.1em !important; +} + +.inner-link-active a { + color: inherit; +} diff --git a/rsocket-rpc-js/docs/css/test.css b/rsocket-rpc-js/docs/css/test.css new file mode 100644 index 0000000..8ce1266 --- /dev/null +++ b/rsocket-rpc-js/docs/css/test.css @@ -0,0 +1,58 @@ +table.test-summary thead { + background: #fafafa; +} + +table.test-summary thead .test-description { + width: 50%; +} + +table.test-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.test-summary thead .test-count { + width: 3em; +} + +table.test-summary tbody tr:hover { + background-color: #eee; +} + +table.test-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.test-summary td p { + margin: 0; +} + +table.test-summary tr.test-interface .toggle { + display: inline-block; + float: left; + margin-right: 4px; + cursor: pointer; + font-size: 0.8em; + padding-top: 0.25em; +} + +table.test-summary tr.test-interface .toggle.opened:before { + content: 'â–¼'; +} + +table.test-summary tr.test-interface .toggle.closed:before { + content: 'â–¶'; +} + +table.test-summary .test-target > span { + display: block; + margin-top: 4px; +} +table.test-summary .test-target > span:first-child { + margin-top: 0; +} diff --git a/rsocket-rpc-js/docs/file/packages/core/src/QueuingFlowableProcessor.js.html b/rsocket-rpc-js/docs/file/packages/core/src/QueuingFlowableProcessor.js.html new file mode 100644 index 0000000..7e1a468 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/core/src/QueuingFlowableProcessor.js.html @@ -0,0 +1,437 @@ + + + + + + packages/core/src/QueuingFlowableProcessor.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/core/src/QueuingFlowableProcessor.js

+
/**
+ * @name QueuingFlowableProcessor.js
+ * @fileoverview Defines the {@link QueuingFlowableProcessor} class.
+ *
+ * @requires NPM:rsocket-types
+ * @exports QueuingFlowableProcessor
+ */
+
+/**
+ * An asynchronous, pull-based stream of values. Call the
+ * {@link IPublisher#subscribe} method to generate a call to the subscriber's
+ * {@link onSubscribe} method with a {@link Subscription} object that has two
+ * methods: {@link Subscription#cancel} and {@link Subscription#request}.
+ *
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js
+ * @interface IPublisher
+ */
+/**
+ * A version of the {@link ISubscriber} interface in which the methods are
+ * optional, so that you may elect to only implement a subset of them.
+ *
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js
+ * @interface IPartialSubscriber
+ */
+/**
+ * A handler for values provided by a Publisher.
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js
+ * @interface ISubscriber
+ */
+/**
+ * An underlying source of values for a Publisher.
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js
+ * @external {ISubscription} https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js
+ */
+import type {
+  IPublisher,
+  ISubscriber,
+  IPartialSubscriber,
+  ISubscription,
+} from 'rsocket-types';
+
+/**
+ * MAX_REQUEST_N (from QueuingFlowableProcessor.js). If no {@link capacity} is
+ * passed to the {@link QueuingFlowableProcessor#constructor}, this value will
+ * be used as the capacity (the maximum number of items in the backlog queue).
+ * This effectively signals that you want an unlimited number of items from the
+ * source Flowable.
+ *
+ * @constant
+ * @type {number}
+ */
+const MAX_REQUEST_N = 0x7fffffff; // uint31
+
+/**
+ * A {@link QueuingFlowableProcessor} is an intermediary between a Flowable
+ * producer and a subscriber. To the producer, it behaves as a greedy subscriber
+ * (that is, one that {@link request}s a large number of emissions immediately).
+ * To the subscriber, it behaves as a {@link Flowable}.
+ *
+ * This allows the producer to generate and emit items at its own fast pace, while
+ * the end subscriber requests them at its own slow pace. In between, the
+ * {@link QueuingFlowableProcessor} queues up the backlog of items.
+ */
+export default class QueuingFlowableProcessor<T>
+  implements IPublisher, ISubscriber, ISubscription {
+  _once: boolean;
+  _actual: Subscriber<T>;
+  _requested: number;
+  _capacity: number;
+  _queue: T[];
+  _wip: number;
+  _cancelled: boolean;
+  _done: boolean;
+  _error: ?Error;
+
+  /**
+   * @param {?number} [capacity] - the maximum size of the backlog queue of
+   * items this {@link QueuingFlowableProcessor} will maintain (default =
+   * {@link MAX_REQUEST_N}). If this queue size is exceeded, the
+   * {@link QueuingFlowableProcessor} will begin to drop incoming items from the
+   * producer.
+   */
+  constructor(capacity?: number) {
+    this._once = false;
+    this._requested = 0;
+    /** @type {Subscriber<T>} */
+    this._actual = null;
+    /** @type {?Error} */
+    this._error = null;
+    this._done = false;
+    this._wip = 0;
+    this._cancelled = false;
+    /** @type {number} */
+    this._capacity = capacity;
+    /** @type {T[]} */
+    this._queue = [];
+    /** @type {function[]} */
+    this._transformers = [];
+  }
+
+  /**
+   * The subscriber to this {@link QueuingFlowableProcessor} subscribes by calling
+   * this method.
+   *
+   * @param {Subscriber<T>} s - an object that implements the Subscriber methods
+   *   this {@link QueuingFlowableProcessor} will call to pass along messages
+   *   from the Flowable producer.
+   * @throws {Error} if a Subscriber is already subscribed to this
+   *   {@link QueuingFlowableProcessor}
+   */
+  subscribe(s: Subscriber<T>) {
+    if (!this._once) {
+      this._once = true;
+      this._actual = s;
+      s.onSubscribe(this);
+    } else {
+      throw new Error('Only one Subscriber allowed');
+    }
+  }
+
+  /**
+   * When the {@link QueuingFlowableProcessor} gets an {@link onSubscribe} call
+   * from the {@link Flowable} producer, it requests that the {@link Flowable}
+   * begin sending it items: either {@link capacity} items, if the capacity was
+   * set during the call to {@link QueuingFlowableProcessor#constructor}, or
+   * {@link MAX_REQUEST_N} items (effectively unlimited).
+   *
+   * @param {ISubscription} s - the subscription from the source {@link Flowable}
+   */
+  onSubscribe(s: ISubscription) {
+    if (this._done) {
+      s.cancel();
+    } else {
+      s.request(this._capacity || MAX_REQUEST_N);
+    }
+  }
+
+  /**
+   * The {@link Flowable} producer calls this method to add an item to the queue
+   * of this {@link QueuingFlowableProcessor} for later emission to its
+   * subscriber.
+   *
+   * @param {T} t - the item to add
+   * @throws {Error} if {@link t} is null. Flowables are not permitted to emit
+   *   null values.
+   */
+  onNext(t: T) {
+    if (t === null) {
+      throw new Error('t is null');
+    }
+    if (!this._capacity || this._queue.length < this._capacity) {
+      this._queue.push(t);
+    }
+    this.drain();
+  }
+
+  /**
+   * The {@link Flowable} producer calls this method to signal to this
+   * {@link QueuingFlowableProcessor} that the producer has encountered an error.
+   * The {@link QueuingFlowableProcessor} will pass this error on to its
+   * subscriber after it has finished sending the remaining items in its queue.
+   *
+   * @param {Error} t - the specific error
+   */
+  onError(t: Error) {
+    if (t === null) {
+      throw new Error('t is null');
+    }
+    this._error = t;
+    this._done = true;
+    this.drain();
+  }
+
+  /**
+   * The {@link Flowable} producer calls this method to signal to this
+   * {@link QueuingFlowableProcessor} that the producer has finished emitting
+   * items. The {@link QueuingFlowableProcessor} will pass this message on to its
+   * subscriber after it has finished sending the remaining items in its queue.
+   */
+  onComplete() {
+    this._done = true;
+    this.drain();
+  }
+
+  /**
+   * The subscriber to this {@link QueuingFlowableProcessor} calls this method to
+   * request a certain number of additional items.
+   *
+   * @example <caption>Note that requests are additive:</caption>
+   * // this is equivalent to request(5):
+   * myQFP.request(2);
+   * myQFP.request(3);
+   *
+   * @param {number} n - the number of items to request
+   * @throws {Error} if {@link n} is zero or negative
+   */
+  request(n: number) {
+    if (n > 0) {
+      this._requested += n;
+      this.drain();
+    } else {
+      throw new Error('Invalid N for request, must be > 0: ' + n);
+    }
+  }
+
+  /**
+   * The subscriber to this {@link QueuingFlowableProcessor} calls this method to
+   * indicate that it wants no more items and that the
+   * {@link QueuingFlowableProcessor} can stop work and empty its queue.
+   */
+  cancel() {
+    this._cancelled = true;
+    if (this._wip++ === 0) {
+      this._actual = null;
+      this._queue = [];
+    }
+  }
+
+  /**
+   * Add a mapping function that modifies each emission from the {@link Flowable}
+   * producer before emitting it from the {@link QueuingFlowableProcessor}. Note
+   * that you can call this multiple times to add multiple mapping functions,
+   * each of which will operate on the outputs of its predecessor.
+   *
+   * @param {function} transformer - a transformation function that accepts an
+   *   item emitted by the {@link Flowable} producer and returns an item
+   *   expected by the subscriber or by the next transformer
+   * @return {QueuingFlowableProcessor} this same processor, modified with the
+   *   transformation function
+   */
+  map(transformer) {
+    this._transformers.push(transformer);
+    return this;
+  }
+
+  /**
+   * Drain the existing queue of items that are ready for emission by the
+   * {@link QueuingFlowableProcessor} by emitting them to its subscriber. This
+   * is typically called implicitly by other methods of the
+   * {@link QueuingFlowableProcessor}, not explicitly by the producer or
+   * subscriber.
+   */
+  drain() {
+    if (this._actual == null) {
+      return;
+    }
+    if (this._wip++ !== 0) {
+      return;
+    }
+
+    const missed = 1;
+
+    for (;;) {
+      const r = this._requested;
+      let e = 0;
+
+      while (e !== r) {
+        if (this._cancelled) {
+          this._actual = null;
+          this._queue = [];
+          return;
+        }
+
+        const d = this._done;
+        const v = this._queue.shift();
+        const empty = v == null;
+
+        if (d && empty) {
+          if (this._actual != null) {
+            const ex = this._error;
+            if (ex != null) {
+              this._actual.onError(ex);
+            } else {
+              this._actual.onComplete();
+            }
+            this._actual = null;
+          }
+          return;
+        }
+
+        if (empty) {
+          break;
+        }
+
+        if (this._actual != null) {
+          const transformedV = this._transformers.reduce(
+            (interim, xform) => xform(interim),
+            v,
+          );
+          this._actual.onNext(transformedV);
+        }
+
+        e++;
+      }
+
+      if (e == r) {
+        if (this._cancelled) {
+          this._actual = null;
+          this._queue = [];
+          return;
+        }
+        const d = this._done;
+        const empty = this._queue.length === 0;
+
+        if (d && empty) {
+          if (this._actual != null) {
+            const ex = this._error;
+            if (ex != null) {
+              this._actual.onError(ex);
+            } else {
+              this._actual.onComplete();
+            }
+            this._actual = null;
+          }
+          return;
+        }
+      }
+
+      if (e != 0) {
+        this._requested -= e;
+      }
+
+      const m = this._wip - missed;
+      this._wip = m;
+      if (m == 0) {
+        break;
+      }
+    }
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/core/src/RequestHandlingRSocket.js.html b/rsocket-rpc-js/docs/file/packages/core/src/RequestHandlingRSocket.js.html new file mode 100644 index 0000000..6649820 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/core/src/RequestHandlingRSocket.js.html @@ -0,0 +1,279 @@ + + + + + + packages/core/src/RequestHandlingRSocket.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/core/src/RequestHandlingRSocket.js

+
/**
+ * @name RequestHandlingRSocket.js
+ * @fileoverview Defines the {@link RequestHandlingRSocket} class.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires NPM:rsocket-types
+ * @requires NPM:rsocket-flowable
+ * @requires NPM:rsocket-rps-frames
+ * @requires SwitchTransformOperator
+ * @exports RequestHandlingRSocket
+ */
+
+import type {Responder, Payload} from 'rsocket-types';
+
+import {Flowable, Single} from 'rsocket-flowable';
+
+import {getService} from 'rsocket-rpc-frames';
+import SwitchTransformOperator from './SwitchTransformOperator';
+
+/**
+ */
+export default class RequestHandlingRSocket
+  implements Responder<Buffer, Buffer> {
+  _registeredServices: Map<string, Responder<Buffer, Buffer>>;
+
+  constructor() {
+    this._registeredServices = new Map();
+  }
+
+  /**
+   *
+   * @param {string} service -
+   * @param {Responder<Buffer,Buffer>} handler -
+   */
+  addService(service: string, handler: Responder<Buffer, Buffer>) {
+    this._registeredServices.set(service, handler);
+  }
+
+  /**
+   *
+   * @param {Payload<Buffer, Buffer>} payload the - request payload
+   * @throws {Error} if there is no registered service associated with the service type reflected in the request payload metadata
+   * @throws {Error} if the request payload metadata is null
+   */
+  fireAndForget(payload: Payload<Buffer, Buffer>): void {
+    if (payload.metadata == null) {
+      throw new Error('metadata is empty');
+    }
+
+    const service = getService(payload.metadata);
+    const handler = this._registeredServices.get(service);
+
+    if (handler == null) {
+      throw new Error('can not find service ' + service);
+    }
+
+    handler.fireAndForget(payload);
+  }
+
+  /**
+   *
+   * @param {Payload<Buffer,Buffer>} payload - the request payload
+   * @returns {Single<Payload<Buffer,Buffer>>} a {@link Single} that emits the
+   *   response payload, or that signals an error if there is no registered
+   *   service associated with the service type reflected in the request payload
+   *   metadata or if the request payload metadata is null
+   */
+  requestResponse(
+    payload: Payload<Buffer, Buffer>,
+  ): Single<Payload<Buffer, Buffer>> {
+    try {
+      if (payload.metadata == null) {
+        return Single.error(new Error('metadata is empty'));
+      }
+
+      const service = getService(payload.metadata);
+      const handler = this._registeredServices.get(service);
+
+      if (handler == null) {
+        return Single.error(new Error('can not find service ' + service));
+      }
+
+      return handler.requestResponse(payload);
+    } catch (error) {
+      return Single.error(error);
+    }
+  }
+
+  /**
+   *
+   * @param {Payload<Buffer,Buffer>} payload the request payload
+   * @returns {Flowable<Buffer,Buffer>} a Flowable that emits the response
+   *   payloads, or that signals an error if there is no registered service
+   *   associated with the service type reflected in the request payload
+   *   metadata or if the request payload metadata is null
+   */
+  requestStream(
+    payload: Payload<Buffer, Buffer>,
+  ): Flowable<Payload<Buffer, Buffer>> {
+    try {
+      if (payload.metadata == null) {
+        return Flowable.error(new Error('metadata is empty'));
+      }
+
+      const service = getService(payload.metadata);
+      const handler = this._registeredServices.get(service);
+
+      if (handler == null) {
+        return Flowable.error(new Error('can not find service ' + service));
+      }
+
+      return handler.requestStream(payload);
+    } catch (error) {
+      return Flowable.error(error);
+    }
+  }
+
+  /**
+   *
+   * @param {Flowable<Payload<Buffer,Buffer>>} payloads - the request payloads
+   * @returns {Flowable<Payload<Buffer,Buffer>>} a {@link Flowable} that emits
+   *   the response payloads, or that signals an error if there is no registered
+   *   service associated with the service type reflected in the request payload
+   *   metadata or if the request payload metadata is null
+   */
+  requestChannel(
+    payloads: Flowable<Payload<Buffer, Buffer>>,
+  ): Flowable<Payload<Buffer, Buffer>> {
+    return new Flowable(s => payloads.subscribe(s)).lift(
+      s =>
+        new SwitchTransformOperator(s, (payload, flowable) => {
+          if (payload.metadata === undefined || payload.metadata === null) {
+            return Flowable.error(new Error('metadata is empty'));
+          } else {
+            const service = getService(payload.metadata);
+            const handler = this._registeredServices.get(service);
+            if (handler === undefined || handler === null) {
+              return Flowable.error(
+                new Error('can not find service ' + service),
+              );
+            } else {
+              return handler.requestChannel(flowable);
+            }
+          }
+        }),
+    );
+  }
+
+  /**
+   * @abstract
+   * @param {Payload<Buffer, Buffer>} payload -
+   * @returns {Single<void>} a Single that signals an error and terminates
+   */
+  metadataPush(payload: Payload<Buffer, Buffer>): Single<void> {
+    return Single.error(new Error('metadataPush() is not implemented'));
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/core/src/RpcClient.js.html b/rsocket-rpc-js/docs/file/packages/core/src/RpcClient.js.html new file mode 100644 index 0000000..4035d96 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/core/src/RpcClient.js.html @@ -0,0 +1,435 @@ + + + + + + packages/core/src/RpcClient.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/core/src/RpcClient.js

+
/**
+ * @name RpcClient.js
+ * @fileoverview Defines the {@link RpcClient} class and {@link ClientConfig} object.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires NPM:rsocket-core
+ * @requires NPM:rsocket-flowable
+ * @requires NPM:rsocket-types
+ * @exports ClientConfig
+ * @exports RpcClient
+ */
+
+'use strict';
+
+/**
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js
+ * @typedef {(string|Buffer|Uint8Array)} Encodable
+ */
+/**
+ * @example <caption>The methods of the Responder interface:</caption>
+ * fireAndForget(payload: Payload<D, M>): void
+ * requestResponse(payload: Payload<D, M>): Single<Payload<D, M>>
+ * requestStream(payload: Payload<D, M>): Flowable<Payload<D, M>>
+ * requestChannel(payloads: Flowable<Payload<D, M>>): Flowable<Payload<D, M>>
+ * metadataPush(payload: Payload<D, M>): Single<void>
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js
+ * @typedef {interface} Responder
+ * @property {function} fireAndForget
+ * @property {function} requestResponse
+ * @property {function} requestStream
+ * @property {function} requestChannel
+ * @property {function} metadataPush
+ */
+/**
+ * A contract that provides different interaction models according to the
+ * ReactiveSocket protocol. This interface extends the {@link Responder}
+ * interface by adding the {@link ReactiveSocket#close} and
+ * {@link ReactiveSocket#connectionStatus} methods.
+ * @extends {Responder}
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js
+ * @see https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md
+ * @typedef {interface} ReactiveSocket
+ * @property {function} fireAndForget
+ * @property {function} requestResponse
+ * @property {function} requestStream
+ * @property {function} requestChannel
+ * @property {function} metadataPush
+ * @property {function} close
+ * @property {function} connectionStatus
+ */
+/**
+ * Represents a network connection with input/output used by a
+ * {@link ReactiveSocket} to send/receive data.
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js
+ * @typedef {interface} DuplexConnection
+ * @property {function} sendOne
+ * @property {function} send
+ * @property {function} receive
+ * @property {function} close
+ * @property {function} connect
+ * @property {function} connectionStatus
+ */
+/**
+ * A single unit of data exchanged between the peers of a
+ * {@link ReactiveSocket}. A object of this type consists of two members:
+ * {@link Payload#data} and {@link Payload#metadata}.
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js
+ * @typedef {Object} Payload
+ * @property {Serializer} data
+ * @property {Serializer} metadata
+ */
+import type {
+  ConnectionStatus,
+  DuplexConnection,
+  Encodable,
+  Payload,
+  ReactiveSocket,
+  SetupFrame,
+  Responder,
+} from 'rsocket-types';
+/**
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js
+ * @typedef {Object} Serializer
+ * @desc A Serializer transforms data between the application encoding used in
+ * Payloads and the Encodable type accepted by the transport client.
+ * @property {function} deserialize a function that takes an {@link Encodable} and returns the expected data or metadata object
+ * @property {function} serialize a funciton that takes a data or metadata object and returns a corresponding {@link Encodable}
+ */
+/**
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js
+ * @typedef {Object} PayloadSerializers
+ * @property {Serializer} data
+ * @property {Serializer} metadata
+ */
+import type {PayloadSerializers} from 'rsocket-core/build/RSocketSerialization';
+
+/**
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Flowable.js
+ * @typedef {Object} Flowable
+ * @property {function} just
+ * @property {function} error
+ * @property {function} never
+ * @property {function} subscribe
+ * @property {function} lift
+ * @property {function} map
+ * @property {function} take
+ */
+/**
+ * @external
+ * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Single.js
+ * @typedef {Object} Single
+ * @property {function} of
+ * @property {function} error
+ * @property {function} subscribe
+ * @property {function} flatMap
+ * @property {function} map
+ * @property {function} then
+ */
+import {Flowable, Single, every} from 'rsocket-flowable';
+import invariant from 'fbjs/lib/invariant';
+
+import {CONNECTION_STREAM_ID, FLAGS, FRAME_TYPES} from 'rsocket-core';
+import {MAJOR_VERSION, MINOR_VERSION} from 'rsocket-core/build/RSocketVersion';
+import {createClientMachine} from 'rsocket-core/build/RSocketMachine';
+
+/**
+ * @typedef {Object} Setup
+ * @property {number} keepAlive The number of milliseconds between keepalive messages you will send to the service
+ * @property {number} lifetime The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out.
+ * @property {?Encodable} [metadata] Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials).
+ */
+/**
+ * @typedef {Object} ClientConfig
+ * @property {PayloadSerializers} [serializers] A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it.
+ * @property {Setup} setup Configure the keepalive process and any metadata you would like to accompany the connection.
+ * @property {DuplexConnection} transport Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component.
+ * @property {Responder} [responder] An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.)
+ */
+export type ClientConfig<D, M> = {|
+  serializers?: PayloadSerializers<D, M>,
+  setup: {|
+    keepAlive: number,
+    lifetime: number,
+    metadata?: Encodable,
+  |},
+  transport: DuplexConnection,
+  responder?: Responder<D, M>,
+|};
+
+/**
+ * The primary class/entry point for the core package is the {@link RpcClient}.
+ * The client encapsulates the RSocket methods of fireAndForget,
+ * requestResponse, requestStream, and requestChannel and merges them with a
+ * bidirectional connection, allowing seamless use of RSocket for RPC.
+ */
+export default class RpcClient<D, M> {
+  _config: ClientConfig<D, M>;
+  _connection: ?Single<ReactiveSocket<D, M>>;
+
+  /**
+   * @param {ClientConfig<D,M>} config -
+   */
+  constructor(config: ClientConfig<D, M>) {
+    this._config = config;
+    this._connection = null;
+  }
+
+  /**
+   * Close the RPC Client connection.
+   */
+  close(): void {
+    this._config.transport.close();
+  }
+
+  /**
+   * Returns a {@link Single}, which, when you subscribe to it, initiates the
+   * connection and emits a {@link ReactiveSocket} object that defines the
+   * connection.
+   * @example <caption>Here is an example instantiation of an RpcClient:</caption>
+   * const local = 'ws://localhost:8088/';
+   * const keepAlive = 60000; // 60s in ms 
+   * const lifetime = 360000; // 360s in ms
+   * const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);
+   * const client = new RpcClient({setup:{keepAlive, lifetime}, transport});
+   * client.connect().subscribe({
+   *   onComplete: rsocket => {
+   *     console.info("Success! We have a handle to an RSocket connection");
+   *   },
+   *   onError: error => {
+   *     console.error("Failed to connect to local RSocket server.", error);
+   *   }
+   * });
+   *
+   * @returns {Single<ReactiveSocket<D,M>>}
+   * @throws {Error} if the RpcClient is already connected
+   */
+  connect(): Single<ReactiveSocket<D, M>> {
+    invariant(
+      !this._connection,
+      'RpcClient: Unexpected call to connect(), already connected.',
+    );
+    this._connection = new Single(subscriber => {
+      const transport = this._config.transport;
+      let subscription;
+      transport.connectionStatus().subscribe({
+        onNext: status => {
+          if (status.kind === 'CONNECTED') {
+            subscription && subscription.cancel();
+            subscriber.onComplete(new RpcSocket(this._config, transport));
+          } else if (status.kind === 'ERROR') {
+            subscription && subscription.cancel();
+            subscriber.onError(status.error);
+          } else if (status.kind === 'CLOSED') {
+            subscription && subscription.cancel();
+            subscriber.onError(new Error('RpcClient: Connection closed.'));
+          }
+        },
+        onSubscribe: _subscription => {
+          subscriber.onSubscribe(() => _subscription.cancel());
+          subscription = _subscription;
+          subscription.request(Number.MAX_SAFE_INTEGER);
+        },
+      });
+      transport.connect();
+    });
+    return this._connection;
+  }
+}
+
+/**
+ * @private
+ */
+class RpcSocket<D, M> implements ReactiveSocket<D, M> {
+  _machine: ReactiveSocket<D, M>;
+
+  constructor(config: ClientConfig<D, M>, connection: DuplexConnection) {
+    this._machine = createClientMachine(
+      connection,
+      subscriber => connection.receive().subscribe(subscriber),
+      config.serializers,
+      config.responder,
+    );
+
+    // Send SETUP
+    connection.sendOne(this._buildSetupFrame(config));
+
+    // Send KEEPALIVE frames
+    const {keepAlive} = config.setup;
+    const keepAliveFrames = every(keepAlive).map(() => ({
+      data: null,
+      flags: FLAGS.RESPOND,
+      lastReceivedPosition: 0,
+      streamId: CONNECTION_STREAM_ID,
+      type: FRAME_TYPES.KEEPALIVE,
+    }));
+    connection.send(keepAliveFrames);
+  }
+
+  fireAndForget(payload: Payload<D, M>): void {
+    this._machine.fireAndForget(payload);
+  }
+
+  requestResponse(payload: Payload<D, M>): Single<Payload<D, M>> {
+    return this._machine.requestResponse(payload);
+  }
+
+  requestStream(payload: Payload<D, M>): Flowable<Payload<D, M>> {
+    return this._machine.requestStream(payload);
+  }
+
+  requestChannel(payloads: Flowable<Payload<D, M>>): Flowable<Payload<D, M>> {
+    return this._machine.requestChannel(payloads);
+  }
+
+  metadataPush(payload: Payload<D, M>): Single<void> {
+    return this._machine.metadataPush(payload);
+  }
+
+  close(): void {
+    this._machine.close();
+  }
+
+  connectionStatus(): Flowable<ConnectionStatus> {
+    return this._machine.connectionStatus();
+  }
+
+  _buildSetupFrame(config: ClientConfig<D, M>): SetupFrame {
+    const {keepAlive, lifetime, metadata} = config.setup;
+
+    return {
+      flags: FLAGS.METADATA,
+      keepAlive,
+      lifetime,
+      majorVersion: MAJOR_VERSION,
+      minorVersion: MINOR_VERSION,
+      metadataMimeType: 'application/binary',
+      metadata,
+      dataMimeType: 'application/binary',
+      data: undefined,
+      resumeToken: null,
+      streamId: CONNECTION_STREAM_ID,
+      type: FRAME_TYPES.SETUP,
+    };
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/core/src/SwitchTransformOperator.js.html b/rsocket-rpc-js/docs/file/packages/core/src/SwitchTransformOperator.js.html new file mode 100644 index 0000000..5e8828d --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/core/src/SwitchTransformOperator.js.html @@ -0,0 +1,330 @@ + + + + + + packages/core/src/SwitchTransformOperator.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/core/src/SwitchTransformOperator.js

+
/**
+ * @name SwitchTransformOperator.js
+ * @fileoverview Defines the SwitchTransformOperator class.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires NPM:rsocket-types
+ * @requires NPM:rsocket-flowable
+ */
+
+import type {
+  ISubscriber,
+  ISubscription,
+  IPartialSubscriber,
+  IPublisher,
+} from 'rsocket-types';
+import {Flowable} from 'rsocket-flowable';
+
+/**
+ * MAX_REQUEST_N (from SwitchTransformOperator.js). The maximum number of items
+ * that may be requested.
+ *
+ * @constant
+ * @type {number}
+ */
+const MAX_REQUEST_N = 0x7fffffff; // uint31
+
+/**
+ */
+export default class SwitchTransformOperator<T, R>
+  implements ISubscription, ISubscriber<T>, IPublisher<T> {
+  _done: boolean;
+  _error: Error;
+  _canceled: boolean;
+  _first: T | any;
+  _outer: ISubscriber<R>;
+  _inner: ISubscriber<T>;
+  _subscription: ISubscription;
+  _transformer: (first: T, stream: Flowable<T>) => IPublisher<R>;
+
+  /**
+   * @param {ISubscriber} initial -
+   * @param {function} transformer -
+   */
+  constructor(
+    initial: ISubscriber<R>,
+    transformer: (first: T, stream: Flowable<T>) => IPublisher<R>,
+  ) {
+    this._transformer = transformer;
+    this._outer = initial;
+  }
+
+  /**
+   */
+  cancel() {
+    if (this._canceled) {
+      return;
+    }
+
+    this._canceled = true;
+    this._first = undefined;
+    this._subscription.cancel();
+  }
+
+  /**
+   * @param {?IPartialSubscriber} actual -
+   */
+  subscribe(actual?: IPartialSubscriber<T>) {
+    if (actual && !this._inner) {
+      this._inner = ((actual: any): ISubscriber<T>);
+      this._inner.onSubscribe(this);
+    } else if (actual) {
+      const a = actual;
+      if (a.onSubscribe) {
+        a.onSubscribe({
+          cancel: () => {},
+          request: () => {
+            if (a.onError) {
+              a.onError(
+                new Error('SwitchTransform allows only one Subscriber'),
+              );
+            }
+          },
+        });
+      }
+    }
+  }
+
+  /**
+   * @param {ISubscription} subscription
+   */
+  onSubscribe(subscription: ISubscription) {
+    if (this._subscription) {
+      subscription.cancel();
+      return;
+    }
+
+    this._subscription = subscription;
+    this._subscription.request(1);
+  }
+
+  /**
+   * @param {T} value
+   */
+  onNext(value: T) {
+    if (this._canceled || this._done) {
+      return;
+    }
+
+    if (!this._inner) {
+      try {
+        this._first = value;
+        const result = this._transformer(
+          value,
+          new Flowable(s => this.subscribe(s)),
+        );
+        result.subscribe(this._outer);
+      } catch (e) {
+        this.onError(e);
+      }
+      return;
+    }
+
+    this._inner.onNext(value);
+  }
+
+  /**
+   * @param {Error} error
+   */
+  onError(error: Error) {
+    if (this._canceled || this._done) {
+      return;
+    }
+
+    this._error = error;
+    this._done = true;
+
+    if (this._inner) {
+      if (!this._first) {
+        this._inner.onError(error);
+      }
+    } else {
+      this._outer.onSubscribe({
+        cancel: () => {},
+        request: () => {
+          this._outer.onError(error);
+        },
+      });
+    }
+  }
+
+  /**
+   */
+  onComplete() {
+    if (this._done || this._canceled) {
+      return;
+    }
+
+    this._done = true;
+
+    if (this._inner) {
+      if (!this._first) {
+        this._inner.onComplete();
+      }
+    } else {
+      this._outer.onSubscribe({
+        cancel: () => {},
+        request: () => {
+          this._outer.onComplete();
+        },
+      });
+    }
+  }
+
+  /**
+   * @param {number} n
+   */
+  request(n: number) {
+    if (this._first) {
+      const f = this._first;
+      this._first = undefined;
+      this._inner.onNext(f);
+
+      if (this._done) {
+        if (this._error) {
+          this._inner.onError(this._error);
+        } else {
+          this._inner.onComplete();
+        }
+      }
+
+      if (MAX_REQUEST_N <= n) {
+        this._subscription.request(MAX_REQUEST_N);
+      } else if (--n > 0) {
+        this._subscription.request(n);
+      }
+    } else {
+      this._subscription.request(n);
+    }
+  }
+
+  /**
+   * @param {function} fn
+   * @returns {IPublisher}
+   */
+  map<R>(fn: (data: T) => R): IPublisher<R> {
+    return new Flowable(subscriber => this.subscribe(subscriber)).map(fn);
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/core/src/index.js.html b/rsocket-rpc-js/docs/file/packages/core/src/index.js.html new file mode 100644 index 0000000..371fd7c --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/core/src/index.js.html @@ -0,0 +1,153 @@ + + + + + + packages/core/src/index.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/core/src/index.js

+
/**
+ * @name rsocket-rpc-js/packages/core
+ * @fileoverview The public API of the `core` package.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires RequestHandlingRSocket
+ * @requires RpcClient
+ * @requires QueuingFlowableProcessor
+ * @requires SwitchTransformOperator
+ * @exports ClientConfig
+ * @exports RequestHandlingRSocket
+ * @exports RpcClient
+ * @exports QueuingFlowableProcessor
+ * @exports SwitchTransformOperator
+ */
+
+'use strict';
+
+import RequestHandlingRSocket from './RequestHandlingRSocket';
+import RpcClient from './RpcClient';
+import QueuingFlowableProcessor from './QueuingFlowableProcessor';
+import SwitchTransformOperator from './SwitchTransformOperator';
+
+export type {ClientConfig} from './RpcClient';
+
+export {
+  RequestHandlingRSocket,
+  RpcClient,
+  QueuingFlowableProcessor,
+  SwitchTransformOperator,
+};
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/frames/src/Metadata.js.html b/rsocket-rpc-js/docs/file/packages/frames/src/Metadata.js.html new file mode 100644 index 0000000..4fe52bb --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/frames/src/Metadata.js.html @@ -0,0 +1,307 @@ + + + + + + packages/frames/src/Metadata.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/frames/src/Metadata.js

+
/**
+ * @name Metadata.js
+ * @fileoverview Provides methods for encoding and reading payload metadata.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires NPM:rsocket-types
+ * @requires NPM:rsocket-core
+ */
+
+'use strict';
+
+/* eslint-disable consistent-return, no-bitwise */
+
+import type {Encodable} from 'rsocket-types';
+
+/**
+ * @external
+ * @typedef {Object} Encoder
+ * @property {function} byteLength given an {@link Encodable} returns its length in bytes as a number
+ * @property {function} encode
+ * @property {function} decode
+ */
+/**
+ * @external
+ * @typedef {Encoder<string>} UTF8Encoder
+ */
+/**
+ * @external
+ * @typedef {Encoder<Buffer>} BufferEncoder
+ */
+import {UTF8Encoder, BufferEncoder, createBuffer} from 'rsocket-core';
+
+export const VERSION = 1;
+
+export const VERSION_SIZE = 2;
+export const SERVICE_LENGTH_SIZE = 2;
+export const METHOD_LENGTH_SIZE = 2;
+export const TRACING_LENGTH_SIZE = 2;
+
+/**
+ * @external
+ * @typedef {Object} Buffer
+ * @see https://nodejs.org/api/buffer.html
+ */
+/**
+ * Use this method to send well-formed call routing metadata with your payloads.
+ *
+ * @param {string} service - the service name
+ * @param {string} method - the method name
+ * @param {Encodable} tracing - tracing information
+ * @param {Encodable} metadata - arbitrary metadata
+ * @return {Buffer} the above fields encoded in a proper fashion
+ */
+export function encodeMetadata(
+  service: string,
+  method: string,
+  tracing: Encodable,
+  metadata: Encodable,
+): Buffer {
+  const serviceLength = UTF8Encoder.byteLength(service);
+  const methodLength = UTF8Encoder.byteLength(method);
+  const metadataLength = BufferEncoder.byteLength(metadata);
+  // We can't overload the method call directly and the code generator currently only populates
+  // the first 3 parameters
+  if (undefined === tracing) {
+    tracing = createBuffer(0);
+  }
+  const tracingLength = BufferEncoder.byteLength(tracing);
+
+  const buffer = createBuffer(
+    VERSION_SIZE +
+      SERVICE_LENGTH_SIZE +
+      serviceLength +
+      METHOD_LENGTH_SIZE +
+      methodLength +
+      TRACING_LENGTH_SIZE +
+      tracingLength +
+      metadataLength,
+  );
+
+  let offset = buffer.writeUInt16BE(VERSION, 0);
+
+  offset = buffer.writeUInt16BE(serviceLength, offset);
+  offset = UTF8Encoder.encode(service, buffer, offset, offset + serviceLength);
+
+  offset = buffer.writeUInt16BE(methodLength, offset);
+  offset = UTF8Encoder.encode(method, buffer, offset, offset + methodLength);
+
+  offset = buffer.writeUInt16BE(tracingLength, offset);
+  offset = BufferEncoder.encode(
+    tracing,
+    buffer,
+    offset,
+    offset + tracingLength,
+  );
+
+  BufferEncoder.encode(metadata, buffer, offset, offset + metadataLength);
+
+  return buffer;
+}
+
+/**
+ * Get the version number from the metadata.
+ *
+ * @param {Buffer} buffer the metadata buffer that contains the version number
+ * @return {number} the version number
+ */
+export function getVersion(buffer: Buffer): number {
+  return buffer.readUInt16BE(0);
+}
+
+/**
+ * Get the service name from the metadata.
+ *
+ * @param {Buffer} buffer the metadata buffer that contains the service name
+ * @return {string} the service name
+ */
+export function getService(buffer: Buffer): string {
+  let offset = VERSION_SIZE;
+
+  const serviceLength = buffer.readUInt16BE(offset);
+  offset += SERVICE_LENGTH_SIZE;
+
+  return UTF8Encoder.decode(buffer, offset, offset + serviceLength);
+}
+
+/**
+ * Get the method name from the metadata.
+ *
+ * @param {Buffer} buffer the metadata buffer that contains the method name
+ * @return {string} the method name
+ */
+export function getMethod(buffer: Buffer): string {
+  let offset = VERSION_SIZE;
+
+  const serviceLength = buffer.readUInt16BE(offset);
+  offset += SERVICE_LENGTH_SIZE + serviceLength;
+
+  const methodLength = buffer.readUInt16BE(offset);
+  offset += METHOD_LENGTH_SIZE;
+
+  return UTF8Encoder.decode(buffer, offset, offset + methodLength);
+}
+
+/**
+ * Get the tracing information from the metadata.
+ *
+ * @param {Buffer} buffer the metadata buffer that contains tracing information
+ * @return {Buffer} the tracing information
+ */
+export function getTracing(buffer: Buffer): Buffer {
+  let offset = VERSION_SIZE;
+
+  const serviceLength = buffer.readUInt16BE(offset);
+  offset += SERVICE_LENGTH_SIZE + serviceLength;
+
+  const methodLength = buffer.readUInt16BE(offset);
+  offset += METHOD_LENGTH_SIZE + methodLength;
+
+  const tracingLength = buffer.readUInt16BE(offset);
+  offset += TRACING_LENGTH_SIZE;
+
+  return BufferEncoder.decode(buffer, offset, offset + tracingLength);
+}
+
+/**
+ * Get the metadata field from the metadata.
+ *
+ * @param {Buffer} buffer the metadata buffer
+ * @return {Buffer} the metadata field
+ */
+export function getMetadata(buffer: Buffer): Buffer {
+  let offset = VERSION_SIZE;
+
+  const serviceLength = buffer.readUInt16BE(offset);
+  offset += SERVICE_LENGTH_SIZE + serviceLength;
+
+  const methodLength = buffer.readUInt16BE(offset);
+  offset += METHOD_LENGTH_SIZE + methodLength;
+
+  const tracingLength = buffer.readUInt16BE(offset);
+  offset += TRACING_LENGTH_SIZE + tracingLength;
+
+  return BufferEncoder.decode(buffer, offset, buffer.length);
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/frames/src/__tests__/Metadata-test.js.html b/rsocket-rpc-js/docs/file/packages/frames/src/__tests__/Metadata-test.js.html new file mode 100644 index 0000000..d1b66e8 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/frames/src/__tests__/Metadata-test.js.html @@ -0,0 +1,172 @@ + + + + + + packages/frames/src/__tests__/Metadata-test.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/frames/src/__tests__/Metadata-test.js

+
/**
+ * @name Metadata-test.js
+ */
+import {expect} from 'chai';
+import {describe, it} from 'mocha';
+
+import {
+  encodeMetadata,
+  getService,
+  getMethod,
+  getTracing,
+  getMetadata,
+} from '../Metadata';
+
+/**
+ * @param {number} min - the fewest number of bytes in the array
+ * @param {number} max - the array must be smaller than this number in size
+ * @return {number[]} an array of between {@link min} and {@link max}−1
+ * numbers, each of which is in the range [0,256)
+ */
+function randomBytes(min, max) {
+  let size = Math.floor(Math.random() * (max - min)) + min;
+  return new Array(size).map(() => {
+    return randomByte();
+  });
+}
+
+/**
+ * @return {number} a pseudo-random number between [0,256)
+ */
+function randomByte() {
+  return Math.floor(Math.random() * 256);
+}
+
+/**
+ * @test
+ */
+describe('METADATA', () => {
+  it('serializes/deserializes metadata NO TRACING', () => {
+    const service = 'service';
+    const method = 'foo';
+    const metadata = Buffer.from(randomBytes(5, 20));
+
+    const encoded = encodeMetadata(service, method, undefined, metadata);
+
+    expect(service).to.equal(getService(encoded));
+    expect(method).to.equal(getMethod(encoded));
+    expect(getTracing(encoded)).to.deep.equal(Buffer.from([]));
+    expect(metadata).to.deep.equal(getMetadata(encoded));
+  });
+
+  it('serializes/deserializes metadata WITH TRACING', () => {
+    const service = 'service';
+    const method = 'foo';
+    const tracing = Buffer.from(randomBytes(5, 20));
+    const metadata = Buffer.from(randomBytes(5, 20));
+
+    const encoded = encodeMetadata(service, method, tracing, metadata);
+
+    expect(service).to.equal(getService(encoded));
+    expect(method).to.equal(getMethod(encoded));
+    expect(tracing).to.deep.equal(getTracing(encoded));
+    expect(metadata).to.deep.equal(getMetadata(encoded));
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/frames/src/index.js.html b/rsocket-rpc-js/docs/file/packages/frames/src/index.js.html new file mode 100644 index 0000000..cceda85 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/frames/src/index.js.html @@ -0,0 +1,144 @@ + + + + + + packages/frames/src/index.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/frames/src/index.js

+
/**
+ * @name rsocket-rpc-js/packages/frames
+ * @fileoverview The public API for the "frames" package.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires Metadata
+ * @exports encodeMetadata
+ * @exports getVersion
+ * @exports getService
+ * @exports getMethod
+ * @exports getMetadata
+ * @exports getTracing
+ */
+
+export {
+  encodeMetadata,
+  getVersion,
+  getService,
+  getMethod,
+  getMetadata,
+  getTracing,
+} from './Metadata';
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/BaseMeter.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/BaseMeter.js.html new file mode 100644 index 0000000..81e030b --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/BaseMeter.js.html @@ -0,0 +1,292 @@ + + + + + + packages/metrics/src/BaseMeter.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/BaseMeter.js

+
/**
+ * @name BaseMeter.js
+ * @fileoverview Defines the "BaseMeter" class.
+ *
+ * @flow
+ *
+ * @requires IMeter
+ * @requires metrics_pb
+ * @requires RawMeterTag
+ * @requires stats
+ * @exports BaseMeter
+ */
+
+'use strict';
+
+import type {IMeter} from './IMeter';
+import {Meter} from './proto/metrics_pb';
+import RawMeterTag from './RawMeterTag';
+import {EWMA} from './stats';
+
+/**
+ * @name MAX_COUNTER_VALUE
+ * @summary 4294967296
+ *
+ * @desc JavaScript uses double-precision FP for all numeric types.
+ * Perhaps someday we'll have native 64-bit integers that can safely be
+ * transported via JSON without additional code, but not today.
+ *
+ * @constant
+ */
+const MAX_COUNTER_VALUE = Math.pow(2, 32); // 4294967296
+
+/**
+ */
+export default class BaseMeter implements IMeter {
+  m1Rate: EWMA;
+  m5Rate: EWMA;
+  m15Rate: EWMA;
+  count: number;
+  tags: RawMeterTag[];
+  startTime: number;
+  type: string;
+  name: string;
+  description: ?string;
+  statistic: string;
+  units: string;
+
+  /**
+   * @param {string} name -
+   * @param {?string} description - 
+   * @param {?RawMeterTag[]} tags -
+   */
+  constructor(name: string, description?: string, tags?: RawMeterTag[]) {
+    /** @type {EWMA} */
+    this.m1Rate = EWMA.createM1EWMA();
+    /** @type {EWMA} */
+    this.m5Rate = EWMA.createM5EWMA();
+    /** @type {EWMA} */
+    this.m15Rate = EWMA.createM15EWMA();
+    /** @type {number} */
+    this.count = 0;
+    /** @type {?RawMeterTag[]} */
+    this.tags = tags || [];
+    /** @type {number} */
+    this.startTime = new Date().getTime();
+    /** @type {string} */
+    this.type = 'meter';
+    /** @type {string} */
+    this.name = name;
+    /** @type {?string} */
+    this.description = description;
+    /** @type {string} */
+    this.statistic = 'unknown';
+  }
+
+  /**
+   * @param {function} converter -
+   * @return {Meter[]}
+   */
+  convert(converter: IMeter => Meter[]): Meter[] {
+    return converter(this);
+  }
+
+  /**
+   * Mark the occurence of n events
+   *
+   * @param {?number} [n=1] - the number of events to mark the occurence of
+   * @return {number} the number of events marked
+   */
+  mark(n: ?number): number {
+    if (!n) {
+      n = 1;
+    }
+    this.count += n;
+
+    // Check for wrap around
+    if (this.count > MAX_COUNTER_VALUE) {
+      this.count -= MAX_COUNTER_VALUE + 1;
+    }
+
+    // Check for negative count (e.g. from a decrement)
+    if (this.count < 0) {
+      this.count = 0;
+    }
+
+    this.m1Rate.update(n);
+    this.m5Rate.update(n);
+    this.m15Rate.update(n);
+
+    return n;
+  }
+
+  /**
+   * Return an object containing the rate values.
+   *
+   * @return {Object}
+   * @property {number} '1' the one-minute rate
+   * @property {number} '5' the five-minute rate
+   * @property {number} '15' the fifteen-minute rate
+   * @property {number} mean the over-all mean per-second rate
+   */
+  rates() {
+    return {
+      '1': this.oneMinuteRate(),
+      '5': this.fiveMinuteRate(),
+      '15': this.fifteenMinuteRate(),
+      mean: this.meanRate(),
+    };
+  }
+
+  /**
+   * Return the fifteen-minute per-second rate.
+   * @return {number} the rate
+   */
+  fifteenMinuteRate() {
+    return this.m15Rate.rate();
+  }
+
+  /**
+   * Return the five-minute per-second rate.
+   * @return {number} the rate
+   */
+  fiveMinuteRate() {
+    return this.m5Rate.rate();
+  }
+
+  /**
+   * Return the one-minute per-second rate.
+   * @return {number} the rate
+   */
+  oneMinuteRate() {
+    return this.m1Rate.rate();
+  }
+
+  /**
+   * Return the per-second rate over the complete lifetime of the meter.
+   * @return {number} the rate
+   */
+  meanRate() {
+    return (this.count / (new Date().getTime() - this.startTime)) * 1000;
+  }
+
+  /**
+   * Tick the one-, five-, and fifteen-minute rates.
+   */
+  tick() {
+    this.m1Rate.tick();
+    this.m5Rate.tick();
+    this.m15Rate.tick();
+  }
+
+  /** @return {Object}
+   * @property {string} type 
+   * @property {number} count
+   * @property {RawMeterTag[]} tags
+   * @property {string} name */
+  toObject() {
+    return {
+      type: this.type,
+      count: this.count,
+      tags: this.tags,
+      name: this.name,
+    };
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/Counter.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/Counter.js.html new file mode 100644 index 0000000..a2a515c --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/Counter.js.html @@ -0,0 +1,174 @@ + + + + + + packages/metrics/src/Counter.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/Counter.js

+
/**
+ * @name Counter.js
+ * @fileoverview A simple counter object.
+ *
+ * @flow
+ *
+ * @requires BaseMeter
+ * @requires RawMeterTag
+ * @exports Counter
+ */
+
+'use strict';
+
+import BaseMeter from './BaseMeter';
+import RawMeterTag from './RawMeterTag';
+
+/**
+ * @extends {BaseMeter}
+ */
+export default class Counter extends BaseMeter {
+  /**
+   * @param {string} name
+   * @param {?string} [description]
+   * @param {string} units
+   * @param {?RawMeterTag[]} [tags] -
+   */
+  constructor(
+    name: string,
+    description?: string,
+    units: string,
+    tags?: RawMeterTag[],
+  ) {
+    super(name, description, tags);
+    this.type = 'counter';
+    this.statistic = 'count';
+    /** @type {string} **/
+    this.units = units;
+  }
+
+  /**
+   * Increment the count by a certain number of items.
+   *
+   * @param {?number} [val] the number of items to increment
+   */
+  inc(val: ?number): void {
+    this.mark(val);
+  }
+
+  /**
+   * Decrement the count by a certain number of items.
+   *
+   * @param {?number} [val=1] the number of items to decrement
+   */
+  dec(val: ?number): void {
+    if (!val) {
+      val = 1;
+    }
+    this.mark(-1 * val);
+  }
+
+  /**
+   * Reset the number of items in the count to zero.
+   */
+  clear(): void {
+    this.count = 0;
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/Histogram.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/Histogram.js.html new file mode 100644 index 0000000..a044aa2 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/Histogram.js.html @@ -0,0 +1,377 @@ + + + + + + packages/metrics/src/Histogram.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/Histogram.js

+
/**
+ * @name Histogram.js
+ * @fileoverview Defines the Histogram class.
+ *
+ * @flow
+ *
+ * @requires stats
+ */
+
+'use strict';
+
+import {
+  ExponentiallyDecayingSample,
+  UniformSample,
+  ISample,
+  Sample,
+} from './stats';
+
+/**
+ * The default set of percentiles to use in the Histogram.
+ */
+export const DEFAULT_PERCENTILES = [
+  0.001,
+  0.01,
+  0.05,
+  0.1,
+  0.25,
+  0.5,
+  0.75,
+  0.9,
+  0.95,
+  0.98,
+  0.99,
+  0.999,
+];
+
+/**
+ * A histogram tracks the distribution of items, given a sample type.
+ */
+export class Histogram {
+  sample: ISample;
+  min: ?number;
+  max: ?number;
+  sum: ?number;
+  varianceM: ?number;
+  varianceS: ?number;
+  count: ?number;
+  type: string;
+
+  /**
+   * @param {ISample} sample -
+   */
+  constructor(sample: ISample) {
+    /** @type {ISample} */
+    this.sample = sample || new ExponentiallyDecayingSample(1028, 0.015);
+    /** @type {?number} */
+    this.min = null;
+    /** @type {?number} */
+    this.max = null;
+    /** @type {?number} */
+    this.sum = null;
+    // These are for the Welford algorithm for calculating running variance
+    // without floating-point doom.
+    /** @type {?number} */
+    this.varianceM = null;
+    /** @type {?number} */
+    this.varianceS = null;
+    /** @type {?number} */
+    this.count = 0;
+    /** @type {string} */
+    this.type = 'histogram';
+  }
+
+  /**
+   * Create an exponentially decaying histogram.
+   *
+   * @param {number} [size=1028]
+   * @param {number} [alpha=0.015]
+   * @return {Histogram}
+   */
+  static createExponentialDecayHistogram(
+    size: number,
+    alpha: number,
+  ): Histogram {
+    return new Histogram(
+      new ExponentiallyDecayingSample(size || 1028, alpha || 0.015),
+    );
+  }
+
+  /**
+   * Create a uniformly-sampled histogram.
+   *
+   * @param {number} [size=1028]
+   * @return {Histogram}
+   */
+  static createUniformHistogram(size: number): Histogram {
+    return new Histogram(new UniformSample(size || 1028));
+  }
+
+  /**
+   * Return the histogram to its default values.
+   */
+  clear/* = function*/(): void {
+    this.sample.clear();
+    this.min = null;
+    this.max = null;
+    this.sum = null;
+    this.varianceM = null;
+    this.varianceS = null;
+    this.count = 0;
+  };
+
+  /**
+   * timestamp param primarily used for testing
+   *
+   * @function
+   * @param {number} val
+   * @param {?number} [timestamp]
+   */
+  update/* = function*/(val: number, timestamp?: number): void {
+    this.count++;
+    this.sample.update(val, timestamp);
+    if (this.max === null) {
+      this.max = val;
+    } else {
+      this.max = val > this.max ? val : this.max;
+    }
+    if (this.min === null) {
+      this.min = val;
+    } else {
+      this.min = val < this.min ? val : this.min;
+    }
+    this.sum = this.sum === null ? val : this.sum + val;
+    this.updateVariance(val);
+  };
+
+  /**
+   * Set the value of the Welford algorithm variance.
+   *
+   * @function
+   * @param {number} val
+   */
+  updateVariance/* = function*/(val: number): void {
+    var oldVM = this.varianceM,
+      oldVS = this.varianceS;
+    if (this.count == 1) {
+      this.varianceM = val;
+    } else {
+      this.varianceM = oldVM + (val - oldVM) / this.count;
+      this.varianceS = oldVS + (val - oldVM) * (val - this.varianceM);
+    }
+  };
+
+  /**
+   * Get the values for a set of percentiles.
+   *
+   * @function
+   * @param {?number[]} [percentiles] An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is {@link DEFAULT_PERCENTILES}.
+   * @return {number[]} the values for each percentile level
+   */
+  percentiles/* = function*/(percentiles?: number[]): Object {
+    if (!percentiles) {
+      percentiles = DEFAULT_PERCENTILES;
+    }
+    var values = this.sample
+        .getValues()
+        .map(function(v) {
+          return parseFloat(v);
+        })
+        .sort(function(a, b) {
+          return a - b;
+        }),
+      scores = {},
+      percentile,
+      pos,
+      lower,
+      upper;
+    for (var i = 0; i < percentiles.length; i++) {
+      pos = percentiles[i] * (values.length + 1);
+      percentile = percentiles[i];
+      if (pos < 1) {
+        scores[percentile] = values[0];
+      } else if (pos >= values.length) {
+        scores[percentile] = values[values.length - 1];
+      } else {
+        lower = values[Math.floor(pos) - 1];
+        upper = values[Math.ceil(pos) - 1];
+        scores[percentile] = lower + (pos - Math.floor(pos)) * (upper - lower);
+      }
+    }
+    return scores;
+  };
+
+  /**
+   * Return the average variance using the Welford algorithm.
+   *
+   * @function
+   * @return {?number} the average variance, or null if this is undefined because the count is zero.
+   * @throws {Error} a divide by zero error if this.count==1
+   */
+  variance/* = function*/(): ?number {
+    return this.count < 1 ? null : this.varianceS / (this.count - 1);
+  };
+
+  /**
+   * Return the sum of squares of differences from the current mean.
+   *
+   * @function
+   * @return {?number} the sum of squares of differences from the current mean, or null if this is undefined because the count is zero.
+   */
+  mean/* = function*/(): ?number {
+    return this.count == 0 ? null : this.varianceM;
+  };
+
+  /**
+   * Return the standard deviation, the square root of the average variance.
+   *
+   * @function
+   * @return {?number} the standard deviation, or null if this is undefined because the count is zero.
+   */
+  stdDev/* = function*/(): ?number {
+    return this.count < 1 ? null : Math.sqrt(this.variance());
+  };
+
+  /**
+   * Return the set of values in the sample.
+   *
+   * @function
+   * @return {any[]} an array of the values in the sample
+   */
+  values/* = function*/(): any[] {
+    return this.sample.getValues();
+  };
+
+  /**
+   * @function
+   * @return {Object}
+   * @property {string} type "histogram"
+   * @property {number} min
+   * @property {number} max
+   * @property {number} sum
+   * @property {number} variance
+   * @property {number} mean
+   * @property {number} stdDev
+   * @property {number} count
+   * @property {number} median
+   * @property {number} p75
+   * @property {number} p95
+   * @property {number} p99
+   * @property {number} p999
+   */
+  toObject/* = function*/(): Object {
+    var percentiles = this.percentiles();
+    return {
+      type: 'histogram',
+      min: this.min,
+      max: this.max,
+      sum: this.sum,
+      variance: this.variance(),
+      mean: this.mean(),
+      std_dev: this.stdDev(),
+      count: this.count,
+      median: percentiles[0.5],
+      p75: percentiles[0.75],
+      p95: percentiles[0.95],
+      p99: percentiles[0.99],
+      p999: percentiles[0.999],
+    };
+  };
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/IMeter.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/IMeter.js.html new file mode 100644 index 0000000..f0d5e0d --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/IMeter.js.html @@ -0,0 +1,160 @@ + + + + + + packages/metrics/src/IMeter.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/IMeter.js

+
/**
+ * @name IMeter.js
+ * @fileoverview Defines the IMeter interface.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires RawMeterTag
+ * @requires metrics_pb
+ * @exports IMeter
+ */
+
+'use strict';
+
+import RawMeterTag from './RawMeterTag';
+import {Meter} from './proto/metrics_pb';
+
+/**
+ */
+export interface IMeter {
+  name: string;
+  description: ?string;
+  statistic: string;
+  type: string;
+  tags: RawMeterTag[];
+  units?: string;
+
+  /**
+   * @abstract
+   * @returns {Object}
+   */
+  rates(): Object;
+
+  /**
+   * @abstract
+   * @param {function} converter
+   * @returns {Meter[]}
+   */
+  convert(converter: (IMeter) => Meter[]): Meter[];
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/IMeterRegistry.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/IMeterRegistry.js.html new file mode 100644 index 0000000..08ed01f --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/IMeterRegistry.js.html @@ -0,0 +1,157 @@ + + + + + + packages/metrics/src/IMeterRegistry.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/IMeterRegistry.js

+
/**
+ * @name IMeterRegistry.js
+ * @fileoverview Defines the "IMeterRegistry" interface.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires IMeter
+ * @exports IMeterRegistry
+ */
+
+'use strict';
+
+import type {IMeter} from './IMeter';
+
+/**
+ * This represents any container class that can store handles to Meters and
+ * deliver them as a collection.
+ * @interface
+ */
+export interface IMeterRegistry {
+  /**
+   * @function
+   * @param {IMeter} meter
+   */
+  registerMeter(meter: IMeter): void;
+  /**
+   * @function
+   * @param {IMeter[]} meters
+   */
+  registerMeters(meters: IMeter[]): void;
+  /**
+   * @function
+   * @returns {IMeter[]}
+   */
+  meters(): IMeter[];
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/Metrics.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/Metrics.js.html new file mode 100644 index 0000000..ea721b4 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/Metrics.js.html @@ -0,0 +1,291 @@ + + + + + + packages/metrics/src/Metrics.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/Metrics.js

+
/**
+ * @name Metrics.js
+ * @fileoverview Defines the "Metrics" class
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires Counter
+ * @requires Timer
+ * @requires IMeterRegistry
+ * @requires RawMeterTag
+ * @requires MetricsSingleSubscriber
+ * @requires MetricsSubscriber
+ * @requires NPM:rsocket-flowable
+ * @exports Metrics
+ */
+
+'use strict';
+
+import Counter from './Counter';
+import Timer from './Timer';
+import {IMeterRegistry} from './IMeterRegistry';
+import RawMeterTag from './RawMeterTag';
+import embedMetricsSingleSubscriber from './MetricsSingleSubscriber';
+import MetricsSubscriber from './MetricsSubscriber';
+import {Flowable, Single} from 'rsocket-flowable';
+
+/**
+ */
+export default class Metrics {
+  constructor() {}
+
+  /**
+   * @param {?IMeterRegistry} [registry] -
+   * @param {string} name -
+   * @param {Object[]} tags -
+   * @returns {function} a wrapping function through which you weave your RSocket calls
+   * @example
+   * const metricsWrapper = timed(myMeterRegistry, "my.function.name", {tag1: "tag"}, {anotherTag: "again"});
+   * const responseStream = rsocket.requestStream(requestPayload);
+   * metricsWrapper(responseStream).subscribe(...);
+   */
+  static timed<T>(
+    registry?: IMeterRegistry,
+    name: string,
+    ...tags: Object[]
+  ): (Flowable<T>) => Flowable<T> {
+    // Registry is optional - if not provided, return identity function
+    if (!registry) {
+      return any => any;
+    }
+
+    const convertedTags = [];
+    if (tags) {
+      tags.forEach(tag => {
+        Object.keys(tag).forEach(key => {
+          convertedTags.push(new RawMeterTag(key, tag[key]));
+        });
+      });
+    }
+
+    const next = new Counter(
+      name + '.request',
+      'onNext calls',
+      'integer',
+      [new RawMeterTag('status', 'next')].concat(convertedTags),
+    );
+    const complete = new Counter(
+      name + '.request',
+      'onComplete calls',
+      'integer',
+      [new RawMeterTag('status', 'complete')].concat(convertedTags),
+    );
+    const error = new Counter(
+      name + '.request',
+      'onError calls',
+      'integer',
+      [new RawMeterTag('status', 'error')].concat(convertedTags),
+    );
+    const cancelled = new Counter(
+      name + '.request',
+      'cancel calls',
+      'integer',
+      [new RawMeterTag('status', 'cancelled')].concat(convertedTags),
+    );
+    const timer = new Timer(name + '.latency', undefined, convertedTags);
+
+    registry.registerMeters([next, complete, error, cancelled, timer]);
+
+    return (flowable: Flowable<T>) =>
+      flowable.lift(
+        subscriber =>
+          new MetricsSubscriber(
+            subscriber,
+            next,
+            complete,
+            error,
+            cancelled,
+            timer,
+          ),
+      );
+  }
+
+  /**
+   * @param {?IMeterRegistry} [registry] -
+   * @param {string} name -
+   * @param {Object[]} tags -
+   * @returns {function} a wrapping function through which you weave your RSocket calls
+   * @example
+   * const metricsWrapper = timedSingle(myMeterRegistry, "my.function.name", {tag1: "tag"}, {anotherTag: "again"});
+   * const responseStream = rsocket.requestStream(requestPayload);
+   * metricsWrapper(responseStream).subscribe(...);
+   */
+  static timedSingle<T>(
+    registry?: IMeterRegistry,
+    name: string,
+    ...tags: Object[]
+  ): (Single<T>) => Single<T> {
+    // Registry is optional - if not provided, return identity function
+    if (!registry) {
+      return any => any;
+    }
+
+    const convertedTags = [];
+    if (tags) {
+      tags.forEach(tag => {
+        Object.keys(tag).forEach(key => {
+          convertedTags.push(new RawMeterTag(key, tag[key]));
+        });
+      });
+    }
+
+    const next = new Counter(
+      name + '.request',
+      'onNext calls',
+      'integer',
+      [new RawMeterTag('status', 'next')].concat(convertedTags),
+    );
+    const complete = new Counter(
+      name + '.request',
+      'onComplete calls',
+      'integer',
+      [new RawMeterTag('status', 'complete')].concat(convertedTags),
+    );
+    const error = new Counter(
+      name + '.request',
+      'onError calls',
+      'integer',
+      [new RawMeterTag('status', 'error')].concat(convertedTags),
+    );
+    const cancelled = new Counter(
+      name + '.request',
+      'cancel calls',
+      'integer',
+      [new RawMeterTag('status', 'cancelled')].concat(convertedTags),
+    );
+    const timer = new Timer(name + '.latency', undefined, convertedTags);
+
+    registry.registerMeters([next, complete, error, cancelled, timer]);
+
+    return (single: Single<T>) =>
+      embedMetricsSingleSubscriber(
+        single,
+        next,
+        complete,
+        error,
+        cancelled,
+        timer,
+      );
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsExporter.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsExporter.js.html new file mode 100644 index 0000000..0c8f5ef --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsExporter.js.html @@ -0,0 +1,539 @@ + + + + + + packages/metrics/src/MetricsExporter.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/MetricsExporter.js

+
/**
+ * @name MetricsExporter.js
+ * @fileoverview Defines the MetricsExporter class
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires NPM:rsocket-types
+ * @requires NPM:rsocket-flowable
+ * @requires metrics_pb
+ * @requires metrics_rsocket_pb
+ * @requires RawMeterTag
+ * @requires Timer
+ * @requires IMeterRegistry
+ * @requires IMeter
+ * @exports MetricsExporter
+ */
+
+'use strict';
+
+import {ISubscriber} from 'rsocket-types';
+import {Flowable} from 'rsocket-flowable';
+import {
+  Meter,
+  MeterId,
+  MeterMeasurement,
+  MetricsSnapshot,
+  MeterStatistic,
+  MeterType,
+  MeterTag,
+  Skew,
+} from './proto/metrics_pb';
+import {MetricsSnapshotHandlerClient} from './proto/metrics_rsocket_pb';
+import RawMeterTag from './RawMeterTag';
+import Timer from './Timer';
+import {IMeterRegistry} from './IMeterRegistry';
+import type {IMeter} from './IMeter';
+
+/**
+ * An RSocket native metrics source.
+ * @example
+ * const meters = new SimpleMeterRegistry();
+ * const snapshotClient = new MetricsSnapshotHandlerClient(rsocket);
+ * metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);
+ * metricsExporter.start();
+ * @todo use {@link MetricsExporter#batchSize} to window the snapshots
+ */
+export default class MetricsExporter {
+  handler: MetricsSnapshotHandlerClient;
+  registry: IMeterRegistry;
+  exportPeriodSeconds: number;
+  batchSize: number;
+  intervalHandle: any;
+  remoteSubscriber: ?ISubscriber<MetricsSnapshot>;
+  remoteCancel: () => void;
+
+  /**
+   * @param {MetricsSnapshotHandlerClient} handler -
+   * @param {IMeterRegistry} registry -
+   * @param {number} exportPeriodSeconds - 
+   * @param {number} batchSize - metrics count
+  */
+  constructor(
+    handler: MetricsSnapshotHandlerClient,
+    registry: IMeterRegistry,
+    exportPeriodSeconds: number,
+    batchSize: number,
+  ) {
+    /** @type {MetricsSnapshotHandlerClient} */
+    this.handler = handler;
+    /** @type {IMeterRegistry} */
+    this.registry = registry;
+    /** @type {number} */
+    this.exportPeriodSeconds = exportPeriodSeconds;
+    /** @type {number} */
+    this.batchSize = batchSize; // TODO: use this to window the snapshots
+  }
+
+  /**
+   * Open the channel and begin to send metrics.
+   * This is not re-entrant since we rely on the periodic event of the
+   * interval timer.
+   *
+   * @throws {Error} if a metrics snapshot stream is already subscribed
+   */
+  start() {
+    // Not re-entrant since we rely on the periodic event of the interval timer
+    if (this.intervalHandle) {
+      throw new Error('A metrics snapshot stream is already subscribed');
+    }
+
+    this.handler
+      .streamMetrics(getMetricsSnapshotStream(this), Buffer.alloc(0))
+      .subscribe({
+        onNext: skew => recordClockSkew(skew),
+        onComplete: () => restart(this),
+        onError: error => {
+          console.log('MetricsExporter error:' + error);
+          restart(this);
+        },
+        onSubscribe: subscription => {
+          /** @type {function} */
+          this.remoteCancel = subscription.cancel;
+          subscription.request(2147483647); // FaceBook thing - their Flowable only allows this
+        },
+      });
+  }
+
+  /**
+   * Stop sending metrics
+   */
+  stop() {
+    if (this.remoteCancel) {
+      this.remoteCancel();
+    }
+
+    if (this.remoteSubscriber) {
+      this.remoteSubscriber.onComplete();
+      /** @type {ISubscriber<MetricsSnapshot>} */
+      this.remoteSubscriber = null;
+    }
+
+    if (this.intervalHandle) {
+      clearInterval(this.intervalHandle);
+      /** @type {any} */
+      this.intervalHandle = null;
+    }
+  }
+}
+
+/**
+ * Stops and then restarts the given {@link MetricsExporter}.
+ *
+ * @param {MetricsExporter} exporter
+ */
+function restart(exporter: MetricsExporter) {
+  exporter.stop();
+  exporter.start();
+}
+
+/**
+ * @param {MetricsExporter} exporter
+ * @return {Flowable<MetricsSnapshot>} Subscribe to this Flowable to get periodic metrics updates.
+ */
+function getMetricsSnapshotStream(
+  exporter: MetricsExporter,
+): Flowable<MetricsSnapshot> {
+  return new Flowable(subscriber => {
+    if (exporter.intervalHandle) {
+      subscriber.onError(
+        new Error('A metrics snapshot stream is already subscribed'),
+      );
+      return;
+    }
+
+    // Retain handle to subscriber so that we can complete on manual stop
+    exporter.remoteSubscriber = subscriber;
+
+    let pending = 0;
+    console.log(
+      'Setting interval for ' +
+        exporter.exportPeriodSeconds * 1000 +
+        ' milliseconds',
+    );
+    exporter.intervalHandle = setInterval(() => {
+      if (pending > 0) {
+        const allMeters = Array.prototype.concat.apply(
+          [],
+          exporter.registry.meters().map(convert),
+        );
+        const meterSnapshot = allMeters.reduce((snapshot, meter) => {
+          snapshot.addMeters(meter);
+          return snapshot;
+        }, new MetricsSnapshot());
+
+        subscriber.onNext(meterSnapshot);
+        pending--;
+      }
+    }, exporter.exportPeriodSeconds * 1000);
+
+    subscriber.onSubscribe({
+      cancel: () => {
+        // They won't care about the "complete" in this case, remove reference
+        exporter.remoteSubscriber = null;
+        exporter.stop();
+      },
+      request: n => {
+        pending += n;
+      },
+    });
+  });
+}
+
+/**
+ * @param {IMeter} meter
+ * @return {Meter[]}
+ * @throws {Error} if {@link meter} is of an unknown {@link IMeter.type}.
+ */
+function convert(meter: IMeter): Meter[] {
+  const meterType = meterTypeLookup(meter.type);
+  switch (meterType) {
+    case MeterType.TIMER:
+      return meter.convert(convertTimer);
+    case MeterType.COUNTER:
+    case MeterType.GAUGE:
+    case MeterType.LONG_TASK_TIMER:
+    case MeterType.DISTRIBUTION_SUMMARY:
+    case MeterType.OTHER:
+      return meter.convert(basicConverter);
+    default:
+      throw new Error('unsupported type ' + meterType);
+  }
+}
+
+/**
+ * Return a {@link MeterType} enum corresponding to the name of a meter type.
+ *
+ * @param {string} meterType - one of "gauge", "timer", "counter", "longTaskTimer", "distribtionSummary", or "other"
+ * @return a {@link MeterType} enum corresponding to the {@link meterType} string
+ * @throws {Error} if a string not among the above values is submitted as the {@link meterType} parameter
+ */
+function meterTypeLookup(meterType: string): MeterType {
+  switch (meterType) {
+    case 'gauge':
+      return MeterType.GAUGE;
+    case 'timer':
+      return MeterType.TIMER;
+    case 'counter':
+      return MeterType.COUNTER;
+    case 'longTaskTimer':
+      return MeterType.LONG_TASK_TIMER;
+    case 'distributionSummary':
+      return MeterType.DISTRIBUTION_SUMMARY;
+    case 'other':
+      return MeterType.OTHER;
+    default:
+      throw new Error('unknown type ' + meterType);
+  }
+}
+
+/**
+ * Return a {@link MeterStatistic} enum corresponding to the name of a meter statistic.
+ *
+ * @param {string} statistic - one of "max", "count", "total", "value", "unknown", "duration", "totalTime", or "activeTasks"
+ * @return a {@link MeterStatistic} enum corresponding to the {@link statistic} string
+ * @throws {Error} if a string not among the above values is submitted as the {@link statistic} parameter
+ */
+function statisticTypeLookup(statistic: string): MeterStatistic {
+  switch (statistic) {
+    case 'max':
+      return MeterStatistic.MAX;
+    case 'count':
+      return MeterStatistic.COUNT;
+    case 'total':
+      return MeterStatistic.TOTAL;
+    case 'value':
+      return MeterStatistic.VALUE;
+    case 'unknown':
+      return MeterStatistic.UNKNOWN;
+    case 'duration':
+      return MeterStatistic.DURATION;
+    case 'totalTime':
+      return MeterStatistic.TOTAL_TIME;
+    case 'activeTasks':
+      return MeterStatistic.ACTIVE_TASKS;
+    default:
+      throw new Error('unknown type ' + statistic);
+  }
+}
+
+/**
+ * @param {IMeter} imeter
+ * @return {Meter[]}
+ * @throws {Error} if {@link imeter} is not a {@link Timer}
+ */
+function convertTimer(imeter: IMeter): Meter[] {
+  if (!(imeter instanceof Timer)) {
+    throw new Error('Meter is not an instance of Timer');
+  }
+
+  const timer = (imeter: Timer);
+  const meters = [];
+  const name = timer.name;
+  const tags = convertTags(timer.tags);
+
+  // Add meters for percentiles of interest
+  const valuesSnapshot = timer.percentiles();
+  Object.keys(valuesSnapshot).forEach(percentile => {
+    const value = toNanoseconds(valuesSnapshot[percentile]);
+    // Make sure we're dealing with a real value before pushing
+    if (!isNaN(value)) {
+      const meter = new Meter();
+
+      const percentileTag = new MeterTag();
+      percentileTag.setKey('percentile');
+      percentileTag.setValue(percentile);
+
+      const meterId = new MeterId();
+      meterId.setName(name);
+      tags.forEach(tag => meterId.addTag(tag));
+      meterId.addTag(percentileTag);
+      meterId.setType(MeterType.TIMER);
+      meterId.setDescription(timer.description);
+      meterId.setBaseunit('nanoseconds');
+
+      meter.setId(meterId);
+
+      const measure = new MeterMeasurement();
+      measure.setValue(value);
+      measure.setStatistic(statisticTypeLookup(timer.statistic));
+
+      meter.addMeasure(measure);
+
+      meters.push(meter);
+    }
+  });
+
+  // add a meter for total count and max time
+  const histMeter = new Meter();
+
+  const meterId = new MeterId();
+  meterId.setName(name);
+  tags.forEach(tag => meterId.addTag(tag));
+  meterId.setType(MeterType.TIMER);
+  meterId.setDescription(timer.description);
+  meterId.setBaseunit('nanoseconds');
+
+  const totalCount = new MeterMeasurement();
+  totalCount.setValue(timer.totalCount());
+  totalCount.setStatistic(MeterStatistic.COUNT);
+  histMeter.addMeasure(totalCount);
+
+  const maxTime = new MeterMeasurement();
+  maxTime.setValue(timer.max());
+  maxTime.setStatistic(MeterStatistic.MAX);
+  histMeter.addMeasure(maxTime);
+
+  histMeter.setId(meterId);
+
+  meters.push(histMeter);
+
+  return meters;
+}
+
+/**
+ * @param {IMeter} imeter
+ * @return {Meter[]}
+ */
+function basicConverter(imeter: IMeter): Meter[] {
+  const meters = [];
+  const name = imeter.name;
+  const tags = convertTags(imeter.tags);
+
+  // Add meters for different windowed EWMAs
+  const valuesSnapshot = imeter.rates();
+  Object.keys(valuesSnapshot).forEach(rate => {
+    const meter = new Meter();
+
+    const value = valuesSnapshot[rate];
+    const ewmaTag = new MeterTag();
+    ewmaTag.setKey('moving-average-minutes');
+    ewmaTag.setValue(rate);
+
+    const meterId = new MeterId();
+    meterId.setName(name);
+    tags.forEach(tag => meterId.addTag(tag));
+    meterId.addTag(ewmaTag);
+    meterId.setType(meterTypeLookup(imeter.type));
+    meterId.setDescription(imeter.description);
+    meterId.setBaseunit(imeter.units);
+
+    meter.setId(meterId);
+
+    const measure = new MeterMeasurement();
+    measure.setValue(value);
+    measure.setStatistic(statisticTypeLookup(imeter.statistic));
+
+    meter.addMeasure(measure);
+
+    meters.push(meter);
+  });
+
+  return meters;
+}
+
+/**
+ * @param {RawMeterTag[]} tags
+ * @return {MeterTag[]}
+ */
+function convertTags(tags: RawMeterTag[]): MeterTag[] {
+  return (tags || []).map(tag => {
+    const finalTag = new MeterTag();
+    finalTag.setKey(tag.key);
+    finalTag.setValue(tag.value);
+    return finalTag;
+  });
+}
+
+/**
+ * Convert milliseconds to nanoseconds.
+ * Note: this is not safe for timestamps, just time measurements.
+ *
+ * @param {number} milliseconds - a number of milliseconds to convert
+ * @return {number} the value of {@link milliseconds} converted to nanoseconds
+ */
+function toNanoseconds(milliseconds: number) {
+  return milliseconds * 1000 * 1000;
+}
+
+/**
+ * Not currently functional.
+ *
+ * @todo Do something with this?
+ * @param {Skew} skew
+ */
+function recordClockSkew(skew: Skew): void {
+  // TODO: do something with this?
+  return;
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsSingleSubscriber.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsSingleSubscriber.js.html new file mode 100644 index 0000000..ac806f5 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsSingleSubscriber.js.html @@ -0,0 +1,248 @@ + + + + + + packages/metrics/src/MetricsSingleSubscriber.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/MetricsSingleSubscriber.js

+
/**
+ * @name MetricsSingleSubscriber.js
+ * @fileoverview Defines the MetricsSingleSubscriber class.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ * @requires Counter
+ * @requires Timer
+ * @requires NPM:rsocket-flowable
+ * @exports embedMetricsSingleSubscriber
+ */
+
+'use strict';
+
+import Counter from './Counter';
+import Timer from './Timer';
+import {Single} from 'rsocket-flowable';
+import type {IFutureSubscriber} from 'rsocket-flowable/build/Single';
+
+/**
+ * @param {Single<T>} single -
+ * @param {Counter} next -
+ * @param {Counter} complete -
+ * @param {Counter} error -
+ * @param {Counter} cancelled -
+ * @param {Timer} timer -
+ * @return {Single}
+ */
+export default function embedMetricsSingleSubscriber<T>(
+  single: Single<T>,
+  next: Counter,
+  complete: Counter,
+  error: Counter,
+  cancelled: Counter,
+  timer: Timer,
+): Single<T> {
+  return new Single(subscriber => {
+    const metricsSubscriber = new MetricsSingleSubscriber(
+      subscriber,
+      next,
+      complete,
+      error,
+      cancelled,
+      timer,
+    );
+    single.subscribe(metricsSubscriber);
+  });
+}
+
+/**
+ */
+class MetricsSingleSubscriber<T> implements IFutureSubscriber<T> {
+  _source: IFutureSubscriber<T>;
+  _next: Counter;
+  _complete: Counter;
+  _error: Counter;
+  _cancelled: Counter;
+  _timer: Timer;
+
+  _cancel: () => void;
+  _start: number;
+
+  /**
+   * @param {IFutureSubscriber<T>} actual -
+   * @param {Counter} next -
+   * @param {Counter} complete -
+   * @param {Counter} error -
+   * @param {Counter} cancelled -
+   * @param {Timer} timer -
+   */
+  constructor(
+    actual: IFutureSubscriber<T>,
+    next: Counter,
+    complete: Counter,
+    error: Counter,
+    cancelled: Counter,
+    timer: Timer,
+  ) {
+    this._source = actual;
+    this._next = next;
+    this._complete = complete;
+    this._error = error;
+    this._cancelled = cancelled;
+    this._timer = timer;
+  }
+
+  /**
+   * @param {function} cancel
+   * @return {void}
+   */
+  onSubscribe(cancel: () => void): void {
+    this._cancel = cancel;
+    this._start = new Date().getTime();
+
+    this._source.onSubscribe(() => this.cancel());
+  }
+
+  /**
+   * @param {Error} t
+   * @return {void}
+   */
+  onError(t: Error): void {
+    this._error.inc();
+    this._timer.update(new Date().getTime() - this._start);
+
+    this._source.onError(t);
+  }
+
+  /**
+   * @param {T} t
+   * @return {void}
+   */
+  onComplete(t: T): void {
+    this._next.inc();
+    this._complete.inc();
+    this._timer.update(new Date().getTime() - this._start);
+    this._source.onComplete(t);
+  }
+
+  /**
+   * @return {void}
+   */
+  cancel(): void {
+    this._cancelled.inc();
+    this._timer.update(new Date().getTime() - this._start);
+    this._cancel && this._cancel();
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsSubscriber.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsSubscriber.js.html new file mode 100644 index 0000000..41fdc52 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/MetricsSubscriber.js.html @@ -0,0 +1,234 @@ + + + + + + packages/metrics/src/MetricsSubscriber.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/MetricsSubscriber.js

+
/**
+ * @name MetricsSubscriber.js
+ * @fileoverview Defines the "MetricsSubscriber" class.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ * @requires NPM:rsocket-types
+ * @requires Counter
+ * @requires Timer
+ * @exports MetricsSubscriber
+ */
+
+'use strict';
+
+import {ISubscription, ISubscriber} from 'rsocket-types';
+import Counter from './Counter';
+import Timer from './Timer';
+
+/**
+ */
+export default class MetricsSubscriber<T>
+  implements ISubscription, ISubscriber<T> {
+  _source: ISubscriber<T>;
+  _next: Counter;
+  _complete: Counter;
+  _error: Counter;
+  _cancelled: Counter;
+  _timer: Timer;
+
+  _subscription: ISubscription;
+  _start: number;
+
+  /**
+   * @param {ISubscriber<T>} actual -
+   * @param {Counter} next -
+   * @param {Counter} complete -
+   * @param {Counter} error -
+   * @param {Counter} cancelled -
+   * @param {Timer} timer -
+   */
+  constructor(
+    actual: ISubscriber<T>,
+    next: Counter,
+    complete: Counter,
+    error: Counter,
+    cancelled: Counter,
+    timer: Timer,
+  ) {
+    /** @type {ISubscriber<T>} */
+    this._source = actual;
+    /** @type {Counter} */
+    this._next = next;
+    /** @type {Counter} */
+    this._complete = complete;
+    /** @type {Counter} */
+    this._error = error;
+    /** @type {Counter} */
+    this._cancelled = cancelled;
+    /** @type {Timer} */
+    this._timer = timer;
+  }
+
+  /**
+   * @param {ISubscription} s -
+   */
+  onSubscribe(s: ISubscription) {
+    /** @type {ISubscription} */
+    this._subscription = s;
+    /** @type {number} */
+    this._start = new Date().getTime();
+
+    this._source.onSubscribe(this);
+  }
+
+  /**
+   */
+  onNext(t: T) {
+    this._next.inc();
+    this._source.onNext(t);
+  }
+
+  /**
+   * @param {Error} t -
+   */
+  onError(t: Error) {
+    this._error.inc();
+    this._timer.update(new Date().getTime() - this._start);
+
+    this._source.onError(t);
+  }
+
+  /**
+   */
+  onComplete() {
+    this._complete.inc();
+    this._timer.update(new Date().getTime() - this._start);
+    this._source.onComplete();
+  }
+
+  /**
+   * @param {number} n -
+   */
+  request(n: number) {
+    this._subscription && this._subscription.request(n);
+  }
+
+  /**
+   */
+  cancel() {
+    this._cancelled.inc();
+    this._timer.update(new Date().getTime() - this._start);
+    this._subscription && this._subscription.cancel();
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/RawMeterTag.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/RawMeterTag.js.html new file mode 100644 index 0000000..069f1c3 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/RawMeterTag.js.html @@ -0,0 +1,135 @@ + + + + + + packages/metrics/src/RawMeterTag.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/RawMeterTag.js

+
/**
+ * @name RawMeterTag.js
+ * @fileoverview A simple counter object.
+ *
+ * @flow
+ *
+ * @exports RawMeterTag
+ */
+
+'use strict';
+
+/**
+ */
+export default class RawMeterTag {
+  key: string;
+  value: string;
+
+  /**
+   * @param {string} key -
+   * @param {string} value -
+   */
+  constructor(key: string, value: string) {
+    /** @type {string} */
+    this.key = key;
+    /** @type {string} */
+    this.value = value;
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/SimpleMeterRegistry.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/SimpleMeterRegistry.js.html new file mode 100644 index 0000000..f54b669 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/SimpleMeterRegistry.js.html @@ -0,0 +1,182 @@ + + + + + + packages/metrics/src/SimpleMeterRegistry.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/SimpleMeterRegistry.js

+
/**
+ * @name SimpleMeterRegistry.js
+ * @fileoverview Defines the "SimpleMeterRegistry" class.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires IMeter
+ * @requires IMeterRegistry
+ * @exports SimpleMeterRegistry
+ */
+
+'use strict';
+
+import type {IMeter} from './IMeter';
+import {IMeterRegistry} from './IMeterRegistry';
+
+/**
+ * The default implementation of {@link IMeterRegistry}.
+ */
+export default class SimpleMeterRegistry implements IMeterRegistry {
+  meterMap: Object;
+
+  constructor() {
+    /** @type {Object} */
+    this.meterMap = {};
+  }
+
+  /**
+   * @param {IMeter} meter
+   */
+  registerMeter(meter: IMeter): void {
+    const id = {
+      name: meter.name,
+      tags: meter.tags,
+      type: meter.type,
+    };
+
+    if (!this.meterMap[id]) {
+      this.meterMap[id] = [];
+    }
+
+    this.meterMap[id].push(meter);
+  }
+
+  /**
+   * @param {IMeter[]} meters
+   */
+  registerMeters(meters: IMeter[]): void {
+    (meters || []).forEach(meter => this.registerMeter(meter));
+  }
+
+  /**
+   * @return {IMeter[]}
+   */
+  meters(): IMeter[] {
+    return Array.prototype.concat.apply(
+      [],
+      Object.keys(this.meterMap).map(key => this.meterMap[key]),
+    );
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/Timer.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/Timer.js.html new file mode 100644 index 0000000..1367c95 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/Timer.js.html @@ -0,0 +1,218 @@ + + + + + + packages/metrics/src/Timer.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/Timer.js

+
/**
+ * @name Timer.js
+ * @fileoverview Defines the "Timer" class.
+ *
+ * @flow
+ *
+ * @requires BaseMeter
+ * @requires RawMeterTag
+ * @requires Histogram
+ * @requires stats
+ * @exports Timer
+ */
+
+'use strict';
+
+import BaseMeter from './BaseMeter';
+import RawMeterTag from './RawMeterTag';
+import {Histogram} from './Histogram';
+import {ExponentiallyDecayingSample} from './stats';
+
+/**
+ * Basically a timer that tracks the rate of events and histograms the durations.
+ * @extends {BaseMeter}
+ */
+export default class Timer extends BaseMeter {
+  histogram: Histogram;
+
+  /**
+   * @param {string} name -
+   * @param {?string} [description] - (optional)
+   * @param {?RawMeterTag[]} [tags] - (optional)
+   */
+  constructor(name: string, description?: string, tags?: RawMeterTag[]) {
+    super(name, description, tags);
+    /** @type {Histogram} */
+    this.histogram = new Histogram(
+      new ExponentiallyDecayingSample(1028, 0.015),
+    );
+    this.clear();
+    this.type = 'timer';
+    this.statistic = 'duration';
+  }
+
+  /**
+   */
+  update(duration: number): void {
+    this.histogram.update(duration);
+    this.mark();
+  }
+
+  // delegate these to histogram
+  /** delegated to {@link Histogram#clear}
+   * @return {void} */
+  clear(): void {
+    return this.histogram.clear();
+  }
+  /** delegated to {@link Histogram#totalCount}
+   * @return {?number} */
+  totalCount(): ?number {
+    return this.histogram.count;
+  }
+  /** delegated to {@link Histogram#min}
+   * @return {?number} */
+  min(): ?number {
+    return this.histogram.min;
+  }
+  /** delegated to {@link Histogram#max}
+   * @return {?number} */
+  max(): ?number {
+    return this.histogram.max;
+  }
+  /** delegated to {@link Histogram#mean}
+   * @return {?number} */
+  mean(): ?number {
+    return this.histogram.mean();
+  }
+  /** delegated to {@link Histogram#stdDev}
+   * @return {?number} */
+  stdDev(): ?number {
+    return this.histogram.stdDev();
+  }
+  /** delegated to {@link Histogram#percentiles}
+   * @param {?number[]} percentiles
+   * @return {number[]} */
+  percentiles(percentiles?: number[]): Object {
+    return this.histogram.percentiles(percentiles);
+  }
+  /** delegated to {@link Histogram#values}
+   * @returnn {any[]} */
+  values() {
+    return this.histogram.values();
+  }
+
+  /**
+   * @returns {Object}
+   * @property {string} type
+   * @property {Object} duration
+   * @property {number} count
+   * @property {RawMeterTag[]} tags
+   * @property {string} name
+   */
+  toObject() {
+    return {
+      type: this.type,
+      duration: this.histogram.toObject(),
+      count: this.count,
+      tags: this.tags,
+      name: this.name,
+    };
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/exponentially_decaying_sample-test.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/exponentially_decaying_sample-test.js.html new file mode 100644 index 0000000..8eb41a8 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/exponentially_decaying_sample-test.js.html @@ -0,0 +1,153 @@ + + + + + + packages/metrics/src/__tests__/exponentially_decaying_sample-test.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/__tests__/exponentially_decaying_sample-test.js

+
var ExponentiallyDecayingSample = require('../stats/ExponentiallyDecayingSample.js')
+    .default,
+  eds = new ExponentiallyDecayingSample(1000, 0.015);
+
+var test = function(callback) {
+  eds.clear();
+
+  var time = new Date().getTime(),
+    interval = (60 * 60 * 1000) / 100;
+  for (var i = 0; i < 100; i++) {
+    for (var j = 0; j < 100; j++) {
+      eds.update(i, time + i * interval);
+    }
+  }
+
+  function printSample(eds) {
+    var valueCounts = {},
+      values = eds.getValues();
+
+    for (var i = 0; i < eds.size(); i++) {
+      if (valueCounts[values[i].val]) {
+        valueCounts[values[i].val]++;
+      } else {
+        valueCounts[values[i].val] = 1;
+      }
+    }
+    return valueCounts;
+  }
+
+  console.log('This is an exponential distribution:');
+  console.log(printSample(eds));
+
+  eds.rescale(time + 100 * interval);
+
+  console.log('This is after rescaling');
+  console.log(eds.getValues());
+  if (typeof callback == 'function') {
+    callback();
+  }
+};
+
+if (module.parent) {
+  module.exports = test;
+} else {
+  test();
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js.html new file mode 100644 index 0000000..e109532 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js.html @@ -0,0 +1,140 @@ + + + + + + packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js

+
var ExponentiallyWeightedMovingAverage = require('../stats/ExponentiallyWeightedMovingAverage')
+  .default;
+var exponentially_weighted_moving_average = new ExponentiallyWeightedMovingAverage.createM1EWMA();
+
+/**
+ * @test {ExponentiallyWeightedMovingAverage}
+ */
+var test = function(callback) {
+  console.log('\nTesting ExponentiallyWeightedMovingAverage\n');
+  console.log('Sending updates every 100 milliseconds for 30 seconds.');
+
+  var updateInterval = setInterval(function() {
+    exponentially_weighted_moving_average.update();
+  }, 100);
+  setTimeout(function() {
+    clearInterval(updateInterval);
+    console.log('\n\nExpected Average: 10');
+    console.log(
+      'Exponentially Weighted Moving Average: ' +
+        exponentially_weighted_moving_average.rate() +
+        '\n',
+    );
+    if (typeof callback == 'function') {
+      callback();
+    }
+  }, 30000);
+};
+
+if (module.parent) {
+  module.exports = test;
+} else {
+  test();
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/histogram-test.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/histogram-test.js.html new file mode 100644 index 0000000..c25ba76 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/histogram-test.js.html @@ -0,0 +1,131 @@ + + + + + + packages/metrics/src/__tests__/histogram-test.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/__tests__/histogram-test.js

+
var expect = require('chai').expect,
+  describe = require('mocha').describe,
+  it = require('mocha').it,
+  Histogram = require('../Histogram').Histogram;
+
+/**
+ * @test {Histogram}
+ */
+describe('Histogram', function() {
+  it('should properly record percentiles from uniform distribution.', function() {
+    var unifHist = Histogram.createUniformHistogram(5000);
+
+    for (var i = 1; i < 10000; i++) {
+      unifHist.update(i);
+    }
+
+    expect(unifHist.mean()).to.equal(5000);
+    expect(unifHist.variance()).to.equal(8332500);
+    expect(unifHist.stdDev()).to.equal(2886.607004772212);
+    expect(unifHist.count).to.equal(9999);
+    expect(unifHist.min).to.equal(1);
+    expect(unifHist.max).to.equal(9999);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/meter-test.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/meter-test.js.html new file mode 100644 index 0000000..564feaf --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/meter-test.js.html @@ -0,0 +1,137 @@ + + + + + + packages/metrics/src/__tests__/meter-test.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/__tests__/meter-test.js

+
var expect = require('chai').expect,
+  describe = require('mocha').describe,
+  it = require('mocha').it,
+  Meter = require('../BaseMeter').default;
+
+/**
+ * @test {Meter}
+ */
+describe('Meter', function() {
+  this.timeout(10000);
+  it('should properly record rate and count.', function(done) {
+    var meter = new Meter();
+    var updateInterval = setInterval(function() {
+      meter.mark(1);
+    }, 100);
+
+    setTimeout(function() {
+      clearInterval(updateInterval);
+      expect(meter)
+        .to.have.property('count')
+        .to.be.within(45, 55);
+      ['mean', '1', '5', '15'].forEach(function(v) {
+        expect(meter.rates())
+          .to.have.property(v)
+          .to.be.within(9, 11);
+      });
+      done();
+    }, 5000);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/timer-test.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/timer-test.js.html new file mode 100644 index 0000000..996363b --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/timer-test.js.html @@ -0,0 +1,143 @@ + + + + + + packages/metrics/src/__tests__/timer-test.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/__tests__/timer-test.js

+
var expect = require('chai').expect,
+  describe = require('mocha').describe,
+  it = require('mocha').it,
+  Timer = require('../Timer').default;
+
+/**
+ * @test {Timer}
+ */
+describe('Timer', function() {
+  it('should properly record durations.', function(done) {
+    var timer = new Timer();
+
+    var n = 0;
+    var updateInterval = setInterval(function() {
+      timer.update(n++);
+    }, 100);
+
+    setTimeout(function() {
+      clearInterval(updateInterval);
+      timer.tick();
+      expect(timer.totalCount()).to.be.within(8, 12);
+      expect(timer.min()).to.equal(0);
+      expect(timer.max()).to.be.within(8, 12);
+      expect(timer).to.have.property('mean');
+      expect(timer).to.have.property('stdDev');
+      expect(timer).to.have.property('percentiles');
+      expect(timer).to.have.property('values');
+      expect(timer).to.have.property('oneMinuteRate');
+      expect(timer).to.have.property('fiveMinuteRate');
+      expect(timer).to.have.property('fifteenMinuteRate');
+      expect(timer).to.have.property('meanRate');
+      expect(timer).to.have.property('rates');
+      done();
+    }, 1000);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/uniform_sample-test.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/uniform_sample-test.js.html new file mode 100644 index 0000000..b2aa93c --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/__tests__/uniform_sample-test.js.html @@ -0,0 +1,134 @@ + + + + + + packages/metrics/src/__tests__/uniform_sample-test.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/__tests__/uniform_sample-test.js

+
var expect = require('chai').expect,
+  debug = require('debug')('metrics'),
+  describe = require('mocha').describe,
+  it = require('mocha').it,
+  UniformSample = require('../stats/UniformSample').default;
+
+/**
+ * @test {UniformSample}
+ */
+describe('UniformSample', function() {
+  it('average of sampled values should fall within acceptable range of actual mean.', function() {
+    debug('Creating a new UniformSample with a limit of 600.');
+    var uniformSample = new UniformSample(600);
+    for (var i = 0; i < 10000; i++) {
+      uniformSample.update(i);
+    }
+
+    var sum = 0;
+    for (var k in uniformSample.values) {
+      sum += uniformSample.values[k];
+    }
+    var mean = sum / uniformSample.values.length;
+    debug('Mean of sample is %j', mean);
+    // actual mean of all 10000 values should be 5000.
+    expect(mean).to.be.within(4500, 5500);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/index.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/index.js.html new file mode 100644 index 0000000..fd808a7 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/index.js.html @@ -0,0 +1,215 @@ + + + + + + packages/metrics/src/index.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/index.js

+
/**
+ * @name rsocket-rpc-js/packages/metrics
+ * @fileoverview The set of exports for the "Metrics" package.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires metrics_pb
+ * @requires metrics_rsocket_pb
+ * @requires stats
+ * @requires BaseMeter
+ * @requires Histogram
+ * @requires Timer
+ * @requires Counter
+ * @requires IMeter
+ * @requires IMeterRegistry
+ * @requires SimpleMeterRegistry
+ * @requires MetricsExporter
+ * @requires Metrics
+ * @requires RawMeterTag
+ */
+
+'use strict';
+
+import {
+  MeterTag,
+  MeterType,
+  MeterId,
+  MeterStatistic,
+  MeterMeasurement,
+  Meter,
+  MetricsSnapshot,
+  Skew,
+} from './proto/metrics_pb';
+
+import {
+  MetricsSnapshotHandlerClient,
+  MetricsSnapshotHandlerServer,
+} from './proto/metrics_rsocket_pb';
+
+import {
+  ExponentiallyDecayingSample,
+  ExponentiallyWeightedMovingAverage,
+  Sample,
+  UniformSample,
+  ISample,
+} from './stats';
+
+import BaseMeter from './BaseMeter';
+
+import {Histogram, DEFAULT_PERCENTILES} from './Histogram';
+
+import Timer from './Timer';
+
+import Counter from './Counter';
+
+import {IMeter} from './IMeter';
+
+import {IMeterRegistry} from './IMeterRegistry';
+
+import SimpleMeterRegistry from './SimpleMeterRegistry';
+
+import MetricsExporter from './MetricsExporter';
+
+import Metrics from './Metrics';
+
+import RawMeterTag from './RawMeterTag';
+
+export {
+  BaseMeter,
+  Counter,
+  Timer,
+  RawMeterTag,
+  Histogram,
+  ExponentiallyDecayingSample,
+  ExponentiallyWeightedMovingAverage,
+  Sample,
+  UniformSample,
+  ISample,
+  DEFAULT_PERCENTILES,
+  IMeter,
+  IMeterRegistry,
+  SimpleMeterRegistry,
+  Metrics,
+  MetricsExporter,
+  MeterTag,
+  MeterId,
+  MeterMeasurement,
+  MetricsSnapshot,
+  Skew,
+  MeterType,
+  MeterStatistic,
+  MetricsSnapshotHandlerServer,
+  MetricsSnapshotHandlerClient,
+};
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ExponentiallyDecayingSample.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ExponentiallyDecayingSample.js.html new file mode 100644 index 0000000..b33a2db --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ExponentiallyDecayingSample.js.html @@ -0,0 +1,270 @@ + + + + + + packages/metrics/src/stats/ExponentiallyDecayingSample.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/stats/ExponentiallyDecayingSample.js

+
/**
+ * @name ExponentiallyDecayingSample.js
+ * @fileoverview Defines the "ExponentiallyDecayingSample" class.
+ *
+ * @flow
+ *
+ * @requires Sample
+ * @requires binary_heap
+ * @exports ExponentiallyDecayingSample
+ */
+
+'use strict';
+
+import Sample from './Sample';
+import BinaryHeap from './lib/binary_heap';
+import type PrioritizedItem from './lib/binary_heap';
+
+/**
+ * Take an exponentially decaying sample of size size of all values.
+ * This value represents one hour in milliseconds.
+ * @constant
+ */
+const RESCALE_THRESHOLD = 60 * 60 * 1000; // 1 hour in milliseconds
+
+/**
+ */
+export default class ExponentiallyDecayingSample<T> extends Sample<T> {
+  count: number;
+  limit: number;
+  alpha: number;
+  startTime: number;
+  nextScaleTime: number;
+  values: BinaryHeap<T>;
+
+  /**
+   * @param {number} size -
+   * @param {number} alpha -
+   */
+  constructor(size: number, alpha: number) {
+    super();
+    /** @type {number} */
+    this.count = 0;
+    /** @type {number} */
+    this.limit = size;
+    /** @type {number} */
+    this.alpha = alpha;
+    this.clear();
+  }
+
+  /**
+   * This is a relatively expensive operation.
+   * @return {T[]}
+   */
+  getValues(): T[] {
+    var values = ([]: T[]),
+      elt,
+      heap = this.values.clone();
+    while ((elt = heap.pop())) {
+      values.push(elt.val);
+    }
+    return values;
+  }
+
+  /**
+   * @return {number}
+   */
+  size(): number {
+    return this.values.size();
+  }
+
+  /**
+   * @return {BinaryHeap<T>}
+   */
+  newHeap(): BinaryHeap<T> {
+    return new BinaryHeap(obj => obj.priority);
+  }
+
+  /**
+   * @return {number}
+   */
+  now(): number {
+    return new Date().getTime();
+  }
+
+  /**
+   * @return {number}
+   */
+  tick(): number {
+    return this.now() / 1000;
+  }
+
+  /**
+   * @return {void}
+   */
+  clear(): void {
+    /** @type {BinaryHeap<T>} values */
+    this.values = this.newHeap();
+    this.count = 0;
+    /** @type {number} */
+    this.startTime = this.tick();
+    /** @type {number} */
+    this.nextScaleTime = this.now() + RESCALE_THRESHOLD;
+  }
+
+  /**
+   * @param {T} val - 
+   * @param {?number} timestamp - (in milliseconds)
+   */
+  update(val: T, timestamp?: number): void {
+    // Convert timestamp to seconds
+    if (timestamp == undefined) {
+      timestamp = this.tick();
+    } else {
+      timestamp = timestamp / 1000;
+    }
+    var priority = this.weight(timestamp - this.startTime) / Math.random();
+    const value = ({val: val, priority: priority}: PrioritizedItem<T>);
+    if (this.count < this.limit) {
+      this.count += 1;
+      this.values.push(value);
+    } else {
+      var first = this.values.peek();
+      if (first.priority < priority) {
+        this.values.push(value);
+        this.values.pop();
+      }
+    }
+
+    if (this.now() > this.nextScaleTime) {
+      this.rescale(this.now());
+    }
+  }
+
+  /**
+   * @param {number} time
+   * @return {number}
+   */
+  weight(time: number): number {
+    return Math.exp(this.alpha * time);
+  }
+
+  /**
+   * @param {number} now - parameter primarily used for testing rescales
+   * @return {void}
+   */
+  rescale(now: number): void {
+    this.nextScaleTime = this.now() + RESCALE_THRESHOLD;
+    var oldContent = this.values.content,
+      newContent = [],
+      oldStartTime = this.startTime;
+    this.startTime = (now && now / 1000) || this.tick();
+    // Downscale every priority by the same factor. Order is unaffected, which is why we're avoiding the cost of popping.
+    for (var i = 0; i < oldContent.length; i++) {
+      newContent.push({
+        val: oldContent[i].val,
+        priority:
+          oldContent[i].priority *
+          Math.exp(-this.alpha * (this.startTime - oldStartTime)),
+      });
+    }
+    this.values.content = newContent;
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js.html new file mode 100644 index 0000000..c1aa507 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js.html @@ -0,0 +1,228 @@ + + + + + + packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js

+
/**
+ * @name ExponentiallyWeightedMovingAverage.js
+ * @fileoverview Exponentially weighted moving average.
+ *
+ * @flow
+ * @exports EWMA
+ */
+
+'use strict';
+
+/**
+ * @constant
+ */
+const M1_ALPHA = 1 - Math.exp(-5 / 60);
+/**
+ * @constant
+ */
+const M5_ALPHA = 1 - Math.exp(-5 / 60 / 5);
+/**
+ * @constant
+ */
+const M15_ALPHA = 1 - Math.exp(-5 / 60 / 15);
+
+/**
+ */
+export default class EWMA {
+  alpha: number;
+  interval: number;
+  initialized: boolean;
+  currentRate: number;
+  uncounted: number;
+  tickInterval: any;
+
+  /**
+   * @param {number} alpha -
+   * @param {number} interval - time in milliseconds
+   */
+  constructor(alpha: number, interval: number) {
+    /** @type {number} */
+    this.alpha = alpha;
+    /** @type {number} */
+    this.interval = interval || 5000;
+    /** @type {boolean} */
+    this.initialized = false;
+    /** @type {number} */
+    this.currentRate = 0.0;
+    /** @type {number} */
+    this.uncounted = 0;
+    if (interval) {
+      /** @type {any} */
+      this.tickInterval = setInterval(() => {
+        this.tick();
+      }, interval);
+
+      // $FlowFixMe
+      if (this.tickInterval.unref) {
+        // checking in Node context
+        // Don't keep the process open if this is the last thing in the event loop.
+        this.tickInterval.unref();
+      }
+    }
+  }
+
+  /**
+   * @returns {EWMA}
+   */
+  static createM1EWMA(): EWMA {
+    return new EWMA(M1_ALPHA, 5000);
+  }
+  /**
+   * @returns {EWMA}
+   */
+  static createM5EWMA(): EWMA {
+    return new EWMA(M5_ALPHA, 5000);
+  }
+  /**
+   * @returns {EWMA}
+   */
+  static createM15EWMA(): EWMA {
+    return new EWMA(M15_ALPHA, 5000);
+  }
+
+  /**
+   * @param {number} n -
+   * @returns {void}
+   */
+  update(n: number): void {
+    this.uncounted += n || 1;
+  }
+
+  /**
+   * Update our rate measurements every interval.
+   * @returns {void}
+   */
+  tick(): void {
+    var instantRate = this.uncounted / this.interval;
+    this.uncounted = 0;
+
+    if (this.initialized) {
+      this.currentRate += this.alpha * (instantRate - this.currentRate);
+    } else {
+      this.currentRate = instantRate;
+      this.initialized = true;
+    }
+  }
+
+  /**
+   * Return the rate per second.
+   * @returns {number}
+   */
+  rate(): number {
+    return this.currentRate * 1000;
+  }
+
+  /**
+   * @returns {void}
+   */
+  stop(): void {
+    clearInterval(this.tickInterval);
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ISample.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ISample.js.html new file mode 100644 index 0000000..79c6ed8 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/ISample.js.html @@ -0,0 +1,162 @@ + + + + + + packages/metrics/src/stats/ISample.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/stats/ISample.js

+
/**
+ * @name ISample.js
+ * @fileoverview The "ISample" interface.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ * @exports ISample
+ */
+
+'use strict';
+
+/**
+ */
+export interface ISample<T> {
+  /**
+   * Initialize the sample.
+   */
+  init(): void;
+  /**
+   * Add a value (and optionally its timestamp) to the sample.
+   * @param {T} val the value to sample
+   * @param {?number} [timestamp] the timestamp at which this value was generated or sampled
+   */
+  update(val: T, timestamp?: number): void;
+  /**
+   * Clear the items from the sample and reset its size to zero.
+   */
+  clear(): void;
+  /**
+   * Get the number of items in the sample.
+   * @returns {number} the number of items inthe sample
+   */
+  size(): number;
+  /**
+   * Get the items in the sample as an array.
+   * @returns {T[]} the items in the sample
+   */
+  getValues(): T[];
+  /**
+   */
+  print(): void;
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/stats/Sample.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/Sample.js.html new file mode 100644 index 0000000..ea38418 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/Sample.js.html @@ -0,0 +1,176 @@ + + + + + + packages/metrics/src/stats/Sample.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/stats/Sample.js

+
/**
+ * @name Sample.js
+ * @fileoverview Defines the "Sample" class.
+ *
+ * @flow
+ *
+ * @requires ISample
+ * @exports Sample
+ */
+
+'use strict';
+
+import {ISample} from './ISample';
+
+/**
+ */
+export default class Sample<T> implements ISample<T> {
+  values: T[];
+  count: number;
+
+  constructor() {
+    /** @type {T[]} */
+    this.values = [];
+    /** @type {number} */
+    this.count = 0;
+  }
+
+  /**
+   * Initialize the sample, setting its count to zero and clearing out any previously-stored values.
+   */
+  init(): void {
+    this.clear();
+  }
+  /**
+   * Add a value to the sample. Note: {@link timestamp} is currently unused.
+   * @param {T} val - the value to add
+   * @param {?number} [timestamp] - the time when the value was sampled
+   */
+  update(val: T, timestamp?: number): void {
+    this.values.push(val);
+  }
+  /**
+   * Reset the sample by removing all of its items and setting its count to zero.
+   */
+  clear(): void {
+    this.values = [];
+    this.count = 0;
+  }
+  /**
+   * Get the number of items in the sample.
+   * @return {number} the number of values in the sample.
+   */
+  size(): number {
+    return this.values.length;
+  }
+  /**
+   * Get the items in the sample as an array.
+   * @return {Array} the set of values in the sample.
+   */
+  getValues(): T[] {
+    return this.values;
+  }
+  /**
+   * Output the values of this sample to the console.
+   */
+  print(): void {
+    console.log(this.values);
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/stats/UniformSample.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/UniformSample.js.html new file mode 100644 index 0000000..86b07ec --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/UniformSample.js.html @@ -0,0 +1,162 @@ + + + + + + packages/metrics/src/stats/UniformSample.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/stats/UniformSample.js

+
/**
+ * @name UniformSample.js
+ * @fileoverview Defines the "UniformSample" class.
+ *
+ * @flow
+ *
+ * @requires Sample
+ * @exports UniformSample
+ */
+
+'use strict';
+
+import Sample from './Sample';
+
+/**
+ * Take a uniform sample of size "size" for all values.
+ * @extends {Sample}
+ */
+export default class UniformSample<T> extends Sample<T> {
+  limit: number;
+  count: number;
+
+  /**
+   * @param {number} size - the maximum number of items in this sample
+   */
+  constructor(size: number) {
+    super();
+    /** @type {number} */
+    this.limit = size;
+    /** @type {number} */
+    this.count = 0;
+    this.init();
+  }
+
+  /**
+   * Add {@link val} to the set of values that make up the sample. Note, if
+   * the sample size is already equal to the maximum sample size, the new value
+   * may replace a randomly-chosen existing sample value.
+   *
+   * @param {T} val - the value to add to those sampled
+   * @param {?number} timestamp - the time when {@link val} was sampled (currently unused)
+   */
+  update(val: T, timestamp?: number): void {
+    this.count++;
+    if (this.size() < this.limit) {
+      // console.log("Adding "+val+" to values.");
+      this.values.push(val);
+    } else {
+      var rand = parseInt(Math.random() * this.count);
+      if (rand < this.limit) {
+        this.values[rand] = val;
+      }
+    }
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/stats/index.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/index.js.html new file mode 100644 index 0000000..3fa9983 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/index.js.html @@ -0,0 +1,129 @@ + + + + + + packages/metrics/src/stats/index.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/stats/index.js

+
/**
+ * @name rsocket-rpc-js/packages/metrics/.../stats
+ * @fileoverview Stats package
+ *
+ * @requires ExponentiallyWeightedMovingAverage
+ * @requires ExponentiallyDecayingSample
+ * @requires Sample
+ * @requires ISample
+ * @requires UniformSample
+ * @exports EWMA
+ * @exports ExponentiallyDecayingSample
+ * @exports ISample
+ * @exports Sample
+ * @exports UniformSample
+ */
+import EWMA from './ExponentiallyWeightedMovingAverage';
+import ExponentiallyDecayingSample from './ExponentiallyDecayingSample';
+import Sample from './Sample';
+import ISample from './ISample';
+import UniformSample from './UniformSample';
+
+export {EWMA, ExponentiallyDecayingSample, ISample, Sample, UniformSample};
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/stats/lib/binary_heap.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/lib/binary_heap.js.html new file mode 100644 index 0000000..ad3db62 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/lib/binary_heap.js.html @@ -0,0 +1,240 @@ + + + + + + packages/metrics/src/stats/lib/binary_heap.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/stats/lib/binary_heap.js

+
// From http://eloquentjavascript.net/appendix2.html,
+// licensed under CCv3.0: http://creativecommons.org/licenses/by/3.0/
+
+var utils = require('./utils');
+
+/* This acts as a ordered binary heap for any serializeable JS object or collection of such objects */
+var BinaryHeap = (module.exports = function BinaryHeap(scoreFunction) {
+  this.content = [];
+  this.scoreFunction = scoreFunction;
+});
+
+BinaryHeap.prototype = {
+  clone: function() {
+    var heap = new BinaryHeap(this.scoreFunction);
+    // A little hacky, but effective.
+    heap.content = JSON.parse(JSON.stringify(this.content));
+    return heap;
+  },
+
+  push: function(element) {
+    // Add the new element to the end of the array.
+    this.content.push(element);
+    // Allow it to bubble up.
+    this.bubbleUp(this.content.length - 1);
+  },
+
+  peek: function() {
+    return this.content[0];
+  },
+
+  pop: function() {
+    // Store the first element so we can return it later.
+    var result = this.content[0];
+    // Get the element at the end of the array.
+    var end = this.content.pop();
+    // If there are any elements left, put the end element at the
+    // start, and let it sink down.
+    if (this.content.length > 0) {
+      this.content[0] = end;
+      this.sinkDown(0);
+    }
+    return result;
+  },
+
+  remove: function(node) {
+    var len = this.content.length;
+    // To remove a value, we must search through the array to find
+    // it.
+    for (var i = 0; i < len; i++) {
+      if (this.content[i] == node) {
+        // When it is found, the process seen in 'pop' is repeated
+        // to fill up the hole.
+        var end = this.content.pop();
+        if (i != len - 1) {
+          this.content[i] = end;
+          if (this.scoreFunction(end) < this.scoreFunction(node))
+            this.bubbleUp(i);
+          else this.sinkDown(i);
+        }
+        return true;
+      }
+    }
+    throw new Error('Node not found.');
+  },
+
+  size: function() {
+    return this.content.length;
+  },
+
+  bubbleUp: function(n) {
+    // Fetch the element that has to be moved.
+    var element = this.content[n];
+    // When at 0, an element can not go up any further.
+    while (n > 0) {
+      // Compute the parent element's index, and fetch it.
+      var parentN = Math.floor((n + 1) / 2) - 1,
+        parent = this.content[parentN];
+      // Swap the elements if the parent is greater.
+      if (this.scoreFunction(element) < this.scoreFunction(parent)) {
+        this.content[parentN] = element;
+        this.content[n] = parent;
+        // Update 'n' to continue at the new position.
+        n = parentN;
+      }
+      // Found a parent that is less, no need to move it further.
+      else {
+        break;
+      }
+    }
+  },
+
+  sinkDown: function(n) {
+    // Look up the target element and its score.
+    var length = this.content.length,
+      element = this.content[n],
+      elemScore = this.scoreFunction(element);
+
+    while (true) {
+      // Compute the indices of the child elements.
+      var child2N = (n + 1) * 2,
+        child1N = child2N - 1;
+      // This is used to store the new position of the element,
+      // if any.
+      var swap = null;
+      // If the first child exists (is inside the array)...
+      if (child1N < length) {
+        // Look it up and compute its score.
+        var child1 = this.content[child1N],
+          child1Score = this.scoreFunction(child1);
+        // If the score is less than our element's, we need to swap.
+        if (child1Score < elemScore) swap = child1N;
+      }
+      // Do the same checks for the other child.
+      if (child2N < length) {
+        var child2 = this.content[child2N],
+          child2Score = this.scoreFunction(child2);
+        if (child2Score < (swap == null ? elemScore : child1Score))
+          swap = child2N;
+      }
+
+      // If the element needs to be moved, swap it, and continue.
+      if (swap != null) {
+        this.content[n] = this.content[swap];
+        this.content[swap] = element;
+        n = swap;
+      }
+      // Otherwise, we are done.
+      else {
+        break;
+      }
+    }
+  },
+};
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/metrics/src/stats/lib/utils.js.html b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/lib/utils.js.html new file mode 100644 index 0000000..4cba6ff --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/metrics/src/stats/lib/utils.js.html @@ -0,0 +1,159 @@ + + + + + + packages/metrics/src/stats/lib/utils.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/metrics/src/stats/lib/utils.js

+
/*
+ * Mix in the properties on an object to another object
+ * utils.mixin(target, source, [source,] [source, etc.] [merge-flag]);
+ * 'merge' recurses, to merge object sub-properties together instead
+ * of just overwriting with the source object.
+ */
+exports.mixin = (function() {
+  var _mix = function(targ, src, merge) {
+    for (var p in src) {
+      // Don't copy stuff from the prototype
+      if (src.hasOwnProperty(p)) {
+        if (
+          merge &&
+          // Assumes the source property is an Object you can
+          // actually recurse down into
+          typeof src[p] == 'object' &&
+          src[p] !== null &&
+          !(src[p] instanceof Array)
+        ) {
+          // Create the source property if it doesn't exist
+          // TODO: What if it's something weird like a String or Number?
+          if (typeof targ[p] == 'undefined') {
+            targ[p] = {};
+          }
+          _mix(targ[p], src[p], merge); // Recurse
+        }
+        // If it's not a merge-copy, just set and forget
+        else {
+          targ[p] = src[p];
+        }
+      }
+    }
+  };
+
+  return function() {
+    var args = Array.prototype.slice.apply(arguments),
+      merge = false,
+      targ,
+      sources;
+    if (args.length > 2) {
+      if (typeof args[args.length - 1] == 'boolean') {
+        merge = args.pop();
+      }
+    }
+    targ = args.shift();
+    sources = args;
+    for (var i = 0, ii = sources.length; i < ii; i++) {
+      _mix(targ, sources[i], merge);
+    }
+    return targ;
+  };
+})();
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/tracing/src/SpanSingle.js.html b/rsocket-rpc-js/docs/file/packages/tracing/src/SpanSingle.js.html new file mode 100644 index 0000000..5d73b01 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/tracing/src/SpanSingle.js.html @@ -0,0 +1,265 @@ + + + + + + packages/tracing/src/SpanSingle.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/tracing/src/SpanSingle.js

+
/**
+ * @name SpanSingle.js
+ * @fileoverview Defines the "SpanSingleSubscriber" class.
+ * @requires NPM:rsocket-flowable
+ * @requires NPM:opentracing
+ * @exports createSpanSingle
+ */
+import {Single, IFutureSubscriber} from 'rsocket-flowable/build/Single';
+import {Tracer, Span, SpanContext, FORMAT_TEXT_MAP} from 'opentracing';
+
+/**
+ * @param {Single<T>} single -
+ * @param {Tracer} tracer -
+ * @param {string} name -
+ * @param {?(SpanContext|Span)} context -
+ * @param {?Object} metadata -
+ * @param {Object} tags -
+ * @return {Single}
+ */
+export function createSpanSingle(
+  single: Single<T>,
+  tracer: Tracer,
+  name: string,
+  context?: SpanContext | Span,
+  metadata?: Object,
+  ...tags: Object
+) {
+  return new Single(subscriber => {
+    const spanSubscriber = new SpanSingleSubscriber(
+      subscriber,
+      tracer,
+      name,
+      context,
+      metadata,
+      ...tags,
+    );
+    single.subscribe(spanSubscriber);
+  });
+}
+
+/**
+ */
+class SpanSingleSubscriber implements IFutureSubscriber<T> {
+  _span: Span;
+  _subscriber: IFutureSubscriber<T>;
+  _tracer: Tracer;
+  _cancel: () => void;
+
+  /**
+   * @param {IFutureSubscriber<T>} subscriber -
+   * @param {Tracer} tracer -
+   * @param {string} name -
+   * @param {SpanContext|Span} [context] - 
+   * @param {Object} [metadata] - 
+   * @param {Object} tags -
+   */
+  constructor(
+    subscriber: IFutureSubscriber<T>,
+    tracer: Tracer,
+    name: string,
+    context?: SpanContext | Span,
+    metadata?: Object,
+    ...tags: Object
+  ) {
+    this._subscriber = subscriber;
+
+    this._tracer = tracer;
+
+    let options = {};
+
+    if (context) {
+      options.childOf = context;
+    }
+
+    if (tags) {
+      const finalTags = {};
+      tags.forEach(tag => {
+        Object.keys(tag).forEach(key => {
+          finalTags[key] = tag[key];
+        });
+      });
+      options.tags = finalTags;
+    }
+
+    // Not supported at this time.
+    // if (references) {
+    //   options.references = references;
+    // }
+    //
+    options.startTime = Date.now() * 1000;
+
+    this._span = this._tracer.startSpan(name, options);
+
+    this._tracer.inject(
+      this._span.context(),
+      FORMAT_TEXT_MAP,
+      metadata === undefined || metadata === null ? {} : metadata,
+    );
+  }
+
+  /**
+   */
+  cleanup() {
+    this._span.finish();
+  }
+
+  /**
+   */
+  onSubscribe(cancel?: () => void) {
+    this._cancel = cancel;
+    this._span.log('onSubscribe', timeInMicros());
+    this._subscriber.onSubscribe(() => {
+      this.cancel();
+    });
+  }
+
+  /**
+   */
+  cancel() {
+    try {
+      this._span.log('cancel', timeInMicros());
+      this._cancel && this._cancel();
+    } finally {
+      this.cleanup();
+    }
+  }
+
+  /**
+   */
+  onError(error: Error) {
+    try {
+      this._span.log('onError', timeInMicros());
+      this._subscriber.onError(error);
+    } finally {
+      this.cleanup();
+    }
+  }
+
+  /**
+   */
+  onComplete(value: T) {
+    try {
+      this._span.log('onComplete', timeInMicros());
+      this._subscriber.onComplete(value);
+    } finally {
+      this.cleanup();
+    }
+  }
+}
+
+/**
+ * Return the current time in microseconds.
+ *
+ * @return {number} The return value of {@link Date#now} converted into microseconds
+ */
+function timeInMicros() {
+  return Date.now() * 1000 /* microseconds */;
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/tracing/src/SpanSubscriber.js.html b/rsocket-rpc-js/docs/file/packages/tracing/src/SpanSubscriber.js.html new file mode 100644 index 0000000..4059da6 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/tracing/src/SpanSubscriber.js.html @@ -0,0 +1,268 @@ + + + + + + packages/tracing/src/SpanSubscriber.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/tracing/src/SpanSubscriber.js

+
/**
+ * @name SpanSubscriber.js
+ * @fileoverview Defines the "SpanSubscriber" class.
+ * @requires NPM:rsocket-types
+ * @requires NPM:opentracing
+ * @exports SpanSubscriber
+ */
+
+import {ISubscriber, ISubscription} from 'rsocket-types';
+import {Tracer, Span, SpanContext, FORMAT_TEXT_MAP} from 'opentracing';
+
+/**
+ */
+export class SpanSubscriber<T> implements ISubscriber<T>, ISubscription {
+  _span: Span;
+  _rootSpan: Span;
+  _subscriber: ISubscriber;
+  _tracer: Tracer;
+  _subscription: ISubscription;
+  _nextCount: number;
+  _requestOnce: boolean;
+
+  /**
+   * @param {ISubscriber<T>} subscriber -
+   * @param {Tracer} tracer -
+   * @param {string} name -
+   * @param {?(SpanContext|Span)} [context] - 
+   * @param {?Object} [metadata] - 
+   * @param {Object} ...tags -
+   */
+  constructor(
+    subscriber: ISubscriber<T>,
+    tracer: Tracer,
+    name: string,
+    context?: SpanContext | Span,
+    metadata?: Object,
+    ...tags: Object
+  ) {
+    /** @type {Tracer} */
+    this._tracer = tracer;
+    /** @type {ISubscriber} */
+    this._subscriber = subscriber;
+    this._nextCount = 0;
+    this._requestOnce = false;
+
+    let options = {};
+
+    if (context) {
+      options.childOf = context;
+    }
+
+    if (tags) {
+      const finalTags = {};
+      tags.forEach(tag => {
+        Object.keys(tag).forEach(key => {
+          finalTags[key] = tag[key];
+        });
+      });
+
+      options.tags = finalTags;
+    }
+
+    // Not currently supported
+    // if (references) {
+    //   options.references = references;
+    // }
+    //
+
+    options.startTime = Date.now() * 1000;
+
+    /** @type {Span} */
+    this._span = tracer.startSpan(name, options);
+    /** @type {Span} */
+    this._rootSpan = this._rootSpan || this._span;
+
+    tracer.inject(
+      this._span.context(),
+      FORMAT_TEXT_MAP,
+      metadata === undefined || metadata === null ? {} : metadata,
+    );
+  }
+
+  /**
+   */
+  cleanup() {
+    this._span.finish();
+  }
+
+  /**
+   * @param {?Subscription} subscription
+   */
+  onSubscribe(subscription?: Subscription) {
+    /** @type {ISubscription} */
+    this._subscription = subscription;
+    this._span.log('onSubscribe', timeInMicros());
+    this._subscriber.onSubscribe(this);
+  }
+
+  /**
+   * @param {number} n
+   */
+  request(n: number) {
+    if (!this._requestOnce) {
+      this._requestOnce = true;
+
+      this._span.log('request issued', timeInMicros());
+    }
+
+    this._subscription && this._subscription.request(n);
+  }
+
+  /**
+   */
+  cancel() {
+    try {
+      this._span.log('cancel', timeInMicros());
+      this._subscription && this._subscription.cancel();
+    } finally {
+      this.cleanup();
+    }
+  }
+
+  /**
+   * @param {T} value
+   */
+  onNext(value: T) {
+    this._subscriber.onNext(value);
+  }
+
+  /**
+   * @param {Error} error
+   */
+  onError(error: Error) {
+    try {
+      this._span.log('onError', timeInMicros());
+      this._subscriber.onError(error);
+    } finally {
+      this.cleanup();
+    }
+  }
+
+  /**
+   */
+  onComplete() {
+    try {
+      this._span.log('onComplete', timeInMicros());
+      this._subscriber.onComplete();
+    } finally {
+      this.cleanup();
+    }
+  }
+}
+
+/**
+ * Return the current time in microseconds
+ *
+ * @return {number} The return value of {@link Date#now} converted to microseconds.
+ */
+function timeInMicros() {
+  return Date.now() * 1000 /* microseconds */;
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/tracing/src/Tracing.js.html b/rsocket-rpc-js/docs/file/packages/tracing/src/Tracing.js.html new file mode 100644 index 0000000..8546713 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/tracing/src/Tracing.js.html @@ -0,0 +1,398 @@ + + + + + + packages/tracing/src/Tracing.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/tracing/src/Tracing.js

+
/**
+ * @name Tracing.js
+ * @fileoverview Tracing functionality.
+ * @requires NPM:rsocket-core
+ * @requires NPM:rsocket-types
+ * @requires NPM:rsocket-flowable
+ * @requires NPM:opentracing
+ * @requires NPM:rsocket-rpc-frames
+ * @requires SpanSubscriber
+ * @requires SpanSingle
+ * @exports deserializeTraceData
+ * @exports mapToBuffer
+ * @exports bufferToMap
+ * @exports trace
+ * @exports traceAsChild
+ * @exports traceSingle
+ * @exports traceSingleAsChild
+ */
+
+import {UTF8Encoder, BufferEncoder, createBuffer} from 'rsocket-core';
+import {ISubscriber} from 'rsocket-types';
+import {Flowable, Single} from 'rsocket-flowable';
+
+import {SpanSubscriber} from './SpanSubscriber';
+import {createSpanSingle} from './SpanSingle';
+import {SpanContext, Tracer, FORMAT_TEXT_MAP} from 'opentracing';
+
+import {getTracing} from 'rsocket-rpc-frames';
+
+/**
+ * @param {?Tracer} tracer - an OpenTracing {@link Tracer}
+ * @param {Buffer} metadata -
+ * @returns {?SpanContext} or null if the tracer is null or there is no tracing data
+ * @see https://opentracing.io/
+ * @see https://opentracing-javascript.surge.sh/classes/tracer.html
+ */
+export function deserializeTraceData(tracer, metadata) {
+  if (!tracer) {
+    return null;
+  }
+
+  const tracingData = getTracing(metadata);
+
+  if (BufferEncoder.byteLength(tracingData) <= 0) {
+    return null;
+  }
+
+  return tracer.extract(FORMAT_TEXT_MAP, bufferToMap(tracingData));
+}
+
+/**
+ * @param {?Object} map -
+ * @returns {Buffer}
+ */
+export function mapToBuffer(map: Object): Buffer {
+  if (!map || Object.keys(map).length <= 0) {
+    return createBuffer(0);
+  }
+
+  const aggregatedTags = Object.keys(map).reduce(
+    (aggregate, key) => {
+      const val = map[key];
+      const keyLen = UTF8Encoder.byteLength(key);
+      const keyBuf = createBuffer(keyLen);
+      UTF8Encoder.encode(key, keyBuf, 0, keyLen);
+
+      const valLen = UTF8Encoder.byteLength(val);
+      const valBuf = createBuffer(valLen);
+      UTF8Encoder.encode(val, valBuf, 0, valLen);
+
+      const newEntries = aggregate.entries;
+      newEntries.push({keyLen, keyBuf, valLen, valBuf});
+
+      return {
+        // 4 for the sizes plus the actual key and actual value
+        totalSize: aggregate.totalSize + 4 + keyLen + valLen,
+        entries: newEntries,
+      };
+    },
+    {totalSize: 0, entries: []},
+  );
+
+  let offset = 0;
+  const resultBuf = createBuffer(aggregatedTags.totalSize);
+  aggregatedTags.entries.forEach(entry => {
+    resultBuf.writeUInt16BE(entry.keyLen, offset);
+    offset += 2; // 2 bytes for key length
+
+    BufferEncoder.encode(
+      entry.keyBuf,
+      resultBuf,
+      offset,
+      offset + entry.keyLen,
+    );
+    offset += entry.keyLen;
+
+    resultBuf.writeUInt16BE(entry.valLen, offset);
+    offset += 2;
+
+    BufferEncoder.encode(
+      entry.valBuf,
+      resultBuf,
+      offset,
+      offset + entry.valLen,
+    );
+    offset += entry.valLen;
+  });
+
+  return resultBuf;
+}
+
+/**
+ * @param {!Buffer} buffer - 
+ * @returns {Object}
+ */
+export function bufferToMap(buffer: Buffer): Object {
+  const result = {};
+
+  let offset = 0;
+  while (offset < buffer.length) {
+    let keyLen = buffer.readUInt16BE(offset);
+    offset += 2;
+
+    let key = UTF8Encoder.decode(buffer, offset, offset + keyLen);
+    offset += keyLen;
+
+    let valLen = buffer.readUInt16BE(offset);
+    offset += 2;
+
+    let value = UTF8Encoder.decode(buffer, offset, offset + valLen);
+    offset += valLen;
+
+    result[key] = value;
+  }
+
+  return result;
+}
+
+/**
+ * Allows propagation of a {@link SpanContext} map through a {@link Flowable}.
+ *
+ * @example <caption>Wraps default tags "tag1" and "tag2" and picks up "additionalTag1" and "additionalTag2":</caption>
+ * const traceCapture = trace(myTracer, "myOperation", {tag1: "value"}, {tag2: "another value"});
+ *
+ * ... more code ...
+ *
+ * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: "two"});
+ *
+ * subscriberTransformer(rsocket.requestStream(serviceRequest))
+ * .subscribe({ ... });
+ *
+ * @param {?Tracer} tracer - an OpenTracing {@link Tracer}
+ * @param {?String} name - an operation name
+ * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.
+ * @returns {function}
+ * @see https://opentracing-javascript.surge.sh/classes/spancontext.html
+ * @see https://opentracing.io/
+ * @see https://opentracing-javascript.surge.sh/classes/tracer.html
+ */
+export function trace<T>(
+  tracer?: Tracer,
+  name?: String,
+  ...tags: Object
+): Object => (Flowable<T>) => Flowable<T> {
+  if (tracer && name) {
+    return (metadata: Object) => {
+      return (flowable: Flowable<T>) => {
+        return flowable.lift((subscriber: ISubscriber<T>) => {
+          return new SpanSubscriber(
+            subscriber,
+            tracer,
+            name,
+            null,
+            metadata,
+            ...tags,
+          );
+        });
+      };
+    };
+  } else {
+    return (map: Object) => (publisher: Flowable<T>) => publisher;
+  }
+}
+
+/**
+ * Similar to {@link trace}, except meant to be used on the server side where a
+ * {@link SpanContext} has been passed from a client.
+ * @example
+ * const traceCapture = traceAsChild(myTracer, "myServerOperation", {serverTag1: "value"}, {serverTag2: "another value"});
+ * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));
+ * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));
+ * @param {?Tracer} tracer - an OpenTracing {@link Tracer}
+ * @param {?String} name - an operation name
+ * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.
+ * @returns {function}
+ * @see https://opentracing-javascript.surge.sh/classes/spancontext.html
+ * @see https://opentracing.io/
+ * @see https://opentracing-javascript.surge.sh/classes/tracer.html
+ */
+export function traceAsChild<T>(
+  tracer?: Tracer,
+  name?: String,
+  ...tags: Object
+): SpanContext => (Flowable<T>) => Flowable<T> {
+  if (tracer && name) {
+    return (context: SpanContext) => {
+      return (flowable: Flowable<T>) => {
+        return flowable.lift((subscriber: ISubscriber<T>) => {
+          return new SpanSubscriber(
+            subscriber,
+            tracer,
+            name,
+            context,
+            null,
+            ...tags,
+          );
+        });
+      };
+    };
+  } else {
+    return (context: SpanContext) => (publisher: Flowable<T>) => publisher;
+  }
+}
+
+/**
+ * Allows propagation of a {@link SpanContext} map through a Flowable.
+ *
+ * @example <caption>Wraps default tags "tag1" and "tag2" and picks up "additionalTag1" and "additionalTag2":</caption>
+ * const traceCapture = trace(myTracer, "myOperation", {tag1: "value"}, {tag2: "another value"});
+ *
+ * ... more code ...
+ *
+ * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: "two"});
+ *
+ * subscriberTransformer(rsocket.requestStream(serviceRequest))
+ * .subscribe({ ... });
+ *
+ * @param {?Tracer} tracer - an OpenTracing {@link Tracer}
+ * @param {?String} name - an operation name
+ * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.
+ * @returns {function}
+ * @see https://opentracing-javascript.surge.sh/classes/spancontext.html
+ * @see https://opentracing.io/
+ * @see https://opentracing-javascript.surge.sh/classes/tracer.html
+ */
+export function traceSingle<T>(
+  tracer?: Tracer,
+  name?: String,
+  ...tags: Object
+): Object => (Single<T>) => Single<T> {
+  if (tracer && name) {
+    return (metadata: Object) => {
+      return (single: Single<T>) => {
+        return createSpanSingle(single, tracer, name, null, metadata, ...tags);
+      };
+    };
+  } else {
+    return (map: Object) => (single: Single<T>) => single;
+  }
+}
+
+/**
+ * Similar to {@link traceSingle}, except meant to be used on the server side
+ * where a {@link SpanContext} has been passed from a client.
+ * @example
+ * const traceCapture = traceAsChild(myTracer, "myServerOperation", {serverTag1: "value"}, {serverTag2: "another value"});
+ * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));
+ * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));
+ * @param {?Tracer} tracer - an OpenTracing {@link Tracer}
+ * @param {?String} name - an operation name
+ * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.
+ * @returns {function}
+ * @see https://opentracing-javascript.surge.sh/classes/spancontext.html
+ * @see https://opentracing.io/
+ * @see https://opentracing-javascript.surge.sh/classes/tracer.html
+ */
+export function traceSingleAsChild<T>(
+  tracer?: Tracer,
+  name?: String,
+  ...tags: Object
+): SpanContext => (Single<T>) => Single<T> {
+  if (tracer && name) {
+    return (context: SpanContext) => {
+      return (single: Single<T>) => {
+        return createSpanSingle(single, tracer, name, context, null, ...tags);
+      };
+    };
+  } else {
+    return (context: SpanContext) => (single: Single<T>) => single;
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/tracing/src/__tests__/Tracing-test.js.html b/rsocket-rpc-js/docs/file/packages/tracing/src/__tests__/Tracing-test.js.html new file mode 100644 index 0000000..5dd0827 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/tracing/src/__tests__/Tracing-test.js.html @@ -0,0 +1,149 @@ + + + + + + packages/tracing/src/__tests__/Tracing-test.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/tracing/src/__tests__/Tracing-test.js

+
import {expect} from 'chai';
+import {describe, it} from 'mocha';
+
+import {mapToBuffer, bufferToMap} from '../Tracing';
+
+function generateMap() {
+  const size = Math.floor(Math.random() * 100) + 20;
+  const map = {};
+  for (var i = 0; i < size; i++) {
+    const key = generateString(5, 20);
+    const value = generateString(10, 50);
+    map[key] = value;
+  }
+  return map;
+}
+
+function generateString(min, max) {
+  const size = Math.floor(Math.random() * max) + min;
+  let nextWord = '';
+  for (var j = 0; j < size; j++) {
+    nextWord += generateChar();
+  }
+  return nextWord;
+}
+
+const chars = 'abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
+const generateChar = () => chars[Math.floor(Math.random() * chars.length)];
+
+/**
+ * @test {Tracing}
+ */
+describe('TRACING HELPERS', () => {
+  it('serializes and deserializes an arbitrary map', () => {
+    for (var i = 0; i < 1000; i++) {
+      const baseMap = generateMap();
+      const buf = mapToBuffer(baseMap);
+      const newBuf = Buffer.from(buf);
+      const testMap = bufferToMap(newBuf);
+      expect(testMap).to.deep.equal(baseMap);
+    }
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/file/packages/tracing/src/index.js.html b/rsocket-rpc-js/docs/file/packages/tracing/src/index.js.html new file mode 100644 index 0000000..8a81379 --- /dev/null +++ b/rsocket-rpc-js/docs/file/packages/tracing/src/index.js.html @@ -0,0 +1,158 @@ + + + + + + packages/tracing/src/index.js + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

packages/tracing/src/index.js

+
/**
+ * @name rsocket-rpc-js/packages/tracing
+ * @fileoverview Exports the Tracing package.
+ * @copyright Copyright (c) 2017-present, Netifi Inc.
+ * @license Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @flow
+ *
+ * @requires Tracing
+ * @exports trace
+ * @exports traceAsChild
+ * @exports traceSingle
+ * @exports traceSingleAsChild
+ * @exports mapToBuffer
+ * @exports deserializeTraceData
+ * @exports bufferToMap
+ */
+
+'use strict';
+
+import {
+  trace,
+  traceAsChild,
+  traceSingle,
+  traceSingleAsChild,
+  mapToBuffer,
+  deserializeTraceData,
+  bufferToMap,
+} from './Tracing';
+
+export {
+  trace,
+  traceAsChild,
+  traceSingle,
+  traceSingleAsChild,
+  mapToBuffer,
+  deserializeTraceData,
+  bufferToMap,
+};
+
+ +
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/function/index.html b/rsocket-rpc-js/docs/function/index.html new file mode 100644 index 0000000..1014259 --- /dev/null +++ b/rsocket-rpc-js/docs/function/index.html @@ -0,0 +1,1840 @@ + + + + + + Function + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

Function

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Static Public Summary
+ public + + + + + +
+

+ + + + bufferToMap(buffer: Buffer): Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + createSpanSingle(single: Single<T>, tracer: Tracer, name: string, context: SpanContext | Span, metadata: Object, tags: Object): Single +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + deserializeTraceData(tracer: Tracer, metadata: Buffer): SpanContext +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + embedMetricsSingleSubscriber(single: Single<T>, next: Counter, complete: Counter, error: Counter, cancelled: Counter, timer: Timer): Single +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + encodeMetadata(service: string, method: string, tracing: Encodable, metadata: Encodable): Buffer +

+
+
+ + +

Use this method to send well-formed call routing metadata with your payloads.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getMetadata(buffer: Buffer): Buffer +

+
+
+ + +

Get the metadata field from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getMethod(buffer: Buffer): string +

+
+
+ + +

Get the method name from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getService(buffer: Buffer): string +

+
+
+ + +

Get the service name from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getTracing(buffer: Buffer): Buffer +

+
+
+ + +

Get the tracing information from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + getVersion(buffer: Buffer): number +

+
+
+ + +

Get the version number from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + mapToBuffer(map: Object): Buffer +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + trace(tracer: Tracer, name: String, tags: Object): function +

+
+
+ + +

Allows propagation of a SpanContext map through a Flowable.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + traceAsChild(tracer: Tracer, name: String, tags: Object): function +

+
+
+ + +

Similar to trace, except meant to be used on the server side where a +SpanContext has been passed from a client.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + traceSingle(tracer: Tracer, name: String, tags: Object): function +

+
+
+ + +

Allows propagation of a SpanContext map through a Flowable.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + traceSingleAsChild(tracer: Tracer, name: String, tags: Object): function +

+
+
+ + +

Similar to traceSingle, except meant to be used on the server side +where a SpanContext has been passed from a client.

+
+
+
+ + +
+
+

Static Public

+ +
+

+ public + + + + + + bufferToMap(buffer: Buffer): Object + + + + source + +

+ +
import {bufferToMap} from './packages/tracing/src/Tracing.js'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
bufferBuffer
  • nullable: false
+
+
+ +
+

Return:

+ + + + + + + +
Object
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + createSpanSingle(single: Single<T>, tracer: Tracer, name: string, context: SpanContext | Span, metadata: Object, tags: Object): Single + + + + source + +

+ +
import {createSpanSingle} from './packages/tracing/src/SpanSingle.js'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
singleSingle<T>
tracerTracer
namestring
contextSpanContext | Span
  • nullable: true
metadataObject
  • nullable: true
tagsObject
+
+
+ +
+

Return:

+ + + + + + + +
Single
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + deserializeTraceData(tracer: Tracer, metadata: Buffer): SpanContext + + + + source + +

+ +
import {deserializeTraceData} from './packages/tracing/src/Tracing.js'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tracerTracer
  • nullable: true

an OpenTracing Tracer

+
metadataBuffer
+
+
+ +
+

Return:

+ + + + + + + +
SpanContext (nullable: true)

or null if the tracer is null or there is no tracing data

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + embedMetricsSingleSubscriber(single: Single<T>, next: Counter, complete: Counter, error: Counter, cancelled: Counter, timer: Timer): Single + + + + source + +

+ +
import embedMetricsSingleSubscriber from './packages/metrics/src/MetricsSingleSubscriber.js'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
singleSingle<T>
nextCounter
completeCounter
errorCounter
cancelledCounter
timerTimer
+
+
+ +
+

Return:

+ + + + + + + +
Single
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + encodeMetadata(service: string, method: string, tracing: Encodable, metadata: Encodable): Buffer + + + + source + +

+ +
import {encodeMetadata} from './packages/frames/src/Metadata.js'
+ + +

Use this method to send well-formed call routing metadata with your payloads.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
servicestring

the service name

+
methodstring

the method name

+
tracingEncodable

tracing information

+
metadataEncodable

arbitrary metadata

+
+
+
+ +
+

Return:

+ + + + + + + +
Buffer

the above fields encoded in a proper fashion

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getMetadata(buffer: Buffer): Buffer + + + + source + +

+ +
import {getMetadata} from './packages/frames/src/Metadata.js'
+ + +

Get the metadata field from the metadata.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
bufferBuffer

the metadata buffer

+
+
+
+ +
+

Return:

+ + + + + + + +
Buffer

the metadata field

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getMethod(buffer: Buffer): string + + + + source + +

+ +
import {getMethod} from './packages/frames/src/Metadata.js'
+ + +

Get the method name from the metadata.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
bufferBuffer

the metadata buffer that contains the method name

+
+
+
+ +
+

Return:

+ + + + + + + +
string

the method name

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getService(buffer: Buffer): string + + + + source + +

+ +
import {getService} from './packages/frames/src/Metadata.js'
+ + +

Get the service name from the metadata.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
bufferBuffer

the metadata buffer that contains the service name

+
+
+
+ +
+

Return:

+ + + + + + + +
string

the service name

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getTracing(buffer: Buffer): Buffer + + + + source + +

+ +
import {getTracing} from './packages/frames/src/Metadata.js'
+ + +

Get the tracing information from the metadata.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
bufferBuffer

the metadata buffer that contains tracing information

+
+
+
+ +
+

Return:

+ + + + + + + +
Buffer

the tracing information

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + getVersion(buffer: Buffer): number + + + + source + +

+ +
import {getVersion} from './packages/frames/src/Metadata.js'
+ + +

Get the version number from the metadata.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
bufferBuffer

the metadata buffer that contains the version number

+
+
+
+ +
+

Return:

+ + + + + + + +
number

the version number

+
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + mapToBuffer(map: Object): Buffer + + + + source + +

+ +
import {mapToBuffer} from './packages/tracing/src/Tracing.js'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
mapObject
  • nullable: true
+
+
+ +
+

Return:

+ + + + + + + +
Buffer
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + trace(tracer: Tracer, name: String, tags: Object): function + + + + source + +

+ +
import {trace} from './packages/tracing/src/Tracing.js'
+ + +

Allows propagation of a SpanContext map through a Flowable.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tracerTracer
  • nullable: true

an OpenTracing Tracer

+
nameString
  • nullable: true

an operation name

+
tagsObject

You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.

+
+
+
+ +
+

Return:

+ + + + + + + +
function
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+
Wraps default tags "tag1" and "tag2" and picks up "additionalTag1" and "additionalTag2":
+
const traceCapture = trace(myTracer, "myOperation", {tag1: "value"}, {tag2: "another value"});
+
+... more code ...
+
+const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: "two"});
+
+subscriberTransformer(rsocket.requestStream(serviceRequest))
+.subscribe({ ... });
+
+
+ + + + + +
+
+

+ public + + + + + + traceAsChild(tracer: Tracer, name: String, tags: Object): function + + + + source + +

+ +
import {traceAsChild} from './packages/tracing/src/Tracing.js'
+ + +

Similar to trace, except meant to be used on the server side where a +SpanContext has been passed from a client.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tracerTracer
  • nullable: true

an OpenTracing Tracer

+
nameString
  • nullable: true

an operation name

+
tagsObject

You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.

+
+
+
+ +
+

Return:

+ + + + + + + +
function
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+ +
const traceCapture = traceAsChild(myTracer, "myServerOperation", {serverTag1: "value"}, {serverTag2: "another value"});
+const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));
+return subscriberTransformer(serviceImpl.requestStream(serviceRequest));
+
+
+ + + + + +
+
+

+ public + + + + + + traceSingle(tracer: Tracer, name: String, tags: Object): function + + + + source + +

+ +
import {traceSingle} from './packages/tracing/src/Tracing.js'
+ + +

Allows propagation of a SpanContext map through a Flowable.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tracerTracer
  • nullable: true

an OpenTracing Tracer

+
nameString
  • nullable: true

an operation name

+
tagsObject

You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.

+
+
+
+ +
+

Return:

+ + + + + + + +
function
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+
Wraps default tags "tag1" and "tag2" and picks up "additionalTag1" and "additionalTag2":
+
const traceCapture = trace(myTracer, "myOperation", {tag1: "value"}, {tag2: "another value"});
+
+... more code ...
+
+const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: "two"});
+
+subscriberTransformer(rsocket.requestStream(serviceRequest))
+.subscribe({ ... });
+
+
+ + + + + +
+
+

+ public + + + + + + traceSingleAsChild(tracer: Tracer, name: String, tags: Object): function + + + + source + +

+ +
import {traceSingleAsChild} from './packages/tracing/src/Tracing.js'
+ + +

Similar to traceSingle, except meant to be used on the server side +where a SpanContext has been passed from a client.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tracerTracer
  • nullable: true

an OpenTracing Tracer

+
nameString
  • nullable: true

an operation name

+
tagsObject

You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.

+
+
+
+ +
+

Return:

+ + + + + + + +
function
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+ +
const traceCapture = traceAsChild(myTracer, "myServerOperation", {serverTag1: "value"}, {serverTag2: "another value"});
+const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));
+return subscriberTransformer(serviceImpl.requestStream(serviceRequest));
+
+
+ + + + + +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/identifiers.html b/rsocket-rpc-js/docs/identifiers.html new file mode 100644 index 0000000..cf72858 --- /dev/null +++ b/rsocket-rpc-js/docs/identifiers.html @@ -0,0 +1,1710 @@ + + + + + + Reference + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

References

+ +
+
+ +
+

core/src

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ public + + + + + +
+

+ C + + + RequestHandlingRSocket +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + RpcClient +

+
+
+ + +

The primary class/entry point for the core package is the RpcClient.

+
+
+
+ + +
+ public + + + + + +
+

+ C + + + SwitchTransformOperator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + ClientConfig: Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + DuplexConnection: interface +

+
+
+ + +

Represents a network connection with input/output used by a +ReactiveSocket to send/receive data.

+
+
+
+ + +
+ public + + + + + +
+

+ T + + + Encodable: string | Buffer | Uint8Array +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + Flowable: Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + Payload: Object +

+
+
+ + +

A single unit of data exchanged between the peers of a +ReactiveSocket.

+
+
+
+ + +
+ public + + + + + +
+

+ T + + + PayloadSerializers: Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + ReactiveSocket: interface +

+
+
+ + +

A contract that provides different interaction models according to the +ReactiveSocket protocol.

+
+
+
+ + +
+ public + + + + + +
+

+ T + + + Responder: interface +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + Serializer: Object +

+
+
+ + +

A Serializer transforms data between the application encoding used in +Payloads and the Encodable type accepted by the transport client.

+
+
+
+ + +
+ public + + + + + +
+

+ T + + + Setup: Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + Single: Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ E + + + ISubscription +

+
+
+ + +

An underlying source of values for a Publisher.

+
+
+
+ + +
+
+
+
+

frames/src

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ public + + + + + +
+

+ F + + + encodeMetadata(service: string, method: string, tracing: Encodable, metadata: Encodable): Buffer +

+
+
+ + +

Use this method to send well-formed call routing metadata with your payloads.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + getMetadata(buffer: Buffer): Buffer +

+
+
+ + +

Get the metadata field from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + getMethod(buffer: Buffer): string +

+
+
+ + +

Get the method name from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + getService(buffer: Buffer): string +

+
+
+ + +

Get the service name from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + getTracing(buffer: Buffer): Buffer +

+
+
+ + +

Get the tracing information from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + getVersion(buffer: Buffer): number +

+
+
+ + +

Get the version number from the metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ V + + + METHOD_LENGTH_SIZE: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ V + + + SERVICE_LENGTH_SIZE: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ V + + + TRACING_LENGTH_SIZE: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ V + + + VERSION: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ V + + + VERSION_SIZE: number +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + Buffer: Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + BufferEncoder: Encoder<Buffer> +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + Encoder: Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ T + + + UTF8Encoder: Encoder<string> +

+
+
+ + + +
+
+ + +
+
+
+
+

metrics/src

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ public + + + + + +
+

+ C + + + BaseMeter +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + Counter +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + Histogram +

+
+
+ + +

A histogram tracks the distribution of items, given a sample type.

+
+
+
+ + +
+ public + + + + + +
+

+ C + + + Metrics +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + MetricsExporter +

+
+
+ + +

An RSocket native metrics source.

+
+
+
+ + +
+ public + + + + + +
+

+ C + + + MetricsSubscriber +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + RawMeterTag +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + SimpleMeterRegistry +

+
+
+ + +

The default implementation of IMeterRegistry.

+
+
+
+ + +
+ public + + + + + +
+

+ C + + + Timer +

+
+
+ + +

Basically a timer that tracks the rate of events and histograms the durations.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + embedMetricsSingleSubscriber(single: Single<T>, next: Counter, complete: Counter, error: Counter, cancelled: Counter, timer: Timer): Single +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ V + + + DEFAULT_PERCENTILES: number[] +

+
+
+ + +

The default set of percentiles to use in the Histogram.

+
+
+
+ + +
+
+
+
+

metrics/src/stats

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ public + + + + + +
+

+ C + + + ExponentiallyDecayingSample +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + EWMA +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + Sample +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + UniformSample +

+
+
+ + +

Take a uniform sample of size "size" for all values.

+
+
+
+ + +
+
+
+
+

tracing/src

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ public + + + + + +
+

+ C + + + SpanSubscriber +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ F + + + createSpanSingle(single: Single<T>, tracer: Tracer, name: string, context: SpanContext | Span, metadata: Object, tags: Object): Single +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ F + + + bufferToMap(buffer: Buffer): Object +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ F + + + deserializeTraceData(tracer: Tracer, metadata: Buffer): SpanContext +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ F + + + mapToBuffer(map: Object): Buffer +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ F + + + trace(tracer: Tracer, name: String, tags: Object): function +

+
+
+ + +

Allows propagation of a SpanContext map through a Flowable.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + traceAsChild(tracer: Tracer, name: String, tags: Object): function +

+
+
+ + +

Similar to trace, except meant to be used on the server side where a +SpanContext has been passed from a client.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + traceSingle(tracer: Tracer, name: String, tags: Object): function +

+
+
+ + +

Allows propagation of a SpanContext map through a Flowable.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + traceSingleAsChild(tracer: Tracer, name: String, tags: Object): function +

+
+
+ + +

Similar to traceSingle, except meant to be used on the server side +where a SpanContext has been passed from a client.

+
+
+
+ + +
+
+
+
+ +
+
Directories
+ +
+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/image/badge.svg b/rsocket-rpc-js/docs/image/badge.svg new file mode 100644 index 0000000..b18426b --- /dev/null +++ b/rsocket-rpc-js/docs/image/badge.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + document + document + @ratio@ + @ratio@ + + diff --git a/rsocket-rpc-js/docs/image/esdoc-logo-mini-black.png b/rsocket-rpc-js/docs/image/esdoc-logo-mini-black.png new file mode 100644 index 0000000..5d5f9a2 Binary files /dev/null and b/rsocket-rpc-js/docs/image/esdoc-logo-mini-black.png differ diff --git a/rsocket-rpc-js/docs/image/esdoc-logo-mini.png b/rsocket-rpc-js/docs/image/esdoc-logo-mini.png new file mode 100644 index 0000000..76ba5b7 Binary files /dev/null and b/rsocket-rpc-js/docs/image/esdoc-logo-mini.png differ diff --git a/rsocket-rpc-js/docs/image/manual-badge.svg b/rsocket-rpc-js/docs/image/manual-badge.svg new file mode 100644 index 0000000..4029606 --- /dev/null +++ b/rsocket-rpc-js/docs/image/manual-badge.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + manual + manual + @value@ + @value@ + + diff --git a/rsocket-rpc-js/docs/image/search.png b/rsocket-rpc-js/docs/image/search.png new file mode 100644 index 0000000..f5d84b6 Binary files /dev/null and b/rsocket-rpc-js/docs/image/search.png differ diff --git a/rsocket-rpc-js/docs/index.html b/rsocket-rpc-js/docs/index.html new file mode 100644 index 0000000..45b85e8 --- /dev/null +++ b/rsocket-rpc-js/docs/index.html @@ -0,0 +1,412 @@ + + + + + + Home + + + + + + + +
+ Home + + Reference + Source + + +
+ + + +

RSocket JavaScript RPC

+

Documentation

Core

The primary class/entry point for the core package is the RpcClient. The client encapsulates the RSocket methods of fireAndForget, requestResponse, requestStream, and requestChannel and merges them with a bidirectional connection, allowing seamless use of RSocket for RPC.

+

The input config has this flow-type signature

+
ClientConfig<D, M> = {|
+  serializers?: PayloadSerializers<D, M>,
+  setup: {|
+    keepAlive: number,
+    lifetime: number,
+    metadata?: Encodable,
+  |},
+  transport: DuplexConnection,
+  responder?: Responder<D, M>,
+|}
+
+

Serializers and responder are optional. If the client doesn't intend to receive traffic, there is no need to add a responder. Responder is a type alias for the RSocket API.

+

The transport can be any implementation of a DuplexConnection, a common one being WebSockets.

+

RpcClient's connect(): Single<ReactiveSocket<D, M>> method starts the asynchronous process of obtaining a handle to an open RSocket connection and moving through additional business logic.

+

Here is an example instantiation of an RpcClient

+
  const local = 'ws://localhost:8088/';
+  const keepAlive = 60000 /* 60s in ms */;
+  const lifetime = 360000 /* 360s in ms */;
+  const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);
+  const client = new RpcClient({setup:{keepAlive, lifetime}, transport});
+  client.connect().subscribe({
+    onComplete: rsocket => {
+      console.info("Success! We have a handle to an RSocket connection");
+    },
+    onError: error => {
+      console.error("Failed to connect to local RSocket server.", error);
+    }
+  });
+
+

Frames

The Frames package provides methods for encoding and reading Payload metadata

+
encodeMetadata(
+  service: string,
+  method: string,
+  tracing: Encodable,
+  metadata: Encodable,
+): Buffer
+
+

Clients are encouraged to use the encodeMetadata method to send well defined call-routing metadata with their Payloads. On the receiving end, the call router can use the other helper methods to route the call and capture/propagate tracing information.

+
getVersion(buffer: Buffer): number
+
+
getService(buffer: Buffer): string
+
getMethod(buffer: Buffer): string
+
getTracing(buffer: Buffer): Buffer
+

Tracing

RSocket RPC provides helpers to inject Open Tracing implementations via helper methods.

+
trace<T>(
+  tracer?: Tracer,
+  name?: String,
+  ...tags: Object
+): Object => (Flowable<T>) => Flowable<T>
+

Trace takes an Open Tracing Tracer, an operation name, and optional tags. The result is a function that allows propagation of a SpanContext map through a Flowable. One can pass a collection of tags in the form of a map/Object and have it woven through a Flowable => Flowable function. Here's an example

+
const traceCapture = trace(myTracer, "myOperation", {tag1: "value"}, {tag2: "another value"});
+
+... more code ...
+
+const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: "two"});
+
+subscriberTransformer(rsocket.requestStream(serviceRequest))
+.subscribe({
+    ...
+});
+
+

This wraps our default tags tag1 and tag2, further picks up additonalTag1 and additionalTag2 as we progress through our business logic.

+

We then pass that the resulting Flowable from doing a requestStream and the Tracer will capture tracing events from the Stream.

+
traceAsChild<T>(
+  tracer?: Tracer,
+  name?: String,
+  ...tags: Object
+): SpanContext => (Flowable<T>) => Flowable<T>
+

This method is the same as above except intended to be used on the server side where a SpanContext has been passed from a client. The helper method below to deserializeTraceData should be used on the Payload metadata to extract the starter SpanContext

+
const traceCapture = traceAsChild(myTracer, "myServerOperation", {serverTag1: "value"}, {serverTag2: "another value"});
+
+const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));
+
+return subscriberTransformer(serviceImpl.requestStream(serviceRequest));
+
+

Below are equivalent methods for Single types, meaning really requestReply.

+
traceSingle<T>(
+  tracer?: Tracer,
+  name?: String,
+  ...tags: Object
+): Object => (Single<T>) => Single<T> 
+
traceSingleAsChild<T>(
+  tracer?: Tracer,
+  name?: String,
+  ...tags: Object
+): SpanContext => (Single<T>) => Single<T>
+
+

These last three are helper methods to make it easier to propagate tracing context.

+
deserializeTraceData(tracer, metadata) : SpanContext
+
+
mapToBuffer(map: Object): Buffer 
+
bufferToMap(buffer: Buffer): Object
+

Metrics

Protobuf File

Unlike the other packages, Metrics is much more sensitive to interoperability and/or doesn't have an open standard like Open Tracing on which to hang its hat. As such, we include a protobuf file that defines the structure of metrics data and required services. This is found in metrics/idl/proto/metrics.proto

+

To build the relevant types from source, run yarn install && yarn protoc

+

Basic Use

The Metrics package exports a few helper methods that will wrap timing metrics automatically around streams.

+
 timed<T>(
+    registry?: IMeterRegistry,
+    name: string,
+    ...tags: Object[]
+  ): (Flowable<T>) => Flowable<T>
+
 timedSingle<T>(
+    registry?: IMeterRegistry,
+    name: string,
+    ...tags: Object[]
+  ): (Single<T>) => Single<T>
+
+

Similar to the Tracing package, these functions return a wrapping function, through which a user weaves their RSocket calls

+
  const metricsWrapper = timed(myMeterRegistry, "my.function.name", {tag1: "tag"}, {anotherTag: "again"});
+  const responseStream = rsocket.requestStream(requestPayload);
+  metricsWrapper(responseStream).subscribe(...);
+
+
  const metricsWrapper = timedSingle(myMeterRegistry, "my.function.name", {tag1: "tag"}, {anotherTag: "again"});
+  const responseFuture = rsocket.requestResponse(requestPayload);
+  metricsWrapper(responseFuture).subscribe(...);
+
+

Both functions take a IMeterRegistry which has flow-type

+
interface IMeterRegistry {
+  registerMeter(meter: IMeter): void;
+  registerMeters(meters: IMeter[]): void;
+  meters(): IMeter[];
+}
+
+

This essentially represents any container class that can store handles to Meters and deliver them as a collection. The Package includes a default implementation in SimpleMeterRegistry.

+

Meters

The Metrics package provides 2 implementations of IMeter: Counter and Timer. They both implement this interface:

+
interface IMeter {
+  name: string;
+  description: ?string;
+  statistic: string;
+  type: string;
+  tags: RawMeterTag[];
+  units?: string;
+  rates(): Object;
+  convert(converter: (IMeter) => Meter[]): Meter[];
+}
+
+

The timed helper methods automatically wrap timing and counting metrics around significant Flowable and Single events. Additional metrics may be added ad hoc and registered with the IMeterRegistry.

+

Exporting Metrics

Should the user also have an RSocket based Metrics sink, we provide an RSocket native metrics source in MetricsExporter.

+

The MetricsExporter constructor has these inputs

+
MetricsExporter{
+
+  constructor(
+    handler: MetricsSnapshotHandlerClient,
+    registry: IMeterRegistry,
+    exportPeriodSeconds: number,
+    batchSize: number,
+  ),
+
+  start(), // Open channel and begin sending metrics
+
+  stop() // Stop sending metrics
+
+}
+
+

The MetricsSnapshotHandlerClient is defined in the metrics protobuf file. It has one method of note

+
rpc StreamMetrics (stream MetricsSnapshot) returns (stream Skew)
+

Meaning we open a channel and push MetricsSnapshots and receive time Skews from the server as it notices our clocks are out of sync. The MetricsExporter takes this as a metrics sink, the IMeterRegistry as the metrics source, and the windowing parameters in the time period or batch size.

+

Tying It All Together

Assume we have an RSocket server that supports WebSockets on localhost. We have an RSocket-based service client called MyServiceClient. We want to capture tracing and metrics data. In real code, we would likely encapsulate that within the MyServiceClient, but for demonstration purposes we will make everything very explicit.

+
const {RequestHandlingRSocket,
+       RpcClient} = require('rsocket-rpc-core');
+const Tracing = require('rsocket-rpc-tracing');
+const {Metrics,
+       SimpleMeterRegistry, 
+       MetricsExporter, 
+       MetricsSnapshotHandlerClient} = require('rsocket-rpc-metrics');
+
+// Create our Open Tracing tracer for use later
+const myTracer = new MyCompliantTracer();
+
+// Connection info for our RSocket Client
+const local = 'ws://localhost:8088/';
+const keepAlive = 60000 /* 60s in ms */;
+const lifetime = 360000 /* 360s in ms */;
+const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);
+const responder = new RequestHandlingRSocket(); // Will address this at the end
+const rsocketClient = new RpcClient({setup:{keepAlive, lifetime}, transport, responder});
+
+// We need a few references declared ahead of an rsocket being available 
+const meters = new SimpleMeterRegistry();
+let snapshotClient = null; // Will initialize shortly
+let metricsExporter = null; // Will initialize shortly
+
+let myServiceClient = null; // Will initialize shortly
+
+rsocketClient.connect().subscribe({
+    onComplete: rsocket => {
+      myServiceClient = new MyServiceClient(rsocket);
+
+      snapshotClient = new MetricsSnapshotHandlerClient(rsocket);
+      metricsExporter = new MetricsExporter(snapshotClient, meters, 60 /*seconds*/, 1024 /*metrics count*/);
+      metricsExporter.start();
+    },
+    onError: error => {
+      console.error("Failed to connect to local RSocket server.", error);
+    }
+});
+
+
+... Later in our business logic ...
+
+// Set up our traced, metrics-captured calls
+const streamMetricsWrapper = Metrics.timed(meters, "myService.dataStream", {timezone: "GMT-7"});
+const requestResponseMetricsWrapper = Metrics.timedSingle(meters, "myService.fetchDatum", {timezone: "GMT-7"});
+
+const streamTracing = Tracing.trace(myTracer, "myService.dataStream", {clientType: "Chrome Browser"});
+const requestResponseTracing = Tracing.trace.Single(myTracer, "myService.fetchDatum", {clientType: "Chrome Browser"});
+
+... Later still, our User does something of interest ...
+
+
+const tracingTags = {uiContextId: 12345, focusedItem: 9876};
+
+const tracedTimedRequestResponse = requestResponseTracing(tracingTags) // We've closed over the tracing tags, now Single => Single
+(requestResponseMetricsWrapper( //This wrapper's signature is Single => Single
+        myServiceClient.fetchDatum(new DatumRequest()) // This method returns a Single
+    ) // We've now wrapped the original call in metrics
+); // We've now wrapped the metrics-captured call in tracing
+
+tracedTimedRequestResponse.subscribe({
+    // Issues the request and do our business logic onComplete
+});
+
+// And we would do the same for a streaming method
+
+const tracedTimedStream = streamTracing(tracingTags) // We've closed over the tracing tags, now Flowable => Flowable
+(streamMetricsWrapper( //This wrapper's signature is Flowable => Flowable
+        myServiceClient.dataStream(new StreamRequest()) // This method returns a Flowable
+    ) // We've now wrapped the original call in metrics
+); // We've now wrapped the metrics-captured call in tracing
+
+tracedTimedStream.subscribe({
+    // Issues the request and do our business logic onNext/onComplete
+});
+
+
+

Wiring up the Responder

At the beginning, we added a canned Responder class from the Core package, RequestHandlingRSocket. It takes for granted that callers are using the Metadata helpers to package metadata about the service calls in question.

+

Its relevant method is

+
addService(service: string, handler: Responder<Buffer, Buffer>)
+
+

Aside from this, it implements (and delegates) the RSocket methods to handling services. Responder is an alias for this that implies that it will have those methods invoked by a remote caller rather than act as a local caller to a remote callee.

+

In our example, let's add a responder to our client that provides a method for a remote caller to inject config updates.

+

+const configUpdater = {
+    fireAndForget: function(){
+        //Not supported but has no expected return
+    },
+    requestStream: function(payload){
+        return Flowable.error("requestStream is not supported");
+    },
+    requestChannel: function(payloads){
+        return Flowable.error("requestStream is not supported");
+    },
+    requestResponse: function(payload){
+        const newConfig = deserializeConfig(payload.data);
+        // apply new config;
+        return Single.of("OK");
+    }
+}
+
+responder.addService("example.rsocket.configUpdater", configUpdater);
+
+

And now our RpcClient will also respond to requests from the server to update its configuration that are directed to the service "example.rsocket.configUpdater".

+

We can also add tracing and metrics here though again, in Production code this would all be encapsulated in service/client implementations but for demo purposes we're doing it inline and explicitly.

+
const serviceMetricsWrapper = Metrics.timedSingle(meters, "myClient.updateConfig", {timezone: "GMT-7"});
+
+const serviceTracing = Tracing.traceSingleAsChild(myTracer, "myClient.updateConfig", {clientType: "Chrome Browser"});
+
+const configUpdater = {
+    fireAndForget: function(){
+        //Not supported but has no expected return
+    },
+    requestStream: function(payload){
+        return Flowable.error("requestStream is not supported");
+    },
+    requestChannel: function(payloads){
+        return Flowable.error("requestStream is not supported");
+    },
+    requestResponse: function(payload){
+        const spanContext = Tracing.deserializeTraceData(myTracer, payload.metadata);
+        return serviceTracing(spanContext) // We've closed over the tracing span context, now Single => Single
+        (serviceMetricsWrapper( //This wrapper's signature is Single => Single
+                new Single(subscriber => {
+                    subscriber.onSubscribe();
+                    const newConfig = deserializeConfig(payload.data);                    
+                    // apply new config;
+                    subscriber.onComplete("OK");
+                })
+            ) // We've now wrapped the original call in metrics
+        );
+    }
+}
+
+

Let's break this down because it's hard to follow at first.

+
    +
  • We are extracting the span context from the caller, if any, with the deserializeTraceData method
  • +
  • We feed this into the traceSingleAsChild method which captures the span context and will weave it through a Single (its signature is Single => Single)
  • +
  • We further use the Metrics wrapping method timedSingle to weave timing and count metrics through a Single (signature also Single => Single))
  • +
  • And finally, we create a new Single inline that has the same logic as before, only it waits for a subscriber (meaning call to subscribe) to do anything so that we can start our metrics timing and trace on-demand from the caller.
  • +
+

And with that, we have an RpcClient that can make and serve instrumented calls over the same RSocket.

+

Bugs and Feedback

For bugs, questions, and discussions please use the Github Issues.

+

License

Copyright 2017 Netifi Inc.

+

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

+

http://www.apache.org/licenses/LICENSE-2.0

+

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

+
+
+ + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/index.json b/rsocket-rpc-js/docs/index.json new file mode 100644 index 0000000..c5cb61c --- /dev/null +++ b/rsocket-rpc-js/docs/index.json @@ -0,0 +1,9854 @@ +[ + { + "__docId__": 1, + "kind": "external", + "name": "Infinity", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Infinity", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 2, + "kind": "external", + "name": "NaN", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~NaN", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 3, + "kind": "external", + "name": "undefined", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~undefined", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 4, + "kind": "external", + "name": "null", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~null", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 5, + "kind": "external", + "name": "Object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Object", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 6, + "kind": "external", + "name": "object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~object", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 7, + "kind": "external", + "name": "Function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Function", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 8, + "kind": "external", + "name": "function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~function", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 9, + "kind": "external", + "name": "Boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Boolean", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 10, + "kind": "external", + "name": "boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~boolean", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 11, + "kind": "external", + "name": "Symbol", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Symbol", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 12, + "kind": "external", + "name": "Error", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Error", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 13, + "kind": "external", + "name": "EvalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~EvalError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 14, + "kind": "external", + "name": "InternalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~InternalError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 15, + "kind": "external", + "name": "RangeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~RangeError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 16, + "kind": "external", + "name": "ReferenceError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~ReferenceError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 17, + "kind": "external", + "name": "SyntaxError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~SyntaxError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 18, + "kind": "external", + "name": "TypeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~TypeError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 19, + "kind": "external", + "name": "URIError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~URIError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 20, + "kind": "external", + "name": "Number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Number", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 21, + "kind": "external", + "name": "number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~number", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 22, + "kind": "external", + "name": "Date", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Date", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 23, + "kind": "external", + "name": "String", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~String", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 24, + "kind": "external", + "name": "string", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~string", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 25, + "kind": "external", + "name": "RegExp", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~RegExp", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 26, + "kind": "external", + "name": "Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 27, + "kind": "external", + "name": "Int8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Int8Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 28, + "kind": "external", + "name": "Uint8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Uint8Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 29, + "kind": "external", + "name": "Uint8ClampedArray", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Uint8ClampedArray", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 30, + "kind": "external", + "name": "Int16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Int16Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 31, + "kind": "external", + "name": "Uint16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Uint16Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 32, + "kind": "external", + "name": "Int32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Int32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 33, + "kind": "external", + "name": "Uint32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Uint32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 34, + "kind": "external", + "name": "Float32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Float32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 35, + "kind": "external", + "name": "Float64Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Float64Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 36, + "kind": "external", + "name": "Map", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Map", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 37, + "kind": "external", + "name": "Set", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Set", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 38, + "kind": "external", + "name": "WeakMap", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~WeakMap", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 39, + "kind": "external", + "name": "WeakSet", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~WeakSet", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 40, + "kind": "external", + "name": "ArrayBuffer", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~ArrayBuffer", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 41, + "kind": "external", + "name": "DataView", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~DataView", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 42, + "kind": "external", + "name": "JSON", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~JSON", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 43, + "kind": "external", + "name": "Promise", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Promise", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 44, + "kind": "external", + "name": "Generator", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Generator", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 45, + "kind": "external", + "name": "GeneratorFunction", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~GeneratorFunction", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 46, + "kind": "external", + "name": "Reflect", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Reflect", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 47, + "kind": "external", + "name": "Proxy", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", + "memberof": "packages/.external-ecmascript.js", + "static": true, + "longname": "packages/.external-ecmascript.js~Proxy", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 48, + "kind": "file", + "name": "packages/core/src/QueuingFlowableProcessor.js", + "content": "/**\n * @name QueuingFlowableProcessor.js\n * @fileoverview Defines the {@link QueuingFlowableProcessor} class.\n *\n * @requires NPM:rsocket-types\n * @exports QueuingFlowableProcessor\n */\n\n/**\n * An asynchronous, pull-based stream of values. Call the\n * {@link IPublisher#subscribe} method to generate a call to the subscriber's\n * {@link onSubscribe} method with a {@link Subscription} object that has two\n * methods: {@link Subscription#cancel} and {@link Subscription#request}.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPublisher\n */\n/**\n * A version of the {@link ISubscriber} interface in which the methods are\n * optional, so that you may elect to only implement a subset of them.\n *\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface IPartialSubscriber\n */\n/**\n * A handler for values provided by a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @interface ISubscriber\n */\n/**\n * An underlying source of values for a Publisher.\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n * @external {ISubscription} https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js\n */\nimport type {\n IPublisher,\n ISubscriber,\n IPartialSubscriber,\n ISubscription,\n} from 'rsocket-types';\n\n/**\n * MAX_REQUEST_N (from QueuingFlowableProcessor.js). If no {@link capacity} is\n * passed to the {@link QueuingFlowableProcessor#constructor}, this value will\n * be used as the capacity (the maximum number of items in the backlog queue).\n * This effectively signals that you want an unlimited number of items from the\n * source Flowable.\n *\n * @constant\n * @type {number}\n */\nconst MAX_REQUEST_N = 0x7fffffff; // uint31\n\n/**\n * A {@link QueuingFlowableProcessor} is an intermediary between a Flowable\n * producer and a subscriber. To the producer, it behaves as a greedy subscriber\n * (that is, one that {@link request}s a large number of emissions immediately).\n * To the subscriber, it behaves as a {@link Flowable}.\n *\n * This allows the producer to generate and emit items at its own fast pace, while\n * the end subscriber requests them at its own slow pace. In between, the\n * {@link QueuingFlowableProcessor} queues up the backlog of items.\n */\nexport default class QueuingFlowableProcessor\n implements IPublisher, ISubscriber, ISubscription {\n _once: boolean;\n _actual: Subscriber;\n _requested: number;\n _capacity: number;\n _queue: T[];\n _wip: number;\n _cancelled: boolean;\n _done: boolean;\n _error: ?Error;\n\n /**\n * @param {?number} [capacity] - the maximum size of the backlog queue of\n * items this {@link QueuingFlowableProcessor} will maintain (default =\n * {@link MAX_REQUEST_N}). If this queue size is exceeded, the\n * {@link QueuingFlowableProcessor} will begin to drop incoming items from the\n * producer.\n */\n constructor(capacity?: number) {\n this._once = false;\n this._requested = 0;\n /** @type {Subscriber} */\n this._actual = null;\n /** @type {?Error} */\n this._error = null;\n this._done = false;\n this._wip = 0;\n this._cancelled = false;\n /** @type {number} */\n this._capacity = capacity;\n /** @type {T[]} */\n this._queue = [];\n /** @type {function[]} */\n this._transformers = [];\n }\n\n /**\n * The subscriber to this {@link QueuingFlowableProcessor} subscribes by calling\n * this method.\n *\n * @param {Subscriber} s - an object that implements the Subscriber methods\n * this {@link QueuingFlowableProcessor} will call to pass along messages\n * from the Flowable producer.\n * @throws {Error} if a Subscriber is already subscribed to this\n * {@link QueuingFlowableProcessor}\n */\n subscribe(s: Subscriber) {\n if (!this._once) {\n this._once = true;\n this._actual = s;\n s.onSubscribe(this);\n } else {\n throw new Error('Only one Subscriber allowed');\n }\n }\n\n /**\n * When the {@link QueuingFlowableProcessor} gets an {@link onSubscribe} call\n * from the {@link Flowable} producer, it requests that the {@link Flowable}\n * begin sending it items: either {@link capacity} items, if the capacity was\n * set during the call to {@link QueuingFlowableProcessor#constructor}, or\n * {@link MAX_REQUEST_N} items (effectively unlimited).\n *\n * @param {ISubscription} s - the subscription from the source {@link Flowable}\n */\n onSubscribe(s: ISubscription) {\n if (this._done) {\n s.cancel();\n } else {\n s.request(this._capacity || MAX_REQUEST_N);\n }\n }\n\n /**\n * The {@link Flowable} producer calls this method to add an item to the queue\n * of this {@link QueuingFlowableProcessor} for later emission to its\n * subscriber.\n *\n * @param {T} t - the item to add\n * @throws {Error} if {@link t} is null. Flowables are not permitted to emit\n * null values.\n */\n onNext(t: T) {\n if (t === null) {\n throw new Error('t is null');\n }\n if (!this._capacity || this._queue.length < this._capacity) {\n this._queue.push(t);\n }\n this.drain();\n }\n\n /**\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has encountered an error.\n * The {@link QueuingFlowableProcessor} will pass this error on to its\n * subscriber after it has finished sending the remaining items in its queue.\n *\n * @param {Error} t - the specific error\n */\n onError(t: Error) {\n if (t === null) {\n throw new Error('t is null');\n }\n this._error = t;\n this._done = true;\n this.drain();\n }\n\n /**\n * The {@link Flowable} producer calls this method to signal to this\n * {@link QueuingFlowableProcessor} that the producer has finished emitting\n * items. The {@link QueuingFlowableProcessor} will pass this message on to its\n * subscriber after it has finished sending the remaining items in its queue.\n */\n onComplete() {\n this._done = true;\n this.drain();\n }\n\n /**\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * request a certain number of additional items.\n *\n * @example Note that requests are additive:\n * // this is equivalent to request(5):\n * myQFP.request(2);\n * myQFP.request(3);\n *\n * @param {number} n - the number of items to request\n * @throws {Error} if {@link n} is zero or negative\n */\n request(n: number) {\n if (n > 0) {\n this._requested += n;\n this.drain();\n } else {\n throw new Error('Invalid N for request, must be > 0: ' + n);\n }\n }\n\n /**\n * The subscriber to this {@link QueuingFlowableProcessor} calls this method to\n * indicate that it wants no more items and that the\n * {@link QueuingFlowableProcessor} can stop work and empty its queue.\n */\n cancel() {\n this._cancelled = true;\n if (this._wip++ === 0) {\n this._actual = null;\n this._queue = [];\n }\n }\n\n /**\n * Add a mapping function that modifies each emission from the {@link Flowable}\n * producer before emitting it from the {@link QueuingFlowableProcessor}. Note\n * that you can call this multiple times to add multiple mapping functions,\n * each of which will operate on the outputs of its predecessor.\n *\n * @param {function} transformer - a transformation function that accepts an\n * item emitted by the {@link Flowable} producer and returns an item\n * expected by the subscriber or by the next transformer\n * @return {QueuingFlowableProcessor} this same processor, modified with the\n * transformation function\n */\n map(transformer) {\n this._transformers.push(transformer);\n return this;\n }\n\n /**\n * Drain the existing queue of items that are ready for emission by the\n * {@link QueuingFlowableProcessor} by emitting them to its subscriber. This\n * is typically called implicitly by other methods of the\n * {@link QueuingFlowableProcessor}, not explicitly by the producer or\n * subscriber.\n */\n drain() {\n if (this._actual == null) {\n return;\n }\n if (this._wip++ !== 0) {\n return;\n }\n\n const missed = 1;\n\n for (;;) {\n const r = this._requested;\n let e = 0;\n\n while (e !== r) {\n if (this._cancelled) {\n this._actual = null;\n this._queue = [];\n return;\n }\n\n const d = this._done;\n const v = this._queue.shift();\n const empty = v == null;\n\n if (d && empty) {\n if (this._actual != null) {\n const ex = this._error;\n if (ex != null) {\n this._actual.onError(ex);\n } else {\n this._actual.onComplete();\n }\n this._actual = null;\n }\n return;\n }\n\n if (empty) {\n break;\n }\n\n if (this._actual != null) {\n const transformedV = this._transformers.reduce(\n (interim, xform) => xform(interim),\n v,\n );\n this._actual.onNext(transformedV);\n }\n\n e++;\n }\n\n if (e == r) {\n if (this._cancelled) {\n this._actual = null;\n this._queue = [];\n return;\n }\n const d = this._done;\n const empty = this._queue.length === 0;\n\n if (d && empty) {\n if (this._actual != null) {\n const ex = this._error;\n if (ex != null) {\n this._actual.onError(ex);\n } else {\n this._actual.onComplete();\n }\n this._actual = null;\n }\n return;\n }\n }\n\n if (e != 0) {\n this._requested -= e;\n }\n\n const m = this._wip - missed;\n this._wip = m;\n if (m == 0) {\n break;\n }\n }\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/core/src/QueuingFlowableProcessor.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 49, + "kind": "variable", + "name": "MAX_REQUEST_N", + "memberof": "packages/core/src/QueuingFlowableProcessor.js", + "static": true, + "longname": "packages/core/src/QueuingFlowableProcessor.js~MAX_REQUEST_N", + "access": "public", + "export": false, + "importPath": "./packages/core/src/QueuingFlowableProcessor.js", + "importStyle": null, + "description": "MAX_REQUEST_N (from QueuingFlowableProcessor.js). If no {@link capacity} is\npassed to the {@link QueuingFlowableProcessor#constructor}, this value will\nbe used as the capacity (the maximum number of items in the backlog queue).\nThis effectively signals that you want an unlimited number of items from the\nsource Flowable.", + "lineNumber": 13, + "unknown": [ + { + "tagName": "@constant", + "tagValue": "" + } + ], + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + }, + "ignore": true + }, + { + "__docId__": 50, + "kind": "external", + "name": "ISubscription", + "externalLink": "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js", + "memberof": "packages/core/src/QueuingFlowableProcessor.js", + "static": true, + "longname": "packages/core/src/QueuingFlowableProcessor.js~ISubscription", + "access": "public", + "description": "An underlying source of values for a Publisher.", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js" + ], + "lineNumber": 59 + }, + { + "__docId__": 51, + "kind": "file", + "name": "packages/core/src/RequestHandlingRSocket.js", + "content": "/**\n * @name RequestHandlingRSocket.js\n * @fileoverview Defines the {@link RequestHandlingRSocket} class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-rps-frames\n * @requires SwitchTransformOperator\n * @exports RequestHandlingRSocket\n */\n\nimport type {Responder, Payload} from 'rsocket-types';\n\nimport {Flowable, Single} from 'rsocket-flowable';\n\nimport {getService} from 'rsocket-rpc-frames';\nimport SwitchTransformOperator from './SwitchTransformOperator';\n\n/**\n */\nexport default class RequestHandlingRSocket\n implements Responder {\n _registeredServices: Map>;\n\n constructor() {\n this._registeredServices = new Map();\n }\n\n /**\n *\n * @param {string} service -\n * @param {Responder} handler -\n */\n addService(service: string, handler: Responder) {\n this._registeredServices.set(service, handler);\n }\n\n /**\n *\n * @param {Payload} payload the - request payload\n * @throws {Error} if there is no registered service associated with the service type reflected in the request payload metadata\n * @throws {Error} if the request payload metadata is null\n */\n fireAndForget(payload: Payload): void {\n if (payload.metadata == null) {\n throw new Error('metadata is empty');\n }\n\n const service = getService(payload.metadata);\n const handler = this._registeredServices.get(service);\n\n if (handler == null) {\n throw new Error('can not find service ' + service);\n }\n\n handler.fireAndForget(payload);\n }\n\n /**\n *\n * @param {Payload} payload - the request payload\n * @returns {Single>} a {@link Single} that emits the\n * response payload, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n */\n requestResponse(\n payload: Payload,\n ): Single> {\n try {\n if (payload.metadata == null) {\n return Single.error(new Error('metadata is empty'));\n }\n\n const service = getService(payload.metadata);\n const handler = this._registeredServices.get(service);\n\n if (handler == null) {\n return Single.error(new Error('can not find service ' + service));\n }\n\n return handler.requestResponse(payload);\n } catch (error) {\n return Single.error(error);\n }\n }\n\n /**\n *\n * @param {Payload} payload the request payload\n * @returns {Flowable} a Flowable that emits the response\n * payloads, or that signals an error if there is no registered service\n * associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n */\n requestStream(\n payload: Payload,\n ): Flowable> {\n try {\n if (payload.metadata == null) {\n return Flowable.error(new Error('metadata is empty'));\n }\n\n const service = getService(payload.metadata);\n const handler = this._registeredServices.get(service);\n\n if (handler == null) {\n return Flowable.error(new Error('can not find service ' + service));\n }\n\n return handler.requestStream(payload);\n } catch (error) {\n return Flowable.error(error);\n }\n }\n\n /**\n *\n * @param {Flowable>} payloads - the request payloads\n * @returns {Flowable>} a {@link Flowable} that emits\n * the response payloads, or that signals an error if there is no registered\n * service associated with the service type reflected in the request payload\n * metadata or if the request payload metadata is null\n */\n requestChannel(\n payloads: Flowable>,\n ): Flowable> {\n return new Flowable(s => payloads.subscribe(s)).lift(\n s =>\n new SwitchTransformOperator(s, (payload, flowable) => {\n if (payload.metadata === undefined || payload.metadata === null) {\n return Flowable.error(new Error('metadata is empty'));\n } else {\n const service = getService(payload.metadata);\n const handler = this._registeredServices.get(service);\n if (handler === undefined || handler === null) {\n return Flowable.error(\n new Error('can not find service ' + service),\n );\n } else {\n return handler.requestChannel(flowable);\n }\n }\n }),\n );\n }\n\n /**\n * @abstract\n * @param {Payload} payload -\n * @returns {Single} a Single that signals an error and terminates\n */\n metadataPush(payload: Payload): Single {\n return Single.error(new Error('metadataPush() is not implemented'));\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/core/src/RequestHandlingRSocket.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 52, + "kind": "class", + "name": "RequestHandlingRSocket", + "memberof": "packages/core/src/RequestHandlingRSocket.js", + "static": true, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "access": "public", + "export": true, + "importPath": "./packages/core/src/RequestHandlingRSocket.js", + "importStyle": "RequestHandlingRSocket", + "description": "", + "lineNumber": 35, + "interface": false + }, + { + "__docId__": 53, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#constructor", + "access": "public", + "description": null, + "lineNumber": 37, + "undocument": true + }, + { + "__docId__": 54, + "kind": "member", + "name": "_registeredServices", + "memberof": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "static": false, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#_registeredServices", + "access": "private", + "description": null, + "lineNumber": 38, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 55, + "kind": "method", + "name": "addService", + "memberof": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#addService", + "access": "public", + "description": "", + "lineNumber": 46, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "service", + "description": "" + }, + { + "nullable": null, + "types": [ + "Responder" + ], + "spread": false, + "optional": false, + "name": "handler", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 56, + "kind": "method", + "name": "fireAndForget", + "memberof": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#fireAndForget", + "access": "public", + "description": "", + "lineNumber": 56, + "params": [ + { + "nullable": null, + "types": [ + "Payload" + ], + "spread": false, + "optional": false, + "name": "payload", + "description": "the - request payload" + } + ], + "throws": [ + { + "types": [ + "Error" + ], + "description": "if there is no registered service associated with the service type reflected in the request payload metadata" + }, + { + "types": [ + "Error" + ], + "description": "if the request payload metadata is null" + } + ], + "return": null + }, + { + "__docId__": 57, + "kind": "method", + "name": "requestResponse", + "memberof": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#requestResponse", + "access": "public", + "description": "", + "lineNumber": 79, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Single>} a {@link Single} that emits the\n response payload, or that signals an error if there is no registered\n service associated with the service type reflected in the request payload\n metadata or if the request payload metadata is null" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Payload" + ], + "spread": false, + "optional": false, + "name": "payload", + "description": "the request payload" + } + ], + "return": { + "nullable": null, + "types": [ + "Single>" + ], + "spread": false, + "description": "a {@link Single} that emits the\n response payload, or that signals an error if there is no registered\n service associated with the service type reflected in the request payload\n metadata or if the request payload metadata is null" + } + }, + { + "__docId__": 58, + "kind": "method", + "name": "requestStream", + "memberof": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#requestStream", + "access": "public", + "description": "", + "lineNumber": 106, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Flowable} a Flowable that emits the response\n payloads, or that signals an error if there is no registered service\n associated with the service type reflected in the request payload\n metadata or if the request payload metadata is null" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Payload" + ], + "spread": false, + "optional": false, + "name": "payload", + "description": "the request payload" + } + ], + "return": { + "nullable": null, + "types": [ + "Flowable" + ], + "spread": false, + "description": "a Flowable that emits the response\n payloads, or that signals an error if there is no registered service\n associated with the service type reflected in the request payload\n metadata or if the request payload metadata is null" + } + }, + { + "__docId__": 59, + "kind": "method", + "name": "requestChannel", + "memberof": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#requestChannel", + "access": "public", + "description": "", + "lineNumber": 133, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Flowable>} a {@link Flowable} that emits\n the response payloads, or that signals an error if there is no registered\n service associated with the service type reflected in the request payload\n metadata or if the request payload metadata is null" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Flowable>" + ], + "spread": false, + "optional": false, + "name": "payloads", + "description": "the request payloads" + } + ], + "return": { + "nullable": null, + "types": [ + "Flowable>" + ], + "spread": false, + "description": "a {@link Flowable} that emits\n the response payloads, or that signals an error if there is no registered\n service associated with the service type reflected in the request payload\n metadata or if the request payload metadata is null" + } + }, + { + "__docId__": 60, + "kind": "method", + "name": "metadataPush", + "memberof": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#metadataPush", + "access": "public", + "description": "", + "lineNumber": 154, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Single} a Single that signals an error and terminates" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Payload" + ], + "spread": false, + "optional": false, + "name": "payload", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Single" + ], + "spread": false, + "description": "a Single that signals an error and terminates" + }, + "abstract": true + }, + { + "__docId__": 61, + "kind": "file", + "name": "packages/core/src/RpcClient.js", + "content": "/**\n * @name RpcClient.js\n * @fileoverview Defines the {@link RpcClient} class and {@link ClientConfig} object.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires NPM:rsocket-core\n * @requires NPM:rsocket-flowable\n * @requires NPM:rsocket-types\n * @exports ClientConfig\n * @exports RpcClient\n */\n\n'use strict';\n\n/**\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {(string|Buffer|Uint8Array)} Encodable\n */\n/**\n * @example The methods of the Responder interface:\n * fireAndForget(payload: Payload): void\n * requestResponse(payload: Payload): Single>\n * requestStream(payload: Payload): Flowable>\n * requestChannel(payloads: Flowable>): Flowable>\n * metadataPush(payload: Payload): Single\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} Responder\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n */\n/**\n * A contract that provides different interaction models according to the\n * ReactiveSocket protocol. This interface extends the {@link Responder}\n * interface by adding the {@link ReactiveSocket#close} and\n * {@link ReactiveSocket#connectionStatus} methods.\n * @extends {Responder}\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @see https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md\n * @typedef {interface} ReactiveSocket\n * @property {function} fireAndForget\n * @property {function} requestResponse\n * @property {function} requestStream\n * @property {function} requestChannel\n * @property {function} metadataPush\n * @property {function} close\n * @property {function} connectionStatus\n */\n/**\n * Represents a network connection with input/output used by a\n * {@link ReactiveSocket} to send/receive data.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {interface} DuplexConnection\n * @property {function} sendOne\n * @property {function} send\n * @property {function} receive\n * @property {function} close\n * @property {function} connect\n * @property {function} connectionStatus\n */\n/**\n * A single unit of data exchanged between the peers of a\n * {@link ReactiveSocket}. A object of this type consists of two members:\n * {@link Payload#data} and {@link Payload#metadata}.\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js\n * @typedef {Object} Payload\n * @property {Serializer} data\n * @property {Serializer} metadata\n */\nimport type {\n ConnectionStatus,\n DuplexConnection,\n Encodable,\n Payload,\n ReactiveSocket,\n SetupFrame,\n Responder,\n} from 'rsocket-types';\n/**\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} Serializer\n * @desc A Serializer transforms data between the application encoding used in\n * Payloads and the Encodable type accepted by the transport client.\n * @property {function} deserialize a function that takes an {@link Encodable} and returns the expected data or metadata object\n * @property {function} serialize a funciton that takes a data or metadata object and returns a corresponding {@link Encodable}\n */\n/**\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js\n * @typedef {Object} PayloadSerializers\n * @property {Serializer} data\n * @property {Serializer} metadata\n */\nimport type {PayloadSerializers} from 'rsocket-core/build/RSocketSerialization';\n\n/**\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Flowable.js\n * @typedef {Object} Flowable\n * @property {function} just\n * @property {function} error\n * @property {function} never\n * @property {function} subscribe\n * @property {function} lift\n * @property {function} map\n * @property {function} take\n */\n/**\n * @external\n * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Single.js\n * @typedef {Object} Single\n * @property {function} of\n * @property {function} error\n * @property {function} subscribe\n * @property {function} flatMap\n * @property {function} map\n * @property {function} then\n */\nimport {Flowable, Single, every} from 'rsocket-flowable';\nimport invariant from 'fbjs/lib/invariant';\n\nimport {CONNECTION_STREAM_ID, FLAGS, FRAME_TYPES} from 'rsocket-core';\nimport {MAJOR_VERSION, MINOR_VERSION} from 'rsocket-core/build/RSocketVersion';\nimport {createClientMachine} from 'rsocket-core/build/RSocketMachine';\n\n/**\n * @typedef {Object} Setup\n * @property {number} keepAlive The number of milliseconds between keepalive messages you will send to the service\n * @property {number} lifetime The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out.\n * @property {?Encodable} [metadata] Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials).\n */\n/**\n * @typedef {Object} ClientConfig\n * @property {PayloadSerializers} [serializers] A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it.\n * @property {Setup} setup Configure the keepalive process and any metadata you would like to accompany the connection.\n * @property {DuplexConnection} transport Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component.\n * @property {Responder} [responder] An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.)\n */\nexport type ClientConfig = {|\n serializers?: PayloadSerializers,\n setup: {|\n keepAlive: number,\n lifetime: number,\n metadata?: Encodable,\n |},\n transport: DuplexConnection,\n responder?: Responder,\n|};\n\n/**\n * The primary class/entry point for the core package is the {@link RpcClient}.\n * The client encapsulates the RSocket methods of fireAndForget,\n * requestResponse, requestStream, and requestChannel and merges them with a\n * bidirectional connection, allowing seamless use of RSocket for RPC.\n */\nexport default class RpcClient {\n _config: ClientConfig;\n _connection: ?Single>;\n\n /**\n * @param {ClientConfig} config -\n */\n constructor(config: ClientConfig) {\n this._config = config;\n this._connection = null;\n }\n\n /**\n * Close the RPC Client connection.\n */\n close(): void {\n this._config.transport.close();\n }\n\n /**\n * Returns a {@link Single}, which, when you subscribe to it, initiates the\n * connection and emits a {@link ReactiveSocket} object that defines the\n * connection.\n * @example Here is an example instantiation of an RpcClient:\n * const local = 'ws://localhost:8088/';\n * const keepAlive = 60000; // 60s in ms \n * const lifetime = 360000; // 360s in ms\n * const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);\n * const client = new RpcClient({setup:{keepAlive, lifetime}, transport});\n * client.connect().subscribe({\n * onComplete: rsocket => {\n * console.info(\"Success! We have a handle to an RSocket connection\");\n * },\n * onError: error => {\n * console.error(\"Failed to connect to local RSocket server.\", error);\n * }\n * });\n *\n * @returns {Single>}\n * @throws {Error} if the RpcClient is already connected\n */\n connect(): Single> {\n invariant(\n !this._connection,\n 'RpcClient: Unexpected call to connect(), already connected.',\n );\n this._connection = new Single(subscriber => {\n const transport = this._config.transport;\n let subscription;\n transport.connectionStatus().subscribe({\n onNext: status => {\n if (status.kind === 'CONNECTED') {\n subscription && subscription.cancel();\n subscriber.onComplete(new RpcSocket(this._config, transport));\n } else if (status.kind === 'ERROR') {\n subscription && subscription.cancel();\n subscriber.onError(status.error);\n } else if (status.kind === 'CLOSED') {\n subscription && subscription.cancel();\n subscriber.onError(new Error('RpcClient: Connection closed.'));\n }\n },\n onSubscribe: _subscription => {\n subscriber.onSubscribe(() => _subscription.cancel());\n subscription = _subscription;\n subscription.request(Number.MAX_SAFE_INTEGER);\n },\n });\n transport.connect();\n });\n return this._connection;\n }\n}\n\n/**\n * @private\n */\nclass RpcSocket implements ReactiveSocket {\n _machine: ReactiveSocket;\n\n constructor(config: ClientConfig, connection: DuplexConnection) {\n this._machine = createClientMachine(\n connection,\n subscriber => connection.receive().subscribe(subscriber),\n config.serializers,\n config.responder,\n );\n\n // Send SETUP\n connection.sendOne(this._buildSetupFrame(config));\n\n // Send KEEPALIVE frames\n const {keepAlive} = config.setup;\n const keepAliveFrames = every(keepAlive).map(() => ({\n data: null,\n flags: FLAGS.RESPOND,\n lastReceivedPosition: 0,\n streamId: CONNECTION_STREAM_ID,\n type: FRAME_TYPES.KEEPALIVE,\n }));\n connection.send(keepAliveFrames);\n }\n\n fireAndForget(payload: Payload): void {\n this._machine.fireAndForget(payload);\n }\n\n requestResponse(payload: Payload): Single> {\n return this._machine.requestResponse(payload);\n }\n\n requestStream(payload: Payload): Flowable> {\n return this._machine.requestStream(payload);\n }\n\n requestChannel(payloads: Flowable>): Flowable> {\n return this._machine.requestChannel(payloads);\n }\n\n metadataPush(payload: Payload): Single {\n return this._machine.metadataPush(payload);\n }\n\n close(): void {\n this._machine.close();\n }\n\n connectionStatus(): Flowable {\n return this._machine.connectionStatus();\n }\n\n _buildSetupFrame(config: ClientConfig): SetupFrame {\n const {keepAlive, lifetime, metadata} = config.setup;\n\n return {\n flags: FLAGS.METADATA,\n keepAlive,\n lifetime,\n majorVersion: MAJOR_VERSION,\n minorVersion: MINOR_VERSION,\n metadataMimeType: 'application/binary',\n metadata,\n dataMimeType: 'application/binary',\n data: undefined,\n resumeToken: null,\n streamId: CONNECTION_STREAM_ID,\n type: FRAME_TYPES.SETUP,\n };\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/core/src/RpcClient.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 62, + "kind": "typedef", + "name": "Encodable", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~Encodable", + "access": "public", + "description": "", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js" + ], + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "type": { + "types": [ + "string", + "Buffer", + "Uint8Array" + ], + "optional": false, + "name": "Encodable" + } + }, + { + "__docId__": 63, + "kind": "typedef", + "name": "Responder", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~Responder", + "access": "public", + "description": "", + "examples": [ + "The methods of the Responder interface:\nfireAndForget(payload: Payload): void\nrequestResponse(payload: Payload): Single>\nrequestStream(payload: Payload): Flowable>\nrequestChannel(payloads: Flowable>): Flowable>\nmetadataPush(payload: Payload): Single" + ], + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js" + ], + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "fireAndForget", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "requestResponse", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "requestStream", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "requestChannel", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "metadataPush", + "description": "" + } + ], + "type": { + "types": [ + "interface" + ], + "optional": false, + "name": "Responder" + } + }, + { + "__docId__": 64, + "kind": "typedef", + "name": "ReactiveSocket", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~ReactiveSocket", + "access": "public", + "description": "A contract that provides different interaction models according to the\nReactiveSocket protocol. This interface extends the {@link Responder}\ninterface by adding the {@link ReactiveSocket#close} and\n{@link ReactiveSocket#connectionStatus} methods.", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js", + "https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md" + ], + "unknown": [ + { + "tagName": "@extends", + "tagValue": "{Responder}" + }, + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "fireAndForget", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "requestResponse", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "requestStream", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "requestChannel", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "metadataPush", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "close", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "connectionStatus", + "description": "" + } + ], + "type": { + "types": [ + "interface" + ], + "optional": false, + "name": "ReactiveSocket" + } + }, + { + "__docId__": 65, + "kind": "typedef", + "name": "DuplexConnection", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~DuplexConnection", + "access": "public", + "description": "Represents a network connection with input/output used by a\n{@link ReactiveSocket} to send/receive data.", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js" + ], + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "sendOne", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "send", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "receive", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "close", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "connect", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "connectionStatus", + "description": "" + } + ], + "type": { + "types": [ + "interface" + ], + "optional": false, + "name": "DuplexConnection" + } + }, + { + "__docId__": 66, + "kind": "typedef", + "name": "Payload", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~Payload", + "access": "public", + "description": "A single unit of data exchanged between the peers of a\n{@link ReactiveSocket}. A object of this type consists of two members:\n{@link Payload#data} and {@link Payload#metadata}.", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js" + ], + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "Serializer" + ], + "spread": false, + "optional": false, + "name": "data", + "description": "" + }, + { + "nullable": null, + "types": [ + "Serializer" + ], + "spread": false, + "optional": false, + "name": "metadata", + "description": "" + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "Payload" + } + }, + { + "__docId__": 67, + "kind": "typedef", + "name": "Flowable", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~Flowable", + "access": "public", + "description": "", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Flowable.js" + ], + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "just", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "error", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "never", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "subscribe", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "lift", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "map", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "take", + "description": "" + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "Flowable" + } + }, + { + "__docId__": 68, + "kind": "typedef", + "name": "Single", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~Single", + "access": "public", + "description": "", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Single.js" + ], + "lineNumber": 116, + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "of", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "error", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "subscribe", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "flatMap", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "map", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "then", + "description": "" + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "Single" + } + }, + { + "__docId__": 69, + "kind": "typedef", + "name": "Serializer", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~Serializer", + "access": "public", + "description": "A Serializer transforms data between the application encoding used in\nPayloads and the Encodable type accepted by the transport client.", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js" + ], + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "deserialize", + "description": "a function that takes an {@link Encodable} and returns the expected data or metadata object" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "serialize", + "description": "a funciton that takes a data or metadata object and returns a corresponding {@link Encodable}" + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "Serializer" + } + }, + { + "__docId__": 70, + "kind": "typedef", + "name": "PayloadSerializers", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~PayloadSerializers", + "access": "public", + "description": "", + "see": [ + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js" + ], + "lineNumber": 134, + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "Serializer" + ], + "spread": false, + "optional": false, + "name": "data", + "description": "" + }, + { + "nullable": null, + "types": [ + "Serializer" + ], + "spread": false, + "optional": false, + "name": "metadata", + "description": "" + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "PayloadSerializers" + } + }, + { + "__docId__": 71, + "kind": "typedef", + "name": "Setup", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~Setup", + "access": "public", + "description": "", + "properties": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "keepAlive", + "description": "The number of milliseconds between keepalive messages you will send to the service" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "lifetime", + "description": "The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out." + }, + { + "nullable": true, + "types": [ + "Encodable" + ], + "spread": false, + "optional": true, + "name": "metadata", + "description": "Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials)." + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "Setup" + } + }, + { + "__docId__": 72, + "kind": "typedef", + "name": "ClientConfig", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~ClientConfig", + "access": "public", + "description": "", + "properties": [ + { + "nullable": null, + "types": [ + "PayloadSerializers" + ], + "spread": false, + "optional": true, + "name": "serializers", + "description": "A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it." + }, + { + "nullable": null, + "types": [ + "Setup" + ], + "spread": false, + "optional": false, + "name": "setup", + "description": "Configure the keepalive process and any metadata you would like to accompany the connection." + }, + { + "nullable": null, + "types": [ + "DuplexConnection" + ], + "spread": false, + "optional": false, + "name": "transport", + "description": "Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component." + }, + { + "nullable": null, + "types": [ + "Responder" + ], + "spread": false, + "optional": true, + "name": "responder", + "description": "An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.)" + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "ClientConfig" + } + }, + { + "__docId__": 73, + "kind": "class", + "name": "RpcClient", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~RpcClient", + "access": "public", + "export": true, + "importPath": "./packages/core/src/RpcClient.js", + "importStyle": "RpcClient", + "description": "The primary class/entry point for the core package is the {@link RpcClient}.\nThe client encapsulates the RSocket methods of fireAndForget,\nrequestResponse, requestStream, and requestChannel and merges them with a\nbidirectional connection, allowing seamless use of RSocket for RPC.", + "lineNumber": 161, + "interface": false + }, + { + "__docId__": 74, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/core/src/RpcClient.js~RpcClient", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcClient#constructor", + "access": "public", + "description": "", + "lineNumber": 166, + "params": [ + { + "nullable": null, + "types": [ + "ClientConfig" + ], + "spread": false, + "optional": false, + "name": "config", + "description": "" + } + ] + }, + { + "__docId__": 75, + "kind": "member", + "name": "_config", + "memberof": "packages/core/src/RpcClient.js~RpcClient", + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcClient#_config", + "access": "private", + "description": null, + "lineNumber": 167, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 76, + "kind": "member", + "name": "_connection", + "memberof": "packages/core/src/RpcClient.js~RpcClient", + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcClient#_connection", + "access": "private", + "description": null, + "lineNumber": 168, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 77, + "kind": "method", + "name": "close", + "memberof": "packages/core/src/RpcClient.js~RpcClient", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcClient#close", + "access": "public", + "description": "Close the RPC Client connection.", + "lineNumber": 174, + "params": [], + "return": null + }, + { + "__docId__": 78, + "kind": "method", + "name": "connect", + "memberof": "packages/core/src/RpcClient.js~RpcClient", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcClient#connect", + "access": "public", + "description": "Returns a {@link Single}, which, when you subscribe to it, initiates the\nconnection and emits a {@link ReactiveSocket} object that defines the\nconnection.", + "examples": [ + "Here is an example instantiation of an RpcClient:\nconst local = 'ws://localhost:8088/';\nconst keepAlive = 60000; // 60s in ms \nconst lifetime = 360000; // 360s in ms\nconst transport = new RSocketWebsocketClient({url:local}, BufferEncoders);\nconst client = new RpcClient({setup:{keepAlive, lifetime}, transport});\nclient.connect().subscribe({\n onComplete: rsocket => {\n console.info(\"Success! We have a handle to an RSocket connection\");\n },\n onError: error => {\n console.error(\"Failed to connect to local RSocket server.\", error);\n }\n});" + ], + "lineNumber": 200, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Single>}" + } + ], + "return": { + "nullable": null, + "types": [ + "Single>" + ], + "spread": false, + "description": "" + }, + "throws": [ + { + "types": [ + "Error" + ], + "description": "if the RpcClient is already connected" + } + ], + "params": [] + }, + { + "__docId__": 80, + "kind": "class", + "name": "RpcSocket", + "memberof": "packages/core/src/RpcClient.js", + "static": true, + "longname": "packages/core/src/RpcClient.js~RpcSocket", + "access": "private", + "export": false, + "importPath": "./packages/core/src/RpcClient.js", + "importStyle": null, + "description": "", + "lineNumber": 233, + "interface": false, + "ignore": true + }, + { + "__docId__": 81, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#constructor", + "access": "public", + "description": null, + "lineNumber": 235, + "undocument": true + }, + { + "__docId__": 82, + "kind": "member", + "name": "_machine", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#_machine", + "access": "private", + "description": null, + "lineNumber": 236, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 83, + "kind": "method", + "name": "fireAndForget", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#fireAndForget", + "access": "public", + "description": null, + "lineNumber": 253, + "undocument": true, + "params": [ + { + "name": "payload", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 84, + "kind": "method", + "name": "requestResponse", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#requestResponse", + "access": "public", + "description": null, + "lineNumber": 257, + "undocument": true, + "params": [ + { + "name": "payload", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 85, + "kind": "method", + "name": "requestStream", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#requestStream", + "access": "public", + "description": null, + "lineNumber": 261, + "undocument": true, + "params": [ + { + "name": "payload", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 86, + "kind": "method", + "name": "requestChannel", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#requestChannel", + "access": "public", + "description": null, + "lineNumber": 265, + "undocument": true, + "params": [ + { + "name": "payloads", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 87, + "kind": "method", + "name": "metadataPush", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#metadataPush", + "access": "public", + "description": null, + "lineNumber": 269, + "undocument": true, + "params": [ + { + "name": "payload", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 88, + "kind": "method", + "name": "close", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#close", + "access": "public", + "description": null, + "lineNumber": 273, + "undocument": true, + "params": [], + "return": null + }, + { + "__docId__": 89, + "kind": "method", + "name": "connectionStatus", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#connectionStatus", + "access": "public", + "description": null, + "lineNumber": 277, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 90, + "kind": "method", + "name": "_buildSetupFrame", + "memberof": "packages/core/src/RpcClient.js~RpcSocket", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/RpcClient.js~RpcSocket#_buildSetupFrame", + "access": "private", + "description": null, + "lineNumber": 281, + "undocument": true, + "params": [ + { + "name": "config", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "{\"flags\": *, \"keepAlive\": *, \"lifetime\": *, \"majorVersion\": *, \"minorVersion\": *, \"metadataMimeType\": string, \"metadata\": *, \"dataMimeType\": string, \"data\": *, \"resumeToken\": *, \"streamId\": *, \"type\": *}" + ] + } + }, + { + "__docId__": 91, + "kind": "file", + "name": "packages/core/src/SwitchTransformOperator.js", + "content": "/**\n * @name SwitchTransformOperator.js\n * @fileoverview Defines the SwitchTransformOperator class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n */\n\nimport type {\n ISubscriber,\n ISubscription,\n IPartialSubscriber,\n IPublisher,\n} from 'rsocket-types';\nimport {Flowable} from 'rsocket-flowable';\n\n/**\n * MAX_REQUEST_N (from SwitchTransformOperator.js). The maximum number of items\n * that may be requested.\n *\n * @constant\n * @type {number}\n */\nconst MAX_REQUEST_N = 0x7fffffff; // uint31\n\n/**\n */\nexport default class SwitchTransformOperator\n implements ISubscription, ISubscriber, IPublisher {\n _done: boolean;\n _error: Error;\n _canceled: boolean;\n _first: T | any;\n _outer: ISubscriber;\n _inner: ISubscriber;\n _subscription: ISubscription;\n _transformer: (first: T, stream: Flowable) => IPublisher;\n\n /**\n * @param {ISubscriber} initial -\n * @param {function} transformer -\n */\n constructor(\n initial: ISubscriber,\n transformer: (first: T, stream: Flowable) => IPublisher,\n ) {\n this._transformer = transformer;\n this._outer = initial;\n }\n\n /**\n */\n cancel() {\n if (this._canceled) {\n return;\n }\n\n this._canceled = true;\n this._first = undefined;\n this._subscription.cancel();\n }\n\n /**\n * @param {?IPartialSubscriber} actual -\n */\n subscribe(actual?: IPartialSubscriber) {\n if (actual && !this._inner) {\n this._inner = ((actual: any): ISubscriber);\n this._inner.onSubscribe(this);\n } else if (actual) {\n const a = actual;\n if (a.onSubscribe) {\n a.onSubscribe({\n cancel: () => {},\n request: () => {\n if (a.onError) {\n a.onError(\n new Error('SwitchTransform allows only one Subscriber'),\n );\n }\n },\n });\n }\n }\n }\n\n /**\n * @param {ISubscription} subscription\n */\n onSubscribe(subscription: ISubscription) {\n if (this._subscription) {\n subscription.cancel();\n return;\n }\n\n this._subscription = subscription;\n this._subscription.request(1);\n }\n\n /**\n * @param {T} value\n */\n onNext(value: T) {\n if (this._canceled || this._done) {\n return;\n }\n\n if (!this._inner) {\n try {\n this._first = value;\n const result = this._transformer(\n value,\n new Flowable(s => this.subscribe(s)),\n );\n result.subscribe(this._outer);\n } catch (e) {\n this.onError(e);\n }\n return;\n }\n\n this._inner.onNext(value);\n }\n\n /**\n * @param {Error} error\n */\n onError(error: Error) {\n if (this._canceled || this._done) {\n return;\n }\n\n this._error = error;\n this._done = true;\n\n if (this._inner) {\n if (!this._first) {\n this._inner.onError(error);\n }\n } else {\n this._outer.onSubscribe({\n cancel: () => {},\n request: () => {\n this._outer.onError(error);\n },\n });\n }\n }\n\n /**\n */\n onComplete() {\n if (this._done || this._canceled) {\n return;\n }\n\n this._done = true;\n\n if (this._inner) {\n if (!this._first) {\n this._inner.onComplete();\n }\n } else {\n this._outer.onSubscribe({\n cancel: () => {},\n request: () => {\n this._outer.onComplete();\n },\n });\n }\n }\n\n /**\n * @param {number} n\n */\n request(n: number) {\n if (this._first) {\n const f = this._first;\n this._first = undefined;\n this._inner.onNext(f);\n\n if (this._done) {\n if (this._error) {\n this._inner.onError(this._error);\n } else {\n this._inner.onComplete();\n }\n }\n\n if (MAX_REQUEST_N <= n) {\n this._subscription.request(MAX_REQUEST_N);\n } else if (--n > 0) {\n this._subscription.request(n);\n }\n } else {\n this._subscription.request(n);\n }\n }\n\n /**\n * @param {function} fn\n * @returns {IPublisher}\n */\n map(fn: (data: T) => R): IPublisher {\n return new Flowable(subscriber => this.subscribe(subscriber)).map(fn);\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/core/src/SwitchTransformOperator.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 92, + "kind": "variable", + "name": "MAX_REQUEST_N", + "memberof": "packages/core/src/SwitchTransformOperator.js", + "static": true, + "longname": "packages/core/src/SwitchTransformOperator.js~MAX_REQUEST_N", + "access": "public", + "export": false, + "importPath": "./packages/core/src/SwitchTransformOperator.js", + "importStyle": null, + "description": "", + "lineNumber": 35, + "unknown": [ + { + "tagName": "@fileoverview", + "tagValue": "Defines the SwitchTransformOperator class." + }, + { + "tagName": "@copyright", + "tagValue": "Copyright (c) 2017-present, Netifi Inc." + }, + { + "tagName": "@license", + "tagValue": "Apache-2.0\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "tagName": "@requires", + "tagValue": "NPM:rsocket-types" + }, + { + "tagName": "@requires", + "tagValue": "NPM:rsocket-flowable" + } + ], + "type": { + "types": [ + "number" + ] + }, + "ignore": true + }, + { + "__docId__": 93, + "kind": "class", + "name": "SwitchTransformOperator", + "memberof": "packages/core/src/SwitchTransformOperator.js", + "static": true, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "access": "public", + "export": true, + "importPath": "./packages/core/src/SwitchTransformOperator.js", + "importStyle": "SwitchTransformOperator", + "description": "", + "lineNumber": 39, + "interface": false + }, + { + "__docId__": 94, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#constructor", + "access": "public", + "description": "", + "lineNumber": 45, + "params": [ + { + "nullable": null, + "types": [ + "ISubscriber" + ], + "spread": false, + "optional": false, + "name": "initial", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "transformer", + "description": "" + } + ] + }, + { + "__docId__": 95, + "kind": "member", + "name": "_transformer", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_transformer", + "access": "private", + "description": null, + "lineNumber": 46, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 96, + "kind": "member", + "name": "_outer", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_outer", + "access": "private", + "description": null, + "lineNumber": 47, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 97, + "kind": "method", + "name": "cancel", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#cancel", + "access": "public", + "description": "", + "lineNumber": 52, + "params": [], + "return": null + }, + { + "__docId__": 98, + "kind": "member", + "name": "_canceled", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_canceled", + "access": "private", + "description": null, + "lineNumber": 57, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 99, + "kind": "member", + "name": "_first", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_first", + "access": "private", + "description": null, + "lineNumber": 58, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 100, + "kind": "method", + "name": "subscribe", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#subscribe", + "access": "public", + "description": "", + "lineNumber": 65, + "params": [ + { + "nullable": true, + "types": [ + "IPartialSubscriber" + ], + "spread": false, + "optional": false, + "name": "actual", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 101, + "kind": "member", + "name": "_inner", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_inner", + "access": "private", + "description": null, + "lineNumber": 67, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 102, + "kind": "method", + "name": "onSubscribe", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#onSubscribe", + "access": "public", + "description": "", + "lineNumber": 87, + "params": [ + { + "nullable": null, + "types": [ + "ISubscription" + ], + "spread": false, + "optional": false, + "name": "subscription", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 103, + "kind": "member", + "name": "_subscription", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_subscription", + "access": "private", + "description": null, + "lineNumber": 93, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 104, + "kind": "method", + "name": "onNext", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#onNext", + "access": "public", + "description": "", + "lineNumber": 100, + "params": [ + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 106, + "kind": "method", + "name": "onError", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#onError", + "access": "public", + "description": "", + "lineNumber": 122, + "params": [ + { + "nullable": null, + "types": [ + "Error" + ], + "spread": false, + "optional": false, + "name": "error", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 107, + "kind": "member", + "name": "_error", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_error", + "access": "private", + "description": null, + "lineNumber": 127, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 108, + "kind": "member", + "name": "_done", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_done", + "access": "private", + "description": null, + "lineNumber": 128, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 109, + "kind": "method", + "name": "onComplete", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#onComplete", + "access": "public", + "description": "", + "lineNumber": 146, + "params": [], + "return": null + }, + { + "__docId__": 111, + "kind": "method", + "name": "request", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#request", + "access": "public", + "description": "", + "lineNumber": 170, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 113, + "kind": "method", + "name": "map", + "memberof": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator", + "generator": false, + "async": false, + "static": false, + "longname": "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#map", + "access": "public", + "description": "", + "lineNumber": 198, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{IPublisher}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "fn", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "IPublisher" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 114, + "kind": "file", + "name": "packages/core/src/index.js", + "content": "/**\n * @name rsocket-rpc-js/packages/core\n * @fileoverview The public API of the `core` package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires RequestHandlingRSocket\n * @requires RpcClient\n * @requires QueuingFlowableProcessor\n * @requires SwitchTransformOperator\n * @exports ClientConfig\n * @exports RequestHandlingRSocket\n * @exports RpcClient\n * @exports QueuingFlowableProcessor\n * @exports SwitchTransformOperator\n */\n\n'use strict';\n\nimport RequestHandlingRSocket from './RequestHandlingRSocket';\nimport RpcClient from './RpcClient';\nimport QueuingFlowableProcessor from './QueuingFlowableProcessor';\nimport SwitchTransformOperator from './SwitchTransformOperator';\n\nexport type {ClientConfig} from './RpcClient';\n\nexport {\n RequestHandlingRSocket,\n RpcClient,\n QueuingFlowableProcessor,\n SwitchTransformOperator,\n};\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/core/src/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 115, + "kind": "file", + "name": "packages/frames/src/Metadata.js", + "content": "/**\n * @name Metadata.js\n * @fileoverview Provides methods for encoding and reading payload metadata.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-core\n */\n\n'use strict';\n\n/* eslint-disable consistent-return, no-bitwise */\n\nimport type {Encodable} from 'rsocket-types';\n\n/**\n * @external\n * @typedef {Object} Encoder\n * @property {function} byteLength given an {@link Encodable} returns its length in bytes as a number\n * @property {function} encode\n * @property {function} decode\n */\n/**\n * @external\n * @typedef {Encoder} UTF8Encoder\n */\n/**\n * @external\n * @typedef {Encoder} BufferEncoder\n */\nimport {UTF8Encoder, BufferEncoder, createBuffer} from 'rsocket-core';\n\nexport const VERSION = 1;\n\nexport const VERSION_SIZE = 2;\nexport const SERVICE_LENGTH_SIZE = 2;\nexport const METHOD_LENGTH_SIZE = 2;\nexport const TRACING_LENGTH_SIZE = 2;\n\n/**\n * @external\n * @typedef {Object} Buffer\n * @see https://nodejs.org/api/buffer.html\n */\n/**\n * Use this method to send well-formed call routing metadata with your payloads.\n *\n * @param {string} service - the service name\n * @param {string} method - the method name\n * @param {Encodable} tracing - tracing information\n * @param {Encodable} metadata - arbitrary metadata\n * @return {Buffer} the above fields encoded in a proper fashion\n */\nexport function encodeMetadata(\n service: string,\n method: string,\n tracing: Encodable,\n metadata: Encodable,\n): Buffer {\n const serviceLength = UTF8Encoder.byteLength(service);\n const methodLength = UTF8Encoder.byteLength(method);\n const metadataLength = BufferEncoder.byteLength(metadata);\n // We can't overload the method call directly and the code generator currently only populates\n // the first 3 parameters\n if (undefined === tracing) {\n tracing = createBuffer(0);\n }\n const tracingLength = BufferEncoder.byteLength(tracing);\n\n const buffer = createBuffer(\n VERSION_SIZE +\n SERVICE_LENGTH_SIZE +\n serviceLength +\n METHOD_LENGTH_SIZE +\n methodLength +\n TRACING_LENGTH_SIZE +\n tracingLength +\n metadataLength,\n );\n\n let offset = buffer.writeUInt16BE(VERSION, 0);\n\n offset = buffer.writeUInt16BE(serviceLength, offset);\n offset = UTF8Encoder.encode(service, buffer, offset, offset + serviceLength);\n\n offset = buffer.writeUInt16BE(methodLength, offset);\n offset = UTF8Encoder.encode(method, buffer, offset, offset + methodLength);\n\n offset = buffer.writeUInt16BE(tracingLength, offset);\n offset = BufferEncoder.encode(\n tracing,\n buffer,\n offset,\n offset + tracingLength,\n );\n\n BufferEncoder.encode(metadata, buffer, offset, offset + metadataLength);\n\n return buffer;\n}\n\n/**\n * Get the version number from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the version number\n * @return {number} the version number\n */\nexport function getVersion(buffer: Buffer): number {\n return buffer.readUInt16BE(0);\n}\n\n/**\n * Get the service name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the service name\n * @return {string} the service name\n */\nexport function getService(buffer: Buffer): string {\n let offset = VERSION_SIZE;\n\n const serviceLength = buffer.readUInt16BE(offset);\n offset += SERVICE_LENGTH_SIZE;\n\n return UTF8Encoder.decode(buffer, offset, offset + serviceLength);\n}\n\n/**\n * Get the method name from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains the method name\n * @return {string} the method name\n */\nexport function getMethod(buffer: Buffer): string {\n let offset = VERSION_SIZE;\n\n const serviceLength = buffer.readUInt16BE(offset);\n offset += SERVICE_LENGTH_SIZE + serviceLength;\n\n const methodLength = buffer.readUInt16BE(offset);\n offset += METHOD_LENGTH_SIZE;\n\n return UTF8Encoder.decode(buffer, offset, offset + methodLength);\n}\n\n/**\n * Get the tracing information from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer that contains tracing information\n * @return {Buffer} the tracing information\n */\nexport function getTracing(buffer: Buffer): Buffer {\n let offset = VERSION_SIZE;\n\n const serviceLength = buffer.readUInt16BE(offset);\n offset += SERVICE_LENGTH_SIZE + serviceLength;\n\n const methodLength = buffer.readUInt16BE(offset);\n offset += METHOD_LENGTH_SIZE + methodLength;\n\n const tracingLength = buffer.readUInt16BE(offset);\n offset += TRACING_LENGTH_SIZE;\n\n return BufferEncoder.decode(buffer, offset, offset + tracingLength);\n}\n\n/**\n * Get the metadata field from the metadata.\n *\n * @param {Buffer} buffer the metadata buffer\n * @return {Buffer} the metadata field\n */\nexport function getMetadata(buffer: Buffer): Buffer {\n let offset = VERSION_SIZE;\n\n const serviceLength = buffer.readUInt16BE(offset);\n offset += SERVICE_LENGTH_SIZE + serviceLength;\n\n const methodLength = buffer.readUInt16BE(offset);\n offset += METHOD_LENGTH_SIZE + methodLength;\n\n const tracingLength = buffer.readUInt16BE(offset);\n offset += TRACING_LENGTH_SIZE + tracingLength;\n\n return BufferEncoder.decode(buffer, offset, buffer.length);\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/frames/src/Metadata.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 116, + "kind": "typedef", + "name": "Encoder", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~Encoder", + "access": "public", + "description": "", + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "byteLength", + "description": "given an {@link Encodable} returns its length in bytes as a number" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "encode", + "description": "" + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "decode", + "description": "" + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "Encoder" + } + }, + { + "__docId__": 117, + "kind": "typedef", + "name": "UTF8Encoder", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~UTF8Encoder", + "access": "public", + "description": "", + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "type": { + "types": [ + "Encoder" + ], + "optional": false, + "name": "UTF8Encoder" + } + }, + { + "__docId__": 118, + "kind": "typedef", + "name": "BufferEncoder", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~BufferEncoder", + "access": "public", + "description": "", + "lineNumber": 44, + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "type": { + "types": [ + "Encoder" + ], + "optional": false, + "name": "BufferEncoder" + } + }, + { + "__docId__": 119, + "kind": "variable", + "name": "VERSION", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~VERSION", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{VERSION}", + "description": null, + "lineNumber": 46, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 120, + "kind": "variable", + "name": "VERSION_SIZE", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~VERSION_SIZE", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{VERSION_SIZE}", + "description": null, + "lineNumber": 48, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 121, + "kind": "variable", + "name": "SERVICE_LENGTH_SIZE", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~SERVICE_LENGTH_SIZE", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{SERVICE_LENGTH_SIZE}", + "description": null, + "lineNumber": 49, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 122, + "kind": "variable", + "name": "METHOD_LENGTH_SIZE", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~METHOD_LENGTH_SIZE", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{METHOD_LENGTH_SIZE}", + "description": null, + "lineNumber": 50, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 123, + "kind": "variable", + "name": "TRACING_LENGTH_SIZE", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~TRACING_LENGTH_SIZE", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{TRACING_LENGTH_SIZE}", + "description": null, + "lineNumber": 51, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 124, + "kind": "typedef", + "name": "Buffer", + "memberof": "packages/frames/src/Metadata.js", + "static": true, + "longname": "packages/frames/src/Metadata.js~Buffer", + "access": "public", + "description": "", + "see": [ + "https://nodejs.org/api/buffer.html" + ], + "unknown": [ + { + "tagName": "@external", + "tagValue": "" + } + ], + "type": { + "types": [ + "Object" + ], + "optional": false, + "name": "Buffer" + } + }, + { + "__docId__": 125, + "kind": "function", + "name": "encodeMetadata", + "memberof": "packages/frames/src/Metadata.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/frames/src/Metadata.js~encodeMetadata", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{encodeMetadata}", + "description": "Use this method to send well-formed call routing metadata with your payloads.", + "lineNumber": 67, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "service", + "description": "the service name" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "method", + "description": "the method name" + }, + { + "nullable": null, + "types": [ + "Encodable" + ], + "spread": false, + "optional": false, + "name": "tracing", + "description": "tracing information" + }, + { + "nullable": null, + "types": [ + "Encodable" + ], + "spread": false, + "optional": false, + "name": "metadata", + "description": "arbitrary metadata" + } + ], + "return": { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "description": "the above fields encoded in a proper fashion" + } + }, + { + "__docId__": 126, + "kind": "function", + "name": "getVersion", + "memberof": "packages/frames/src/Metadata.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/frames/src/Metadata.js~getVersion", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{getVersion}", + "description": "Get the version number from the metadata.", + "lineNumber": 102, + "params": [ + { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "optional": false, + "name": "buffer", + "description": "the metadata buffer that contains the version number" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "the version number" + } + }, + { + "__docId__": 127, + "kind": "function", + "name": "getService", + "memberof": "packages/frames/src/Metadata.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/frames/src/Metadata.js~getService", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{getService}", + "description": "Get the service name from the metadata.", + "lineNumber": 112, + "params": [ + { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "optional": false, + "name": "buffer", + "description": "the metadata buffer that contains the service name" + } + ], + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "the service name" + } + }, + { + "__docId__": 128, + "kind": "function", + "name": "getMethod", + "memberof": "packages/frames/src/Metadata.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/frames/src/Metadata.js~getMethod", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{getMethod}", + "description": "Get the method name from the metadata.", + "lineNumber": 127, + "params": [ + { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "optional": false, + "name": "buffer", + "description": "the metadata buffer that contains the method name" + } + ], + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "the method name" + } + }, + { + "__docId__": 129, + "kind": "function", + "name": "getTracing", + "memberof": "packages/frames/src/Metadata.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/frames/src/Metadata.js~getTracing", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{getTracing}", + "description": "Get the tracing information from the metadata.", + "lineNumber": 145, + "params": [ + { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "optional": false, + "name": "buffer", + "description": "the metadata buffer that contains tracing information" + } + ], + "return": { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "description": "the tracing information" + } + }, + { + "__docId__": 130, + "kind": "function", + "name": "getMetadata", + "memberof": "packages/frames/src/Metadata.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/frames/src/Metadata.js~getMetadata", + "access": "public", + "export": true, + "importPath": "./packages/frames/src/Metadata.js", + "importStyle": "{getMetadata}", + "description": "Get the metadata field from the metadata.", + "lineNumber": 166, + "params": [ + { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "optional": false, + "name": "buffer", + "description": "the metadata buffer" + } + ], + "return": { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "description": "the metadata field" + } + }, + { + "__docId__": 131, + "kind": "file", + "name": "packages/frames/src/__tests__/Metadata-test.js", + "content": "/**\n * @name Metadata-test.js\n */\nimport {expect} from 'chai';\nimport {describe, it} from 'mocha';\n\nimport {\n encodeMetadata,\n getService,\n getMethod,\n getTracing,\n getMetadata,\n} from '../Metadata';\n\n/**\n * @param {number} min - the fewest number of bytes in the array\n * @param {number} max - the array must be smaller than this number in size\n * @return {number[]} an array of between {@link min} and {@link max}−1\n * numbers, each of which is in the range [0,256)\n */\nfunction randomBytes(min, max) {\n let size = Math.floor(Math.random() * (max - min)) + min;\n return new Array(size).map(() => {\n return randomByte();\n });\n}\n\n/**\n * @return {number} a pseudo-random number between [0,256)\n */\nfunction randomByte() {\n return Math.floor(Math.random() * 256);\n}\n\n/**\n * @test\n */\ndescribe('METADATA', () => {\n it('serializes/deserializes metadata NO TRACING', () => {\n const service = 'service';\n const method = 'foo';\n const metadata = Buffer.from(randomBytes(5, 20));\n\n const encoded = encodeMetadata(service, method, undefined, metadata);\n\n expect(service).to.equal(getService(encoded));\n expect(method).to.equal(getMethod(encoded));\n expect(getTracing(encoded)).to.deep.equal(Buffer.from([]));\n expect(metadata).to.deep.equal(getMetadata(encoded));\n });\n\n it('serializes/deserializes metadata WITH TRACING', () => {\n const service = 'service';\n const method = 'foo';\n const tracing = Buffer.from(randomBytes(5, 20));\n const metadata = Buffer.from(randomBytes(5, 20));\n\n const encoded = encodeMetadata(service, method, tracing, metadata);\n\n expect(service).to.equal(getService(encoded));\n expect(method).to.equal(getMethod(encoded));\n expect(tracing).to.deep.equal(getTracing(encoded));\n expect(metadata).to.deep.equal(getMetadata(encoded));\n });\n});\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/frames/src/__tests__/Metadata-test.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 132, + "kind": "function", + "name": "randomBytes", + "memberof": "packages/frames/src/__tests__/Metadata-test.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/frames/src/__tests__/Metadata-test.js~randomBytes", + "access": "public", + "export": false, + "importPath": "./packages/frames/src/__tests__/Metadata-test.js", + "importStyle": null, + "description": "", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "min", + "description": "the fewest number of bytes in the array" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "max", + "description": "the array must be smaller than this number in size" + } + ], + "return": { + "nullable": null, + "types": [ + "number[]" + ], + "spread": false, + "description": "an array of between {@link min} and {@link max}−1\nnumbers, each of which is in the range [0,256)" + }, + "ignore": true + }, + { + "__docId__": 133, + "kind": "function", + "name": "randomByte", + "memberof": "packages/frames/src/__tests__/Metadata-test.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/frames/src/__tests__/Metadata-test.js~randomByte", + "access": "public", + "export": false, + "importPath": "./packages/frames/src/__tests__/Metadata-test.js", + "importStyle": null, + "description": "", + "lineNumber": 25, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "a pseudo-random number between [0,256)" + }, + "params": [], + "ignore": true + }, + { + "__docId__": 134, + "kind": "file", + "name": "packages/frames/src/index.js", + "content": "/**\n * @name rsocket-rpc-js/packages/frames\n * @fileoverview The public API for the \"frames\" package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires Metadata\n * @exports encodeMetadata\n * @exports getVersion\n * @exports getService\n * @exports getMethod\n * @exports getMetadata\n * @exports getTracing\n */\n\nexport {\n encodeMetadata,\n getVersion,\n getService,\n getMethod,\n getMetadata,\n getTracing,\n} from './Metadata';\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/frames/src/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 135, + "kind": "file", + "name": "packages/metrics/src/BaseMeter.js", + "content": "/**\n * @name BaseMeter.js\n * @fileoverview Defines the \"BaseMeter\" class.\n *\n * @flow\n *\n * @requires IMeter\n * @requires metrics_pb\n * @requires RawMeterTag\n * @requires stats\n * @exports BaseMeter\n */\n\n'use strict';\n\nimport type {IMeter} from './IMeter';\nimport {Meter} from './proto/metrics_pb';\nimport RawMeterTag from './RawMeterTag';\nimport {EWMA} from './stats';\n\n/**\n * @name MAX_COUNTER_VALUE\n * @summary 4294967296\n *\n * @desc JavaScript uses double-precision FP for all numeric types.\n * Perhaps someday we'll have native 64-bit integers that can safely be\n * transported via JSON without additional code, but not today.\n *\n * @constant\n */\nconst MAX_COUNTER_VALUE = Math.pow(2, 32); // 4294967296\n\n/**\n */\nexport default class BaseMeter implements IMeter {\n m1Rate: EWMA;\n m5Rate: EWMA;\n m15Rate: EWMA;\n count: number;\n tags: RawMeterTag[];\n startTime: number;\n type: string;\n name: string;\n description: ?string;\n statistic: string;\n units: string;\n\n /**\n * @param {string} name -\n * @param {?string} description - \n * @param {?RawMeterTag[]} tags -\n */\n constructor(name: string, description?: string, tags?: RawMeterTag[]) {\n /** @type {EWMA} */\n this.m1Rate = EWMA.createM1EWMA();\n /** @type {EWMA} */\n this.m5Rate = EWMA.createM5EWMA();\n /** @type {EWMA} */\n this.m15Rate = EWMA.createM15EWMA();\n /** @type {number} */\n this.count = 0;\n /** @type {?RawMeterTag[]} */\n this.tags = tags || [];\n /** @type {number} */\n this.startTime = new Date().getTime();\n /** @type {string} */\n this.type = 'meter';\n /** @type {string} */\n this.name = name;\n /** @type {?string} */\n this.description = description;\n /** @type {string} */\n this.statistic = 'unknown';\n }\n\n /**\n * @param {function} converter -\n * @return {Meter[]}\n */\n convert(converter: IMeter => Meter[]): Meter[] {\n return converter(this);\n }\n\n /**\n * Mark the occurence of n events\n *\n * @param {?number} [n=1] - the number of events to mark the occurence of\n * @return {number} the number of events marked\n */\n mark(n: ?number): number {\n if (!n) {\n n = 1;\n }\n this.count += n;\n\n // Check for wrap around\n if (this.count > MAX_COUNTER_VALUE) {\n this.count -= MAX_COUNTER_VALUE + 1;\n }\n\n // Check for negative count (e.g. from a decrement)\n if (this.count < 0) {\n this.count = 0;\n }\n\n this.m1Rate.update(n);\n this.m5Rate.update(n);\n this.m15Rate.update(n);\n\n return n;\n }\n\n /**\n * Return an object containing the rate values.\n *\n * @return {Object}\n * @property {number} '1' the one-minute rate\n * @property {number} '5' the five-minute rate\n * @property {number} '15' the fifteen-minute rate\n * @property {number} mean the over-all mean per-second rate\n */\n rates() {\n return {\n '1': this.oneMinuteRate(),\n '5': this.fiveMinuteRate(),\n '15': this.fifteenMinuteRate(),\n mean: this.meanRate(),\n };\n }\n\n /**\n * Return the fifteen-minute per-second rate.\n * @return {number} the rate\n */\n fifteenMinuteRate() {\n return this.m15Rate.rate();\n }\n\n /**\n * Return the five-minute per-second rate.\n * @return {number} the rate\n */\n fiveMinuteRate() {\n return this.m5Rate.rate();\n }\n\n /**\n * Return the one-minute per-second rate.\n * @return {number} the rate\n */\n oneMinuteRate() {\n return this.m1Rate.rate();\n }\n\n /**\n * Return the per-second rate over the complete lifetime of the meter.\n * @return {number} the rate\n */\n meanRate() {\n return (this.count / (new Date().getTime() - this.startTime)) * 1000;\n }\n\n /**\n * Tick the one-, five-, and fifteen-minute rates.\n */\n tick() {\n this.m1Rate.tick();\n this.m5Rate.tick();\n this.m15Rate.tick();\n }\n\n /** @return {Object}\n * @property {string} type \n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name */\n toObject() {\n return {\n type: this.type,\n count: this.count,\n tags: this.tags,\n name: this.name,\n };\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/BaseMeter.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 136, + "kind": "variable", + "name": "MAX_COUNTER_VALUE", + "memberof": "packages/metrics/src/BaseMeter.js", + "static": true, + "longname": "packages/metrics/src/BaseMeter.js~MAX_COUNTER_VALUE", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/BaseMeter.js", + "importStyle": null, + "description": "JavaScript uses double-precision FP for all numeric types.\nPerhaps someday we'll have native 64-bit integers that can safely be\ntransported via JSON without additional code, but not today.", + "lineNumber": 30, + "unknown": [ + { + "tagName": "@summary", + "tagValue": "4294967296" + }, + { + "tagName": "@constant", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 137, + "kind": "class", + "name": "BaseMeter", + "memberof": "packages/metrics/src/BaseMeter.js", + "static": true, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/BaseMeter.js", + "importStyle": "BaseMeter", + "description": "", + "lineNumber": 34, + "interface": false + }, + { + "__docId__": 138, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#constructor", + "access": "public", + "description": "", + "lineNumber": 41, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": true, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "description", + "description": "" + }, + { + "nullable": true, + "types": [ + "RawMeterTag[]" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "" + } + ] + }, + { + "__docId__": 139, + "kind": "member", + "name": "m1Rate", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#m1Rate", + "access": "public", + "description": null, + "lineNumber": 43, + "type": { + "nullable": null, + "types": [ + "EWMA" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 140, + "kind": "member", + "name": "m5Rate", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#m5Rate", + "access": "public", + "description": null, + "lineNumber": 45, + "type": { + "nullable": null, + "types": [ + "EWMA" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 141, + "kind": "member", + "name": "m15Rate", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#m15Rate", + "access": "public", + "description": null, + "lineNumber": 47, + "type": { + "nullable": null, + "types": [ + "EWMA" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 142, + "kind": "member", + "name": "count", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#count", + "access": "public", + "description": null, + "lineNumber": 49, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 143, + "kind": "member", + "name": "tags", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#tags", + "access": "public", + "description": null, + "lineNumber": 51, + "type": { + "nullable": true, + "types": [ + "RawMeterTag[]" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 144, + "kind": "member", + "name": "startTime", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#startTime", + "access": "public", + "description": null, + "lineNumber": 53, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 145, + "kind": "member", + "name": "type", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#type", + "access": "public", + "description": null, + "lineNumber": 55, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 146, + "kind": "member", + "name": "name", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#name", + "access": "public", + "description": null, + "lineNumber": 57, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 147, + "kind": "member", + "name": "description", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#description", + "access": "public", + "description": null, + "lineNumber": 59, + "type": { + "nullable": true, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 148, + "kind": "member", + "name": "statistic", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#statistic", + "access": "public", + "description": null, + "lineNumber": 61, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 149, + "kind": "method", + "name": "convert", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#convert", + "access": "public", + "description": "", + "lineNumber": 68, + "params": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "converter", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Meter[]" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 150, + "kind": "method", + "name": "mark", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#mark", + "access": "public", + "description": "Mark the occurence of n events", + "lineNumber": 78, + "params": [ + { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "defaultValue": "1", + "defaultRaw": 1, + "name": "n", + "description": "the number of events to mark the occurence of" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "the number of events marked" + } + }, + { + "__docId__": 154, + "kind": "method", + "name": "rates", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#rates", + "access": "public", + "description": "Return an object containing the rate values.", + "lineNumber": 110, + "properties": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "'1'", + "description": "the one-minute rate" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "'5'", + "description": "the five-minute rate" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "'15'", + "description": "the fifteen-minute rate" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "mean", + "description": "the over-all mean per-second rate" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 155, + "kind": "method", + "name": "fifteenMinuteRate", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#fifteenMinuteRate", + "access": "public", + "description": "Return the fifteen-minute per-second rate.", + "lineNumber": 123, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "the rate" + }, + "params": [] + }, + { + "__docId__": 156, + "kind": "method", + "name": "fiveMinuteRate", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#fiveMinuteRate", + "access": "public", + "description": "Return the five-minute per-second rate.", + "lineNumber": 131, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "the rate" + }, + "params": [] + }, + { + "__docId__": 157, + "kind": "method", + "name": "oneMinuteRate", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#oneMinuteRate", + "access": "public", + "description": "Return the one-minute per-second rate.", + "lineNumber": 139, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "the rate" + }, + "params": [] + }, + { + "__docId__": 158, + "kind": "method", + "name": "meanRate", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#meanRate", + "access": "public", + "description": "Return the per-second rate over the complete lifetime of the meter.", + "lineNumber": 147, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "the rate" + }, + "params": [] + }, + { + "__docId__": 159, + "kind": "method", + "name": "tick", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#tick", + "access": "public", + "description": "Tick the one-, five-, and fifteen-minute rates.", + "lineNumber": 154, + "params": [], + "return": null + }, + { + "__docId__": 160, + "kind": "method", + "name": "toObject", + "memberof": "packages/metrics/src/BaseMeter.js~BaseMeter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/BaseMeter.js~BaseMeter#toObject", + "access": "public", + "description": null, + "lineNumber": 165, + "properties": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "type", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "count", + "description": "" + }, + { + "nullable": null, + "types": [ + "RawMeterTag[]" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 161, + "kind": "file", + "name": "packages/metrics/src/Counter.js", + "content": "/**\n * @name Counter.js\n * @fileoverview A simple counter object.\n *\n * @flow\n *\n * @requires BaseMeter\n * @requires RawMeterTag\n * @exports Counter\n */\n\n'use strict';\n\nimport BaseMeter from './BaseMeter';\nimport RawMeterTag from './RawMeterTag';\n\n/**\n * @extends {BaseMeter}\n */\nexport default class Counter extends BaseMeter {\n /**\n * @param {string} name\n * @param {?string} [description]\n * @param {string} units\n * @param {?RawMeterTag[]} [tags] -\n */\n constructor(\n name: string,\n description?: string,\n units: string,\n tags?: RawMeterTag[],\n ) {\n super(name, description, tags);\n this.type = 'counter';\n this.statistic = 'count';\n /** @type {string} **/\n this.units = units;\n }\n\n /**\n * Increment the count by a certain number of items.\n *\n * @param {?number} [val] the number of items to increment\n */\n inc(val: ?number): void {\n this.mark(val);\n }\n\n /**\n * Decrement the count by a certain number of items.\n *\n * @param {?number} [val=1] the number of items to decrement\n */\n dec(val: ?number): void {\n if (!val) {\n val = 1;\n }\n this.mark(-1 * val);\n }\n\n /**\n * Reset the number of items in the count to zero.\n */\n clear(): void {\n this.count = 0;\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/Counter.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 162, + "kind": "class", + "name": "Counter", + "memberof": "packages/metrics/src/Counter.js", + "static": true, + "longname": "packages/metrics/src/Counter.js~Counter", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/Counter.js", + "importStyle": "Counter", + "description": "", + "lineNumber": 20, + "interface": false, + "extends": [ + "BaseMeter" + ] + }, + { + "__docId__": 163, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/Counter.js~Counter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Counter.js~Counter#constructor", + "access": "public", + "description": "", + "lineNumber": 27, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": true, + "types": [ + "string" + ], + "spread": false, + "optional": true, + "name": "description", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "units", + "description": "" + }, + { + "nullable": true, + "types": [ + "RawMeterTag[]" + ], + "spread": false, + "optional": true, + "name": "tags", + "description": "" + } + ] + }, + { + "__docId__": 164, + "kind": "member", + "name": "type", + "memberof": "packages/metrics/src/Counter.js~Counter", + "static": false, + "longname": "packages/metrics/src/Counter.js~Counter#type", + "access": "public", + "description": null, + "lineNumber": 29, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 165, + "kind": "member", + "name": "statistic", + "memberof": "packages/metrics/src/Counter.js~Counter", + "static": false, + "longname": "packages/metrics/src/Counter.js~Counter#statistic", + "access": "public", + "description": null, + "lineNumber": 30, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 166, + "kind": "member", + "name": "units", + "memberof": "packages/metrics/src/Counter.js~Counter", + "static": false, + "longname": "packages/metrics/src/Counter.js~Counter#units", + "access": "public", + "description": null, + "lineNumber": 32, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 167, + "kind": "method", + "name": "inc", + "memberof": "packages/metrics/src/Counter.js~Counter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Counter.js~Counter#inc", + "access": "public", + "description": "Increment the count by a certain number of items.", + "lineNumber": 40, + "params": [ + { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "val", + "description": "the number of items to increment" + } + ], + "return": null + }, + { + "__docId__": 168, + "kind": "method", + "name": "dec", + "memberof": "packages/metrics/src/Counter.js~Counter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Counter.js~Counter#dec", + "access": "public", + "description": "Decrement the count by a certain number of items.", + "lineNumber": 49, + "params": [ + { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "defaultValue": "1", + "defaultRaw": 1, + "name": "val", + "description": "the number of items to decrement" + } + ], + "return": null + }, + { + "__docId__": 169, + "kind": "method", + "name": "clear", + "memberof": "packages/metrics/src/Counter.js~Counter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Counter.js~Counter#clear", + "access": "public", + "description": "Reset the number of items in the count to zero.", + "lineNumber": 59, + "params": [], + "return": null + }, + { + "__docId__": 170, + "kind": "member", + "name": "count", + "memberof": "packages/metrics/src/Counter.js~Counter", + "static": false, + "longname": "packages/metrics/src/Counter.js~Counter#count", + "access": "public", + "description": null, + "lineNumber": 60, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 171, + "kind": "file", + "name": "packages/metrics/src/Histogram.js", + "content": "/**\n * @name Histogram.js\n * @fileoverview Defines the Histogram class.\n *\n * @flow\n *\n * @requires stats\n */\n\n'use strict';\n\nimport {\n ExponentiallyDecayingSample,\n UniformSample,\n ISample,\n Sample,\n} from './stats';\n\n/**\n * The default set of percentiles to use in the Histogram.\n */\nexport const DEFAULT_PERCENTILES = [\n 0.001,\n 0.01,\n 0.05,\n 0.1,\n 0.25,\n 0.5,\n 0.75,\n 0.9,\n 0.95,\n 0.98,\n 0.99,\n 0.999,\n];\n\n/**\n * A histogram tracks the distribution of items, given a sample type.\n */\nexport class Histogram {\n sample: ISample;\n min: ?number;\n max: ?number;\n sum: ?number;\n varianceM: ?number;\n varianceS: ?number;\n count: ?number;\n type: string;\n\n /**\n * @param {ISample} sample -\n */\n constructor(sample: ISample) {\n /** @type {ISample} */\n this.sample = sample || new ExponentiallyDecayingSample(1028, 0.015);\n /** @type {?number} */\n this.min = null;\n /** @type {?number} */\n this.max = null;\n /** @type {?number} */\n this.sum = null;\n // These are for the Welford algorithm for calculating running variance\n // without floating-point doom.\n /** @type {?number} */\n this.varianceM = null;\n /** @type {?number} */\n this.varianceS = null;\n /** @type {?number} */\n this.count = 0;\n /** @type {string} */\n this.type = 'histogram';\n }\n\n /**\n * Create an exponentially decaying histogram.\n *\n * @param {number} [size=1028]\n * @param {number} [alpha=0.015]\n * @return {Histogram}\n */\n static createExponentialDecayHistogram(\n size: number,\n alpha: number,\n ): Histogram {\n return new Histogram(\n new ExponentiallyDecayingSample(size || 1028, alpha || 0.015),\n );\n }\n\n /**\n * Create a uniformly-sampled histogram.\n *\n * @param {number} [size=1028]\n * @return {Histogram}\n */\n static createUniformHistogram(size: number): Histogram {\n return new Histogram(new UniformSample(size || 1028));\n }\n\n /**\n * Return the histogram to its default values.\n */\n clear/* = function*/(): void {\n this.sample.clear();\n this.min = null;\n this.max = null;\n this.sum = null;\n this.varianceM = null;\n this.varianceS = null;\n this.count = 0;\n };\n\n /**\n * timestamp param primarily used for testing\n *\n * @function\n * @param {number} val\n * @param {?number} [timestamp]\n */\n update/* = function*/(val: number, timestamp?: number): void {\n this.count++;\n this.sample.update(val, timestamp);\n if (this.max === null) {\n this.max = val;\n } else {\n this.max = val > this.max ? val : this.max;\n }\n if (this.min === null) {\n this.min = val;\n } else {\n this.min = val < this.min ? val : this.min;\n }\n this.sum = this.sum === null ? val : this.sum + val;\n this.updateVariance(val);\n };\n\n /**\n * Set the value of the Welford algorithm variance.\n *\n * @function\n * @param {number} val\n */\n updateVariance/* = function*/(val: number): void {\n var oldVM = this.varianceM,\n oldVS = this.varianceS;\n if (this.count == 1) {\n this.varianceM = val;\n } else {\n this.varianceM = oldVM + (val - oldVM) / this.count;\n this.varianceS = oldVS + (val - oldVM) * (val - this.varianceM);\n }\n };\n\n /**\n * Get the values for a set of percentiles.\n *\n * @function\n * @param {?number[]} [percentiles] An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is {@link DEFAULT_PERCENTILES}.\n * @return {number[]} the values for each percentile level\n */\n percentiles/* = function*/(percentiles?: number[]): Object {\n if (!percentiles) {\n percentiles = DEFAULT_PERCENTILES;\n }\n var values = this.sample\n .getValues()\n .map(function(v) {\n return parseFloat(v);\n })\n .sort(function(a, b) {\n return a - b;\n }),\n scores = {},\n percentile,\n pos,\n lower,\n upper;\n for (var i = 0; i < percentiles.length; i++) {\n pos = percentiles[i] * (values.length + 1);\n percentile = percentiles[i];\n if (pos < 1) {\n scores[percentile] = values[0];\n } else if (pos >= values.length) {\n scores[percentile] = values[values.length - 1];\n } else {\n lower = values[Math.floor(pos) - 1];\n upper = values[Math.ceil(pos) - 1];\n scores[percentile] = lower + (pos - Math.floor(pos)) * (upper - lower);\n }\n }\n return scores;\n };\n\n /**\n * Return the average variance using the Welford algorithm.\n *\n * @function\n * @return {?number} the average variance, or null if this is undefined because the count is zero.\n * @throws {Error} a divide by zero error if this.count==1\n */\n variance/* = function*/(): ?number {\n return this.count < 1 ? null : this.varianceS / (this.count - 1);\n };\n\n /**\n * Return the sum of squares of differences from the current mean.\n *\n * @function\n * @return {?number} the sum of squares of differences from the current mean, or null if this is undefined because the count is zero.\n */\n mean/* = function*/(): ?number {\n return this.count == 0 ? null : this.varianceM;\n };\n\n /**\n * Return the standard deviation, the square root of the average variance.\n *\n * @function\n * @return {?number} the standard deviation, or null if this is undefined because the count is zero.\n */\n stdDev/* = function*/(): ?number {\n return this.count < 1 ? null : Math.sqrt(this.variance());\n };\n\n /**\n * Return the set of values in the sample.\n *\n * @function\n * @return {any[]} an array of the values in the sample\n */\n values/* = function*/(): any[] {\n return this.sample.getValues();\n };\n\n /**\n * @function\n * @return {Object}\n * @property {string} type \"histogram\"\n * @property {number} min\n * @property {number} max\n * @property {number} sum\n * @property {number} variance\n * @property {number} mean\n * @property {number} stdDev\n * @property {number} count\n * @property {number} median\n * @property {number} p75\n * @property {number} p95\n * @property {number} p99\n * @property {number} p999\n */\n toObject/* = function*/(): Object {\n var percentiles = this.percentiles();\n return {\n type: 'histogram',\n min: this.min,\n max: this.max,\n sum: this.sum,\n variance: this.variance(),\n mean: this.mean(),\n std_dev: this.stdDev(),\n count: this.count,\n median: percentiles[0.5],\n p75: percentiles[0.75],\n p95: percentiles[0.95],\n p99: percentiles[0.99],\n p999: percentiles[0.999],\n };\n };\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/Histogram.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 172, + "kind": "variable", + "name": "DEFAULT_PERCENTILES", + "memberof": "packages/metrics/src/Histogram.js", + "static": true, + "longname": "packages/metrics/src/Histogram.js~DEFAULT_PERCENTILES", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/Histogram.js", + "importStyle": "{DEFAULT_PERCENTILES}", + "description": "The default set of percentiles to use in the Histogram.", + "lineNumber": 17, + "type": { + "types": [ + "number[]" + ] + } + }, + { + "__docId__": 173, + "kind": "class", + "name": "Histogram", + "memberof": "packages/metrics/src/Histogram.js", + "static": true, + "longname": "packages/metrics/src/Histogram.js~Histogram", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/Histogram.js", + "importStyle": "{Histogram}", + "description": "A histogram tracks the distribution of items, given a sample type.", + "lineNumber": 22, + "interface": false + }, + { + "__docId__": 174, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#constructor", + "access": "public", + "description": "", + "lineNumber": 27, + "params": [ + { + "nullable": null, + "types": [ + "ISample" + ], + "spread": false, + "optional": false, + "name": "sample", + "description": "" + } + ] + }, + { + "__docId__": 175, + "kind": "member", + "name": "sample", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#sample", + "access": "public", + "description": null, + "lineNumber": 29, + "type": { + "nullable": null, + "types": [ + "ISample" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 176, + "kind": "member", + "name": "min", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#min", + "access": "public", + "description": null, + "lineNumber": 31, + "type": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 177, + "kind": "member", + "name": "max", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#max", + "access": "public", + "description": null, + "lineNumber": 33, + "type": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 178, + "kind": "member", + "name": "sum", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#sum", + "access": "public", + "description": null, + "lineNumber": 35, + "type": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 179, + "kind": "member", + "name": "varianceM", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#varianceM", + "access": "public", + "description": null, + "lineNumber": 39, + "type": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 180, + "kind": "member", + "name": "varianceS", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#varianceS", + "access": "public", + "description": null, + "lineNumber": 41, + "type": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 181, + "kind": "member", + "name": "count", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#count", + "access": "public", + "description": null, + "lineNumber": 43, + "type": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 182, + "kind": "member", + "name": "type", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#type", + "access": "public", + "description": null, + "lineNumber": 45, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 183, + "kind": "method", + "name": "createExponentialDecayHistogram", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/Histogram.js~Histogram.createExponentialDecayHistogram", + "access": "public", + "description": "Create an exponentially decaying histogram.", + "lineNumber": 55, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "defaultValue": "1028", + "defaultRaw": 1028, + "name": "size", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "defaultValue": "0.015", + "defaultRaw": 0.015, + "name": "alpha", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Histogram" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 184, + "kind": "method", + "name": "createUniformHistogram", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/Histogram.js~Histogram.createUniformHistogram", + "access": "public", + "description": "Create a uniformly-sampled histogram.", + "lineNumber": 65, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "defaultValue": "1028", + "defaultRaw": 1028, + "name": "size", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Histogram" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 185, + "kind": "method", + "name": "clear", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#clear", + "access": "public", + "description": "Return the histogram to its default values.", + "lineNumber": 72, + "params": [], + "return": null + }, + { + "__docId__": 192, + "kind": "method", + "name": "update", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#update", + "access": "public", + "description": "timestamp param primarily used for testing", + "lineNumber": 89, + "unknown": [ + { + "tagName": "@function", + "tagValue": "" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "val", + "description": "" + }, + { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "timestamp", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 198, + "kind": "method", + "name": "updateVariance", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#updateVariance", + "access": "public", + "description": "Set the value of the Welford algorithm variance.", + "lineNumber": 112, + "unknown": [ + { + "tagName": "@function", + "tagValue": "" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "val", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 202, + "kind": "method", + "name": "percentiles", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#percentiles", + "access": "public", + "description": "Get the values for a set of percentiles.", + "lineNumber": 130, + "unknown": [ + { + "tagName": "@function", + "tagValue": "" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "number[]" + ], + "spread": false, + "optional": true, + "name": "percentiles", + "description": "An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is {@link DEFAULT_PERCENTILES}." + } + ], + "return": { + "nullable": null, + "types": [ + "number[]" + ], + "spread": false, + "description": "the values for each percentile level" + } + }, + { + "__docId__": 203, + "kind": "method", + "name": "variance", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#variance", + "access": "public", + "description": "Return the average variance using the Welford algorithm.", + "lineNumber": 167, + "unknown": [ + { + "tagName": "@function", + "tagValue": "" + } + ], + "return": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": "the average variance, or null if this is undefined because the count is zero." + }, + "throws": [ + { + "types": [ + "Error" + ], + "description": "a divide by zero error if this.count==1" + } + ], + "params": [] + }, + { + "__docId__": 204, + "kind": "method", + "name": "mean", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#mean", + "access": "public", + "description": "Return the sum of squares of differences from the current mean.", + "lineNumber": 177, + "unknown": [ + { + "tagName": "@function", + "tagValue": "" + } + ], + "return": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": "the sum of squares of differences from the current mean, or null if this is undefined because the count is zero." + }, + "params": [] + }, + { + "__docId__": 205, + "kind": "method", + "name": "stdDev", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#stdDev", + "access": "public", + "description": "Return the standard deviation, the square root of the average variance.", + "lineNumber": 187, + "unknown": [ + { + "tagName": "@function", + "tagValue": "" + } + ], + "return": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": "the standard deviation, or null if this is undefined because the count is zero." + }, + "params": [] + }, + { + "__docId__": 206, + "kind": "method", + "name": "values", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#values", + "access": "public", + "description": "Return the set of values in the sample.", + "lineNumber": 197, + "unknown": [ + { + "tagName": "@function", + "tagValue": "" + } + ], + "return": { + "nullable": null, + "types": [ + "any[]" + ], + "spread": false, + "description": "an array of the values in the sample" + }, + "params": [] + }, + { + "__docId__": 207, + "kind": "method", + "name": "toObject", + "memberof": "packages/metrics/src/Histogram.js~Histogram", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Histogram.js~Histogram#toObject", + "access": "public", + "description": "", + "lineNumber": 218, + "unknown": [ + { + "tagName": "@function", + "tagValue": "" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "type", + "description": "\"histogram\"" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "min", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "max", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "sum", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "variance", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "mean", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "stdDev", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "count", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "median", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "p75", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "p95", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "p99", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "p999", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 208, + "kind": "file", + "name": "packages/metrics/src/IMeter.js", + "content": "/**\n * @name IMeter.js\n * @fileoverview Defines the IMeter interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires RawMeterTag\n * @requires metrics_pb\n * @exports IMeter\n */\n\n'use strict';\n\nimport RawMeterTag from './RawMeterTag';\nimport {Meter} from './proto/metrics_pb';\n\n/**\n */\nexport interface IMeter {\n name: string;\n description: ?string;\n statistic: string;\n type: string;\n tags: RawMeterTag[];\n units?: string;\n\n /**\n * @abstract\n * @returns {Object}\n */\n rates(): Object;\n\n /**\n * @abstract\n * @param {function} converter\n * @returns {Meter[]}\n */\n convert(converter: (IMeter) => Meter[]): Meter[];\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/IMeter.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 209, + "kind": "file", + "name": "packages/metrics/src/IMeterRegistry.js", + "content": "/**\n * @name IMeterRegistry.js\n * @fileoverview Defines the \"IMeterRegistry\" interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires IMeter\n * @exports IMeterRegistry\n */\n\n'use strict';\n\nimport type {IMeter} from './IMeter';\n\n/**\n * This represents any container class that can store handles to Meters and\n * deliver them as a collection.\n * @interface\n */\nexport interface IMeterRegistry {\n /**\n * @function\n * @param {IMeter} meter\n */\n registerMeter(meter: IMeter): void;\n /**\n * @function\n * @param {IMeter[]} meters\n */\n registerMeters(meters: IMeter[]): void;\n /**\n * @function\n * @returns {IMeter[]}\n */\n meters(): IMeter[];\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/IMeterRegistry.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 210, + "kind": "file", + "name": "packages/metrics/src/Metrics.js", + "content": "/**\n * @name Metrics.js\n * @fileoverview Defines the \"Metrics\" class\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires Counter\n * @requires Timer\n * @requires IMeterRegistry\n * @requires RawMeterTag\n * @requires MetricsSingleSubscriber\n * @requires MetricsSubscriber\n * @requires NPM:rsocket-flowable\n * @exports Metrics\n */\n\n'use strict';\n\nimport Counter from './Counter';\nimport Timer from './Timer';\nimport {IMeterRegistry} from './IMeterRegistry';\nimport RawMeterTag from './RawMeterTag';\nimport embedMetricsSingleSubscriber from './MetricsSingleSubscriber';\nimport MetricsSubscriber from './MetricsSubscriber';\nimport {Flowable, Single} from 'rsocket-flowable';\n\n/**\n */\nexport default class Metrics {\n constructor() {}\n\n /**\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timed(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n */\n static timed(\n registry?: IMeterRegistry,\n name: string,\n ...tags: Object[]\n ): (Flowable) => Flowable {\n // Registry is optional - if not provided, return identity function\n if (!registry) {\n return any => any;\n }\n\n const convertedTags = [];\n if (tags) {\n tags.forEach(tag => {\n Object.keys(tag).forEach(key => {\n convertedTags.push(new RawMeterTag(key, tag[key]));\n });\n });\n }\n\n const next = new Counter(\n name + '.request',\n 'onNext calls',\n 'integer',\n [new RawMeterTag('status', 'next')].concat(convertedTags),\n );\n const complete = new Counter(\n name + '.request',\n 'onComplete calls',\n 'integer',\n [new RawMeterTag('status', 'complete')].concat(convertedTags),\n );\n const error = new Counter(\n name + '.request',\n 'onError calls',\n 'integer',\n [new RawMeterTag('status', 'error')].concat(convertedTags),\n );\n const cancelled = new Counter(\n name + '.request',\n 'cancel calls',\n 'integer',\n [new RawMeterTag('status', 'cancelled')].concat(convertedTags),\n );\n const timer = new Timer(name + '.latency', undefined, convertedTags);\n\n registry.registerMeters([next, complete, error, cancelled, timer]);\n\n return (flowable: Flowable) =>\n flowable.lift(\n subscriber =>\n new MetricsSubscriber(\n subscriber,\n next,\n complete,\n error,\n cancelled,\n timer,\n ),\n );\n }\n\n /**\n * @param {?IMeterRegistry} [registry] -\n * @param {string} name -\n * @param {Object[]} tags -\n * @returns {function} a wrapping function through which you weave your RSocket calls\n * @example\n * const metricsWrapper = timedSingle(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n * const responseStream = rsocket.requestStream(requestPayload);\n * metricsWrapper(responseStream).subscribe(...);\n */\n static timedSingle(\n registry?: IMeterRegistry,\n name: string,\n ...tags: Object[]\n ): (Single) => Single {\n // Registry is optional - if not provided, return identity function\n if (!registry) {\n return any => any;\n }\n\n const convertedTags = [];\n if (tags) {\n tags.forEach(tag => {\n Object.keys(tag).forEach(key => {\n convertedTags.push(new RawMeterTag(key, tag[key]));\n });\n });\n }\n\n const next = new Counter(\n name + '.request',\n 'onNext calls',\n 'integer',\n [new RawMeterTag('status', 'next')].concat(convertedTags),\n );\n const complete = new Counter(\n name + '.request',\n 'onComplete calls',\n 'integer',\n [new RawMeterTag('status', 'complete')].concat(convertedTags),\n );\n const error = new Counter(\n name + '.request',\n 'onError calls',\n 'integer',\n [new RawMeterTag('status', 'error')].concat(convertedTags),\n );\n const cancelled = new Counter(\n name + '.request',\n 'cancel calls',\n 'integer',\n [new RawMeterTag('status', 'cancelled')].concat(convertedTags),\n );\n const timer = new Timer(name + '.latency', undefined, convertedTags);\n\n registry.registerMeters([next, complete, error, cancelled, timer]);\n\n return (single: Single) =>\n embedMetricsSingleSubscriber(\n single,\n next,\n complete,\n error,\n cancelled,\n timer,\n );\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/Metrics.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 211, + "kind": "class", + "name": "Metrics", + "memberof": "packages/metrics/src/Metrics.js", + "static": true, + "longname": "packages/metrics/src/Metrics.js~Metrics", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/Metrics.js", + "importStyle": "Metrics", + "description": "", + "lineNumber": 43, + "interface": false + }, + { + "__docId__": 212, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/Metrics.js~Metrics", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Metrics.js~Metrics#constructor", + "access": "public", + "description": null, + "lineNumber": 44, + "undocument": true + }, + { + "__docId__": 213, + "kind": "method", + "name": "timed", + "memberof": "packages/metrics/src/Metrics.js~Metrics", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/Metrics.js~Metrics.timed", + "access": "public", + "description": "", + "examples": [ + "const metricsWrapper = timed(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\nconst responseStream = rsocket.requestStream(requestPayload);\nmetricsWrapper(responseStream).subscribe(...);" + ], + "lineNumber": 56, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{function} a wrapping function through which you weave your RSocket calls" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "IMeterRegistry" + ], + "spread": false, + "optional": true, + "name": "registry", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": null, + "types": [ + "Object[]" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "description": "a wrapping function through which you weave your RSocket calls" + } + }, + { + "__docId__": 214, + "kind": "method", + "name": "timedSingle", + "memberof": "packages/metrics/src/Metrics.js~Metrics", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/Metrics.js~Metrics.timedSingle", + "access": "public", + "description": "", + "examples": [ + "const metricsWrapper = timedSingle(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\nconst responseStream = rsocket.requestStream(requestPayload);\nmetricsWrapper(responseStream).subscribe(...);" + ], + "lineNumber": 92, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{function} a wrapping function through which you weave your RSocket calls" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "IMeterRegistry" + ], + "spread": false, + "optional": true, + "name": "registry", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": null, + "types": [ + "Object[]" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "description": "a wrapping function through which you weave your RSocket calls" + } + }, + { + "__docId__": 215, + "kind": "file", + "name": "packages/metrics/src/MetricsExporter.js", + "content": "/**\n * @name MetricsExporter.js\n * @fileoverview Defines the MetricsExporter class\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires metrics_pb\n * @requires metrics_rsocket_pb\n * @requires RawMeterTag\n * @requires Timer\n * @requires IMeterRegistry\n * @requires IMeter\n * @exports MetricsExporter\n */\n\n'use strict';\n\nimport {ISubscriber} from 'rsocket-types';\nimport {Flowable} from 'rsocket-flowable';\nimport {\n Meter,\n MeterId,\n MeterMeasurement,\n MetricsSnapshot,\n MeterStatistic,\n MeterType,\n MeterTag,\n Skew,\n} from './proto/metrics_pb';\nimport {MetricsSnapshotHandlerClient} from './proto/metrics_rsocket_pb';\nimport RawMeterTag from './RawMeterTag';\nimport Timer from './Timer';\nimport {IMeterRegistry} from './IMeterRegistry';\nimport type {IMeter} from './IMeter';\n\n/**\n * An RSocket native metrics source.\n * @example\n * const meters = new SimpleMeterRegistry();\n * const snapshotClient = new MetricsSnapshotHandlerClient(rsocket);\n * metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);\n * metricsExporter.start();\n * @todo use {@link MetricsExporter#batchSize} to window the snapshots\n */\nexport default class MetricsExporter {\n handler: MetricsSnapshotHandlerClient;\n registry: IMeterRegistry;\n exportPeriodSeconds: number;\n batchSize: number;\n intervalHandle: any;\n remoteSubscriber: ?ISubscriber;\n remoteCancel: () => void;\n\n /**\n * @param {MetricsSnapshotHandlerClient} handler -\n * @param {IMeterRegistry} registry -\n * @param {number} exportPeriodSeconds - \n * @param {number} batchSize - metrics count\n */\n constructor(\n handler: MetricsSnapshotHandlerClient,\n registry: IMeterRegistry,\n exportPeriodSeconds: number,\n batchSize: number,\n ) {\n /** @type {MetricsSnapshotHandlerClient} */\n this.handler = handler;\n /** @type {IMeterRegistry} */\n this.registry = registry;\n /** @type {number} */\n this.exportPeriodSeconds = exportPeriodSeconds;\n /** @type {number} */\n this.batchSize = batchSize; // TODO: use this to window the snapshots\n }\n\n /**\n * Open the channel and begin to send metrics.\n * This is not re-entrant since we rely on the periodic event of the\n * interval timer.\n *\n * @throws {Error} if a metrics snapshot stream is already subscribed\n */\n start() {\n // Not re-entrant since we rely on the periodic event of the interval timer\n if (this.intervalHandle) {\n throw new Error('A metrics snapshot stream is already subscribed');\n }\n\n this.handler\n .streamMetrics(getMetricsSnapshotStream(this), Buffer.alloc(0))\n .subscribe({\n onNext: skew => recordClockSkew(skew),\n onComplete: () => restart(this),\n onError: error => {\n console.log('MetricsExporter error:' + error);\n restart(this);\n },\n onSubscribe: subscription => {\n /** @type {function} */\n this.remoteCancel = subscription.cancel;\n subscription.request(2147483647); // FaceBook thing - their Flowable only allows this\n },\n });\n }\n\n /**\n * Stop sending metrics\n */\n stop() {\n if (this.remoteCancel) {\n this.remoteCancel();\n }\n\n if (this.remoteSubscriber) {\n this.remoteSubscriber.onComplete();\n /** @type {ISubscriber} */\n this.remoteSubscriber = null;\n }\n\n if (this.intervalHandle) {\n clearInterval(this.intervalHandle);\n /** @type {any} */\n this.intervalHandle = null;\n }\n }\n}\n\n/**\n * Stops and then restarts the given {@link MetricsExporter}.\n *\n * @param {MetricsExporter} exporter\n */\nfunction restart(exporter: MetricsExporter) {\n exporter.stop();\n exporter.start();\n}\n\n/**\n * @param {MetricsExporter} exporter\n * @return {Flowable} Subscribe to this Flowable to get periodic metrics updates.\n */\nfunction getMetricsSnapshotStream(\n exporter: MetricsExporter,\n): Flowable {\n return new Flowable(subscriber => {\n if (exporter.intervalHandle) {\n subscriber.onError(\n new Error('A metrics snapshot stream is already subscribed'),\n );\n return;\n }\n\n // Retain handle to subscriber so that we can complete on manual stop\n exporter.remoteSubscriber = subscriber;\n\n let pending = 0;\n console.log(\n 'Setting interval for ' +\n exporter.exportPeriodSeconds * 1000 +\n ' milliseconds',\n );\n exporter.intervalHandle = setInterval(() => {\n if (pending > 0) {\n const allMeters = Array.prototype.concat.apply(\n [],\n exporter.registry.meters().map(convert),\n );\n const meterSnapshot = allMeters.reduce((snapshot, meter) => {\n snapshot.addMeters(meter);\n return snapshot;\n }, new MetricsSnapshot());\n\n subscriber.onNext(meterSnapshot);\n pending--;\n }\n }, exporter.exportPeriodSeconds * 1000);\n\n subscriber.onSubscribe({\n cancel: () => {\n // They won't care about the \"complete\" in this case, remove reference\n exporter.remoteSubscriber = null;\n exporter.stop();\n },\n request: n => {\n pending += n;\n },\n });\n });\n}\n\n/**\n * @param {IMeter} meter\n * @return {Meter[]}\n * @throws {Error} if {@link meter} is of an unknown {@link IMeter.type}.\n */\nfunction convert(meter: IMeter): Meter[] {\n const meterType = meterTypeLookup(meter.type);\n switch (meterType) {\n case MeterType.TIMER:\n return meter.convert(convertTimer);\n case MeterType.COUNTER:\n case MeterType.GAUGE:\n case MeterType.LONG_TASK_TIMER:\n case MeterType.DISTRIBUTION_SUMMARY:\n case MeterType.OTHER:\n return meter.convert(basicConverter);\n default:\n throw new Error('unsupported type ' + meterType);\n }\n}\n\n/**\n * Return a {@link MeterType} enum corresponding to the name of a meter type.\n *\n * @param {string} meterType - one of \"gauge\", \"timer\", \"counter\", \"longTaskTimer\", \"distribtionSummary\", or \"other\"\n * @return a {@link MeterType} enum corresponding to the {@link meterType} string\n * @throws {Error} if a string not among the above values is submitted as the {@link meterType} parameter\n */\nfunction meterTypeLookup(meterType: string): MeterType {\n switch (meterType) {\n case 'gauge':\n return MeterType.GAUGE;\n case 'timer':\n return MeterType.TIMER;\n case 'counter':\n return MeterType.COUNTER;\n case 'longTaskTimer':\n return MeterType.LONG_TASK_TIMER;\n case 'distributionSummary':\n return MeterType.DISTRIBUTION_SUMMARY;\n case 'other':\n return MeterType.OTHER;\n default:\n throw new Error('unknown type ' + meterType);\n }\n}\n\n/**\n * Return a {@link MeterStatistic} enum corresponding to the name of a meter statistic.\n *\n * @param {string} statistic - one of \"max\", \"count\", \"total\", \"value\", \"unknown\", \"duration\", \"totalTime\", or \"activeTasks\"\n * @return a {@link MeterStatistic} enum corresponding to the {@link statistic} string\n * @throws {Error} if a string not among the above values is submitted as the {@link statistic} parameter\n */\nfunction statisticTypeLookup(statistic: string): MeterStatistic {\n switch (statistic) {\n case 'max':\n return MeterStatistic.MAX;\n case 'count':\n return MeterStatistic.COUNT;\n case 'total':\n return MeterStatistic.TOTAL;\n case 'value':\n return MeterStatistic.VALUE;\n case 'unknown':\n return MeterStatistic.UNKNOWN;\n case 'duration':\n return MeterStatistic.DURATION;\n case 'totalTime':\n return MeterStatistic.TOTAL_TIME;\n case 'activeTasks':\n return MeterStatistic.ACTIVE_TASKS;\n default:\n throw new Error('unknown type ' + statistic);\n }\n}\n\n/**\n * @param {IMeter} imeter\n * @return {Meter[]}\n * @throws {Error} if {@link imeter} is not a {@link Timer}\n */\nfunction convertTimer(imeter: IMeter): Meter[] {\n if (!(imeter instanceof Timer)) {\n throw new Error('Meter is not an instance of Timer');\n }\n\n const timer = (imeter: Timer);\n const meters = [];\n const name = timer.name;\n const tags = convertTags(timer.tags);\n\n // Add meters for percentiles of interest\n const valuesSnapshot = timer.percentiles();\n Object.keys(valuesSnapshot).forEach(percentile => {\n const value = toNanoseconds(valuesSnapshot[percentile]);\n // Make sure we're dealing with a real value before pushing\n if (!isNaN(value)) {\n const meter = new Meter();\n\n const percentileTag = new MeterTag();\n percentileTag.setKey('percentile');\n percentileTag.setValue(percentile);\n\n const meterId = new MeterId();\n meterId.setName(name);\n tags.forEach(tag => meterId.addTag(tag));\n meterId.addTag(percentileTag);\n meterId.setType(MeterType.TIMER);\n meterId.setDescription(timer.description);\n meterId.setBaseunit('nanoseconds');\n\n meter.setId(meterId);\n\n const measure = new MeterMeasurement();\n measure.setValue(value);\n measure.setStatistic(statisticTypeLookup(timer.statistic));\n\n meter.addMeasure(measure);\n\n meters.push(meter);\n }\n });\n\n // add a meter for total count and max time\n const histMeter = new Meter();\n\n const meterId = new MeterId();\n meterId.setName(name);\n tags.forEach(tag => meterId.addTag(tag));\n meterId.setType(MeterType.TIMER);\n meterId.setDescription(timer.description);\n meterId.setBaseunit('nanoseconds');\n\n const totalCount = new MeterMeasurement();\n totalCount.setValue(timer.totalCount());\n totalCount.setStatistic(MeterStatistic.COUNT);\n histMeter.addMeasure(totalCount);\n\n const maxTime = new MeterMeasurement();\n maxTime.setValue(timer.max());\n maxTime.setStatistic(MeterStatistic.MAX);\n histMeter.addMeasure(maxTime);\n\n histMeter.setId(meterId);\n\n meters.push(histMeter);\n\n return meters;\n}\n\n/**\n * @param {IMeter} imeter\n * @return {Meter[]}\n */\nfunction basicConverter(imeter: IMeter): Meter[] {\n const meters = [];\n const name = imeter.name;\n const tags = convertTags(imeter.tags);\n\n // Add meters for different windowed EWMAs\n const valuesSnapshot = imeter.rates();\n Object.keys(valuesSnapshot).forEach(rate => {\n const meter = new Meter();\n\n const value = valuesSnapshot[rate];\n const ewmaTag = new MeterTag();\n ewmaTag.setKey('moving-average-minutes');\n ewmaTag.setValue(rate);\n\n const meterId = new MeterId();\n meterId.setName(name);\n tags.forEach(tag => meterId.addTag(tag));\n meterId.addTag(ewmaTag);\n meterId.setType(meterTypeLookup(imeter.type));\n meterId.setDescription(imeter.description);\n meterId.setBaseunit(imeter.units);\n\n meter.setId(meterId);\n\n const measure = new MeterMeasurement();\n measure.setValue(value);\n measure.setStatistic(statisticTypeLookup(imeter.statistic));\n\n meter.addMeasure(measure);\n\n meters.push(meter);\n });\n\n return meters;\n}\n\n/**\n * @param {RawMeterTag[]} tags\n * @return {MeterTag[]}\n */\nfunction convertTags(tags: RawMeterTag[]): MeterTag[] {\n return (tags || []).map(tag => {\n const finalTag = new MeterTag();\n finalTag.setKey(tag.key);\n finalTag.setValue(tag.value);\n return finalTag;\n });\n}\n\n/**\n * Convert milliseconds to nanoseconds.\n * Note: this is not safe for timestamps, just time measurements.\n *\n * @param {number} milliseconds - a number of milliseconds to convert\n * @return {number} the value of {@link milliseconds} converted to nanoseconds\n */\nfunction toNanoseconds(milliseconds: number) {\n return milliseconds * 1000 * 1000;\n}\n\n/**\n * Not currently functional.\n *\n * @todo Do something with this?\n * @param {Skew} skew\n */\nfunction recordClockSkew(skew: Skew): void {\n // TODO: do something with this?\n return;\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/MetricsExporter.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 216, + "kind": "class", + "name": "MetricsExporter", + "memberof": "packages/metrics/src/MetricsExporter.js", + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": "MetricsExporter", + "description": "An RSocket native metrics source.", + "examples": [ + "const meters = new SimpleMeterRegistry();\nconst snapshotClient = new MetricsSnapshotHandlerClient(rsocket);\nmetricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024);\nmetricsExporter.start();" + ], + "lineNumber": 52, + "todo": [ + "use {@link MetricsExporter#batchSize} to window the snapshots" + ], + "interface": false + }, + { + "__docId__": 217, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#constructor", + "access": "public", + "description": "", + "lineNumber": 60, + "params": [ + { + "nullable": null, + "types": [ + "MetricsSnapshotHandlerClient" + ], + "spread": false, + "optional": false, + "name": "handler", + "description": "" + }, + { + "nullable": null, + "types": [ + "IMeterRegistry" + ], + "spread": false, + "optional": false, + "name": "registry", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "exportPeriodSeconds", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "batchSize", + "description": "metrics count" + } + ] + }, + { + "__docId__": 218, + "kind": "member", + "name": "handler", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#handler", + "access": "public", + "description": null, + "lineNumber": 62, + "type": { + "nullable": null, + "types": [ + "MetricsSnapshotHandlerClient" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 219, + "kind": "member", + "name": "registry", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#registry", + "access": "public", + "description": null, + "lineNumber": 64, + "type": { + "nullable": null, + "types": [ + "IMeterRegistry" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 220, + "kind": "member", + "name": "exportPeriodSeconds", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#exportPeriodSeconds", + "access": "public", + "description": null, + "lineNumber": 66, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 221, + "kind": "member", + "name": "batchSize", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#batchSize", + "access": "public", + "description": null, + "lineNumber": 68, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 222, + "kind": "method", + "name": "start", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#start", + "access": "public", + "description": "Open the channel and begin to send metrics.\nThis is not re-entrant since we rely on the periodic event of the\ninterval timer.", + "lineNumber": 78, + "throws": [ + { + "types": [ + "Error" + ], + "description": "if a metrics snapshot stream is already subscribed" + } + ], + "params": [], + "return": null + }, + { + "__docId__": 223, + "kind": "member", + "name": "remoteCancel", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#remoteCancel", + "access": "public", + "description": null, + "lineNumber": 93, + "type": { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 224, + "kind": "method", + "name": "stop", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#stop", + "access": "public", + "description": "Stop sending metrics", + "lineNumber": 102, + "params": [], + "return": null + }, + { + "__docId__": 225, + "kind": "member", + "name": "remoteSubscriber", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#remoteSubscriber", + "access": "public", + "description": null, + "lineNumber": 110, + "type": { + "nullable": null, + "types": [ + "ISubscriber" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 226, + "kind": "member", + "name": "intervalHandle", + "memberof": "packages/metrics/src/MetricsExporter.js~MetricsExporter", + "static": false, + "longname": "packages/metrics/src/MetricsExporter.js~MetricsExporter#intervalHandle", + "access": "public", + "description": null, + "lineNumber": 116, + "type": { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 227, + "kind": "function", + "name": "restart", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~restart", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "Stops and then restarts the given {@link MetricsExporter}.", + "lineNumber": 126, + "params": [ + { + "nullable": null, + "types": [ + "MetricsExporter" + ], + "spread": false, + "optional": false, + "name": "exporter", + "description": "" + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 228, + "kind": "function", + "name": "getMetricsSnapshotStream", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~getMetricsSnapshotStream", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "", + "lineNumber": 135, + "params": [ + { + "nullable": null, + "types": [ + "MetricsExporter" + ], + "spread": false, + "optional": false, + "name": "exporter", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Flowable" + ], + "spread": false, + "description": "Subscribe to this Flowable to get periodic metrics updates." + }, + "ignore": true + }, + { + "__docId__": 229, + "kind": "function", + "name": "convert", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~convert", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "", + "lineNumber": 178, + "params": [ + { + "nullable": null, + "types": [ + "IMeter" + ], + "spread": false, + "optional": false, + "name": "meter", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Meter[]" + ], + "spread": false, + "description": "" + }, + "throws": [ + { + "types": [ + "Error" + ], + "description": "if {@link meter} is of an unknown {@link IMeter.type}." + } + ], + "ignore": true + }, + { + "__docId__": 230, + "kind": "function", + "name": "meterTypeLookup", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~meterTypeLookup", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "Return a {@link MeterType} enum corresponding to the name of a meter type.", + "lineNumber": 201, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "meterType", + "description": "one of \"gauge\", \"timer\", \"counter\", \"longTaskTimer\", \"distribtionSummary\", or \"other\"" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "a {@link MeterType} enum corresponding to the {@link meterType} string" + }, + "throws": [ + { + "types": [ + "Error" + ], + "description": "if a string not among the above values is submitted as the {@link meterType} parameter" + } + ], + "ignore": true + }, + { + "__docId__": 231, + "kind": "function", + "name": "statisticTypeLookup", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~statisticTypeLookup", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "Return a {@link MeterStatistic} enum corresponding to the name of a meter statistic.", + "lineNumber": 227, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "statistic", + "description": "one of \"max\", \"count\", \"total\", \"value\", \"unknown\", \"duration\", \"totalTime\", or \"activeTasks\"" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "a {@link MeterStatistic} enum corresponding to the {@link statistic} string" + }, + "throws": [ + { + "types": [ + "Error" + ], + "description": "if a string not among the above values is submitted as the {@link statistic} parameter" + } + ], + "ignore": true + }, + { + "__docId__": 232, + "kind": "function", + "name": "convertTimer", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~convertTimer", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "", + "lineNumber": 255, + "params": [ + { + "nullable": null, + "types": [ + "IMeter" + ], + "spread": false, + "optional": false, + "name": "imeter", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Meter[]" + ], + "spread": false, + "description": "" + }, + "throws": [ + { + "types": [ + "Error" + ], + "description": "if {@link imeter} is not a {@link Timer}" + } + ], + "ignore": true + }, + { + "__docId__": 233, + "kind": "function", + "name": "basicConverter", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~basicConverter", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "", + "lineNumber": 328, + "params": [ + { + "nullable": null, + "types": [ + "IMeter" + ], + "spread": false, + "optional": false, + "name": "imeter", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Meter[]" + ], + "spread": false, + "description": "" + }, + "ignore": true + }, + { + "__docId__": 234, + "kind": "function", + "name": "convertTags", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~convertTags", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "", + "lineNumber": 369, + "params": [ + { + "nullable": null, + "types": [ + "RawMeterTag[]" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "MeterTag[]" + ], + "spread": false, + "description": "" + }, + "ignore": true + }, + { + "__docId__": 235, + "kind": "function", + "name": "toNanoseconds", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~toNanoseconds", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "Convert milliseconds to nanoseconds.\nNote: this is not safe for timestamps, just time measurements.", + "lineNumber": 385, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "milliseconds", + "description": "a number of milliseconds to convert" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "the value of {@link milliseconds} converted to nanoseconds" + }, + "ignore": true + }, + { + "__docId__": 236, + "kind": "function", + "name": "recordClockSkew", + "memberof": "packages/metrics/src/MetricsExporter.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsExporter.js~recordClockSkew", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsExporter.js", + "importStyle": null, + "description": "Not currently functional.", + "lineNumber": 395, + "todo": [ + "Do something with this?" + ], + "params": [ + { + "nullable": null, + "types": [ + "Skew" + ], + "spread": false, + "optional": false, + "name": "skew", + "description": "" + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 237, + "kind": "file", + "name": "packages/metrics/src/MetricsSingleSubscriber.js", + "content": "/**\n * @name MetricsSingleSubscriber.js\n * @fileoverview Defines the MetricsSingleSubscriber class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n * @requires Counter\n * @requires Timer\n * @requires NPM:rsocket-flowable\n * @exports embedMetricsSingleSubscriber\n */\n\n'use strict';\n\nimport Counter from './Counter';\nimport Timer from './Timer';\nimport {Single} from 'rsocket-flowable';\nimport type {IFutureSubscriber} from 'rsocket-flowable/build/Single';\n\n/**\n * @param {Single} single -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n * @return {Single}\n */\nexport default function embedMetricsSingleSubscriber(\n single: Single,\n next: Counter,\n complete: Counter,\n error: Counter,\n cancelled: Counter,\n timer: Timer,\n): Single {\n return new Single(subscriber => {\n const metricsSubscriber = new MetricsSingleSubscriber(\n subscriber,\n next,\n complete,\n error,\n cancelled,\n timer,\n );\n single.subscribe(metricsSubscriber);\n });\n}\n\n/**\n */\nclass MetricsSingleSubscriber implements IFutureSubscriber {\n _source: IFutureSubscriber;\n _next: Counter;\n _complete: Counter;\n _error: Counter;\n _cancelled: Counter;\n _timer: Timer;\n\n _cancel: () => void;\n _start: number;\n\n /**\n * @param {IFutureSubscriber} actual -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n */\n constructor(\n actual: IFutureSubscriber,\n next: Counter,\n complete: Counter,\n error: Counter,\n cancelled: Counter,\n timer: Timer,\n ) {\n this._source = actual;\n this._next = next;\n this._complete = complete;\n this._error = error;\n this._cancelled = cancelled;\n this._timer = timer;\n }\n\n /**\n * @param {function} cancel\n * @return {void}\n */\n onSubscribe(cancel: () => void): void {\n this._cancel = cancel;\n this._start = new Date().getTime();\n\n this._source.onSubscribe(() => this.cancel());\n }\n\n /**\n * @param {Error} t\n * @return {void}\n */\n onError(t: Error): void {\n this._error.inc();\n this._timer.update(new Date().getTime() - this._start);\n\n this._source.onError(t);\n }\n\n /**\n * @param {T} t\n * @return {void}\n */\n onComplete(t: T): void {\n this._next.inc();\n this._complete.inc();\n this._timer.update(new Date().getTime() - this._start);\n this._source.onComplete(t);\n }\n\n /**\n * @return {void}\n */\n cancel(): void {\n this._cancelled.inc();\n this._timer.update(new Date().getTime() - this._start);\n this._cancel && this._cancel();\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/MetricsSingleSubscriber.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 238, + "kind": "function", + "name": "embedMetricsSingleSubscriber", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~embedMetricsSingleSubscriber", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/MetricsSingleSubscriber.js", + "importStyle": "embedMetricsSingleSubscriber", + "description": "", + "lineNumber": 42, + "params": [ + { + "nullable": null, + "types": [ + "Single" + ], + "spread": false, + "optional": false, + "name": "single", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "next", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "complete", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "error", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "cancelled", + "description": "" + }, + { + "nullable": null, + "types": [ + "Timer" + ], + "spread": false, + "optional": false, + "name": "timer", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Single" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 239, + "kind": "class", + "name": "MetricsSingleSubscriber", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js", + "static": true, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/MetricsSingleSubscriber.js", + "importStyle": null, + "description": "", + "lineNumber": 51, + "interface": false, + "ignore": true + }, + { + "__docId__": 240, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#constructor", + "access": "public", + "description": "", + "lineNumber": 61, + "params": [ + { + "nullable": null, + "types": [ + "IFutureSubscriber" + ], + "spread": false, + "optional": false, + "name": "actual", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "next", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "complete", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "error", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "cancelled", + "description": "" + }, + { + "nullable": null, + "types": [ + "Timer" + ], + "spread": false, + "optional": false, + "name": "timer", + "description": "" + } + ] + }, + { + "__docId__": 241, + "kind": "member", + "name": "_source", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#_source", + "access": "private", + "description": null, + "lineNumber": 62, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 242, + "kind": "member", + "name": "_next", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#_next", + "access": "private", + "description": null, + "lineNumber": 63, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 243, + "kind": "member", + "name": "_complete", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#_complete", + "access": "private", + "description": null, + "lineNumber": 64, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 244, + "kind": "member", + "name": "_error", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#_error", + "access": "private", + "description": null, + "lineNumber": 65, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 245, + "kind": "member", + "name": "_cancelled", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#_cancelled", + "access": "private", + "description": null, + "lineNumber": 66, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 246, + "kind": "member", + "name": "_timer", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#_timer", + "access": "private", + "description": null, + "lineNumber": 67, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 247, + "kind": "method", + "name": "onSubscribe", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#onSubscribe", + "access": "public", + "description": "", + "lineNumber": 74, + "params": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "cancel", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 248, + "kind": "member", + "name": "_cancel", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#_cancel", + "access": "private", + "description": null, + "lineNumber": 75, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 249, + "kind": "member", + "name": "_start", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#_start", + "access": "private", + "description": null, + "lineNumber": 76, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 250, + "kind": "method", + "name": "onError", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#onError", + "access": "public", + "description": "", + "lineNumber": 85, + "params": [ + { + "nullable": null, + "types": [ + "Error" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 251, + "kind": "method", + "name": "onComplete", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#onComplete", + "access": "public", + "description": "", + "lineNumber": 96, + "params": [ + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 252, + "kind": "method", + "name": "cancel", + "memberof": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSingleSubscriber.js~MetricsSingleSubscriber#cancel", + "access": "public", + "description": "", + "lineNumber": 106, + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 254, + "kind": "file", + "name": "packages/metrics/src/MetricsSubscriber.js", + "content": "/**\n * @name MetricsSubscriber.js\n * @fileoverview Defines the \"MetricsSubscriber\" class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n * @requires NPM:rsocket-types\n * @requires Counter\n * @requires Timer\n * @exports MetricsSubscriber\n */\n\n'use strict';\n\nimport {ISubscription, ISubscriber} from 'rsocket-types';\nimport Counter from './Counter';\nimport Timer from './Timer';\n\n/**\n */\nexport default class MetricsSubscriber\n implements ISubscription, ISubscriber {\n _source: ISubscriber;\n _next: Counter;\n _complete: Counter;\n _error: Counter;\n _cancelled: Counter;\n _timer: Timer;\n\n _subscription: ISubscription;\n _start: number;\n\n /**\n * @param {ISubscriber} actual -\n * @param {Counter} next -\n * @param {Counter} complete -\n * @param {Counter} error -\n * @param {Counter} cancelled -\n * @param {Timer} timer -\n */\n constructor(\n actual: ISubscriber,\n next: Counter,\n complete: Counter,\n error: Counter,\n cancelled: Counter,\n timer: Timer,\n ) {\n /** @type {ISubscriber} */\n this._source = actual;\n /** @type {Counter} */\n this._next = next;\n /** @type {Counter} */\n this._complete = complete;\n /** @type {Counter} */\n this._error = error;\n /** @type {Counter} */\n this._cancelled = cancelled;\n /** @type {Timer} */\n this._timer = timer;\n }\n\n /**\n * @param {ISubscription} s -\n */\n onSubscribe(s: ISubscription) {\n /** @type {ISubscription} */\n this._subscription = s;\n /** @type {number} */\n this._start = new Date().getTime();\n\n this._source.onSubscribe(this);\n }\n\n /**\n */\n onNext(t: T) {\n this._next.inc();\n this._source.onNext(t);\n }\n\n /**\n * @param {Error} t -\n */\n onError(t: Error) {\n this._error.inc();\n this._timer.update(new Date().getTime() - this._start);\n\n this._source.onError(t);\n }\n\n /**\n */\n onComplete() {\n this._complete.inc();\n this._timer.update(new Date().getTime() - this._start);\n this._source.onComplete();\n }\n\n /**\n * @param {number} n -\n */\n request(n: number) {\n this._subscription && this._subscription.request(n);\n }\n\n /**\n */\n cancel() {\n this._cancelled.inc();\n this._timer.update(new Date().getTime() - this._start);\n this._subscription && this._subscription.cancel();\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/MetricsSubscriber.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 255, + "kind": "class", + "name": "MetricsSubscriber", + "memberof": "packages/metrics/src/MetricsSubscriber.js", + "static": true, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/MetricsSubscriber.js", + "importStyle": "MetricsSubscriber", + "description": "", + "lineNumber": 34, + "interface": false + }, + { + "__docId__": 256, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#constructor", + "access": "public", + "description": "", + "lineNumber": 44, + "params": [ + { + "nullable": null, + "types": [ + "ISubscriber" + ], + "spread": false, + "optional": false, + "name": "actual", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "next", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "complete", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "error", + "description": "" + }, + { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "optional": false, + "name": "cancelled", + "description": "" + }, + { + "nullable": null, + "types": [ + "Timer" + ], + "spread": false, + "optional": false, + "name": "timer", + "description": "" + } + ] + }, + { + "__docId__": 257, + "kind": "member", + "name": "_source", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_source", + "access": "private", + "description": null, + "lineNumber": 46, + "type": { + "nullable": null, + "types": [ + "ISubscriber" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 258, + "kind": "member", + "name": "_next", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_next", + "access": "private", + "description": null, + "lineNumber": 48, + "type": { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 259, + "kind": "member", + "name": "_complete", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_complete", + "access": "private", + "description": null, + "lineNumber": 50, + "type": { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 260, + "kind": "member", + "name": "_error", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_error", + "access": "private", + "description": null, + "lineNumber": 52, + "type": { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 261, + "kind": "member", + "name": "_cancelled", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_cancelled", + "access": "private", + "description": null, + "lineNumber": 54, + "type": { + "nullable": null, + "types": [ + "Counter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 262, + "kind": "member", + "name": "_timer", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_timer", + "access": "private", + "description": null, + "lineNumber": 56, + "type": { + "nullable": null, + "types": [ + "Timer" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 263, + "kind": "method", + "name": "onSubscribe", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#onSubscribe", + "access": "public", + "description": "", + "lineNumber": 62, + "params": [ + { + "nullable": null, + "types": [ + "ISubscription" + ], + "spread": false, + "optional": false, + "name": "s", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 264, + "kind": "member", + "name": "_subscription", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_subscription", + "access": "private", + "description": null, + "lineNumber": 64, + "type": { + "nullable": null, + "types": [ + "ISubscription" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 265, + "kind": "member", + "name": "_start", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_start", + "access": "private", + "description": null, + "lineNumber": 66, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 266, + "kind": "method", + "name": "onNext", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#onNext", + "access": "public", + "description": "", + "lineNumber": 73, + "params": [ + { + "name": "t", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 267, + "kind": "method", + "name": "onError", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#onError", + "access": "public", + "description": "", + "lineNumber": 81, + "params": [ + { + "nullable": null, + "types": [ + "Error" + ], + "spread": false, + "optional": false, + "name": "t", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 268, + "kind": "method", + "name": "onComplete", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#onComplete", + "access": "public", + "description": "", + "lineNumber": 90, + "params": [], + "return": null + }, + { + "__docId__": 269, + "kind": "method", + "name": "request", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#request", + "access": "public", + "description": "", + "lineNumber": 99, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 271, + "kind": "method", + "name": "cancel", + "memberof": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#cancel", + "access": "public", + "description": "", + "lineNumber": 105, + "params": [], + "return": null + }, + { + "__docId__": 273, + "kind": "file", + "name": "packages/metrics/src/RawMeterTag.js", + "content": "/**\n * @name RawMeterTag.js\n * @fileoverview A simple counter object.\n *\n * @flow\n *\n * @exports RawMeterTag\n */\n\n'use strict';\n\n/**\n */\nexport default class RawMeterTag {\n key: string;\n value: string;\n\n /**\n * @param {string} key -\n * @param {string} value -\n */\n constructor(key: string, value: string) {\n /** @type {string} */\n this.key = key;\n /** @type {string} */\n this.value = value;\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/RawMeterTag.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 274, + "kind": "class", + "name": "RawMeterTag", + "memberof": "packages/metrics/src/RawMeterTag.js", + "static": true, + "longname": "packages/metrics/src/RawMeterTag.js~RawMeterTag", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/RawMeterTag.js", + "importStyle": "RawMeterTag", + "description": "", + "lineNumber": 15, + "interface": false + }, + { + "__docId__": 275, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/RawMeterTag.js~RawMeterTag", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/RawMeterTag.js~RawMeterTag#constructor", + "access": "public", + "description": "", + "lineNumber": 21, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "key", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + } + ] + }, + { + "__docId__": 276, + "kind": "member", + "name": "key", + "memberof": "packages/metrics/src/RawMeterTag.js~RawMeterTag", + "static": false, + "longname": "packages/metrics/src/RawMeterTag.js~RawMeterTag#key", + "access": "public", + "description": null, + "lineNumber": 23, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 277, + "kind": "member", + "name": "value", + "memberof": "packages/metrics/src/RawMeterTag.js~RawMeterTag", + "static": false, + "longname": "packages/metrics/src/RawMeterTag.js~RawMeterTag#value", + "access": "public", + "description": null, + "lineNumber": 25, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 278, + "kind": "file", + "name": "packages/metrics/src/SimpleMeterRegistry.js", + "content": "/**\n * @name SimpleMeterRegistry.js\n * @fileoverview Defines the \"SimpleMeterRegistry\" class.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires IMeter\n * @requires IMeterRegistry\n * @exports SimpleMeterRegistry\n */\n\n'use strict';\n\nimport type {IMeter} from './IMeter';\nimport {IMeterRegistry} from './IMeterRegistry';\n\n/**\n * The default implementation of {@link IMeterRegistry}.\n */\nexport default class SimpleMeterRegistry implements IMeterRegistry {\n meterMap: Object;\n\n constructor() {\n /** @type {Object} */\n this.meterMap = {};\n }\n\n /**\n * @param {IMeter} meter\n */\n registerMeter(meter: IMeter): void {\n const id = {\n name: meter.name,\n tags: meter.tags,\n type: meter.type,\n };\n\n if (!this.meterMap[id]) {\n this.meterMap[id] = [];\n }\n\n this.meterMap[id].push(meter);\n }\n\n /**\n * @param {IMeter[]} meters\n */\n registerMeters(meters: IMeter[]): void {\n (meters || []).forEach(meter => this.registerMeter(meter));\n }\n\n /**\n * @return {IMeter[]}\n */\n meters(): IMeter[] {\n return Array.prototype.concat.apply(\n [],\n Object.keys(this.meterMap).map(key => this.meterMap[key]),\n );\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/SimpleMeterRegistry.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 279, + "kind": "class", + "name": "SimpleMeterRegistry", + "memberof": "packages/metrics/src/SimpleMeterRegistry.js", + "static": true, + "longname": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/SimpleMeterRegistry.js", + "importStyle": "SimpleMeterRegistry", + "description": "The default implementation of {@link IMeterRegistry}.", + "lineNumber": 33, + "interface": false + }, + { + "__docId__": 280, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#constructor", + "access": "public", + "description": null, + "lineNumber": 35, + "undocument": true + }, + { + "__docId__": 281, + "kind": "member", + "name": "meterMap", + "memberof": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry", + "static": false, + "longname": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#meterMap", + "access": "public", + "description": null, + "lineNumber": 37, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 282, + "kind": "method", + "name": "registerMeter", + "memberof": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#registerMeter", + "access": "public", + "description": "", + "lineNumber": 43, + "params": [ + { + "nullable": null, + "types": [ + "IMeter" + ], + "spread": false, + "optional": false, + "name": "meter", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 283, + "kind": "method", + "name": "registerMeters", + "memberof": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#registerMeters", + "access": "public", + "description": "", + "lineNumber": 60, + "params": [ + { + "nullable": null, + "types": [ + "IMeter[]" + ], + "spread": false, + "optional": false, + "name": "meters", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 284, + "kind": "method", + "name": "meters", + "memberof": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#meters", + "access": "public", + "description": "", + "lineNumber": 67, + "return": { + "nullable": null, + "types": [ + "IMeter[]" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 285, + "kind": "file", + "name": "packages/metrics/src/Timer.js", + "content": "/**\n * @name Timer.js\n * @fileoverview Defines the \"Timer\" class.\n *\n * @flow\n *\n * @requires BaseMeter\n * @requires RawMeterTag\n * @requires Histogram\n * @requires stats\n * @exports Timer\n */\n\n'use strict';\n\nimport BaseMeter from './BaseMeter';\nimport RawMeterTag from './RawMeterTag';\nimport {Histogram} from './Histogram';\nimport {ExponentiallyDecayingSample} from './stats';\n\n/**\n * Basically a timer that tracks the rate of events and histograms the durations.\n * @extends {BaseMeter}\n */\nexport default class Timer extends BaseMeter {\n histogram: Histogram;\n\n /**\n * @param {string} name -\n * @param {?string} [description] - (optional)\n * @param {?RawMeterTag[]} [tags] - (optional)\n */\n constructor(name: string, description?: string, tags?: RawMeterTag[]) {\n super(name, description, tags);\n /** @type {Histogram} */\n this.histogram = new Histogram(\n new ExponentiallyDecayingSample(1028, 0.015),\n );\n this.clear();\n this.type = 'timer';\n this.statistic = 'duration';\n }\n\n /**\n */\n update(duration: number): void {\n this.histogram.update(duration);\n this.mark();\n }\n\n // delegate these to histogram\n /** delegated to {@link Histogram#clear}\n * @return {void} */\n clear(): void {\n return this.histogram.clear();\n }\n /** delegated to {@link Histogram#totalCount}\n * @return {?number} */\n totalCount(): ?number {\n return this.histogram.count;\n }\n /** delegated to {@link Histogram#min}\n * @return {?number} */\n min(): ?number {\n return this.histogram.min;\n }\n /** delegated to {@link Histogram#max}\n * @return {?number} */\n max(): ?number {\n return this.histogram.max;\n }\n /** delegated to {@link Histogram#mean}\n * @return {?number} */\n mean(): ?number {\n return this.histogram.mean();\n }\n /** delegated to {@link Histogram#stdDev}\n * @return {?number} */\n stdDev(): ?number {\n return this.histogram.stdDev();\n }\n /** delegated to {@link Histogram#percentiles}\n * @param {?number[]} percentiles\n * @return {number[]} */\n percentiles(percentiles?: number[]): Object {\n return this.histogram.percentiles(percentiles);\n }\n /** delegated to {@link Histogram#values}\n * @returnn {any[]} */\n values() {\n return this.histogram.values();\n }\n\n /**\n * @returns {Object}\n * @property {string} type\n * @property {Object} duration\n * @property {number} count\n * @property {RawMeterTag[]} tags\n * @property {string} name\n */\n toObject() {\n return {\n type: this.type,\n duration: this.histogram.toObject(),\n count: this.count,\n tags: this.tags,\n name: this.name,\n };\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/Timer.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 286, + "kind": "class", + "name": "Timer", + "memberof": "packages/metrics/src/Timer.js", + "static": true, + "longname": "packages/metrics/src/Timer.js~Timer", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/Timer.js", + "importStyle": "Timer", + "description": "Basically a timer that tracks the rate of events and histograms the durations.", + "lineNumber": 25, + "interface": false, + "extends": [ + "BaseMeter" + ] + }, + { + "__docId__": 287, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#constructor", + "access": "public", + "description": "", + "lineNumber": 32, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": true, + "types": [ + "string" + ], + "spread": false, + "optional": true, + "name": "description", + "description": "(optional)" + }, + { + "nullable": true, + "types": [ + "RawMeterTag[]" + ], + "spread": false, + "optional": true, + "name": "tags", + "description": "(optional)" + } + ] + }, + { + "__docId__": 288, + "kind": "member", + "name": "histogram", + "memberof": "packages/metrics/src/Timer.js~Timer", + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#histogram", + "access": "public", + "description": null, + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "Histogram" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 289, + "kind": "member", + "name": "type", + "memberof": "packages/metrics/src/Timer.js~Timer", + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#type", + "access": "public", + "description": null, + "lineNumber": 37, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 290, + "kind": "member", + "name": "statistic", + "memberof": "packages/metrics/src/Timer.js~Timer", + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#statistic", + "access": "public", + "description": null, + "lineNumber": 38, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 291, + "kind": "method", + "name": "update", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#update", + "access": "public", + "description": "", + "lineNumber": 43, + "params": [ + { + "name": "duration", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 292, + "kind": "method", + "name": "clear", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#clear", + "access": "public", + "description": "delegated to {@link Histogram#clear}", + "lineNumber": 51, + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 293, + "kind": "method", + "name": "totalCount", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#totalCount", + "access": "public", + "description": "delegated to {@link Histogram#totalCount}", + "lineNumber": 56, + "return": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 294, + "kind": "method", + "name": "min", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#min", + "access": "public", + "description": "delegated to {@link Histogram#min}", + "lineNumber": 61, + "return": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 295, + "kind": "method", + "name": "max", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#max", + "access": "public", + "description": "delegated to {@link Histogram#max}", + "lineNumber": 66, + "return": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 296, + "kind": "method", + "name": "mean", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#mean", + "access": "public", + "description": "delegated to {@link Histogram#mean}", + "lineNumber": 71, + "return": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 297, + "kind": "method", + "name": "stdDev", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#stdDev", + "access": "public", + "description": "delegated to {@link Histogram#stdDev}", + "lineNumber": 76, + "return": { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 298, + "kind": "method", + "name": "percentiles", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#percentiles", + "access": "public", + "description": "delegated to {@link Histogram#percentiles}", + "lineNumber": 82, + "params": [ + { + "nullable": true, + "types": [ + "number[]" + ], + "spread": false, + "optional": false, + "name": "percentiles", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "number[]" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 299, + "kind": "method", + "name": "values", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#values", + "access": "public", + "description": "delegated to {@link Histogram#values}", + "lineNumber": 87, + "unknown": [ + { + "tagName": "@returnn", + "tagValue": "{any[]}" + } + ], + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 300, + "kind": "method", + "name": "toObject", + "memberof": "packages/metrics/src/Timer.js~Timer", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/Timer.js~Timer#toObject", + "access": "public", + "description": "", + "lineNumber": 99, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Object}" + } + ], + "properties": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "type", + "description": "" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "duration", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "count", + "description": "" + }, + { + "nullable": null, + "types": [ + "RawMeterTag[]" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 301, + "kind": "file", + "name": "packages/metrics/src/__tests__/exponentially_decaying_sample-test.js", + "content": "var ExponentiallyDecayingSample = require('../stats/ExponentiallyDecayingSample.js')\n .default,\n eds = new ExponentiallyDecayingSample(1000, 0.015);\n\nvar test = function(callback) {\n eds.clear();\n\n var time = new Date().getTime(),\n interval = (60 * 60 * 1000) / 100;\n for (var i = 0; i < 100; i++) {\n for (var j = 0; j < 100; j++) {\n eds.update(i, time + i * interval);\n }\n }\n\n function printSample(eds) {\n var valueCounts = {},\n values = eds.getValues();\n\n for (var i = 0; i < eds.size(); i++) {\n if (valueCounts[values[i].val]) {\n valueCounts[values[i].val]++;\n } else {\n valueCounts[values[i].val] = 1;\n }\n }\n return valueCounts;\n }\n\n console.log('This is an exponential distribution:');\n console.log(printSample(eds));\n\n eds.rescale(time + 100 * interval);\n\n console.log('This is after rescaling');\n console.log(eds.getValues());\n if (typeof callback == 'function') {\n callback();\n }\n};\n\nif (module.parent) {\n module.exports = test;\n} else {\n test();\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/__tests__/exponentially_decaying_sample-test.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 302, + "kind": "variable", + "name": "ExponentiallyDecayingSample", + "memberof": "packages/metrics/src/__tests__/exponentially_decaying_sample-test.js", + "static": true, + "longname": "packages/metrics/src/__tests__/exponentially_decaying_sample-test.js~ExponentiallyDecayingSample", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/exponentially_decaying_sample-test.js", + "importStyle": null, + "description": null, + "lineNumber": 1, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 303, + "kind": "function", + "name": "test", + "memberof": "packages/metrics/src/__tests__/exponentially_decaying_sample-test.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/__tests__/exponentially_decaying_sample-test.js~test", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/exponentially_decaying_sample-test.js", + "importStyle": null, + "description": null, + "lineNumber": 4, + "undocument": true, + "params": [ + { + "name": "callback", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 304, + "kind": "file", + "name": "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "content": "var ExponentiallyWeightedMovingAverage = require('../stats/ExponentiallyWeightedMovingAverage')\n .default;\nvar exponentially_weighted_moving_average = new ExponentiallyWeightedMovingAverage.createM1EWMA();\n\n/**\n * @test {ExponentiallyWeightedMovingAverage}\n */\nvar test = function(callback) {\n console.log('\\nTesting ExponentiallyWeightedMovingAverage\\n');\n console.log('Sending updates every 100 milliseconds for 30 seconds.');\n\n var updateInterval = setInterval(function() {\n exponentially_weighted_moving_average.update();\n }, 100);\n setTimeout(function() {\n clearInterval(updateInterval);\n console.log('\\n\\nExpected Average: 10');\n console.log(\n 'Exponentially Weighted Moving Average: ' +\n exponentially_weighted_moving_average.rate() +\n '\\n',\n );\n if (typeof callback == 'function') {\n callback();\n }\n }, 30000);\n};\n\nif (module.parent) {\n module.exports = test;\n} else {\n test();\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 305, + "kind": "variable", + "name": "ExponentiallyWeightedMovingAverage", + "memberof": "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "static": true, + "longname": "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js~ExponentiallyWeightedMovingAverage", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "importStyle": null, + "description": null, + "lineNumber": 1, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 306, + "kind": "variable", + "name": "exponentially_weighted_moving_average", + "memberof": "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "static": true, + "longname": "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js~exponentially_weighted_moving_average", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "importStyle": null, + "description": null, + "lineNumber": 2, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 307, + "kind": "function", + "name": "test", + "memberof": "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js~test", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "importStyle": null, + "description": "", + "lineNumber": 7, + "unknown": [ + { + "tagName": "@test", + "tagValue": "{ExponentiallyWeightedMovingAverage}" + } + ], + "params": [ + { + "name": "callback", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 308, + "kind": "file", + "name": "packages/metrics/src/__tests__/histogram-test.js", + "content": "var expect = require('chai').expect,\n describe = require('mocha').describe,\n it = require('mocha').it,\n Histogram = require('../Histogram').Histogram;\n\n/**\n * @test {Histogram}\n */\ndescribe('Histogram', function() {\n it('should properly record percentiles from uniform distribution.', function() {\n var unifHist = Histogram.createUniformHistogram(5000);\n\n for (var i = 1; i < 10000; i++) {\n unifHist.update(i);\n }\n\n expect(unifHist.mean()).to.equal(5000);\n expect(unifHist.variance()).to.equal(8332500);\n expect(unifHist.stdDev()).to.equal(2886.607004772212);\n expect(unifHist.count).to.equal(9999);\n expect(unifHist.min).to.equal(1);\n expect(unifHist.max).to.equal(9999);\n });\n});\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/__tests__/histogram-test.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 309, + "kind": "variable", + "name": "expect", + "memberof": "packages/metrics/src/__tests__/histogram-test.js", + "static": true, + "longname": "packages/metrics/src/__tests__/histogram-test.js~expect", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/histogram-test.js", + "importStyle": null, + "description": null, + "lineNumber": 1, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 310, + "kind": "file", + "name": "packages/metrics/src/__tests__/meter-test.js", + "content": "var expect = require('chai').expect,\n describe = require('mocha').describe,\n it = require('mocha').it,\n Meter = require('../BaseMeter').default;\n\n/**\n * @test {Meter}\n */\ndescribe('Meter', function() {\n this.timeout(10000);\n it('should properly record rate and count.', function(done) {\n var meter = new Meter();\n var updateInterval = setInterval(function() {\n meter.mark(1);\n }, 100);\n\n setTimeout(function() {\n clearInterval(updateInterval);\n expect(meter)\n .to.have.property('count')\n .to.be.within(45, 55);\n ['mean', '1', '5', '15'].forEach(function(v) {\n expect(meter.rates())\n .to.have.property(v)\n .to.be.within(9, 11);\n });\n done();\n }, 5000);\n });\n});\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/__tests__/meter-test.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 311, + "kind": "variable", + "name": "expect", + "memberof": "packages/metrics/src/__tests__/meter-test.js", + "static": true, + "longname": "packages/metrics/src/__tests__/meter-test.js~expect", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/meter-test.js", + "importStyle": null, + "description": null, + "lineNumber": 1, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 312, + "kind": "file", + "name": "packages/metrics/src/__tests__/timer-test.js", + "content": "var expect = require('chai').expect,\n describe = require('mocha').describe,\n it = require('mocha').it,\n Timer = require('../Timer').default;\n\n/**\n * @test {Timer}\n */\ndescribe('Timer', function() {\n it('should properly record durations.', function(done) {\n var timer = new Timer();\n\n var n = 0;\n var updateInterval = setInterval(function() {\n timer.update(n++);\n }, 100);\n\n setTimeout(function() {\n clearInterval(updateInterval);\n timer.tick();\n expect(timer.totalCount()).to.be.within(8, 12);\n expect(timer.min()).to.equal(0);\n expect(timer.max()).to.be.within(8, 12);\n expect(timer).to.have.property('mean');\n expect(timer).to.have.property('stdDev');\n expect(timer).to.have.property('percentiles');\n expect(timer).to.have.property('values');\n expect(timer).to.have.property('oneMinuteRate');\n expect(timer).to.have.property('fiveMinuteRate');\n expect(timer).to.have.property('fifteenMinuteRate');\n expect(timer).to.have.property('meanRate');\n expect(timer).to.have.property('rates');\n done();\n }, 1000);\n });\n});\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/__tests__/timer-test.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 313, + "kind": "variable", + "name": "expect", + "memberof": "packages/metrics/src/__tests__/timer-test.js", + "static": true, + "longname": "packages/metrics/src/__tests__/timer-test.js~expect", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/timer-test.js", + "importStyle": null, + "description": null, + "lineNumber": 1, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 314, + "kind": "file", + "name": "packages/metrics/src/__tests__/uniform_sample-test.js", + "content": "var expect = require('chai').expect,\n debug = require('debug')('metrics'),\n describe = require('mocha').describe,\n it = require('mocha').it,\n UniformSample = require('../stats/UniformSample').default;\n\n/**\n * @test {UniformSample}\n */\ndescribe('UniformSample', function() {\n it('average of sampled values should fall within acceptable range of actual mean.', function() {\n debug('Creating a new UniformSample with a limit of 600.');\n var uniformSample = new UniformSample(600);\n for (var i = 0; i < 10000; i++) {\n uniformSample.update(i);\n }\n\n var sum = 0;\n for (var k in uniformSample.values) {\n sum += uniformSample.values[k];\n }\n var mean = sum / uniformSample.values.length;\n debug('Mean of sample is %j', mean);\n // actual mean of all 10000 values should be 5000.\n expect(mean).to.be.within(4500, 5500);\n });\n});\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/__tests__/uniform_sample-test.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 315, + "kind": "variable", + "name": "expect", + "memberof": "packages/metrics/src/__tests__/uniform_sample-test.js", + "static": true, + "longname": "packages/metrics/src/__tests__/uniform_sample-test.js~expect", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/__tests__/uniform_sample-test.js", + "importStyle": null, + "description": null, + "lineNumber": 1, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 316, + "kind": "file", + "name": "packages/metrics/src/index.js", + "content": "/**\n * @name rsocket-rpc-js/packages/metrics\n * @fileoverview The set of exports for the \"Metrics\" package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires metrics_pb\n * @requires metrics_rsocket_pb\n * @requires stats\n * @requires BaseMeter\n * @requires Histogram\n * @requires Timer\n * @requires Counter\n * @requires IMeter\n * @requires IMeterRegistry\n * @requires SimpleMeterRegistry\n * @requires MetricsExporter\n * @requires Metrics\n * @requires RawMeterTag\n */\n\n'use strict';\n\nimport {\n MeterTag,\n MeterType,\n MeterId,\n MeterStatistic,\n MeterMeasurement,\n Meter,\n MetricsSnapshot,\n Skew,\n} from './proto/metrics_pb';\n\nimport {\n MetricsSnapshotHandlerClient,\n MetricsSnapshotHandlerServer,\n} from './proto/metrics_rsocket_pb';\n\nimport {\n ExponentiallyDecayingSample,\n ExponentiallyWeightedMovingAverage,\n Sample,\n UniformSample,\n ISample,\n} from './stats';\n\nimport BaseMeter from './BaseMeter';\n\nimport {Histogram, DEFAULT_PERCENTILES} from './Histogram';\n\nimport Timer from './Timer';\n\nimport Counter from './Counter';\n\nimport {IMeter} from './IMeter';\n\nimport {IMeterRegistry} from './IMeterRegistry';\n\nimport SimpleMeterRegistry from './SimpleMeterRegistry';\n\nimport MetricsExporter from './MetricsExporter';\n\nimport Metrics from './Metrics';\n\nimport RawMeterTag from './RawMeterTag';\n\nexport {\n BaseMeter,\n Counter,\n Timer,\n RawMeterTag,\n Histogram,\n ExponentiallyDecayingSample,\n ExponentiallyWeightedMovingAverage,\n Sample,\n UniformSample,\n ISample,\n DEFAULT_PERCENTILES,\n IMeter,\n IMeterRegistry,\n SimpleMeterRegistry,\n Metrics,\n MetricsExporter,\n MeterTag,\n MeterId,\n MeterMeasurement,\n MetricsSnapshot,\n Skew,\n MeterType,\n MeterStatistic,\n MetricsSnapshotHandlerServer,\n MetricsSnapshotHandlerClient,\n};\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 317, + "kind": "file", + "name": "packages/metrics/src/stats/ExponentiallyDecayingSample.js", + "content": "/**\n * @name ExponentiallyDecayingSample.js\n * @fileoverview Defines the \"ExponentiallyDecayingSample\" class.\n *\n * @flow\n *\n * @requires Sample\n * @requires binary_heap\n * @exports ExponentiallyDecayingSample\n */\n\n'use strict';\n\nimport Sample from './Sample';\nimport BinaryHeap from './lib/binary_heap';\nimport type PrioritizedItem from './lib/binary_heap';\n\n/**\n * Take an exponentially decaying sample of size size of all values.\n * This value represents one hour in milliseconds.\n * @constant\n */\nconst RESCALE_THRESHOLD = 60 * 60 * 1000; // 1 hour in milliseconds\n\n/**\n */\nexport default class ExponentiallyDecayingSample extends Sample {\n count: number;\n limit: number;\n alpha: number;\n startTime: number;\n nextScaleTime: number;\n values: BinaryHeap;\n\n /**\n * @param {number} size -\n * @param {number} alpha -\n */\n constructor(size: number, alpha: number) {\n super();\n /** @type {number} */\n this.count = 0;\n /** @type {number} */\n this.limit = size;\n /** @type {number} */\n this.alpha = alpha;\n this.clear();\n }\n\n /**\n * This is a relatively expensive operation.\n * @return {T[]}\n */\n getValues(): T[] {\n var values = ([]: T[]),\n elt,\n heap = this.values.clone();\n while ((elt = heap.pop())) {\n values.push(elt.val);\n }\n return values;\n }\n\n /**\n * @return {number}\n */\n size(): number {\n return this.values.size();\n }\n\n /**\n * @return {BinaryHeap}\n */\n newHeap(): BinaryHeap {\n return new BinaryHeap(obj => obj.priority);\n }\n\n /**\n * @return {number}\n */\n now(): number {\n return new Date().getTime();\n }\n\n /**\n * @return {number}\n */\n tick(): number {\n return this.now() / 1000;\n }\n\n /**\n * @return {void}\n */\n clear(): void {\n /** @type {BinaryHeap} values */\n this.values = this.newHeap();\n this.count = 0;\n /** @type {number} */\n this.startTime = this.tick();\n /** @type {number} */\n this.nextScaleTime = this.now() + RESCALE_THRESHOLD;\n }\n\n /**\n * @param {T} val - \n * @param {?number} timestamp - (in milliseconds)\n */\n update(val: T, timestamp?: number): void {\n // Convert timestamp to seconds\n if (timestamp == undefined) {\n timestamp = this.tick();\n } else {\n timestamp = timestamp / 1000;\n }\n var priority = this.weight(timestamp - this.startTime) / Math.random();\n const value = ({val: val, priority: priority}: PrioritizedItem);\n if (this.count < this.limit) {\n this.count += 1;\n this.values.push(value);\n } else {\n var first = this.values.peek();\n if (first.priority < priority) {\n this.values.push(value);\n this.values.pop();\n }\n }\n\n if (this.now() > this.nextScaleTime) {\n this.rescale(this.now());\n }\n }\n\n /**\n * @param {number} time\n * @return {number}\n */\n weight(time: number): number {\n return Math.exp(this.alpha * time);\n }\n\n /**\n * @param {number} now - parameter primarily used for testing rescales\n * @return {void}\n */\n rescale(now: number): void {\n this.nextScaleTime = this.now() + RESCALE_THRESHOLD;\n var oldContent = this.values.content,\n newContent = [],\n oldStartTime = this.startTime;\n this.startTime = (now && now / 1000) || this.tick();\n // Downscale every priority by the same factor. Order is unaffected, which is why we're avoiding the cost of popping.\n for (var i = 0; i < oldContent.length; i++) {\n newContent.push({\n val: oldContent[i].val,\n priority:\n oldContent[i].priority *\n Math.exp(-this.alpha * (this.startTime - oldStartTime)),\n });\n }\n this.values.content = newContent;\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyDecayingSample.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 318, + "kind": "variable", + "name": "RESCALE_THRESHOLD", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js", + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~RESCALE_THRESHOLD", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/stats/ExponentiallyDecayingSample.js", + "importStyle": null, + "description": "Take an exponentially decaying sample of size size of all values.\nThis value represents one hour in milliseconds.", + "lineNumber": 23, + "unknown": [ + { + "tagName": "@constant", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 319, + "kind": "class", + "name": "ExponentiallyDecayingSample", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js", + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/stats/ExponentiallyDecayingSample.js", + "importStyle": "ExponentiallyDecayingSample", + "description": "", + "lineNumber": 27, + "interface": false, + "extends": [ + "packages/metrics/src/stats/Sample.js~Sample" + ] + }, + { + "__docId__": 320, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#constructor", + "access": "public", + "description": "", + "lineNumber": 33, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "size", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "alpha", + "description": "" + } + ] + }, + { + "__docId__": 321, + "kind": "member", + "name": "count", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#count", + "access": "public", + "description": null, + "lineNumber": 36, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 322, + "kind": "member", + "name": "limit", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#limit", + "access": "public", + "description": null, + "lineNumber": 38, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 323, + "kind": "member", + "name": "alpha", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#alpha", + "access": "public", + "description": null, + "lineNumber": 40, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 324, + "kind": "method", + "name": "getValues", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#getValues", + "access": "public", + "description": "This is a relatively expensive operation.", + "lineNumber": 48, + "return": { + "nullable": null, + "types": [ + "T[]" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 325, + "kind": "method", + "name": "size", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#size", + "access": "public", + "description": "", + "lineNumber": 61, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 326, + "kind": "method", + "name": "newHeap", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#newHeap", + "access": "public", + "description": "", + "lineNumber": 68, + "return": { + "nullable": null, + "types": [ + "BinaryHeap" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 327, + "kind": "method", + "name": "now", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#now", + "access": "public", + "description": "", + "lineNumber": 75, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 328, + "kind": "method", + "name": "tick", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#tick", + "access": "public", + "description": "", + "lineNumber": 82, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 329, + "kind": "method", + "name": "clear", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#clear", + "access": "public", + "description": "", + "lineNumber": 89, + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 330, + "kind": "member", + "name": "values", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#values", + "access": "public", + "description": null, + "lineNumber": 91, + "type": { + "nullable": null, + "types": [ + "BinaryHeap" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 332, + "kind": "member", + "name": "startTime", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#startTime", + "access": "public", + "description": null, + "lineNumber": 94, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 333, + "kind": "member", + "name": "nextScaleTime", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#nextScaleTime", + "access": "public", + "description": null, + "lineNumber": 96, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 334, + "kind": "method", + "name": "update", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#update", + "access": "public", + "description": "", + "lineNumber": 103, + "params": [ + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "val", + "description": "" + }, + { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "timestamp", + "description": "(in milliseconds)" + } + ], + "return": null + }, + { + "__docId__": 336, + "kind": "method", + "name": "weight", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#weight", + "access": "public", + "description": "", + "lineNumber": 132, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "time", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 337, + "kind": "method", + "name": "rescale", + "memberof": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#rescale", + "access": "public", + "description": "", + "lineNumber": 140, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "now", + "description": "parameter primarily used for testing rescales" + } + ], + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 340, + "kind": "file", + "name": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "content": "/**\n * @name ExponentiallyWeightedMovingAverage.js\n * @fileoverview Exponentially weighted moving average.\n *\n * @flow\n * @exports EWMA\n */\n\n'use strict';\n\n/**\n * @constant\n */\nconst M1_ALPHA = 1 - Math.exp(-5 / 60);\n/**\n * @constant\n */\nconst M5_ALPHA = 1 - Math.exp(-5 / 60 / 5);\n/**\n * @constant\n */\nconst M15_ALPHA = 1 - Math.exp(-5 / 60 / 15);\n\n/**\n */\nexport default class EWMA {\n alpha: number;\n interval: number;\n initialized: boolean;\n currentRate: number;\n uncounted: number;\n tickInterval: any;\n\n /**\n * @param {number} alpha -\n * @param {number} interval - time in milliseconds\n */\n constructor(alpha: number, interval: number) {\n /** @type {number} */\n this.alpha = alpha;\n /** @type {number} */\n this.interval = interval || 5000;\n /** @type {boolean} */\n this.initialized = false;\n /** @type {number} */\n this.currentRate = 0.0;\n /** @type {number} */\n this.uncounted = 0;\n if (interval) {\n /** @type {any} */\n this.tickInterval = setInterval(() => {\n this.tick();\n }, interval);\n\n // $FlowFixMe\n if (this.tickInterval.unref) {\n // checking in Node context\n // Don't keep the process open if this is the last thing in the event loop.\n this.tickInterval.unref();\n }\n }\n }\n\n /**\n * @returns {EWMA}\n */\n static createM1EWMA(): EWMA {\n return new EWMA(M1_ALPHA, 5000);\n }\n /**\n * @returns {EWMA}\n */\n static createM5EWMA(): EWMA {\n return new EWMA(M5_ALPHA, 5000);\n }\n /**\n * @returns {EWMA}\n */\n static createM15EWMA(): EWMA {\n return new EWMA(M15_ALPHA, 5000);\n }\n\n /**\n * @param {number} n -\n * @returns {void}\n */\n update(n: number): void {\n this.uncounted += n || 1;\n }\n\n /**\n * Update our rate measurements every interval.\n * @returns {void}\n */\n tick(): void {\n var instantRate = this.uncounted / this.interval;\n this.uncounted = 0;\n\n if (this.initialized) {\n this.currentRate += this.alpha * (instantRate - this.currentRate);\n } else {\n this.currentRate = instantRate;\n this.initialized = true;\n }\n }\n\n /**\n * Return the rate per second.\n * @returns {number}\n */\n rate(): number {\n return this.currentRate * 1000;\n }\n\n /**\n * @returns {void}\n */\n stop(): void {\n clearInterval(this.tickInterval);\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 341, + "kind": "variable", + "name": "M1_ALPHA", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~M1_ALPHA", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "importStyle": null, + "description": "", + "lineNumber": 15, + "unknown": [ + { + "tagName": "@constant", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 342, + "kind": "variable", + "name": "M5_ALPHA", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~M5_ALPHA", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "importStyle": null, + "description": "", + "lineNumber": 19, + "unknown": [ + { + "tagName": "@constant", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 343, + "kind": "variable", + "name": "M15_ALPHA", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~M15_ALPHA", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "importStyle": null, + "description": "", + "lineNumber": 23, + "unknown": [ + { + "tagName": "@constant", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 344, + "kind": "class", + "name": "EWMA", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "importStyle": "EWMA", + "description": "", + "lineNumber": 27, + "interface": false + }, + { + "__docId__": 345, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#constructor", + "access": "public", + "description": "", + "lineNumber": 33, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "alpha", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "interval", + "description": "time in milliseconds" + } + ] + }, + { + "__docId__": 346, + "kind": "member", + "name": "alpha", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#alpha", + "access": "public", + "description": null, + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 347, + "kind": "member", + "name": "interval", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#interval", + "access": "public", + "description": null, + "lineNumber": 37, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 348, + "kind": "member", + "name": "initialized", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#initialized", + "access": "public", + "description": null, + "lineNumber": 39, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 349, + "kind": "member", + "name": "currentRate", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#currentRate", + "access": "public", + "description": null, + "lineNumber": 41, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 350, + "kind": "member", + "name": "uncounted", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#uncounted", + "access": "public", + "description": null, + "lineNumber": 43, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 351, + "kind": "member", + "name": "tickInterval", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#tickInterval", + "access": "public", + "description": null, + "lineNumber": 46, + "type": { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 352, + "kind": "method", + "name": "createM1EWMA", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.createM1EWMA", + "access": "public", + "description": "", + "lineNumber": 62, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{EWMA}" + } + ], + "return": { + "nullable": null, + "types": [ + "EWMA" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 353, + "kind": "method", + "name": "createM5EWMA", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.createM5EWMA", + "access": "public", + "description": "", + "lineNumber": 68, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{EWMA}" + } + ], + "return": { + "nullable": null, + "types": [ + "EWMA" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 354, + "kind": "method", + "name": "createM15EWMA", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "generator": false, + "async": false, + "static": true, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.createM15EWMA", + "access": "public", + "description": "", + "lineNumber": 74, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{EWMA}" + } + ], + "return": { + "nullable": null, + "types": [ + "EWMA" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 355, + "kind": "method", + "name": "update", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#update", + "access": "public", + "description": "", + "lineNumber": 82, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{void}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 357, + "kind": "method", + "name": "tick", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#tick", + "access": "public", + "description": "Update our rate measurements every interval.", + "lineNumber": 90, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{void}" + } + ], + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 362, + "kind": "method", + "name": "rate", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#rate", + "access": "public", + "description": "Return the rate per second.", + "lineNumber": 106, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{number}" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 363, + "kind": "method", + "name": "stop", + "memberof": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#stop", + "access": "public", + "description": "", + "lineNumber": 113, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{void}" + } + ], + "return": { + "nullable": null, + "types": [ + "void" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 364, + "kind": "file", + "name": "packages/metrics/src/stats/ISample.js", + "content": "/**\n * @name ISample.js\n * @fileoverview The \"ISample\" interface.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n * @exports ISample\n */\n\n'use strict';\n\n/**\n */\nexport interface ISample {\n /**\n * Initialize the sample.\n */\n init(): void;\n /**\n * Add a value (and optionally its timestamp) to the sample.\n * @param {T} val the value to sample\n * @param {?number} [timestamp] the timestamp at which this value was generated or sampled\n */\n update(val: T, timestamp?: number): void;\n /**\n * Clear the items from the sample and reset its size to zero.\n */\n clear(): void;\n /**\n * Get the number of items in the sample.\n * @returns {number} the number of items inthe sample\n */\n size(): number;\n /**\n * Get the items in the sample as an array.\n * @returns {T[]} the items in the sample\n */\n getValues(): T[];\n /**\n */\n print(): void;\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/stats/ISample.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 365, + "kind": "file", + "name": "packages/metrics/src/stats/Sample.js", + "content": "/**\n * @name Sample.js\n * @fileoverview Defines the \"Sample\" class.\n *\n * @flow\n *\n * @requires ISample\n * @exports Sample\n */\n\n'use strict';\n\nimport {ISample} from './ISample';\n\n/**\n */\nexport default class Sample implements ISample {\n values: T[];\n count: number;\n\n constructor() {\n /** @type {T[]} */\n this.values = [];\n /** @type {number} */\n this.count = 0;\n }\n\n /**\n * Initialize the sample, setting its count to zero and clearing out any previously-stored values.\n */\n init(): void {\n this.clear();\n }\n /**\n * Add a value to the sample. Note: {@link timestamp} is currently unused.\n * @param {T} val - the value to add\n * @param {?number} [timestamp] - the time when the value was sampled\n */\n update(val: T, timestamp?: number): void {\n this.values.push(val);\n }\n /**\n * Reset the sample by removing all of its items and setting its count to zero.\n */\n clear(): void {\n this.values = [];\n this.count = 0;\n }\n /**\n * Get the number of items in the sample.\n * @return {number} the number of values in the sample.\n */\n size(): number {\n return this.values.length;\n }\n /**\n * Get the items in the sample as an array.\n * @return {Array} the set of values in the sample.\n */\n getValues(): T[] {\n return this.values;\n }\n /**\n * Output the values of this sample to the console.\n */\n print(): void {\n console.log(this.values);\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/stats/Sample.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 366, + "kind": "class", + "name": "Sample", + "memberof": "packages/metrics/src/stats/Sample.js", + "static": true, + "longname": "packages/metrics/src/stats/Sample.js~Sample", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/stats/Sample.js", + "importStyle": "Sample", + "description": "", + "lineNumber": 17, + "interface": false + }, + { + "__docId__": 367, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#constructor", + "access": "public", + "description": null, + "lineNumber": 19, + "undocument": true + }, + { + "__docId__": 368, + "kind": "member", + "name": "values", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#values", + "access": "public", + "description": null, + "lineNumber": 21, + "type": { + "nullable": null, + "types": [ + "T[]" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 369, + "kind": "member", + "name": "count", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#count", + "access": "public", + "description": null, + "lineNumber": 23, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 370, + "kind": "method", + "name": "init", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#init", + "access": "public", + "description": "Initialize the sample, setting its count to zero and clearing out any previously-stored values.", + "lineNumber": 29, + "params": [], + "return": null + }, + { + "__docId__": 371, + "kind": "method", + "name": "update", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#update", + "access": "public", + "description": "Add a value to the sample. Note: {@link timestamp} is currently unused.", + "lineNumber": 37, + "params": [ + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "val", + "description": "the value to add" + }, + { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "timestamp", + "description": "the time when the value was sampled" + } + ], + "return": null + }, + { + "__docId__": 372, + "kind": "method", + "name": "clear", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#clear", + "access": "public", + "description": "Reset the sample by removing all of its items and setting its count to zero.", + "lineNumber": 43, + "params": [], + "return": null + }, + { + "__docId__": 375, + "kind": "method", + "name": "size", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#size", + "access": "public", + "description": "Get the number of items in the sample.", + "lineNumber": 51, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "the number of values in the sample." + }, + "params": [] + }, + { + "__docId__": 376, + "kind": "method", + "name": "getValues", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#getValues", + "access": "public", + "description": "Get the items in the sample as an array.", + "lineNumber": 58, + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "the set of values in the sample." + }, + "params": [] + }, + { + "__docId__": 377, + "kind": "method", + "name": "print", + "memberof": "packages/metrics/src/stats/Sample.js~Sample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/Sample.js~Sample#print", + "access": "public", + "description": "Output the values of this sample to the console.", + "lineNumber": 64, + "params": [], + "return": null + }, + { + "__docId__": 378, + "kind": "file", + "name": "packages/metrics/src/stats/UniformSample.js", + "content": "/**\n * @name UniformSample.js\n * @fileoverview Defines the \"UniformSample\" class.\n *\n * @flow\n *\n * @requires Sample\n * @exports UniformSample\n */\n\n'use strict';\n\nimport Sample from './Sample';\n\n/**\n * Take a uniform sample of size \"size\" for all values.\n * @extends {Sample}\n */\nexport default class UniformSample extends Sample {\n limit: number;\n count: number;\n\n /**\n * @param {number} size - the maximum number of items in this sample\n */\n constructor(size: number) {\n super();\n /** @type {number} */\n this.limit = size;\n /** @type {number} */\n this.count = 0;\n this.init();\n }\n\n /**\n * Add {@link val} to the set of values that make up the sample. Note, if\n * the sample size is already equal to the maximum sample size, the new value\n * may replace a randomly-chosen existing sample value.\n *\n * @param {T} val - the value to add to those sampled\n * @param {?number} timestamp - the time when {@link val} was sampled (currently unused)\n */\n update(val: T, timestamp?: number): void {\n this.count++;\n if (this.size() < this.limit) {\n // console.log(\"Adding \"+val+\" to values.\");\n this.values.push(val);\n } else {\n var rand = parseInt(Math.random() * this.count);\n if (rand < this.limit) {\n this.values[rand] = val;\n }\n }\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/stats/UniformSample.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 379, + "kind": "class", + "name": "UniformSample", + "memberof": "packages/metrics/src/stats/UniformSample.js", + "static": true, + "longname": "packages/metrics/src/stats/UniformSample.js~UniformSample", + "access": "public", + "export": true, + "importPath": "./packages/metrics/src/stats/UniformSample.js", + "importStyle": "UniformSample", + "description": "Take a uniform sample of size \"size\" for all values.", + "lineNumber": 19, + "interface": false, + "extends": [ + "Sample" + ] + }, + { + "__docId__": 380, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/metrics/src/stats/UniformSample.js~UniformSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/UniformSample.js~UniformSample#constructor", + "access": "public", + "description": "", + "lineNumber": 24, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "size", + "description": "the maximum number of items in this sample" + } + ] + }, + { + "__docId__": 381, + "kind": "member", + "name": "limit", + "memberof": "packages/metrics/src/stats/UniformSample.js~UniformSample", + "static": false, + "longname": "packages/metrics/src/stats/UniformSample.js~UniformSample#limit", + "access": "public", + "description": null, + "lineNumber": 27, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 382, + "kind": "member", + "name": "count", + "memberof": "packages/metrics/src/stats/UniformSample.js~UniformSample", + "static": false, + "longname": "packages/metrics/src/stats/UniformSample.js~UniformSample#count", + "access": "public", + "description": null, + "lineNumber": 29, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 383, + "kind": "method", + "name": "update", + "memberof": "packages/metrics/src/stats/UniformSample.js~UniformSample", + "generator": false, + "async": false, + "static": false, + "longname": "packages/metrics/src/stats/UniformSample.js~UniformSample#update", + "access": "public", + "description": "Add {@link val} to the set of values that make up the sample. Note, if\nthe sample size is already equal to the maximum sample size, the new value\nmay replace a randomly-chosen existing sample value.", + "lineNumber": 41, + "params": [ + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "val", + "description": "the value to add to those sampled" + }, + { + "nullable": true, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "timestamp", + "description": "the time when {@link val} was sampled (currently unused)" + } + ], + "return": null + }, + { + "__docId__": 384, + "kind": "file", + "name": "packages/metrics/src/stats/index.js", + "content": "/**\n * @name rsocket-rpc-js/packages/metrics/.../stats\n * @fileoverview Stats package\n *\n * @requires ExponentiallyWeightedMovingAverage\n * @requires ExponentiallyDecayingSample\n * @requires Sample\n * @requires ISample\n * @requires UniformSample\n * @exports EWMA\n * @exports ExponentiallyDecayingSample\n * @exports ISample\n * @exports Sample\n * @exports UniformSample\n */\nimport EWMA from './ExponentiallyWeightedMovingAverage';\nimport ExponentiallyDecayingSample from './ExponentiallyDecayingSample';\nimport Sample from './Sample';\nimport ISample from './ISample';\nimport UniformSample from './UniformSample';\n\nexport {EWMA, ExponentiallyDecayingSample, ISample, Sample, UniformSample};\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/stats/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 385, + "kind": "file", + "name": "packages/metrics/src/stats/lib/binary_heap.js", + "content": "// From http://eloquentjavascript.net/appendix2.html,\n// licensed under CCv3.0: http://creativecommons.org/licenses/by/3.0/\n\nvar utils = require('./utils');\n\n/* This acts as a ordered binary heap for any serializeable JS object or collection of such objects */\nvar BinaryHeap = (module.exports = function BinaryHeap(scoreFunction) {\n this.content = [];\n this.scoreFunction = scoreFunction;\n});\n\nBinaryHeap.prototype = {\n clone: function() {\n var heap = new BinaryHeap(this.scoreFunction);\n // A little hacky, but effective.\n heap.content = JSON.parse(JSON.stringify(this.content));\n return heap;\n },\n\n push: function(element) {\n // Add the new element to the end of the array.\n this.content.push(element);\n // Allow it to bubble up.\n this.bubbleUp(this.content.length - 1);\n },\n\n peek: function() {\n return this.content[0];\n },\n\n pop: function() {\n // Store the first element so we can return it later.\n var result = this.content[0];\n // Get the element at the end of the array.\n var end = this.content.pop();\n // If there are any elements left, put the end element at the\n // start, and let it sink down.\n if (this.content.length > 0) {\n this.content[0] = end;\n this.sinkDown(0);\n }\n return result;\n },\n\n remove: function(node) {\n var len = this.content.length;\n // To remove a value, we must search through the array to find\n // it.\n for (var i = 0; i < len; i++) {\n if (this.content[i] == node) {\n // When it is found, the process seen in 'pop' is repeated\n // to fill up the hole.\n var end = this.content.pop();\n if (i != len - 1) {\n this.content[i] = end;\n if (this.scoreFunction(end) < this.scoreFunction(node))\n this.bubbleUp(i);\n else this.sinkDown(i);\n }\n return true;\n }\n }\n throw new Error('Node not found.');\n },\n\n size: function() {\n return this.content.length;\n },\n\n bubbleUp: function(n) {\n // Fetch the element that has to be moved.\n var element = this.content[n];\n // When at 0, an element can not go up any further.\n while (n > 0) {\n // Compute the parent element's index, and fetch it.\n var parentN = Math.floor((n + 1) / 2) - 1,\n parent = this.content[parentN];\n // Swap the elements if the parent is greater.\n if (this.scoreFunction(element) < this.scoreFunction(parent)) {\n this.content[parentN] = element;\n this.content[n] = parent;\n // Update 'n' to continue at the new position.\n n = parentN;\n }\n // Found a parent that is less, no need to move it further.\n else {\n break;\n }\n }\n },\n\n sinkDown: function(n) {\n // Look up the target element and its score.\n var length = this.content.length,\n element = this.content[n],\n elemScore = this.scoreFunction(element);\n\n while (true) {\n // Compute the indices of the child elements.\n var child2N = (n + 1) * 2,\n child1N = child2N - 1;\n // This is used to store the new position of the element,\n // if any.\n var swap = null;\n // If the first child exists (is inside the array)...\n if (child1N < length) {\n // Look it up and compute its score.\n var child1 = this.content[child1N],\n child1Score = this.scoreFunction(child1);\n // If the score is less than our element's, we need to swap.\n if (child1Score < elemScore) swap = child1N;\n }\n // Do the same checks for the other child.\n if (child2N < length) {\n var child2 = this.content[child2N],\n child2Score = this.scoreFunction(child2);\n if (child2Score < (swap == null ? elemScore : child1Score))\n swap = child2N;\n }\n\n // If the element needs to be moved, swap it, and continue.\n if (swap != null) {\n this.content[n] = this.content[swap];\n this.content[swap] = element;\n n = swap;\n }\n // Otherwise, we are done.\n else {\n break;\n }\n }\n },\n};\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/stats/lib/binary_heap.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 386, + "kind": "variable", + "name": "utils", + "memberof": "packages/metrics/src/stats/lib/binary_heap.js", + "static": true, + "longname": "packages/metrics/src/stats/lib/binary_heap.js~utils", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/stats/lib/binary_heap.js", + "importStyle": null, + "description": null, + "lineNumber": 4, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 387, + "kind": "variable", + "name": "BinaryHeap", + "memberof": "packages/metrics/src/stats/lib/binary_heap.js", + "static": true, + "longname": "packages/metrics/src/stats/lib/binary_heap.js~BinaryHeap", + "access": "public", + "export": false, + "importPath": "./packages/metrics/src/stats/lib/binary_heap.js", + "importStyle": null, + "description": null, + "lineNumber": 7, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 388, + "kind": "file", + "name": "packages/metrics/src/stats/lib/utils.js", + "content": "/*\n * Mix in the properties on an object to another object\n * utils.mixin(target, source, [source,] [source, etc.] [merge-flag]);\n * 'merge' recurses, to merge object sub-properties together instead\n * of just overwriting with the source object.\n */\nexports.mixin = (function() {\n var _mix = function(targ, src, merge) {\n for (var p in src) {\n // Don't copy stuff from the prototype\n if (src.hasOwnProperty(p)) {\n if (\n merge &&\n // Assumes the source property is an Object you can\n // actually recurse down into\n typeof src[p] == 'object' &&\n src[p] !== null &&\n !(src[p] instanceof Array)\n ) {\n // Create the source property if it doesn't exist\n // TODO: What if it's something weird like a String or Number?\n if (typeof targ[p] == 'undefined') {\n targ[p] = {};\n }\n _mix(targ[p], src[p], merge); // Recurse\n }\n // If it's not a merge-copy, just set and forget\n else {\n targ[p] = src[p];\n }\n }\n }\n };\n\n return function() {\n var args = Array.prototype.slice.apply(arguments),\n merge = false,\n targ,\n sources;\n if (args.length > 2) {\n if (typeof args[args.length - 1] == 'boolean') {\n merge = args.pop();\n }\n }\n targ = args.shift();\n sources = args;\n for (var i = 0, ii = sources.length; i < ii; i++) {\n _mix(targ, sources[i], merge);\n }\n return targ;\n };\n})();\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/metrics/src/stats/lib/utils.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 389, + "kind": "file", + "name": "packages/tracing/src/SpanSingle.js", + "content": "/**\n * @name SpanSingle.js\n * @fileoverview Defines the \"SpanSingleSubscriber\" class.\n * @requires NPM:rsocket-flowable\n * @requires NPM:opentracing\n * @exports createSpanSingle\n */\nimport {Single, IFutureSubscriber} from 'rsocket-flowable/build/Single';\nimport {Tracer, Span, SpanContext, FORMAT_TEXT_MAP} from 'opentracing';\n\n/**\n * @param {Single} single -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} context -\n * @param {?Object} metadata -\n * @param {Object} tags -\n * @return {Single}\n */\nexport function createSpanSingle(\n single: Single,\n tracer: Tracer,\n name: string,\n context?: SpanContext | Span,\n metadata?: Object,\n ...tags: Object\n) {\n return new Single(subscriber => {\n const spanSubscriber = new SpanSingleSubscriber(\n subscriber,\n tracer,\n name,\n context,\n metadata,\n ...tags,\n );\n single.subscribe(spanSubscriber);\n });\n}\n\n/**\n */\nclass SpanSingleSubscriber implements IFutureSubscriber {\n _span: Span;\n _subscriber: IFutureSubscriber;\n _tracer: Tracer;\n _cancel: () => void;\n\n /**\n * @param {IFutureSubscriber} subscriber -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {SpanContext|Span} [context] - \n * @param {Object} [metadata] - \n * @param {Object} tags -\n */\n constructor(\n subscriber: IFutureSubscriber,\n tracer: Tracer,\n name: string,\n context?: SpanContext | Span,\n metadata?: Object,\n ...tags: Object\n ) {\n this._subscriber = subscriber;\n\n this._tracer = tracer;\n\n let options = {};\n\n if (context) {\n options.childOf = context;\n }\n\n if (tags) {\n const finalTags = {};\n tags.forEach(tag => {\n Object.keys(tag).forEach(key => {\n finalTags[key] = tag[key];\n });\n });\n options.tags = finalTags;\n }\n\n // Not supported at this time.\n // if (references) {\n // options.references = references;\n // }\n //\n options.startTime = Date.now() * 1000;\n\n this._span = this._tracer.startSpan(name, options);\n\n this._tracer.inject(\n this._span.context(),\n FORMAT_TEXT_MAP,\n metadata === undefined || metadata === null ? {} : metadata,\n );\n }\n\n /**\n */\n cleanup() {\n this._span.finish();\n }\n\n /**\n */\n onSubscribe(cancel?: () => void) {\n this._cancel = cancel;\n this._span.log('onSubscribe', timeInMicros());\n this._subscriber.onSubscribe(() => {\n this.cancel();\n });\n }\n\n /**\n */\n cancel() {\n try {\n this._span.log('cancel', timeInMicros());\n this._cancel && this._cancel();\n } finally {\n this.cleanup();\n }\n }\n\n /**\n */\n onError(error: Error) {\n try {\n this._span.log('onError', timeInMicros());\n this._subscriber.onError(error);\n } finally {\n this.cleanup();\n }\n }\n\n /**\n */\n onComplete(value: T) {\n try {\n this._span.log('onComplete', timeInMicros());\n this._subscriber.onComplete(value);\n } finally {\n this.cleanup();\n }\n }\n}\n\n/**\n * Return the current time in microseconds.\n *\n * @return {number} The return value of {@link Date#now} converted into microseconds\n */\nfunction timeInMicros() {\n return Date.now() * 1000 /* microseconds */;\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/tracing/src/SpanSingle.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 390, + "kind": "function", + "name": "createSpanSingle", + "memberof": "packages/tracing/src/SpanSingle.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/SpanSingle.js~createSpanSingle", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/SpanSingle.js", + "importStyle": "{createSpanSingle}", + "description": "", + "lineNumber": 20, + "params": [ + { + "nullable": null, + "types": [ + "Single" + ], + "spread": false, + "optional": false, + "name": "single", + "description": "" + }, + { + "nullable": null, + "types": [ + "Tracer" + ], + "spread": false, + "optional": false, + "name": "tracer", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": true, + "types": [ + "SpanContext", + "Span" + ], + "spread": false, + "optional": false, + "name": "context", + "description": "" + }, + { + "nullable": true, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "metadata", + "description": "" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Single" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 391, + "kind": "class", + "name": "SpanSingleSubscriber", + "memberof": "packages/tracing/src/SpanSingle.js", + "static": true, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "access": "public", + "export": false, + "importPath": "./packages/tracing/src/SpanSingle.js", + "importStyle": null, + "description": "", + "lineNumber": 29, + "interface": false, + "ignore": true + }, + { + "__docId__": 392, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#constructor", + "access": "public", + "description": "", + "lineNumber": 39, + "params": [ + { + "nullable": null, + "types": [ + "IFutureSubscriber" + ], + "spread": false, + "optional": false, + "name": "subscriber", + "description": "" + }, + { + "nullable": null, + "types": [ + "Tracer" + ], + "spread": false, + "optional": false, + "name": "tracer", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": null, + "types": [ + "SpanContext", + "Span" + ], + "spread": false, + "optional": true, + "name": "context", + "description": "" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": true, + "name": "metadata", + "description": "" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "" + } + ] + }, + { + "__docId__": 393, + "kind": "member", + "name": "_subscriber", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#_subscriber", + "access": "private", + "description": null, + "lineNumber": 40, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 394, + "kind": "member", + "name": "_tracer", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#_tracer", + "access": "private", + "description": null, + "lineNumber": 42, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 395, + "kind": "member", + "name": "_span", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#_span", + "access": "private", + "description": null, + "lineNumber": 67, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 396, + "kind": "method", + "name": "cleanup", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#cleanup", + "access": "public", + "description": "", + "lineNumber": 74, + "params": [], + "return": null + }, + { + "__docId__": 397, + "kind": "method", + "name": "onSubscribe", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#onSubscribe", + "access": "public", + "description": "", + "lineNumber": 80, + "params": [ + { + "name": "cancel", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 398, + "kind": "member", + "name": "_cancel", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#_cancel", + "access": "private", + "description": null, + "lineNumber": 81, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 399, + "kind": "method", + "name": "cancel", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#cancel", + "access": "public", + "description": "", + "lineNumber": 90, + "params": [], + "return": null + }, + { + "__docId__": 401, + "kind": "method", + "name": "onError", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#onError", + "access": "public", + "description": "", + "lineNumber": 101, + "params": [ + { + "name": "error", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 402, + "kind": "method", + "name": "onComplete", + "memberof": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSingle.js~SpanSingleSubscriber#onComplete", + "access": "public", + "description": "", + "lineNumber": 112, + "params": [ + { + "name": "value", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 403, + "kind": "function", + "name": "timeInMicros", + "memberof": "packages/tracing/src/SpanSingle.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/SpanSingle.js~timeInMicros", + "access": "public", + "export": false, + "importPath": "./packages/tracing/src/SpanSingle.js", + "importStyle": null, + "description": "Return the current time in microseconds.", + "lineNumber": 127, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "The return value of {@link Date#now} converted into microseconds" + }, + "params": [], + "ignore": true + }, + { + "__docId__": 404, + "kind": "file", + "name": "packages/tracing/src/SpanSubscriber.js", + "content": "/**\n * @name SpanSubscriber.js\n * @fileoverview Defines the \"SpanSubscriber\" class.\n * @requires NPM:rsocket-types\n * @requires NPM:opentracing\n * @exports SpanSubscriber\n */\n\nimport {ISubscriber, ISubscription} from 'rsocket-types';\nimport {Tracer, Span, SpanContext, FORMAT_TEXT_MAP} from 'opentracing';\n\n/**\n */\nexport class SpanSubscriber implements ISubscriber, ISubscription {\n _span: Span;\n _rootSpan: Span;\n _subscriber: ISubscriber;\n _tracer: Tracer;\n _subscription: ISubscription;\n _nextCount: number;\n _requestOnce: boolean;\n\n /**\n * @param {ISubscriber} subscriber -\n * @param {Tracer} tracer -\n * @param {string} name -\n * @param {?(SpanContext|Span)} [context] - \n * @param {?Object} [metadata] - \n * @param {Object} ...tags -\n */\n constructor(\n subscriber: ISubscriber,\n tracer: Tracer,\n name: string,\n context?: SpanContext | Span,\n metadata?: Object,\n ...tags: Object\n ) {\n /** @type {Tracer} */\n this._tracer = tracer;\n /** @type {ISubscriber} */\n this._subscriber = subscriber;\n this._nextCount = 0;\n this._requestOnce = false;\n\n let options = {};\n\n if (context) {\n options.childOf = context;\n }\n\n if (tags) {\n const finalTags = {};\n tags.forEach(tag => {\n Object.keys(tag).forEach(key => {\n finalTags[key] = tag[key];\n });\n });\n\n options.tags = finalTags;\n }\n\n // Not currently supported\n // if (references) {\n // options.references = references;\n // }\n //\n\n options.startTime = Date.now() * 1000;\n\n /** @type {Span} */\n this._span = tracer.startSpan(name, options);\n /** @type {Span} */\n this._rootSpan = this._rootSpan || this._span;\n\n tracer.inject(\n this._span.context(),\n FORMAT_TEXT_MAP,\n metadata === undefined || metadata === null ? {} : metadata,\n );\n }\n\n /**\n */\n cleanup() {\n this._span.finish();\n }\n\n /**\n * @param {?Subscription} subscription\n */\n onSubscribe(subscription?: Subscription) {\n /** @type {ISubscription} */\n this._subscription = subscription;\n this._span.log('onSubscribe', timeInMicros());\n this._subscriber.onSubscribe(this);\n }\n\n /**\n * @param {number} n\n */\n request(n: number) {\n if (!this._requestOnce) {\n this._requestOnce = true;\n\n this._span.log('request issued', timeInMicros());\n }\n\n this._subscription && this._subscription.request(n);\n }\n\n /**\n */\n cancel() {\n try {\n this._span.log('cancel', timeInMicros());\n this._subscription && this._subscription.cancel();\n } finally {\n this.cleanup();\n }\n }\n\n /**\n * @param {T} value\n */\n onNext(value: T) {\n this._subscriber.onNext(value);\n }\n\n /**\n * @param {Error} error\n */\n onError(error: Error) {\n try {\n this._span.log('onError', timeInMicros());\n this._subscriber.onError(error);\n } finally {\n this.cleanup();\n }\n }\n\n /**\n */\n onComplete() {\n try {\n this._span.log('onComplete', timeInMicros());\n this._subscriber.onComplete();\n } finally {\n this.cleanup();\n }\n }\n}\n\n/**\n * Return the current time in microseconds\n *\n * @return {number} The return value of {@link Date#now} converted to microseconds.\n */\nfunction timeInMicros() {\n return Date.now() * 1000 /* microseconds */;\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/tracing/src/SpanSubscriber.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 405, + "kind": "class", + "name": "SpanSubscriber", + "memberof": "packages/tracing/src/SpanSubscriber.js", + "static": true, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/SpanSubscriber.js", + "importStyle": "{SpanSubscriber}", + "description": "", + "lineNumber": 14, + "interface": false + }, + { + "__docId__": 406, + "kind": "constructor", + "name": "constructor", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#constructor", + "access": "public", + "description": "", + "lineNumber": 24, + "params": [ + { + "nullable": null, + "types": [ + "ISubscriber" + ], + "spread": false, + "optional": false, + "name": "subscriber", + "description": "" + }, + { + "nullable": null, + "types": [ + "Tracer" + ], + "spread": false, + "optional": false, + "name": "tracer", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": true, + "types": [ + "SpanContext", + "Span" + ], + "spread": false, + "optional": true, + "name": "context", + "description": "" + }, + { + "nullable": true, + "types": [ + "Object" + ], + "spread": false, + "optional": true, + "name": "metadata", + "description": "" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "...tags", + "description": "" + } + ] + }, + { + "__docId__": 407, + "kind": "member", + "name": "_tracer", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_tracer", + "access": "private", + "description": null, + "lineNumber": 26, + "type": { + "nullable": null, + "types": [ + "Tracer" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 408, + "kind": "member", + "name": "_subscriber", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_subscriber", + "access": "private", + "description": null, + "lineNumber": 28, + "type": { + "nullable": null, + "types": [ + "ISubscriber" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 409, + "kind": "member", + "name": "_nextCount", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_nextCount", + "access": "private", + "description": null, + "lineNumber": 29, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 410, + "kind": "member", + "name": "_requestOnce", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_requestOnce", + "access": "private", + "description": null, + "lineNumber": 30, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 411, + "kind": "member", + "name": "_span", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_span", + "access": "private", + "description": null, + "lineNumber": 58, + "type": { + "nullable": null, + "types": [ + "Span" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 412, + "kind": "member", + "name": "_rootSpan", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_rootSpan", + "access": "private", + "description": null, + "lineNumber": 60, + "type": { + "nullable": null, + "types": [ + "Span" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 413, + "kind": "method", + "name": "cleanup", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#cleanup", + "access": "public", + "description": "", + "lineNumber": 67, + "params": [], + "return": null + }, + { + "__docId__": 414, + "kind": "method", + "name": "onSubscribe", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#onSubscribe", + "access": "public", + "description": "", + "lineNumber": 74, + "params": [ + { + "nullable": true, + "types": [ + "Subscription" + ], + "spread": false, + "optional": false, + "name": "subscription", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 415, + "kind": "member", + "name": "_subscription", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_subscription", + "access": "private", + "description": null, + "lineNumber": 76, + "type": { + "nullable": null, + "types": [ + "ISubscription" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 416, + "kind": "method", + "name": "request", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#request", + "access": "public", + "description": "", + "lineNumber": 84, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 419, + "kind": "method", + "name": "cancel", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#cancel", + "access": "public", + "description": "", + "lineNumber": 96, + "params": [], + "return": null + }, + { + "__docId__": 421, + "kind": "method", + "name": "onNext", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#onNext", + "access": "public", + "description": "", + "lineNumber": 108, + "params": [ + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 422, + "kind": "method", + "name": "onError", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#onError", + "access": "public", + "description": "", + "lineNumber": 115, + "params": [ + { + "nullable": null, + "types": [ + "Error" + ], + "spread": false, + "optional": false, + "name": "error", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 423, + "kind": "method", + "name": "onComplete", + "memberof": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber", + "generator": false, + "async": false, + "static": false, + "longname": "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#onComplete", + "access": "public", + "description": "", + "lineNumber": 126, + "params": [], + "return": null + }, + { + "__docId__": 424, + "kind": "function", + "name": "timeInMicros", + "memberof": "packages/tracing/src/SpanSubscriber.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/SpanSubscriber.js~timeInMicros", + "access": "public", + "export": false, + "importPath": "./packages/tracing/src/SpanSubscriber.js", + "importStyle": null, + "description": "Return the current time in microseconds", + "lineNumber": 141, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "The return value of {@link Date#now} converted to microseconds." + }, + "params": [], + "ignore": true + }, + { + "__docId__": 425, + "kind": "file", + "name": "packages/tracing/src/Tracing.js", + "content": "/**\n * @name Tracing.js\n * @fileoverview Tracing functionality.\n * @requires NPM:rsocket-core\n * @requires NPM:rsocket-types\n * @requires NPM:rsocket-flowable\n * @requires NPM:opentracing\n * @requires NPM:rsocket-rpc-frames\n * @requires SpanSubscriber\n * @requires SpanSingle\n * @exports deserializeTraceData\n * @exports mapToBuffer\n * @exports bufferToMap\n * @exports trace\n * @exports traceAsChild\n * @exports traceSingle\n * @exports traceSingleAsChild\n */\n\nimport {UTF8Encoder, BufferEncoder, createBuffer} from 'rsocket-core';\nimport {ISubscriber} from 'rsocket-types';\nimport {Flowable, Single} from 'rsocket-flowable';\n\nimport {SpanSubscriber} from './SpanSubscriber';\nimport {createSpanSingle} from './SpanSingle';\nimport {SpanContext, Tracer, FORMAT_TEXT_MAP} from 'opentracing';\n\nimport {getTracing} from 'rsocket-rpc-frames';\n\n/**\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {Buffer} metadata -\n * @returns {?SpanContext} or null if the tracer is null or there is no tracing data\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n */\nexport function deserializeTraceData(tracer, metadata) {\n if (!tracer) {\n return null;\n }\n\n const tracingData = getTracing(metadata);\n\n if (BufferEncoder.byteLength(tracingData) <= 0) {\n return null;\n }\n\n return tracer.extract(FORMAT_TEXT_MAP, bufferToMap(tracingData));\n}\n\n/**\n * @param {?Object} map -\n * @returns {Buffer}\n */\nexport function mapToBuffer(map: Object): Buffer {\n if (!map || Object.keys(map).length <= 0) {\n return createBuffer(0);\n }\n\n const aggregatedTags = Object.keys(map).reduce(\n (aggregate, key) => {\n const val = map[key];\n const keyLen = UTF8Encoder.byteLength(key);\n const keyBuf = createBuffer(keyLen);\n UTF8Encoder.encode(key, keyBuf, 0, keyLen);\n\n const valLen = UTF8Encoder.byteLength(val);\n const valBuf = createBuffer(valLen);\n UTF8Encoder.encode(val, valBuf, 0, valLen);\n\n const newEntries = aggregate.entries;\n newEntries.push({keyLen, keyBuf, valLen, valBuf});\n\n return {\n // 4 for the sizes plus the actual key and actual value\n totalSize: aggregate.totalSize + 4 + keyLen + valLen,\n entries: newEntries,\n };\n },\n {totalSize: 0, entries: []},\n );\n\n let offset = 0;\n const resultBuf = createBuffer(aggregatedTags.totalSize);\n aggregatedTags.entries.forEach(entry => {\n resultBuf.writeUInt16BE(entry.keyLen, offset);\n offset += 2; // 2 bytes for key length\n\n BufferEncoder.encode(\n entry.keyBuf,\n resultBuf,\n offset,\n offset + entry.keyLen,\n );\n offset += entry.keyLen;\n\n resultBuf.writeUInt16BE(entry.valLen, offset);\n offset += 2;\n\n BufferEncoder.encode(\n entry.valBuf,\n resultBuf,\n offset,\n offset + entry.valLen,\n );\n offset += entry.valLen;\n });\n\n return resultBuf;\n}\n\n/**\n * @param {!Buffer} buffer - \n * @returns {Object}\n */\nexport function bufferToMap(buffer: Buffer): Object {\n const result = {};\n\n let offset = 0;\n while (offset < buffer.length) {\n let keyLen = buffer.readUInt16BE(offset);\n offset += 2;\n\n let key = UTF8Encoder.decode(buffer, offset, offset + keyLen);\n offset += keyLen;\n\n let valLen = buffer.readUInt16BE(offset);\n offset += 2;\n\n let value = UTF8Encoder.decode(buffer, offset, offset + valLen);\n offset += valLen;\n\n result[key] = value;\n }\n\n return result;\n}\n\n/**\n * Allows propagation of a {@link SpanContext} map through a {@link Flowable}.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n */\nexport function trace(\n tracer?: Tracer,\n name?: String,\n ...tags: Object\n): Object => (Flowable) => Flowable {\n if (tracer && name) {\n return (metadata: Object) => {\n return (flowable: Flowable) => {\n return flowable.lift((subscriber: ISubscriber) => {\n return new SpanSubscriber(\n subscriber,\n tracer,\n name,\n null,\n metadata,\n ...tags,\n );\n });\n };\n };\n } else {\n return (map: Object) => (publisher: Flowable) => publisher;\n }\n}\n\n/**\n * Similar to {@link trace}, except meant to be used on the server side where a\n * {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n */\nexport function traceAsChild(\n tracer?: Tracer,\n name?: String,\n ...tags: Object\n): SpanContext => (Flowable) => Flowable {\n if (tracer && name) {\n return (context: SpanContext) => {\n return (flowable: Flowable) => {\n return flowable.lift((subscriber: ISubscriber) => {\n return new SpanSubscriber(\n subscriber,\n tracer,\n name,\n context,\n null,\n ...tags,\n );\n });\n };\n };\n } else {\n return (context: SpanContext) => (publisher: Flowable) => publisher;\n }\n}\n\n/**\n * Allows propagation of a {@link SpanContext} map through a Flowable.\n *\n * @example Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\n * const traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n *\n * ... more code ...\n *\n * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n *\n * subscriberTransformer(rsocket.requestStream(serviceRequest))\n * .subscribe({ ... });\n *\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n */\nexport function traceSingle(\n tracer?: Tracer,\n name?: String,\n ...tags: Object\n): Object => (Single) => Single {\n if (tracer && name) {\n return (metadata: Object) => {\n return (single: Single) => {\n return createSpanSingle(single, tracer, name, null, metadata, ...tags);\n };\n };\n } else {\n return (map: Object) => (single: Single) => single;\n }\n}\n\n/**\n * Similar to {@link traceSingle}, except meant to be used on the server side\n * where a {@link SpanContext} has been passed from a client.\n * @example\n * const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n * return subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n * @param {?Tracer} tracer - an OpenTracing {@link Tracer}\n * @param {?String} name - an operation name\n * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function.\n * @returns {function}\n * @see https://opentracing-javascript.surge.sh/classes/spancontext.html\n * @see https://opentracing.io/\n * @see https://opentracing-javascript.surge.sh/classes/tracer.html\n */\nexport function traceSingleAsChild(\n tracer?: Tracer,\n name?: String,\n ...tags: Object\n): SpanContext => (Single) => Single {\n if (tracer && name) {\n return (context: SpanContext) => {\n return (single: Single) => {\n return createSpanSingle(single, tracer, name, context, null, ...tags);\n };\n };\n } else {\n return (context: SpanContext) => (single: Single) => single;\n }\n}\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/tracing/src/Tracing.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 426, + "kind": "function", + "name": "deserializeTraceData", + "memberof": "packages/tracing/src/Tracing.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/Tracing.js~deserializeTraceData", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/Tracing.js", + "importStyle": "{deserializeTraceData}", + "description": "", + "see": [ + "https://opentracing.io/", + "https://opentracing-javascript.surge.sh/classes/tracer.html" + ], + "lineNumber": 37, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{?SpanContext} or null if the tracer is null or there is no tracing data" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "Tracer" + ], + "spread": false, + "optional": false, + "name": "tracer", + "description": "an OpenTracing {@link Tracer}" + }, + { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "optional": false, + "name": "metadata", + "description": "" + } + ], + "return": { + "nullable": true, + "types": [ + "SpanContext" + ], + "spread": false, + "description": "or null if the tracer is null or there is no tracing data" + } + }, + { + "__docId__": 427, + "kind": "function", + "name": "mapToBuffer", + "memberof": "packages/tracing/src/Tracing.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/Tracing.js~mapToBuffer", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/Tracing.js", + "importStyle": "{mapToBuffer}", + "description": "", + "lineNumber": 55, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Buffer}" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "map", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Buffer" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 428, + "kind": "function", + "name": "bufferToMap", + "memberof": "packages/tracing/src/Tracing.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/Tracing.js~bufferToMap", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/Tracing.js", + "importStyle": "{bufferToMap}", + "description": "", + "lineNumber": 103, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Object}" + } + ], + "params": [ + { + "nullable": false, + "types": [ + "Buffer" + ], + "spread": false, + "optional": false, + "name": "buffer", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 429, + "kind": "function", + "name": "trace", + "memberof": "packages/tracing/src/Tracing.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/Tracing.js~trace", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/Tracing.js", + "importStyle": "{trace}", + "description": "Allows propagation of a {@link SpanContext} map through a {@link Flowable}.", + "examples": [ + "Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\nconst traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n\n... more code ...\n\nconst subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n\nsubscriberTransformer(rsocket.requestStream(serviceRequest))\n.subscribe({ ... });" + ], + "see": [ + "https://opentracing-javascript.surge.sh/classes/spancontext.html", + "https://opentracing.io/", + "https://opentracing-javascript.surge.sh/classes/tracer.html" + ], + "lineNumber": 147, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{function}" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "Tracer" + ], + "spread": false, + "optional": false, + "name": "tracer", + "description": "an OpenTracing {@link Tracer}" + }, + { + "nullable": true, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "an operation name" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function." + } + ], + "return": { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 430, + "kind": "function", + "name": "traceAsChild", + "memberof": "packages/tracing/src/Tracing.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/Tracing.js~traceAsChild", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/Tracing.js", + "importStyle": "{traceAsChild}", + "description": "Similar to {@link trace}, except meant to be used on the server side where a\n{@link SpanContext} has been passed from a client.", + "examples": [ + "const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\nconst subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\nreturn subscriberTransformer(serviceImpl.requestStream(serviceRequest));" + ], + "see": [ + "https://opentracing-javascript.surge.sh/classes/spancontext.html", + "https://opentracing.io/", + "https://opentracing-javascript.surge.sh/classes/tracer.html" + ], + "lineNumber": 176, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{function}" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "Tracer" + ], + "spread": false, + "optional": false, + "name": "tracer", + "description": "an OpenTracing {@link Tracer}" + }, + { + "nullable": true, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "an operation name" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function." + } + ], + "return": { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 431, + "kind": "function", + "name": "traceSingle", + "memberof": "packages/tracing/src/Tracing.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/Tracing.js~traceSingle", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/Tracing.js", + "importStyle": "{traceSingle}", + "description": "Allows propagation of a {@link SpanContext} map through a Flowable.", + "examples": [ + "Wraps default tags \"tag1\" and \"tag2\" and picks up \"additionalTag1\" and \"additionalTag2\":\nconst traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n\n... more code ...\n\nconst subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n\nsubscriberTransformer(rsocket.requestStream(serviceRequest))\n.subscribe({ ... });" + ], + "see": [ + "https://opentracing-javascript.surge.sh/classes/spancontext.html", + "https://opentracing.io/", + "https://opentracing-javascript.surge.sh/classes/tracer.html" + ], + "lineNumber": 211, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{function}" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "Tracer" + ], + "spread": false, + "optional": false, + "name": "tracer", + "description": "an OpenTracing {@link Tracer}" + }, + { + "nullable": true, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "an operation name" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function." + } + ], + "return": { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 432, + "kind": "function", + "name": "traceSingleAsChild", + "memberof": "packages/tracing/src/Tracing.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/Tracing.js~traceSingleAsChild", + "access": "public", + "export": true, + "importPath": "./packages/tracing/src/Tracing.js", + "importStyle": "{traceSingleAsChild}", + "description": "Similar to {@link traceSingle}, except meant to be used on the server side\nwhere a {@link SpanContext} has been passed from a client.", + "examples": [ + "const traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\nconst subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\nreturn subscriberTransformer(serviceImpl.requestStream(serviceRequest));" + ], + "see": [ + "https://opentracing-javascript.surge.sh/classes/spancontext.html", + "https://opentracing.io/", + "https://opentracing-javascript.surge.sh/classes/tracer.html" + ], + "lineNumber": 238, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{function}" + } + ], + "params": [ + { + "nullable": true, + "types": [ + "Tracer" + ], + "spread": false, + "optional": false, + "name": "tracer", + "description": "an OpenTracing {@link Tracer}" + }, + { + "nullable": true, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "an operation name" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tags", + "description": "You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function." + } + ], + "return": { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 433, + "kind": "file", + "name": "packages/tracing/src/__tests__/Tracing-test.js", + "content": "import {expect} from 'chai';\nimport {describe, it} from 'mocha';\n\nimport {mapToBuffer, bufferToMap} from '../Tracing';\n\nfunction generateMap() {\n const size = Math.floor(Math.random() * 100) + 20;\n const map = {};\n for (var i = 0; i < size; i++) {\n const key = generateString(5, 20);\n const value = generateString(10, 50);\n map[key] = value;\n }\n return map;\n}\n\nfunction generateString(min, max) {\n const size = Math.floor(Math.random() * max) + min;\n let nextWord = '';\n for (var j = 0; j < size; j++) {\n nextWord += generateChar();\n }\n return nextWord;\n}\n\nconst chars = 'abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';\nconst generateChar = () => chars[Math.floor(Math.random() * chars.length)];\n\n/**\n * @test {Tracing}\n */\ndescribe('TRACING HELPERS', () => {\n it('serializes and deserializes an arbitrary map', () => {\n for (var i = 0; i < 1000; i++) {\n const baseMap = generateMap();\n const buf = mapToBuffer(baseMap);\n const newBuf = Buffer.from(buf);\n const testMap = bufferToMap(newBuf);\n expect(testMap).to.deep.equal(baseMap);\n }\n });\n});\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/tracing/src/__tests__/Tracing-test.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 434, + "kind": "function", + "name": "generateMap", + "memberof": "packages/tracing/src/__tests__/Tracing-test.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/__tests__/Tracing-test.js~generateMap", + "access": "public", + "export": false, + "importPath": "./packages/tracing/src/__tests__/Tracing-test.js", + "importStyle": null, + "description": null, + "lineNumber": 6, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 435, + "kind": "function", + "name": "generateString", + "memberof": "packages/tracing/src/__tests__/Tracing-test.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/__tests__/Tracing-test.js~generateString", + "access": "public", + "export": false, + "importPath": "./packages/tracing/src/__tests__/Tracing-test.js", + "importStyle": null, + "description": null, + "lineNumber": 17, + "undocument": true, + "params": [ + { + "name": "min", + "types": [ + "*" + ] + }, + { + "name": "max", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 436, + "kind": "variable", + "name": "chars", + "memberof": "packages/tracing/src/__tests__/Tracing-test.js", + "static": true, + "longname": "packages/tracing/src/__tests__/Tracing-test.js~chars", + "access": "public", + "export": false, + "importPath": "./packages/tracing/src/__tests__/Tracing-test.js", + "importStyle": null, + "description": null, + "lineNumber": 26, + "undocument": true, + "type": { + "types": [ + "string" + ] + }, + "ignore": true + }, + { + "__docId__": 437, + "kind": "function", + "name": "generateChar", + "memberof": "packages/tracing/src/__tests__/Tracing-test.js", + "generator": false, + "async": false, + "static": true, + "longname": "packages/tracing/src/__tests__/Tracing-test.js~generateChar", + "access": "public", + "export": false, + "importPath": "./packages/tracing/src/__tests__/Tracing-test.js", + "importStyle": null, + "description": null, + "lineNumber": 27, + "undocument": true, + "params": [], + "return": null, + "ignore": true + }, + { + "__docId__": 438, + "kind": "file", + "name": "packages/tracing/src/index.js", + "content": "/**\n * @name rsocket-rpc-js/packages/tracing\n * @fileoverview Exports the Tracing package.\n * @copyright Copyright (c) 2017-present, Netifi Inc.\n * @license Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow\n *\n * @requires Tracing\n * @exports trace\n * @exports traceAsChild\n * @exports traceSingle\n * @exports traceSingleAsChild\n * @exports mapToBuffer\n * @exports deserializeTraceData\n * @exports bufferToMap\n */\n\n'use strict';\n\nimport {\n trace,\n traceAsChild,\n traceSingle,\n traceSingleAsChild,\n mapToBuffer,\n deserializeTraceData,\n bufferToMap,\n} from './Tracing';\n\nexport {\n trace,\n traceAsChild,\n traceSingle,\n traceSingleAsChild,\n mapToBuffer,\n deserializeTraceData,\n bufferToMap,\n};\n", + "static": true, + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/packages/tracing/src/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "kind": "index", + "content": "# RSocket JavaScript RPC\n\n\n\n## Documentation\n\n### Core\n\nThe primary class/entry point for the core package is the RpcClient. The client encapsulates the RSocket methods of `fireAndForget`, `requestResponse`, `requestStream`, and `requestChannel` and merges them with a bidirectional connection, allowing seamless use of RSocket for RPC.\n\nThe input config has this flow-type signature\n\n```angular2html\nClientConfig = {|\n serializers?: PayloadSerializers,\n setup: {|\n keepAlive: number,\n lifetime: number,\n metadata?: Encodable,\n |},\n transport: DuplexConnection,\n responder?: Responder,\n|}\n```\n\nSerializers and responder are optional. If the client doesn't intend to receive traffic, there is no need to add a responder. Responder is a type alias for the RSocket API.\n\nThe transport can be any implementation of a DuplexConnection, a common one being WebSockets.\n\nRpcClient's `connect(): Single>` method starts the asynchronous process of obtaining a handle to an open RSocket connection and moving through additional business logic.\n\nHere is an example instantiation of an RpcClient\n\n```angular2html\n const local = 'ws://localhost:8088/';\n const keepAlive = 60000 /* 60s in ms */;\n const lifetime = 360000 /* 360s in ms */;\n const transport = new RSocketWebsocketClient({url:local}, BufferEncoders);\n const client = new RpcClient({setup:{keepAlive, lifetime}, transport});\n client.connect().subscribe({\n onComplete: rsocket => {\n console.info(\"Success! We have a handle to an RSocket connection\");\n },\n onError: error => {\n console.error(\"Failed to connect to local RSocket server.\", error);\n }\n });\n```\n\n### Frames\n\nThe Frames package provides methods for encoding and reading Payload metadata\n\n```angular2html\nencodeMetadata(\n service: string,\n method: string,\n tracing: Encodable,\n metadata: Encodable,\n): Buffer\n```\n\nClients are encouraged to use the `encodeMetadata` method to send well defined call-routing metadata with their Payloads. On the receiving end, the call router can use the other helper methods to route the call and capture/propagate tracing information.\n\n```angular2html\ngetVersion(buffer: Buffer): number\n```\n\n```\ngetService(buffer: Buffer): string\n```\n\n```\ngetMethod(buffer: Buffer): string\n```\n\n```\ngetTracing(buffer: Buffer): Buffer\n```\n\n### Tracing\n\nRSocket RPC provides helpers to inject Open Tracing implementations via helper methods.\n\n```\ntrace(\n tracer?: Tracer,\n name?: String,\n ...tags: Object\n): Object => (Flowable) => Flowable\n```\n\nTrace takes an Open Tracing `Tracer`, an operation name, and optional tags. The result is a function that allows propagation of a SpanContext map through a Flowable. One can pass a collection of tags in the form of a map/Object and have it woven through a Flowable => Flowable function. Here's an example\n\n```angular2html\nconst traceCapture = trace(myTracer, \"myOperation\", {tag1: \"value\"}, {tag2: \"another value\"});\n\n... more code ...\n\nconst subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: \"two\"});\n\nsubscriberTransformer(rsocket.requestStream(serviceRequest))\n.subscribe({\n ...\n});\n```\n\nThis wraps our default tags `tag1` and `tag2`, further picks up `additonalTag1` and `additionalTag2` as we progress through our business logic.\n\nWe then pass that the resulting `Flowable` from doing a `requestStream` and the Tracer will capture tracing events from the Stream.\n\n\n```\ntraceAsChild(\n tracer?: Tracer,\n name?: String,\n ...tags: Object\n): SpanContext => (Flowable) => Flowable\n```\n\nThis method is the same as above except intended to be used on the server side where a SpanContext has been passed from a client. The helper method below to `deserializeTraceData` should be used on the Payload metadata to extract the starter SpanContext\n\n```angular2html\nconst traceCapture = traceAsChild(myTracer, \"myServerOperation\", {serverTag1: \"value\"}, {serverTag2: \"another value\"});\n\nconst subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata));\n\nreturn subscriberTransformer(serviceImpl.requestStream(serviceRequest));\n```\n\nBelow are equivalent methods for `Single` types, meaning really `requestReply`.\n\n```\ntraceSingle(\n tracer?: Tracer,\n name?: String,\n ...tags: Object\n): Object => (Single) => Single \n```\n\n```angular2html\ntraceSingleAsChild(\n tracer?: Tracer,\n name?: String,\n ...tags: Object\n): SpanContext => (Single) => Single\n```\n\nThese last three are helper methods to make it easier to propagate tracing context.\n\n```angular2html\ndeserializeTraceData(tracer, metadata) : SpanContext\n```\n \n```\nmapToBuffer(map: Object): Buffer \n```\n \n```\nbufferToMap(buffer: Buffer): Object\n```\n\n\n### Metrics\n\n#### Protobuf File\n\nUnlike the other packages, Metrics is much more sensitive to interoperability and/or doesn't have an open standard like Open Tracing on which to hang its hat. As such, we include a protobuf file that defines the structure of metrics data and required services. This is found in `metrics/idl/proto/metrics.proto`\n\nTo build the relevant types from source, run `yarn install && yarn protoc`\n\n#### Basic Use\nThe Metrics package exports a few helper methods that will wrap timing metrics automatically around streams.\n\n```\n timed(\n registry?: IMeterRegistry,\n name: string,\n ...tags: Object[]\n ): (Flowable) => Flowable\n``` \n\n```angular2html\n timedSingle(\n registry?: IMeterRegistry,\n name: string,\n ...tags: Object[]\n ): (Single) => Single\n``` \n\nSimilar to the Tracing package, these functions return a wrapping function, through which a user weaves their RSocket calls\n\n```angular2html\n const metricsWrapper = timed(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n const responseStream = rsocket.requestStream(requestPayload);\n metricsWrapper(responseStream).subscribe(...);\n```\n\n```angular2html\n const metricsWrapper = timedSingle(myMeterRegistry, \"my.function.name\", {tag1: \"tag\"}, {anotherTag: \"again\"});\n const responseFuture = rsocket.requestResponse(requestPayload);\n metricsWrapper(responseFuture).subscribe(...);\n```\n\nBoth functions take a IMeterRegistry which has flow-type\n\n```angular2html\ninterface IMeterRegistry {\n registerMeter(meter: IMeter): void;\n registerMeters(meters: IMeter[]): void;\n meters(): IMeter[];\n}\n```\n\nThis essentially represents any container class that can store handles to Meters and deliver them as a collection. The Package includes a default implementation in `SimpleMeterRegistry`.\n\n\n#### Meters\n\nThe Metrics package provides 2 implementations of IMeter: `Counter` and `Timer`. They both implement this interface:\n\n```angular2html\ninterface IMeter {\n name: string;\n description: ?string;\n statistic: string;\n type: string;\n tags: RawMeterTag[];\n units?: string;\n rates(): Object;\n convert(converter: (IMeter) => Meter[]): Meter[];\n}\n```\n\nThe `timed` helper methods automatically wrap timing and counting metrics around significant `Flowable` and `Single` events. Additional metrics may be added ad hoc and registered with the IMeterRegistry.\n\n#### Exporting Metrics\n\nShould the user also have an RSocket based Metrics sink, we provide an RSocket native metrics source in `MetricsExporter`.\n\nThe `MetricsExporter` constructor has these inputs\n\n```angular2html\nMetricsExporter{\n \n constructor(\n handler: MetricsSnapshotHandlerClient,\n registry: IMeterRegistry,\n exportPeriodSeconds: number,\n batchSize: number,\n ),\n \n start(), // Open channel and begin sending metrics\n \n stop() // Stop sending metrics\n \n}\n``` \n\nThe `MetricsSnapshotHandlerClient` is defined in the metrics protobuf file. It has one method of note\n\n```\nrpc StreamMetrics (stream MetricsSnapshot) returns (stream Skew)\n``` \n\nMeaning we open a channel and push `MetricsSnapshot`s and receive time `Skew`s from the server as it notices our clocks are out of sync. The `MetricsExporter` takes this as a metrics sink, the `IMeterRegistry` as the metrics source, and the windowing parameters in the time period or batch size.\n\n### Tying It All Together\n\nAssume we have an RSocket server that supports WebSockets on `localhost`. We have an RSocket-based service client called MyServiceClient. We want to capture tracing and metrics data. In real code, we would likely encapsulate that within the MyServiceClient, but for demonstration purposes we will make everything very explicit.\n\n```angular2html\nconst {RequestHandlingRSocket,\n RpcClient} = require('rsocket-rpc-core');\nconst Tracing = require('rsocket-rpc-tracing');\nconst {Metrics,\n SimpleMeterRegistry, \n MetricsExporter, \n MetricsSnapshotHandlerClient} = require('rsocket-rpc-metrics');\n\n// Create our Open Tracing tracer for use later\nconst myTracer = new MyCompliantTracer();\n\n// Connection info for our RSocket Client\nconst local = 'ws://localhost:8088/';\nconst keepAlive = 60000 /* 60s in ms */;\nconst lifetime = 360000 /* 360s in ms */;\nconst transport = new RSocketWebsocketClient({url:local}, BufferEncoders);\nconst responder = new RequestHandlingRSocket(); // Will address this at the end\nconst rsocketClient = new RpcClient({setup:{keepAlive, lifetime}, transport, responder});\n\n// We need a few references declared ahead of an rsocket being available \nconst meters = new SimpleMeterRegistry();\nlet snapshotClient = null; // Will initialize shortly\nlet metricsExporter = null; // Will initialize shortly\n\nlet myServiceClient = null; // Will initialize shortly\n\nrsocketClient.connect().subscribe({\n onComplete: rsocket => {\n myServiceClient = new MyServiceClient(rsocket);\n \n snapshotClient = new MetricsSnapshotHandlerClient(rsocket);\n metricsExporter = new MetricsExporter(snapshotClient, meters, 60 /*seconds*/, 1024 /*metrics count*/);\n metricsExporter.start();\n },\n onError: error => {\n console.error(\"Failed to connect to local RSocket server.\", error);\n }\n});\n\n\n... Later in our business logic ...\n\n// Set up our traced, metrics-captured calls\nconst streamMetricsWrapper = Metrics.timed(meters, \"myService.dataStream\", {timezone: \"GMT-7\"});\nconst requestResponseMetricsWrapper = Metrics.timedSingle(meters, \"myService.fetchDatum\", {timezone: \"GMT-7\"});\n\nconst streamTracing = Tracing.trace(myTracer, \"myService.dataStream\", {clientType: \"Chrome Browser\"});\nconst requestResponseTracing = Tracing.trace.Single(myTracer, \"myService.fetchDatum\", {clientType: \"Chrome Browser\"});\n\n... Later still, our User does something of interest ...\n\n\nconst tracingTags = {uiContextId: 12345, focusedItem: 9876};\n\nconst tracedTimedRequestResponse = requestResponseTracing(tracingTags) // We've closed over the tracing tags, now Single => Single\n(requestResponseMetricsWrapper( //This wrapper's signature is Single => Single\n myServiceClient.fetchDatum(new DatumRequest()) // This method returns a Single\n ) // We've now wrapped the original call in metrics\n); // We've now wrapped the metrics-captured call in tracing\n\ntracedTimedRequestResponse.subscribe({\n // Issues the request and do our business logic onComplete\n});\n\n// And we would do the same for a streaming method\n\nconst tracedTimedStream = streamTracing(tracingTags) // We've closed over the tracing tags, now Flowable => Flowable\n(streamMetricsWrapper( //This wrapper's signature is Flowable => Flowable\n myServiceClient.dataStream(new StreamRequest()) // This method returns a Flowable\n ) // We've now wrapped the original call in metrics\n); // We've now wrapped the metrics-captured call in tracing\n\ntracedTimedStream.subscribe({\n // Issues the request and do our business logic onNext/onComplete\n});\n\n```\n\n#### Wiring up the Responder\n\nAt the beginning, we added a canned Responder class from the Core package, `RequestHandlingRSocket`. It takes for granted that callers are using the Metadata helpers to package metadata about the service calls in question.\n\nIts relevant method is\n\n```angular2html\naddService(service: string, handler: Responder)\n```\n\nAside from this, it implements (and delegates) the RSocket methods to handling services. Responder is an alias for this that implies that it will have those methods invoked by a remote caller rather than act as a local caller to a remote callee.\n\nIn our example, let's add a responder to our client that provides a method for a remote caller to inject config updates.\n\n```angular2html\n\nconst configUpdater = {\n fireAndForget: function(){\n //Not supported but has no expected return\n },\n requestStream: function(payload){\n return Flowable.error(\"requestStream is not supported\");\n },\n requestChannel: function(payloads){\n return Flowable.error(\"requestStream is not supported\");\n },\n requestResponse: function(payload){\n const newConfig = deserializeConfig(payload.data);\n // apply new config;\n return Single.of(\"OK\");\n }\n}\n\nresponder.addService(\"example.rsocket.configUpdater\", configUpdater);\n```\n\nAnd now our RpcClient will also respond to requests from the server to update its configuration that are directed to the service \"example.rsocket.configUpdater\".\n\nWe can also add tracing and metrics here though again, in Production code this would all be encapsulated in service/client implementations but for demo purposes we're doing it inline and explicitly.\n\n```angular2html\nconst serviceMetricsWrapper = Metrics.timedSingle(meters, \"myClient.updateConfig\", {timezone: \"GMT-7\"});\n\nconst serviceTracing = Tracing.traceSingleAsChild(myTracer, \"myClient.updateConfig\", {clientType: \"Chrome Browser\"});\n\nconst configUpdater = {\n fireAndForget: function(){\n //Not supported but has no expected return\n },\n requestStream: function(payload){\n return Flowable.error(\"requestStream is not supported\");\n },\n requestChannel: function(payloads){\n return Flowable.error(\"requestStream is not supported\");\n },\n requestResponse: function(payload){\n const spanContext = Tracing.deserializeTraceData(myTracer, payload.metadata);\n return serviceTracing(spanContext) // We've closed over the tracing span context, now Single => Single\n (serviceMetricsWrapper( //This wrapper's signature is Single => Single\n new Single(subscriber => {\n subscriber.onSubscribe();\n const newConfig = deserializeConfig(payload.data); \n // apply new config;\n subscriber.onComplete(\"OK\");\n })\n ) // We've now wrapped the original call in metrics\n );\n }\n}\n```\n\nLet's break this down because it's hard to follow at first.\n\n* We are extracting the span context from the caller, if any, with the `deserializeTraceData` method\n* We feed this into the `traceSingleAsChild` method which captures the span context and will weave it through a `Single` (its signature is Single => Single)\n* We further use the Metrics wrapping method `timedSingle` to weave timing and count metrics through a `Single` (signature also Single => Single))\n* And finally, we create a new Single inline that has the same logic as before, only it waits for a subscriber (meaning call to `subscribe`) to do anything so that we can start our metrics timing and trace on-demand from the caller.\n\nAnd with that, we have an RpcClient that can make and serve instrumented calls over the same RSocket.\n\n## Bugs and Feedback\n\nFor bugs, questions, and discussions please use the [Github Issues](https://github.com/netifi/rsocket-rpc/issues).\n\n## License\nCopyright 2017 Netifi Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n", + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/README.md", + "name": "./README.md", + "static": true, + "access": "public" + }, + { + "kind": "packageJSON", + "content": "{\n \"private\": true,\n \"workspaces\": [\n \"packages/*\"\n ],\n \"options\": {\n \"mocha\": \"--full-trace --require resources/mochaBootload packages/*/src/**/__tests__/**/*-test.js\",\n \"mocha_tdd\": \"--full-trace --watch --require resources/mochaBootload packages/*/src/**/__tests__/**/*-test.js\"\n },\n \"scripts\": {\n \"test\": \"npm run lint && npm run pretty-check && npm run testonly && npm run check\",\n \"testonly\": \"lerna run build && babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha\",\n \"t\": \"npm run testonly\",\n \"lint\": \"eslint packages/**/src || (printf '\\\\033[33mTry: \\\\033[7m npm run lint -- --fix \\\\033[0m\\\\n' && exit 1)\",\n \"lint-check\": \"eslint --print-config .eslintrc.js | eslint-config-prettier-check\",\n \"check\": \"flow check --show-all-errors\",\n \"prepublish\": \"node resources/prepublish.js\",\n \"pretty\": \"node resources/pretty.js\",\n \"pretty-check\": \"node resources/pretty.js --check\",\n \"protoc\": \"lerna run protoc\",\n \"esdoc\": \"./node_modules/.bin/esdoc\"\n },\n \"resolutions\": {\n \"eslint-scope\": \"3.7.1\"\n },\n \"devDependencies\": {\n \"babel-cli\": \"6.26.0\",\n \"babel-eslint\": \"8.1.2\",\n \"babel-plugin-check-es2015-constants\": \"6.22.0\",\n \"babel-plugin-syntax-async-functions\": \"6.13.0\",\n \"babel-plugin-transform-class-properties\": \"6.24.1\",\n \"babel-plugin-transform-es2015-arrow-functions\": \"6.22.0\",\n \"babel-plugin-transform-es2015-block-scoped-functions\": \"6.22.0\",\n \"babel-plugin-transform-es2015-block-scoping\": \"6.26.0\",\n \"babel-plugin-transform-es2015-classes\": \"6.24.1\",\n \"babel-plugin-transform-es2015-computed-properties\": \"6.24.1\",\n \"babel-plugin-transform-es2015-destructuring\": \"6.23.0\",\n \"babel-plugin-transform-es2015-duplicate-keys\": \"6.24.1\",\n \"babel-plugin-transform-es2015-function-name\": \"6.24.1\",\n \"babel-plugin-transform-es2015-literals\": \"6.22.0\",\n \"babel-plugin-transform-es2015-modules-commonjs\": \"6.26.0\",\n \"babel-plugin-transform-es2015-object-super\": \"6.24.1\",\n \"babel-plugin-transform-es2015-parameters\": \"6.24.1\",\n \"babel-plugin-transform-es2015-shorthand-properties\": \"6.24.1\",\n \"babel-plugin-transform-es2015-spread\": \"6.22.0\",\n \"babel-plugin-transform-es2015-template-literals\": \"6.22.0\",\n \"babel-plugin-transform-flow-strip-types\": \"6.22.0\",\n \"babel-plugin-transform-object-rest-spread\": \"6.26.0\",\n \"babel-plugin-transform-regenerator\": \"6.24.1\",\n \"babel-types\": \"6.26.0\",\n \"chai\": \"4.1.2\",\n \"eslint\": \"3.17.1\",\n \"eslint-config-prettier\": \"^2.3.0\",\n \"eslint-plugin-babel\": \"4.1.2\",\n \"eslint-plugin-dependencies\": \"^2.4.0\",\n \"eslint-plugin-flowtype\": \"2.40.1\",\n \"eslint-plugin-prefer-object-spread\": \"1.2.1\",\n \"flow-bin\": \"0.74.0\",\n \"lerna\": \"^2.11.0\",\n \"mocha\": \"4.1.0\",\n \"prettier\": \"^1.5.3\"\n },\n \"dependencies\": {\n \"esdoc\": \"^1.1.0\",\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\n \"esdoc-flow-plugin\": \"^1.0.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\"\n }\n}\n", + "longname": "/home/dgross/Netifi/rsocket-rpc-js/rsocket-rpc-js/package.json", + "name": "package.json", + "static": true, + "access": "public" + } +] \ No newline at end of file diff --git a/rsocket-rpc-js/docs/lint.json b/rsocket-rpc-js/docs/lint.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/rsocket-rpc-js/docs/lint.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rsocket-rpc-js/docs/script/inherited-summary.js b/rsocket-rpc-js/docs/script/inherited-summary.js new file mode 100644 index 0000000..0a35b6d --- /dev/null +++ b/rsocket-rpc-js/docs/script/inherited-summary.js @@ -0,0 +1,28 @@ +(function(){ + function toggle(ev) { + var button = ev.target; + var parent = ev.target.parentElement; + while(parent) { + if (parent.tagName === 'TABLE' && parent.classList.contains('summary')) break; + parent = parent.parentElement; + } + + if (!parent) return; + + var tbody = parent.querySelector('tbody'); + if (button.classList.contains('opened')) { + button.classList.remove('opened'); + button.classList.add('closed'); + tbody.style.display = 'none'; + } else { + button.classList.remove('closed'); + button.classList.add('opened'); + tbody.style.display = 'block'; + } + } + + var buttons = document.querySelectorAll('.inherited-summary thead .toggle'); + for (var i = 0; i < buttons.length; i++) { + buttons[i].addEventListener('click', toggle); + } +})(); diff --git a/rsocket-rpc-js/docs/script/inner-link.js b/rsocket-rpc-js/docs/script/inner-link.js new file mode 100644 index 0000000..ad1c942 --- /dev/null +++ b/rsocket-rpc-js/docs/script/inner-link.js @@ -0,0 +1,32 @@ +// inner link(#foo) can not correctly scroll, because page has fixed header, +// so, I manually scroll. +(function(){ + var matched = location.hash.match(/errorLines=([\d,]+)/); + if (matched) return; + + function adjust() { + window.scrollBy(0, -55); + var el = document.querySelector('.inner-link-active'); + if (el) el.classList.remove('inner-link-active'); + + // ``[ ] . ' " @`` are not valid in DOM id. so must escape these. + var id = location.hash.replace(/([\[\].'"@$])/g, '\\$1'); + var el = document.querySelector(id); + if (el) el.classList.add('inner-link-active'); + } + + window.addEventListener('hashchange', adjust); + + if (location.hash) { + setTimeout(adjust, 0); + } +})(); + +(function(){ + var els = document.querySelectorAll('[href^="#"]'); + var href = location.href.replace(/#.*$/, ''); // remove existed hash + for (var i = 0; i < els.length; i++) { + var el = els[i]; + el.href = href + el.getAttribute('href'); // because el.href is absolute path + } +})(); diff --git a/rsocket-rpc-js/docs/script/manual.js b/rsocket-rpc-js/docs/script/manual.js new file mode 100644 index 0000000..de0bfe2 --- /dev/null +++ b/rsocket-rpc-js/docs/script/manual.js @@ -0,0 +1,12 @@ +(function(){ + var matched = location.pathname.match(/\/(manual\/.*\.html)$/); + if (!matched) return; + + var currentName = matched[1]; + var cssClass = '.navigation .manual-toc li[data-link="' + currentName + '"]'; + var styleText = cssClass + '{ display: block; }\n'; + styleText += cssClass + '.indent-h1 a { color: #039BE5 }'; + var style = document.createElement('style'); + style.textContent = styleText; + document.querySelector('head').appendChild(style); +})(); diff --git a/rsocket-rpc-js/docs/script/patch-for-local.js b/rsocket-rpc-js/docs/script/patch-for-local.js new file mode 100644 index 0000000..5756d13 --- /dev/null +++ b/rsocket-rpc-js/docs/script/patch-for-local.js @@ -0,0 +1,8 @@ +(function(){ + if (location.protocol === 'file:') { + var elms = document.querySelectorAll('a[href="./"]'); + for (var i = 0; i < elms.length; i++) { + elms[i].href = './index.html'; + } + } +})(); diff --git a/rsocket-rpc-js/docs/script/prettify/Apache-License-2.0.txt b/rsocket-rpc-js/docs/script/prettify/Apache-License-2.0.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/rsocket-rpc-js/docs/script/prettify/Apache-License-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/rsocket-rpc-js/docs/script/prettify/prettify.js b/rsocket-rpc-js/docs/script/prettify/prettify.js new file mode 100755 index 0000000..3b74b5b --- /dev/null +++ b/rsocket-rpc-js/docs/script/prettify/prettify.js @@ -0,0 +1,46 @@ +!function(){/* + + Copyright (C) 2006 Google Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +window.PR_SHOULD_USE_CONTINUATION=!0; +(function(){function T(a){function d(e){var b=e.charCodeAt(0);if(92!==b)return b;var a=e.charAt(1);return(b=w[a])?b:"0"<=a&&"7">=a?parseInt(e.substring(1),8):"u"===a||"x"===a?parseInt(e.substring(2),16):e.charCodeAt(1)}function f(e){if(32>e)return(16>e?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return"\\"===e||"-"===e||"]"===e||"^"===e?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[0-9A-Fa-f]{4}|\\x[0-9A-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\s\S]|-|[^-\\]/g);e= +[];var a="^"===b[0],c=["["];a&&c.push("^");for(var a=a?1:0,g=b.length;ak||122k||90k||122h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(f(h[1])));c.push("]");return c.join("")}function v(e){for(var a=e.source.match(/(?:\[(?:[^\x5C\x5D]|\\[\s\S])*\]|\\u[A-Fa-f0-9]{4}|\\x[A-Fa-f0-9]{2}|\\[0-9]+|\\[^ux0-9]|\(\?[:!=]|[\(\)\^]|[^\x5B\x5C\(\)\^]+)/g),c=a.length,d=[],g=0,h=0;g/,null])):d.push(["com",/^#[^\r\n]*/,null,"#"]));a.cStyleComments&&(f.push(["com",/^\/\/[^\r\n]*/,null]),f.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));if(b=a.regexLiterals){var v=(b=1|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+ +("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+v+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+v+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&f.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&f.push(["kwd",new RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),null]);d.push(["pln",/^\s+/,null," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");f.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i, +null],["lit",/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(b),null]);return G(d,f)}function L(a,d,f){function b(a){var c=a.nodeType;if(1==c&&!A.test(a.className))if("br"===a.nodeName)v(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((3==c||4==c)&&f){var d=a.nodeValue,q=d.match(n);q&&(c=d.substring(0,q.index),a.nodeValue=c,(d=d.substring(q.index+q[0].length))&& +a.parentNode.insertBefore(l.createTextNode(d),a.nextSibling),v(a),c||a.parentNode.removeChild(a))}}function v(a){function b(a,c){var d=c?a.cloneNode(!1):a,k=a.parentNode;if(k){var k=b(k,1),e=a.nextSibling;k.appendChild(d);for(var f=e;f;f=e)e=f.nextSibling,k.appendChild(f)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;a=b(a.nextSibling,0);for(var d;(d=a.parentNode)&&1===d.nodeType;)a=d;c.push(a)}for(var A=/(?:^|\s)nocode(?:\s|$)/,n=/\r\n?|\n/,l=a.ownerDocument,m=l.createElement("li");a.firstChild;)m.appendChild(a.firstChild); +for(var c=[m],p=0;p=+v[1],d=/\n/g,A=a.a,n=A.length,f=0,l=a.c,m=l.length,b=0,c=a.g,p=c.length,w=0;c[p]=n;var r,e;for(e=r=0;e=h&&(b+=2);f>=k&&(w+=2)}}finally{g&&(g.style.display=a)}}catch(x){E.console&&console.log(x&&x.stack||x)}}var E=window,C=["break,continue,do,else,for,if,return,while"], +F=[[C,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],H=[F,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"], +O=[F,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],P=[F,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"], +F=[F,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],Q=[C,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],R=[C,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],C=[C,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"], +S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,W=/\S/,X=y({keywords:[H,P,O,F,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",Q,R,C],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),I={};t(X,["default-code"]);t(G([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),"default-markup htm html mxml xhtml xml xsl".split(" "));t(G([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null, +"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);t(G([],[["atv",/^[\s\S]+/]]),["uq.val"]);t(y({keywords:H, +hashComments:!0,cStyleComments:!0,types:S}),"c cc cpp cxx cyc m".split(" "));t(y({keywords:"null,true,false"}),["json"]);t(y({keywords:P,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]);t(y({keywords:O,cStyleComments:!0}),["java"]);t(y({keywords:C,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);t(y({keywords:Q,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);t(y({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END", +hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);t(y({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);t(y({keywords:F,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]);t(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0, +regexLiterals:!0}),["coffee"]);t(G([],[["str",/^[\s\S]+/]]),["regex"]);var Y=E.PR={createSimpleLexer:G,registerLangHandler:t,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:E.prettyPrintOne=function(a,d,f){f=f||!1;d=d||null;var b=document.createElement("div");b.innerHTML="
"+a+"
"; +b=b.firstChild;f&&L(b,f,!0);M({j:d,m:f,h:b,l:1,a:null,i:null,c:null,g:null});return b.innerHTML},prettyPrint:E.prettyPrint=function(a,d){function f(){for(var b=E.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;p' + pair[2] + ''); + } + } + + var innerHTML = ''; + for (kind in html) { + var list = html[kind]; + if (!list.length) continue; + innerHTML += '
  • ' + kind + '
  • \n' + list.join('\n'); + } + result.innerHTML = innerHTML; + if (innerHTML) result.style.display = 'block'; + selectedIndex = -1; + }); + + // down, up and enter key are pressed, select search result. + input.addEventListener('keydown', function(ev){ + if (ev.keyCode === 40) { + // arrow down + var current = result.children[selectedIndex]; + var selected = result.children[selectedIndex + 1]; + if (selected && selected.classList.contains('search-separator')) { + var selected = result.children[selectedIndex + 2]; + selectedIndex++; + } + + if (selected) { + if (current) current.classList.remove('selected'); + selectedIndex++; + selected.classList.add('selected'); + } + } else if (ev.keyCode === 38) { + // arrow up + var current = result.children[selectedIndex]; + var selected = result.children[selectedIndex - 1]; + if (selected && selected.classList.contains('search-separator')) { + var selected = result.children[selectedIndex - 2]; + selectedIndex--; + } + + if (selected) { + if (current) current.classList.remove('selected'); + selectedIndex--; + selected.classList.add('selected'); + } + } else if (ev.keyCode === 13) { + // enter + var current = result.children[selectedIndex]; + if (current) { + var link = current.querySelector('a'); + if (link) location.href = link.href; + } + } else { + return; + } + + ev.preventDefault(); + }); + + // select search result when search result is mouse over. + result.addEventListener('mousemove', function(ev){ + var current = result.children[selectedIndex]; + if (current) current.classList.remove('selected'); + + var li = ev.target; + while (li) { + if (li.nodeName === 'LI') break; + li = li.parentElement; + } + + if (li) { + selectedIndex = Array.prototype.indexOf.call(result.children, li); + li.classList.add('selected'); + } + }); + + // clear search result when body is clicked. + document.body.addEventListener('click', function(ev){ + selectedIndex = -1; + result.style.display = 'none'; + result.innerHTML = ''; + }); + +})(); diff --git a/rsocket-rpc-js/docs/script/search_index.js b/rsocket-rpc-js/docs/script/search_index.js new file mode 100644 index 0000000..114b6f6 --- /dev/null +++ b/rsocket-rpc-js/docs/script/search_index.js @@ -0,0 +1,1964 @@ +window.esdocSearchIndex = [ + [ + "./packages/metrics/src/basemeter.js~basemeter", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html", + "BaseMeter ./packages/metrics/src/BaseMeter.js", + "class" + ], + [ + "./packages/metrics/src/counter.js~counter", + "class/packages/metrics/src/Counter.js~Counter.html", + "Counter ./packages/metrics/src/Counter.js", + "class" + ], + [ + "./packages/metrics/src/histogram.js~default_percentiles", + "variable/index.html#static-variable-DEFAULT_PERCENTILES", + "DEFAULT_PERCENTILES ./packages/metrics/src/Histogram.js", + "variable" + ], + [ + "./packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html", + "EWMA ./packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "class" + ], + [ + "./packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html", + "ExponentiallyDecayingSample ./packages/metrics/src/stats/ExponentiallyDecayingSample.js", + "class" + ], + [ + "./packages/metrics/src/histogram.js~histogram", + "class/packages/metrics/src/Histogram.js~Histogram.html", + "Histogram ./packages/metrics/src/Histogram.js", + "class" + ], + [ + "./packages/frames/src/metadata.js~method_length_size", + "variable/index.html#static-variable-METHOD_LENGTH_SIZE", + "METHOD_LENGTH_SIZE ./packages/frames/src/Metadata.js", + "variable" + ], + [ + "./packages/metrics/src/metrics.js~metrics", + "class/packages/metrics/src/Metrics.js~Metrics.html", + "Metrics ./packages/metrics/src/Metrics.js", + "class" + ], + [ + "./packages/metrics/src/metricsexporter.js~metricsexporter", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html", + "MetricsExporter ./packages/metrics/src/MetricsExporter.js", + "class" + ], + [ + "./packages/metrics/src/metricssubscriber.js~metricssubscriber", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html", + "MetricsSubscriber ./packages/metrics/src/MetricsSubscriber.js", + "class" + ], + [ + "./packages/metrics/src/rawmetertag.js~rawmetertag", + "class/packages/metrics/src/RawMeterTag.js~RawMeterTag.html", + "RawMeterTag ./packages/metrics/src/RawMeterTag.js", + "class" + ], + [ + "./packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html", + "RequestHandlingRSocket ./packages/core/src/RequestHandlingRSocket.js", + "class" + ], + [ + "./packages/core/src/rpcclient.js~rpcclient", + "class/packages/core/src/RpcClient.js~RpcClient.html", + "RpcClient ./packages/core/src/RpcClient.js", + "class" + ], + [ + "./packages/frames/src/metadata.js~service_length_size", + "variable/index.html#static-variable-SERVICE_LENGTH_SIZE", + "SERVICE_LENGTH_SIZE ./packages/frames/src/Metadata.js", + "variable" + ], + [ + "./packages/metrics/src/stats/sample.js~sample", + "class/packages/metrics/src/stats/Sample.js~Sample.html", + "Sample ./packages/metrics/src/stats/Sample.js", + "class" + ], + [ + "./packages/metrics/src/simplemeterregistry.js~simplemeterregistry", + "class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html", + "SimpleMeterRegistry ./packages/metrics/src/SimpleMeterRegistry.js", + "class" + ], + [ + "./packages/tracing/src/spansubscriber.js~spansubscriber", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html", + "SpanSubscriber ./packages/tracing/src/SpanSubscriber.js", + "class" + ], + [ + "./packages/core/src/switchtransformoperator.js~switchtransformoperator", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html", + "SwitchTransformOperator ./packages/core/src/SwitchTransformOperator.js", + "class" + ], + [ + "./packages/frames/src/metadata.js~tracing_length_size", + "variable/index.html#static-variable-TRACING_LENGTH_SIZE", + "TRACING_LENGTH_SIZE ./packages/frames/src/Metadata.js", + "variable" + ], + [ + "./packages/metrics/src/timer.js~timer", + "class/packages/metrics/src/Timer.js~Timer.html", + "Timer ./packages/metrics/src/Timer.js", + "class" + ], + [ + "./packages/metrics/src/stats/uniformsample.js~uniformsample", + "class/packages/metrics/src/stats/UniformSample.js~UniformSample.html", + "UniformSample ./packages/metrics/src/stats/UniformSample.js", + "class" + ], + [ + "./packages/frames/src/metadata.js~version", + "variable/index.html#static-variable-VERSION", + "VERSION ./packages/frames/src/Metadata.js", + "variable" + ], + [ + "./packages/frames/src/metadata.js~version_size", + "variable/index.html#static-variable-VERSION_SIZE", + "VERSION_SIZE ./packages/frames/src/Metadata.js", + "variable" + ], + [ + "./packages/tracing/src/tracing.js~buffertomap", + "function/index.html#static-function-bufferToMap", + "bufferToMap ./packages/tracing/src/Tracing.js", + "function" + ], + [ + "./packages/tracing/src/spansingle.js~createspansingle", + "function/index.html#static-function-createSpanSingle", + "createSpanSingle ./packages/tracing/src/SpanSingle.js", + "function" + ], + [ + "./packages/tracing/src/tracing.js~deserializetracedata", + "function/index.html#static-function-deserializeTraceData", + "deserializeTraceData ./packages/tracing/src/Tracing.js", + "function" + ], + [ + "./packages/metrics/src/metricssinglesubscriber.js~embedmetricssinglesubscriber", + "function/index.html#static-function-embedMetricsSingleSubscriber", + "embedMetricsSingleSubscriber ./packages/metrics/src/MetricsSingleSubscriber.js", + "function" + ], + [ + "./packages/frames/src/metadata.js~encodemetadata", + "function/index.html#static-function-encodeMetadata", + "encodeMetadata ./packages/frames/src/Metadata.js", + "function" + ], + [ + "./packages/frames/src/metadata.js~getmetadata", + "function/index.html#static-function-getMetadata", + "getMetadata ./packages/frames/src/Metadata.js", + "function" + ], + [ + "./packages/frames/src/metadata.js~getmethod", + "function/index.html#static-function-getMethod", + "getMethod ./packages/frames/src/Metadata.js", + "function" + ], + [ + "./packages/frames/src/metadata.js~getservice", + "function/index.html#static-function-getService", + "getService ./packages/frames/src/Metadata.js", + "function" + ], + [ + "./packages/frames/src/metadata.js~gettracing", + "function/index.html#static-function-getTracing", + "getTracing ./packages/frames/src/Metadata.js", + "function" + ], + [ + "./packages/frames/src/metadata.js~getversion", + "function/index.html#static-function-getVersion", + "getVersion ./packages/frames/src/Metadata.js", + "function" + ], + [ + "./packages/tracing/src/tracing.js~maptobuffer", + "function/index.html#static-function-mapToBuffer", + "mapToBuffer ./packages/tracing/src/Tracing.js", + "function" + ], + [ + "./packages/tracing/src/tracing.js~trace", + "function/index.html#static-function-trace", + "trace ./packages/tracing/src/Tracing.js", + "function" + ], + [ + "./packages/tracing/src/tracing.js~traceaschild", + "function/index.html#static-function-traceAsChild", + "traceAsChild ./packages/tracing/src/Tracing.js", + "function" + ], + [ + "./packages/tracing/src/tracing.js~tracesingle", + "function/index.html#static-function-traceSingle", + "traceSingle ./packages/tracing/src/Tracing.js", + "function" + ], + [ + "./packages/tracing/src/tracing.js~tracesingleaschild", + "function/index.html#static-function-traceSingleAsChild", + "traceSingleAsChild ./packages/tracing/src/Tracing.js", + "function" + ], + [ + "packages/.external-ecmascript.js~array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "packages/.external-ecmascript.js~Array", + "external" + ], + [ + "packages/.external-ecmascript.js~arraybuffer", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", + "packages/.external-ecmascript.js~ArrayBuffer", + "external" + ], + [ + "packages/.external-ecmascript.js~boolean", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "packages/.external-ecmascript.js~Boolean", + "external" + ], + [ + "packages/.external-ecmascript.js~dataview", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", + "packages/.external-ecmascript.js~DataView", + "external" + ], + [ + "packages/.external-ecmascript.js~date", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "packages/.external-ecmascript.js~Date", + "external" + ], + [ + "packages/.external-ecmascript.js~error", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "packages/.external-ecmascript.js~Error", + "external" + ], + [ + "packages/.external-ecmascript.js~evalerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", + "packages/.external-ecmascript.js~EvalError", + "external" + ], + [ + "packages/.external-ecmascript.js~float32array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", + "packages/.external-ecmascript.js~Float32Array", + "external" + ], + [ + "packages/.external-ecmascript.js~float64array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", + "packages/.external-ecmascript.js~Float64Array", + "external" + ], + [ + "packages/.external-ecmascript.js~function", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "packages/.external-ecmascript.js~Function", + "external" + ], + [ + "packages/.external-ecmascript.js~generator", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", + "packages/.external-ecmascript.js~Generator", + "external" + ], + [ + "packages/.external-ecmascript.js~generatorfunction", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", + "packages/.external-ecmascript.js~GeneratorFunction", + "external" + ], + [ + "packages/.external-ecmascript.js~infinity", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", + "packages/.external-ecmascript.js~Infinity", + "external" + ], + [ + "packages/.external-ecmascript.js~int16array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", + "packages/.external-ecmascript.js~Int16Array", + "external" + ], + [ + "packages/.external-ecmascript.js~int32array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", + "packages/.external-ecmascript.js~Int32Array", + "external" + ], + [ + "packages/.external-ecmascript.js~int8array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", + "packages/.external-ecmascript.js~Int8Array", + "external" + ], + [ + "packages/.external-ecmascript.js~internalerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", + "packages/.external-ecmascript.js~InternalError", + "external" + ], + [ + "packages/.external-ecmascript.js~json", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", + "packages/.external-ecmascript.js~JSON", + "external" + ], + [ + "packages/.external-ecmascript.js~map", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", + "packages/.external-ecmascript.js~Map", + "external" + ], + [ + "packages/.external-ecmascript.js~nan", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", + "packages/.external-ecmascript.js~NaN", + "external" + ], + [ + "packages/.external-ecmascript.js~number", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "packages/.external-ecmascript.js~Number", + "external" + ], + [ + "packages/.external-ecmascript.js~object", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "packages/.external-ecmascript.js~Object", + "external" + ], + [ + "packages/.external-ecmascript.js~promise", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "packages/.external-ecmascript.js~Promise", + "external" + ], + [ + "packages/.external-ecmascript.js~proxy", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", + "packages/.external-ecmascript.js~Proxy", + "external" + ], + [ + "packages/.external-ecmascript.js~rangeerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", + "packages/.external-ecmascript.js~RangeError", + "external" + ], + [ + "packages/.external-ecmascript.js~referenceerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", + "packages/.external-ecmascript.js~ReferenceError", + "external" + ], + [ + "packages/.external-ecmascript.js~reflect", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", + "packages/.external-ecmascript.js~Reflect", + "external" + ], + [ + "packages/.external-ecmascript.js~regexp", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", + "packages/.external-ecmascript.js~RegExp", + "external" + ], + [ + "packages/.external-ecmascript.js~set", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", + "packages/.external-ecmascript.js~Set", + "external" + ], + [ + "packages/.external-ecmascript.js~string", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "packages/.external-ecmascript.js~String", + "external" + ], + [ + "packages/.external-ecmascript.js~symbol", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", + "packages/.external-ecmascript.js~Symbol", + "external" + ], + [ + "packages/.external-ecmascript.js~syntaxerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", + "packages/.external-ecmascript.js~SyntaxError", + "external" + ], + [ + "packages/.external-ecmascript.js~typeerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "packages/.external-ecmascript.js~TypeError", + "external" + ], + [ + "packages/.external-ecmascript.js~urierror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", + "packages/.external-ecmascript.js~URIError", + "external" + ], + [ + "packages/.external-ecmascript.js~uint16array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", + "packages/.external-ecmascript.js~Uint16Array", + "external" + ], + [ + "packages/.external-ecmascript.js~uint32array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", + "packages/.external-ecmascript.js~Uint32Array", + "external" + ], + [ + "packages/.external-ecmascript.js~uint8array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", + "packages/.external-ecmascript.js~Uint8Array", + "external" + ], + [ + "packages/.external-ecmascript.js~uint8clampedarray", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", + "packages/.external-ecmascript.js~Uint8ClampedArray", + "external" + ], + [ + "packages/.external-ecmascript.js~weakmap", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "packages/.external-ecmascript.js~WeakMap", + "external" + ], + [ + "packages/.external-ecmascript.js~weakset", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", + "packages/.external-ecmascript.js~WeakSet", + "external" + ], + [ + "packages/.external-ecmascript.js~boolean", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "packages/.external-ecmascript.js~boolean", + "external" + ], + [ + "packages/.external-ecmascript.js~function", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "packages/.external-ecmascript.js~function", + "external" + ], + [ + "packages/.external-ecmascript.js~null", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", + "packages/.external-ecmascript.js~null", + "external" + ], + [ + "packages/.external-ecmascript.js~number", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "packages/.external-ecmascript.js~number", + "external" + ], + [ + "packages/.external-ecmascript.js~object", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "packages/.external-ecmascript.js~object", + "external" + ], + [ + "packages/.external-ecmascript.js~string", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "packages/.external-ecmascript.js~string", + "external" + ], + [ + "packages/.external-ecmascript.js~undefined", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "packages/.external-ecmascript.js~undefined", + "external" + ], + [ + "packages/core/src/queuingflowableprocessor.js", + "file/packages/core/src/QueuingFlowableProcessor.js.html", + "packages/core/src/QueuingFlowableProcessor.js", + "file" + ], + [ + "packages/core/src/queuingflowableprocessor.js~isubscription", + "https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js", + "packages/core/src/QueuingFlowableProcessor.js~ISubscription", + "external" + ], + [ + "packages/core/src/requesthandlingrsocket.js", + "file/packages/core/src/RequestHandlingRSocket.js.html", + "packages/core/src/RequestHandlingRSocket.js", + "file" + ], + [ + "packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket#_registeredservices", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html#instance-member-_registeredServices", + "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#_registeredServices", + "member" + ], + [ + "packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket#addservice", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html#instance-method-addService", + "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#addService", + "method" + ], + [ + "packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket#constructor", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html#instance-constructor-constructor", + "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#constructor", + "method" + ], + [ + "packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket#fireandforget", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html#instance-method-fireAndForget", + "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#fireAndForget", + "method" + ], + [ + "packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket#metadatapush", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html#instance-method-metadataPush", + "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#metadataPush", + "method" + ], + [ + "packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket#requestchannel", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html#instance-method-requestChannel", + "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#requestChannel", + "method" + ], + [ + "packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket#requestresponse", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html#instance-method-requestResponse", + "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#requestResponse", + "method" + ], + [ + "packages/core/src/requesthandlingrsocket.js~requesthandlingrsocket#requeststream", + "class/packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket.html#instance-method-requestStream", + "packages/core/src/RequestHandlingRSocket.js~RequestHandlingRSocket#requestStream", + "method" + ], + [ + "packages/core/src/rpcclient.js", + "file/packages/core/src/RpcClient.js.html", + "packages/core/src/RpcClient.js", + "file" + ], + [ + "packages/core/src/rpcclient.js~clientconfig", + "typedef/index.html#static-typedef-ClientConfig", + "packages/core/src/RpcClient.js~ClientConfig", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~duplexconnection", + "typedef/index.html#static-typedef-DuplexConnection", + "packages/core/src/RpcClient.js~DuplexConnection", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~encodable", + "typedef/index.html#static-typedef-Encodable", + "packages/core/src/RpcClient.js~Encodable", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~flowable", + "typedef/index.html#static-typedef-Flowable", + "packages/core/src/RpcClient.js~Flowable", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~payload", + "typedef/index.html#static-typedef-Payload", + "packages/core/src/RpcClient.js~Payload", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~payloadserializers", + "typedef/index.html#static-typedef-PayloadSerializers", + "packages/core/src/RpcClient.js~PayloadSerializers", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~reactivesocket", + "typedef/index.html#static-typedef-ReactiveSocket", + "packages/core/src/RpcClient.js~ReactiveSocket", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~responder", + "typedef/index.html#static-typedef-Responder", + "packages/core/src/RpcClient.js~Responder", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~rpcclient#_config", + "class/packages/core/src/RpcClient.js~RpcClient.html#instance-member-_config", + "packages/core/src/RpcClient.js~RpcClient#_config", + "member" + ], + [ + "packages/core/src/rpcclient.js~rpcclient#_connection", + "class/packages/core/src/RpcClient.js~RpcClient.html#instance-member-_connection", + "packages/core/src/RpcClient.js~RpcClient#_connection", + "member" + ], + [ + "packages/core/src/rpcclient.js~rpcclient#close", + "class/packages/core/src/RpcClient.js~RpcClient.html#instance-method-close", + "packages/core/src/RpcClient.js~RpcClient#close", + "method" + ], + [ + "packages/core/src/rpcclient.js~rpcclient#connect", + "class/packages/core/src/RpcClient.js~RpcClient.html#instance-method-connect", + "packages/core/src/RpcClient.js~RpcClient#connect", + "method" + ], + [ + "packages/core/src/rpcclient.js~rpcclient#constructor", + "class/packages/core/src/RpcClient.js~RpcClient.html#instance-constructor-constructor", + "packages/core/src/RpcClient.js~RpcClient#constructor", + "method" + ], + [ + "packages/core/src/rpcclient.js~serializer", + "typedef/index.html#static-typedef-Serializer", + "packages/core/src/RpcClient.js~Serializer", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~setup", + "typedef/index.html#static-typedef-Setup", + "packages/core/src/RpcClient.js~Setup", + "typedef" + ], + [ + "packages/core/src/rpcclient.js~single", + "typedef/index.html#static-typedef-Single", + "packages/core/src/RpcClient.js~Single", + "typedef" + ], + [ + "packages/core/src/switchtransformoperator.js", + "file/packages/core/src/SwitchTransformOperator.js.html", + "packages/core/src/SwitchTransformOperator.js", + "file" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#_canceled", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-member-_canceled", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_canceled", + "member" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#_done", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-member-_done", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_done", + "member" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#_error", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-member-_error", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_error", + "member" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#_first", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-member-_first", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_first", + "member" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#_inner", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-member-_inner", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_inner", + "member" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#_outer", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-member-_outer", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_outer", + "member" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#_subscription", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-member-_subscription", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_subscription", + "member" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#_transformer", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-member-_transformer", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#_transformer", + "member" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#cancel", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-method-cancel", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#cancel", + "method" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#constructor", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-constructor-constructor", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#constructor", + "method" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#map", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-method-map", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#map", + "method" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#oncomplete", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-method-onComplete", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#onComplete", + "method" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#onerror", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-method-onError", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#onError", + "method" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#onnext", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-method-onNext", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#onNext", + "method" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#onsubscribe", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-method-onSubscribe", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#onSubscribe", + "method" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#request", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-method-request", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#request", + "method" + ], + [ + "packages/core/src/switchtransformoperator.js~switchtransformoperator#subscribe", + "class/packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator.html#instance-method-subscribe", + "packages/core/src/SwitchTransformOperator.js~SwitchTransformOperator#subscribe", + "method" + ], + [ + "packages/core/src/index.js", + "file/packages/core/src/index.js.html", + "packages/core/src/index.js", + "file" + ], + [ + "packages/frames/src/metadata.js", + "file/packages/frames/src/Metadata.js.html", + "packages/frames/src/Metadata.js", + "file" + ], + [ + "packages/frames/src/metadata.js~buffer", + "typedef/index.html#static-typedef-Buffer", + "packages/frames/src/Metadata.js~Buffer", + "typedef" + ], + [ + "packages/frames/src/metadata.js~bufferencoder", + "typedef/index.html#static-typedef-BufferEncoder", + "packages/frames/src/Metadata.js~BufferEncoder", + "typedef" + ], + [ + "packages/frames/src/metadata.js~encoder", + "typedef/index.html#static-typedef-Encoder", + "packages/frames/src/Metadata.js~Encoder", + "typedef" + ], + [ + "packages/frames/src/metadata.js~utf8encoder", + "typedef/index.html#static-typedef-UTF8Encoder", + "packages/frames/src/Metadata.js~UTF8Encoder", + "typedef" + ], + [ + "packages/frames/src/__tests__/metadata-test.js", + "file/packages/frames/src/__tests__/Metadata-test.js.html", + "packages/frames/src/__tests__/Metadata-test.js", + "file" + ], + [ + "packages/frames/src/index.js", + "file/packages/frames/src/index.js.html", + "packages/frames/src/index.js", + "file" + ], + [ + "packages/metrics/src/basemeter.js", + "file/packages/metrics/src/BaseMeter.js.html", + "packages/metrics/src/BaseMeter.js", + "file" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#constructor", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-constructor-constructor", + "packages/metrics/src/BaseMeter.js~BaseMeter#constructor", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#convert", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-convert", + "packages/metrics/src/BaseMeter.js~BaseMeter#convert", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#count", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-count", + "packages/metrics/src/BaseMeter.js~BaseMeter#count", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#description", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-description", + "packages/metrics/src/BaseMeter.js~BaseMeter#description", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#fifteenminuterate", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-fifteenMinuteRate", + "packages/metrics/src/BaseMeter.js~BaseMeter#fifteenMinuteRate", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#fiveminuterate", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-fiveMinuteRate", + "packages/metrics/src/BaseMeter.js~BaseMeter#fiveMinuteRate", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#m15rate", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-m15Rate", + "packages/metrics/src/BaseMeter.js~BaseMeter#m15Rate", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#m1rate", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-m1Rate", + "packages/metrics/src/BaseMeter.js~BaseMeter#m1Rate", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#m5rate", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-m5Rate", + "packages/metrics/src/BaseMeter.js~BaseMeter#m5Rate", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#mark", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-mark", + "packages/metrics/src/BaseMeter.js~BaseMeter#mark", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#meanrate", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-meanRate", + "packages/metrics/src/BaseMeter.js~BaseMeter#meanRate", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#name", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-name", + "packages/metrics/src/BaseMeter.js~BaseMeter#name", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#oneminuterate", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-oneMinuteRate", + "packages/metrics/src/BaseMeter.js~BaseMeter#oneMinuteRate", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#rates", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-rates", + "packages/metrics/src/BaseMeter.js~BaseMeter#rates", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#starttime", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-startTime", + "packages/metrics/src/BaseMeter.js~BaseMeter#startTime", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#statistic", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-statistic", + "packages/metrics/src/BaseMeter.js~BaseMeter#statistic", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#tags", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-tags", + "packages/metrics/src/BaseMeter.js~BaseMeter#tags", + "member" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#tick", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-tick", + "packages/metrics/src/BaseMeter.js~BaseMeter#tick", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#toobject", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-method-toObject", + "packages/metrics/src/BaseMeter.js~BaseMeter#toObject", + "method" + ], + [ + "packages/metrics/src/basemeter.js~basemeter#type", + "class/packages/metrics/src/BaseMeter.js~BaseMeter.html#instance-member-type", + "packages/metrics/src/BaseMeter.js~BaseMeter#type", + "member" + ], + [ + "packages/metrics/src/counter.js", + "file/packages/metrics/src/Counter.js.html", + "packages/metrics/src/Counter.js", + "file" + ], + [ + "packages/metrics/src/counter.js~counter#clear", + "class/packages/metrics/src/Counter.js~Counter.html#instance-method-clear", + "packages/metrics/src/Counter.js~Counter#clear", + "method" + ], + [ + "packages/metrics/src/counter.js~counter#constructor", + "class/packages/metrics/src/Counter.js~Counter.html#instance-constructor-constructor", + "packages/metrics/src/Counter.js~Counter#constructor", + "method" + ], + [ + "packages/metrics/src/counter.js~counter#count", + "class/packages/metrics/src/Counter.js~Counter.html#instance-member-count", + "packages/metrics/src/Counter.js~Counter#count", + "member" + ], + [ + "packages/metrics/src/counter.js~counter#dec", + "class/packages/metrics/src/Counter.js~Counter.html#instance-method-dec", + "packages/metrics/src/Counter.js~Counter#dec", + "method" + ], + [ + "packages/metrics/src/counter.js~counter#inc", + "class/packages/metrics/src/Counter.js~Counter.html#instance-method-inc", + "packages/metrics/src/Counter.js~Counter#inc", + "method" + ], + [ + "packages/metrics/src/counter.js~counter#statistic", + "class/packages/metrics/src/Counter.js~Counter.html#instance-member-statistic", + "packages/metrics/src/Counter.js~Counter#statistic", + "member" + ], + [ + "packages/metrics/src/counter.js~counter#type", + "class/packages/metrics/src/Counter.js~Counter.html#instance-member-type", + "packages/metrics/src/Counter.js~Counter#type", + "member" + ], + [ + "packages/metrics/src/counter.js~counter#units", + "class/packages/metrics/src/Counter.js~Counter.html#instance-member-units", + "packages/metrics/src/Counter.js~Counter#units", + "member" + ], + [ + "packages/metrics/src/histogram.js", + "file/packages/metrics/src/Histogram.js.html", + "packages/metrics/src/Histogram.js", + "file" + ], + [ + "packages/metrics/src/histogram.js~histogram#clear", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-clear", + "packages/metrics/src/Histogram.js~Histogram#clear", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#constructor", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-constructor-constructor", + "packages/metrics/src/Histogram.js~Histogram#constructor", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#count", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-member-count", + "packages/metrics/src/Histogram.js~Histogram#count", + "member" + ], + [ + "packages/metrics/src/histogram.js~histogram#max", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-member-max", + "packages/metrics/src/Histogram.js~Histogram#max", + "member" + ], + [ + "packages/metrics/src/histogram.js~histogram#mean", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-mean", + "packages/metrics/src/Histogram.js~Histogram#mean", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#min", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-member-min", + "packages/metrics/src/Histogram.js~Histogram#min", + "member" + ], + [ + "packages/metrics/src/histogram.js~histogram#percentiles", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-percentiles", + "packages/metrics/src/Histogram.js~Histogram#percentiles", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#sample", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-member-sample", + "packages/metrics/src/Histogram.js~Histogram#sample", + "member" + ], + [ + "packages/metrics/src/histogram.js~histogram#stddev", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-stdDev", + "packages/metrics/src/Histogram.js~Histogram#stdDev", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#sum", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-member-sum", + "packages/metrics/src/Histogram.js~Histogram#sum", + "member" + ], + [ + "packages/metrics/src/histogram.js~histogram#toobject", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-toObject", + "packages/metrics/src/Histogram.js~Histogram#toObject", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#type", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-member-type", + "packages/metrics/src/Histogram.js~Histogram#type", + "member" + ], + [ + "packages/metrics/src/histogram.js~histogram#update", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-update", + "packages/metrics/src/Histogram.js~Histogram#update", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#updatevariance", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-updateVariance", + "packages/metrics/src/Histogram.js~Histogram#updateVariance", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#values", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-values", + "packages/metrics/src/Histogram.js~Histogram#values", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#variance", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-method-variance", + "packages/metrics/src/Histogram.js~Histogram#variance", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram#variancem", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-member-varianceM", + "packages/metrics/src/Histogram.js~Histogram#varianceM", + "member" + ], + [ + "packages/metrics/src/histogram.js~histogram#variances", + "class/packages/metrics/src/Histogram.js~Histogram.html#instance-member-varianceS", + "packages/metrics/src/Histogram.js~Histogram#varianceS", + "member" + ], + [ + "packages/metrics/src/histogram.js~histogram.createexponentialdecayhistogram", + "class/packages/metrics/src/Histogram.js~Histogram.html#static-method-createExponentialDecayHistogram", + "packages/metrics/src/Histogram.js~Histogram.createExponentialDecayHistogram", + "method" + ], + [ + "packages/metrics/src/histogram.js~histogram.createuniformhistogram", + "class/packages/metrics/src/Histogram.js~Histogram.html#static-method-createUniformHistogram", + "packages/metrics/src/Histogram.js~Histogram.createUniformHistogram", + "method" + ], + [ + "packages/metrics/src/imeter.js", + "file/packages/metrics/src/IMeter.js.html", + "packages/metrics/src/IMeter.js", + "file" + ], + [ + "packages/metrics/src/imeterregistry.js", + "file/packages/metrics/src/IMeterRegistry.js.html", + "packages/metrics/src/IMeterRegistry.js", + "file" + ], + [ + "packages/metrics/src/metrics.js", + "file/packages/metrics/src/Metrics.js.html", + "packages/metrics/src/Metrics.js", + "file" + ], + [ + "packages/metrics/src/metrics.js~metrics#constructor", + "class/packages/metrics/src/Metrics.js~Metrics.html#instance-constructor-constructor", + "packages/metrics/src/Metrics.js~Metrics#constructor", + "method" + ], + [ + "packages/metrics/src/metrics.js~metrics.timed", + "class/packages/metrics/src/Metrics.js~Metrics.html#static-method-timed", + "packages/metrics/src/Metrics.js~Metrics.timed", + "method" + ], + [ + "packages/metrics/src/metrics.js~metrics.timedsingle", + "class/packages/metrics/src/Metrics.js~Metrics.html#static-method-timedSingle", + "packages/metrics/src/Metrics.js~Metrics.timedSingle", + "method" + ], + [ + "packages/metrics/src/metricsexporter.js", + "file/packages/metrics/src/MetricsExporter.js.html", + "packages/metrics/src/MetricsExporter.js", + "file" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#batchsize", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-member-batchSize", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#batchSize", + "member" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#constructor", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-constructor-constructor", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#constructor", + "method" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#exportperiodseconds", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-member-exportPeriodSeconds", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#exportPeriodSeconds", + "member" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#handler", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-member-handler", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#handler", + "member" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#intervalhandle", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-member-intervalHandle", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#intervalHandle", + "member" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#registry", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-member-registry", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#registry", + "member" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#remotecancel", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-member-remoteCancel", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#remoteCancel", + "member" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#remotesubscriber", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-member-remoteSubscriber", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#remoteSubscriber", + "member" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#start", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-method-start", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#start", + "method" + ], + [ + "packages/metrics/src/metricsexporter.js~metricsexporter#stop", + "class/packages/metrics/src/MetricsExporter.js~MetricsExporter.html#instance-method-stop", + "packages/metrics/src/MetricsExporter.js~MetricsExporter#stop", + "method" + ], + [ + "packages/metrics/src/metricssinglesubscriber.js", + "file/packages/metrics/src/MetricsSingleSubscriber.js.html", + "packages/metrics/src/MetricsSingleSubscriber.js", + "file" + ], + [ + "packages/metrics/src/metricssubscriber.js", + "file/packages/metrics/src/MetricsSubscriber.js.html", + "packages/metrics/src/MetricsSubscriber.js", + "file" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#_cancelled", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-member-_cancelled", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_cancelled", + "member" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#_complete", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-member-_complete", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_complete", + "member" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#_error", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-member-_error", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_error", + "member" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#_next", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-member-_next", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_next", + "member" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#_source", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-member-_source", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_source", + "member" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#_start", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-member-_start", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_start", + "member" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#_subscription", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-member-_subscription", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_subscription", + "member" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#_timer", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-member-_timer", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#_timer", + "member" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#cancel", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-method-cancel", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#cancel", + "method" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#constructor", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-constructor-constructor", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#constructor", + "method" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#oncomplete", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-method-onComplete", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#onComplete", + "method" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#onerror", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-method-onError", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#onError", + "method" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#onnext", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-method-onNext", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#onNext", + "method" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#onsubscribe", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-method-onSubscribe", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#onSubscribe", + "method" + ], + [ + "packages/metrics/src/metricssubscriber.js~metricssubscriber#request", + "class/packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber.html#instance-method-request", + "packages/metrics/src/MetricsSubscriber.js~MetricsSubscriber#request", + "method" + ], + [ + "packages/metrics/src/rawmetertag.js", + "file/packages/metrics/src/RawMeterTag.js.html", + "packages/metrics/src/RawMeterTag.js", + "file" + ], + [ + "packages/metrics/src/rawmetertag.js~rawmetertag#constructor", + "class/packages/metrics/src/RawMeterTag.js~RawMeterTag.html#instance-constructor-constructor", + "packages/metrics/src/RawMeterTag.js~RawMeterTag#constructor", + "method" + ], + [ + "packages/metrics/src/rawmetertag.js~rawmetertag#key", + "class/packages/metrics/src/RawMeterTag.js~RawMeterTag.html#instance-member-key", + "packages/metrics/src/RawMeterTag.js~RawMeterTag#key", + "member" + ], + [ + "packages/metrics/src/rawmetertag.js~rawmetertag#value", + "class/packages/metrics/src/RawMeterTag.js~RawMeterTag.html#instance-member-value", + "packages/metrics/src/RawMeterTag.js~RawMeterTag#value", + "member" + ], + [ + "packages/metrics/src/simplemeterregistry.js", + "file/packages/metrics/src/SimpleMeterRegistry.js.html", + "packages/metrics/src/SimpleMeterRegistry.js", + "file" + ], + [ + "packages/metrics/src/simplemeterregistry.js~simplemeterregistry#constructor", + "class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html#instance-constructor-constructor", + "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#constructor", + "method" + ], + [ + "packages/metrics/src/simplemeterregistry.js~simplemeterregistry#metermap", + "class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html#instance-member-meterMap", + "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#meterMap", + "member" + ], + [ + "packages/metrics/src/simplemeterregistry.js~simplemeterregistry#meters", + "class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html#instance-method-meters", + "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#meters", + "method" + ], + [ + "packages/metrics/src/simplemeterregistry.js~simplemeterregistry#registermeter", + "class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html#instance-method-registerMeter", + "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#registerMeter", + "method" + ], + [ + "packages/metrics/src/simplemeterregistry.js~simplemeterregistry#registermeters", + "class/packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry.html#instance-method-registerMeters", + "packages/metrics/src/SimpleMeterRegistry.js~SimpleMeterRegistry#registerMeters", + "method" + ], + [ + "packages/metrics/src/timer.js", + "file/packages/metrics/src/Timer.js.html", + "packages/metrics/src/Timer.js", + "file" + ], + [ + "packages/metrics/src/timer.js~timer#clear", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-clear", + "packages/metrics/src/Timer.js~Timer#clear", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#constructor", + "class/packages/metrics/src/Timer.js~Timer.html#instance-constructor-constructor", + "packages/metrics/src/Timer.js~Timer#constructor", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#histogram", + "class/packages/metrics/src/Timer.js~Timer.html#instance-member-histogram", + "packages/metrics/src/Timer.js~Timer#histogram", + "member" + ], + [ + "packages/metrics/src/timer.js~timer#max", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-max", + "packages/metrics/src/Timer.js~Timer#max", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#mean", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-mean", + "packages/metrics/src/Timer.js~Timer#mean", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#min", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-min", + "packages/metrics/src/Timer.js~Timer#min", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#percentiles", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-percentiles", + "packages/metrics/src/Timer.js~Timer#percentiles", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#statistic", + "class/packages/metrics/src/Timer.js~Timer.html#instance-member-statistic", + "packages/metrics/src/Timer.js~Timer#statistic", + "member" + ], + [ + "packages/metrics/src/timer.js~timer#stddev", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-stdDev", + "packages/metrics/src/Timer.js~Timer#stdDev", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#toobject", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-toObject", + "packages/metrics/src/Timer.js~Timer#toObject", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#totalcount", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-totalCount", + "packages/metrics/src/Timer.js~Timer#totalCount", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#type", + "class/packages/metrics/src/Timer.js~Timer.html#instance-member-type", + "packages/metrics/src/Timer.js~Timer#type", + "member" + ], + [ + "packages/metrics/src/timer.js~timer#update", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-update", + "packages/metrics/src/Timer.js~Timer#update", + "method" + ], + [ + "packages/metrics/src/timer.js~timer#values", + "class/packages/metrics/src/Timer.js~Timer.html#instance-method-values", + "packages/metrics/src/Timer.js~Timer#values", + "method" + ], + [ + "packages/metrics/src/__tests__/exponentially_decaying_sample-test.js", + "file/packages/metrics/src/__tests__/exponentially_decaying_sample-test.js.html", + "packages/metrics/src/__tests__/exponentially_decaying_sample-test.js", + "file" + ], + [ + "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "file/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js.html", + "packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js", + "file" + ], + [ + "packages/metrics/src/__tests__/histogram-test.js", + "file/packages/metrics/src/__tests__/histogram-test.js.html", + "packages/metrics/src/__tests__/histogram-test.js", + "file" + ], + [ + "packages/metrics/src/__tests__/meter-test.js", + "file/packages/metrics/src/__tests__/meter-test.js.html", + "packages/metrics/src/__tests__/meter-test.js", + "file" + ], + [ + "packages/metrics/src/__tests__/timer-test.js", + "file/packages/metrics/src/__tests__/timer-test.js.html", + "packages/metrics/src/__tests__/timer-test.js", + "file" + ], + [ + "packages/metrics/src/__tests__/uniform_sample-test.js", + "file/packages/metrics/src/__tests__/uniform_sample-test.js.html", + "packages/metrics/src/__tests__/uniform_sample-test.js", + "file" + ], + [ + "packages/metrics/src/index.js", + "file/packages/metrics/src/index.js.html", + "packages/metrics/src/index.js", + "file" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js", + "file/packages/metrics/src/stats/ExponentiallyDecayingSample.js.html", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js", + "file" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#alpha", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-member-alpha", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#alpha", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#clear", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-clear", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#clear", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#constructor", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-constructor-constructor", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#constructor", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#count", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-member-count", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#count", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#getvalues", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-getValues", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#getValues", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#limit", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-member-limit", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#limit", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#newheap", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-newHeap", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#newHeap", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#nextscaletime", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-member-nextScaleTime", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#nextScaleTime", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#now", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-now", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#now", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#rescale", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-rescale", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#rescale", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#size", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-size", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#size", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#starttime", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-member-startTime", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#startTime", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#tick", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-tick", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#tick", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#update", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-update", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#update", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#values", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-member-values", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#values", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallydecayingsample.js~exponentiallydecayingsample#weight", + "class/packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample.html#instance-method-weight", + "packages/metrics/src/stats/ExponentiallyDecayingSample.js~ExponentiallyDecayingSample#weight", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js", + "file/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js.html", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js", + "file" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#alpha", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-member-alpha", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#alpha", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#constructor", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-constructor-constructor", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#constructor", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#currentrate", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-member-currentRate", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#currentRate", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#initialized", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-member-initialized", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#initialized", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#interval", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-member-interval", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#interval", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#rate", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-method-rate", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#rate", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#stop", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-method-stop", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#stop", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#tick", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-method-tick", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#tick", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#tickinterval", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-member-tickInterval", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#tickInterval", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#uncounted", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-member-uncounted", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#uncounted", + "member" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma#update", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#instance-method-update", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA#update", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma.createm15ewma", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#static-method-createM15EWMA", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.createM15EWMA", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma.createm1ewma", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#static-method-createM1EWMA", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.createM1EWMA", + "method" + ], + [ + "packages/metrics/src/stats/exponentiallyweightedmovingaverage.js~ewma.createm5ewma", + "class/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.html#static-method-createM5EWMA", + "packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js~EWMA.createM5EWMA", + "method" + ], + [ + "packages/metrics/src/stats/isample.js", + "file/packages/metrics/src/stats/ISample.js.html", + "packages/metrics/src/stats/ISample.js", + "file" + ], + [ + "packages/metrics/src/stats/sample.js", + "file/packages/metrics/src/stats/Sample.js.html", + "packages/metrics/src/stats/Sample.js", + "file" + ], + [ + "packages/metrics/src/stats/sample.js~sample#clear", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-method-clear", + "packages/metrics/src/stats/Sample.js~Sample#clear", + "method" + ], + [ + "packages/metrics/src/stats/sample.js~sample#constructor", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-constructor-constructor", + "packages/metrics/src/stats/Sample.js~Sample#constructor", + "method" + ], + [ + "packages/metrics/src/stats/sample.js~sample#count", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-member-count", + "packages/metrics/src/stats/Sample.js~Sample#count", + "member" + ], + [ + "packages/metrics/src/stats/sample.js~sample#getvalues", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-method-getValues", + "packages/metrics/src/stats/Sample.js~Sample#getValues", + "method" + ], + [ + "packages/metrics/src/stats/sample.js~sample#init", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-method-init", + "packages/metrics/src/stats/Sample.js~Sample#init", + "method" + ], + [ + "packages/metrics/src/stats/sample.js~sample#print", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-method-print", + "packages/metrics/src/stats/Sample.js~Sample#print", + "method" + ], + [ + "packages/metrics/src/stats/sample.js~sample#size", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-method-size", + "packages/metrics/src/stats/Sample.js~Sample#size", + "method" + ], + [ + "packages/metrics/src/stats/sample.js~sample#update", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-method-update", + "packages/metrics/src/stats/Sample.js~Sample#update", + "method" + ], + [ + "packages/metrics/src/stats/sample.js~sample#values", + "class/packages/metrics/src/stats/Sample.js~Sample.html#instance-member-values", + "packages/metrics/src/stats/Sample.js~Sample#values", + "member" + ], + [ + "packages/metrics/src/stats/uniformsample.js", + "file/packages/metrics/src/stats/UniformSample.js.html", + "packages/metrics/src/stats/UniformSample.js", + "file" + ], + [ + "packages/metrics/src/stats/uniformsample.js~uniformsample#constructor", + "class/packages/metrics/src/stats/UniformSample.js~UniformSample.html#instance-constructor-constructor", + "packages/metrics/src/stats/UniformSample.js~UniformSample#constructor", + "method" + ], + [ + "packages/metrics/src/stats/uniformsample.js~uniformsample#count", + "class/packages/metrics/src/stats/UniformSample.js~UniformSample.html#instance-member-count", + "packages/metrics/src/stats/UniformSample.js~UniformSample#count", + "member" + ], + [ + "packages/metrics/src/stats/uniformsample.js~uniformsample#limit", + "class/packages/metrics/src/stats/UniformSample.js~UniformSample.html#instance-member-limit", + "packages/metrics/src/stats/UniformSample.js~UniformSample#limit", + "member" + ], + [ + "packages/metrics/src/stats/uniformsample.js~uniformsample#update", + "class/packages/metrics/src/stats/UniformSample.js~UniformSample.html#instance-method-update", + "packages/metrics/src/stats/UniformSample.js~UniformSample#update", + "method" + ], + [ + "packages/metrics/src/stats/index.js", + "file/packages/metrics/src/stats/index.js.html", + "packages/metrics/src/stats/index.js", + "file" + ], + [ + "packages/metrics/src/stats/lib/binary_heap.js", + "file/packages/metrics/src/stats/lib/binary_heap.js.html", + "packages/metrics/src/stats/lib/binary_heap.js", + "file" + ], + [ + "packages/metrics/src/stats/lib/utils.js", + "file/packages/metrics/src/stats/lib/utils.js.html", + "packages/metrics/src/stats/lib/utils.js", + "file" + ], + [ + "packages/tracing/src/spansingle.js", + "file/packages/tracing/src/SpanSingle.js.html", + "packages/tracing/src/SpanSingle.js", + "file" + ], + [ + "packages/tracing/src/spansubscriber.js", + "file/packages/tracing/src/SpanSubscriber.js.html", + "packages/tracing/src/SpanSubscriber.js", + "file" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#_nextcount", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-member-_nextCount", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_nextCount", + "member" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#_requestonce", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-member-_requestOnce", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_requestOnce", + "member" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#_rootspan", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-member-_rootSpan", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_rootSpan", + "member" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#_span", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-member-_span", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_span", + "member" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#_subscriber", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-member-_subscriber", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_subscriber", + "member" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#_subscription", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-member-_subscription", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_subscription", + "member" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#_tracer", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-member-_tracer", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#_tracer", + "member" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#cancel", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-method-cancel", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#cancel", + "method" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#cleanup", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-method-cleanup", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#cleanup", + "method" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#constructor", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-constructor-constructor", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#constructor", + "method" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#oncomplete", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-method-onComplete", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#onComplete", + "method" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#onerror", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-method-onError", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#onError", + "method" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#onnext", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-method-onNext", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#onNext", + "method" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#onsubscribe", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-method-onSubscribe", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#onSubscribe", + "method" + ], + [ + "packages/tracing/src/spansubscriber.js~spansubscriber#request", + "class/packages/tracing/src/SpanSubscriber.js~SpanSubscriber.html#instance-method-request", + "packages/tracing/src/SpanSubscriber.js~SpanSubscriber#request", + "method" + ], + [ + "packages/tracing/src/tracing.js", + "file/packages/tracing/src/Tracing.js.html", + "packages/tracing/src/Tracing.js", + "file" + ], + [ + "packages/tracing/src/__tests__/tracing-test.js", + "file/packages/tracing/src/__tests__/Tracing-test.js.html", + "packages/tracing/src/__tests__/Tracing-test.js", + "file" + ], + [ + "packages/tracing/src/index.js", + "file/packages/tracing/src/index.js.html", + "packages/tracing/src/index.js", + "file" + ] +] \ No newline at end of file diff --git a/rsocket-rpc-js/docs/script/test-summary.js b/rsocket-rpc-js/docs/script/test-summary.js new file mode 100644 index 0000000..2abad3b --- /dev/null +++ b/rsocket-rpc-js/docs/script/test-summary.js @@ -0,0 +1,54 @@ +(function(){ + function toggle(ev) { + var button = ev.target; + var parent = ev.target.parentElement; + while(parent) { + if (parent.tagName === 'TR' && parent.classList.contains('test-interface')) break; + parent = parent.parentElement; + } + + if (!parent) return; + + var direction; + if (button.classList.contains('opened')) { + button.classList.remove('opened'); + button.classList.add('closed'); + direction = 'closed'; + } else { + button.classList.remove('closed'); + button.classList.add('opened'); + direction = 'opened'; + } + + var targetDepth = parseInt(parent.dataset.testDepth, 10) + 1; + var nextElement = parent.nextElementSibling; + while (nextElement) { + var depth = parseInt(nextElement.dataset.testDepth, 10); + if (depth >= targetDepth) { + if (direction === 'opened') { + if (depth === targetDepth) nextElement.style.display = ''; + } else if (direction === 'closed') { + nextElement.style.display = 'none'; + var innerButton = nextElement.querySelector('.toggle'); + if (innerButton && innerButton.classList.contains('opened')) { + innerButton.classList.remove('opened'); + innerButton.classList.add('closed'); + } + } + } else { + break; + } + nextElement = nextElement.nextElementSibling; + } + } + + var buttons = document.querySelectorAll('.test-summary tr.test-interface .toggle'); + for (var i = 0; i < buttons.length; i++) { + buttons[i].addEventListener('click', toggle); + } + + var topDescribes = document.querySelectorAll('.test-summary tr[data-test-depth="0"]'); + for (var i = 0; i < topDescribes.length; i++) { + topDescribes[i].style.display = ''; + } +})(); diff --git a/rsocket-rpc-js/docs/source.html b/rsocket-rpc-js/docs/source.html new file mode 100644 index 0000000..e321312 --- /dev/null +++ b/rsocket-rpc-js/docs/source.html @@ -0,0 +1,458 @@ + + + + + + Source + + + + + + + +
    + Home + + Reference + Source + + +
    + + + +

    Source 233/296

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FileIdentifierDocumentSizeLinesUpdated
    packages/core/src/QueuingFlowableProcessor.js-100 %1/19959 byte3302019-03-03 18:40:07 (UTC)
    packages/core/src/RequestHandlingRSocket.jsRequestHandlingRSocket77 %7/95645 byte1722019-03-01 23:35:31 (UTC)
    packages/core/src/RpcClient.jsRpcClient29 %5/1712217 byte3282019-03-02 21:14:26 (UTC)
    packages/core/src/SwitchTransformOperator.jsSwitchTransformOperator57 %11/194786 byte2232019-03-02 00:52:20 (UTC)
    packages/core/src/index.js--1445 byte462019-03-07 01:57:00 (UTC)
    packages/frames/src/Metadata.jsMETHOD_LENGTH_SIZE +SERVICE_LENGTH_SIZE +TRACING_LENGTH_SIZE +VERSION +VERSION_SIZE +encodeMetadata +getMetadata +getMethod +getService +getTracing +getVersion54 %6/115721 byte2002019-03-02 21:35:55 (UTC)
    packages/frames/src/__tests__/Metadata-test.js-100 %2/21825 byte652019-03-01 23:31:08 (UTC)
    packages/frames/src/index.js--1041 byte372019-03-07 01:58:18 (UTC)
    packages/metrics/src/BaseMeter.jsBaseMeter100 %22/224068 byte1852019-03-02 21:42:19 (UTC)
    packages/metrics/src/Counter.jsCounter66 %6/91252 byte672019-03-02 00:54:03 (UTC)
    packages/metrics/src/Histogram.jsDEFAULT_PERCENTILES +Histogram100 %22/226588 byte2702019-03-02 00:20:38 (UTC)
    packages/metrics/src/IMeter.js--1255 byte532019-03-02 00:57:15 (UTC)
    packages/metrics/src/IMeterRegistry.js--1278 byte502019-03-01 17:07:08 (UTC)
    packages/metrics/src/Metrics.jsMetrics75 %3/45276 byte1842019-03-02 01:00:12 (UTC)
    packages/metrics/src/MetricsExporter.jsMetricsExporter100 %21/2112272 byte4322019-03-02 00:59:42 (UTC)
    packages/metrics/src/MetricsSingleSubscriber.jsembedMetricsSingleSubscriber46 %7/153307 byte1412019-03-02 00:21:39 (UTC)
    packages/metrics/src/MetricsSubscriber.jsMetricsSubscriber100 %16/162900 byte1272019-03-02 00:21:55 (UTC)
    packages/metrics/src/RawMeterTag.jsRawMeterTag100 %4/4419 byte282019-03-02 00:22:12 (UTC)
    packages/metrics/src/SimpleMeterRegistry.jsSimpleMeterRegistry83 %5/61786 byte752019-03-01 23:03:19 (UTC)
    packages/metrics/src/Timer.jsTimer86 %13/152627 byte1112019-03-02 01:00:55 (UTC)
    packages/metrics/src/__tests__/exponentially_decaying_sample-test.js-0 %0/21039 byte462019-03-05 16:50:25 (UTC)
    packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js-33 %1/3942 byte332019-03-02 01:06:10 (UTC)
    packages/metrics/src/__tests__/histogram-test.js-0 %0/1719 byte242019-03-02 01:06:21 (UTC)
    packages/metrics/src/__tests__/meter-test.js-0 %0/1751 byte302019-03-02 01:06:27 (UTC)
    packages/metrics/src/__tests__/timer-test.js-0 %0/11119 byte362019-03-02 01:06:39 (UTC)
    packages/metrics/src/__tests__/uniform_sample-test.js-0 %0/1867 byte272019-03-02 01:06:46 (UTC)
    packages/metrics/src/index.js--2372 byte1082019-03-07 01:58:56 (UTC)
    packages/metrics/src/stats/ExponentiallyDecayingSample.jsExponentiallyDecayingSample100 %18/183687 byte1632019-03-02 00:23:44 (UTC)
    packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.jsEWMA100 %18/182332 byte1212019-03-02 00:23:56 (UTC)
    packages/metrics/src/stats/ISample.js--1478 byte552019-03-02 01:03:41 (UTC)
    packages/metrics/src/stats/Sample.jsSample90 %9/101424 byte692019-03-02 01:04:33 (UTC)
    packages/metrics/src/stats/UniformSample.jsUniformSample100 %5/51325 byte552019-03-02 00:25:11 (UTC)
    packages/metrics/src/stats/index.js--688 byte222019-03-07 02:01:25 (UTC)
    packages/metrics/src/stats/lib/binary_heap.js-0 %0/24054 byte1332019-03-05 16:50:25 (UTC)
    packages/metrics/src/stats/lib/utils.js--1508 byte522019-03-07 01:10:33 (UTC)
    packages/tracing/src/SpanSingle.jscreateSpanSingle69 %9/133252 byte1582019-03-02 00:28:15 (UTC)
    packages/tracing/src/SpanSubscriber.jsSpanSubscriber88 %15/173329 byte1612019-03-02 01:01:24 (UTC)
    packages/tracing/src/Tracing.jsbufferToMap +deserializeTraceData +mapToBuffer +trace +traceAsChild +traceSingle +traceSingleAsChild100 %7/79151 byte2912019-03-02 01:02:13 (UTC)
    packages/tracing/src/__tests__/Tracing-test.js-0 %0/41117 byte422019-03-02 01:12:45 (UTC)
    packages/tracing/src/index.js--1237 byte512019-03-07 01:59:20 (UTC)
    +
    + + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/typedef/index.html b/rsocket-rpc-js/docs/typedef/index.html new file mode 100644 index 0000000..4559444 --- /dev/null +++ b/rsocket-rpc-js/docs/typedef/index.html @@ -0,0 +1,1614 @@ + + + + + + Typedef + + + + + + + +
    + Home + + Reference + Source + + +
    + + + +

    Typedef

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Public Summary
    + public + + + + + +
    +

    + + + + Buffer: Object +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + BufferEncoder: Encoder<Buffer> +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + ClientConfig: Object +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + DuplexConnection: interface +

    +
    +
    + + +

    Represents a network connection with input/output used by a +ReactiveSocket to send/receive data.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + Encodable: string | Buffer | Uint8Array +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + Encoder: Object +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + Flowable: Object +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + Payload: Object +

    +
    +
    + + +

    A single unit of data exchanged between the peers of a +ReactiveSocket.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + PayloadSerializers: Object +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + ReactiveSocket: interface +

    +
    +
    + + +

    A contract that provides different interaction models according to the +ReactiveSocket protocol.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + Responder: interface +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + Serializer: Object +

    +
    +
    + + +

    A Serializer transforms data between the application encoding used in +Payloads and the Encodable type accepted by the transport client.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + Setup: Object +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + Single: Object +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + UTF8Encoder: Encoder<string> +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Static Public

    + +
    +

    + public + + + + + + Buffer: Object + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + BufferEncoder: Encoder<Buffer> + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + ClientConfig: Object + + + + source + +

    + + + + + + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    serializersPayloadSerializers
    • optional

    A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it.

    +
    setupSetup

    Configure the keepalive process and any metadata you would like to accompany the connection.

    +
    transportDuplexConnection

    Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are RSocketWebsocketClient and RSocketTcpClient classes that implement the required DuplexConnection interface for this component.

    +
    responderResponder
    • optional

    An object that implements the five methods of the Responder interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. (Responder is a type alias for the RSocket API.)

    +
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + DuplexConnection: interface + + + + source + +

    + + + + +

    Represents a network connection with input/output used by a +ReactiveSocket to send/receive data.

    +
    + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    sendOnefunction
    sendfunction
    receivefunction
    closefunction
    connectfunction
    connectionStatusfunction
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + Encodable: string | Buffer | Uint8Array + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + Encoder: Object + + + + source + +

    + + + + + + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    byteLengthfunction

    given an Encodable returns its length in bytes as a number

    +
    encodefunction
    decodefunction
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + Flowable: Object + + + + source + +

    + + + + + + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    justfunction
    errorfunction
    neverfunction
    subscribefunction
    liftfunction
    mapfunction
    takefunction
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + Payload: Object + + + + source + +

    + + + + +

    A single unit of data exchanged between the peers of a +ReactiveSocket. A object of this type consists of two members: +Payload#data and Payload#metadata.

    +
    + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    dataSerializer
    metadataSerializer
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + PayloadSerializers: Object + + + + source + +

    + + + + + + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    dataSerializer
    metadataSerializer
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + ReactiveSocket: interface + + + + source + +

    + + + + +

    A contract that provides different interaction models according to the +ReactiveSocket protocol. This interface extends the Responder +interface by adding the ReactiveSocket#close and +ReactiveSocket#connectionStatus methods.

    +
    + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fireAndForgetfunction
    requestResponsefunction
    requestStreamfunction
    requestChannelfunction
    metadataPushfunction
    closefunction
    connectionStatusfunction
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + Responder: interface + + + + source + +

    + + + + + + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fireAndForgetfunction
    requestResponsefunction
    requestStreamfunction
    requestChannelfunction
    metadataPushfunction
    +
    +
    + + + + + + + + + + + +
    +

    Example:

    + +
    +
    The methods of the Responder interface:
    +
    fireAndForget(payload: Payload<D, M>): void
    +requestResponse(payload: Payload<D, M>): Single<Payload<D, M>>
    +requestStream(payload: Payload<D, M>): Flowable<Payload<D, M>>
    +requestChannel(payloads: Flowable<Payload<D, M>>): Flowable<Payload<D, M>>
    +metadataPush(payload: Payload<D, M>): Single<void>
    +
    +
    + + + + + +
    +
    +

    + public + + + + + + Serializer: Object + + + + source + +

    + + + + +

    A Serializer transforms data between the application encoding used in +Payloads and the Encodable type accepted by the transport client.

    +
    + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    deserializefunction

    a function that takes an Encodable and returns the expected data or metadata object

    +
    serializefunction

    a funciton that takes a data or metadata object and returns a corresponding Encodable

    +
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + Setup: Object + + + + source + +

    + + + + + + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    keepAlivenumber

    The number of milliseconds between keepalive messages you will send to the service

    +
    lifetimenumber

    The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out.

    +
    metadataEncodable
    • optional
    • +
    • nullable: true

    Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials).

    +
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + Single: Object + + + + source + +

    + + + + + + + + +
    +

    Properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    offunction
    errorfunction
    subscribefunction
    flatMapfunction
    mapfunction
    thenfunction
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + UTF8Encoder: Encoder<string> + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/rsocket-rpc-js/docs/variable/index.html b/rsocket-rpc-js/docs/variable/index.html new file mode 100644 index 0000000..a49d508 --- /dev/null +++ b/rsocket-rpc-js/docs/variable/index.html @@ -0,0 +1,543 @@ + + + + + + Variable + + + + + + + +
    + Home + + Reference + Source + + +
    + + + +

    Variable

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Public Summary
    + public + + + + + +
    +

    + + + + DEFAULT_PERCENTILES: number[] +

    +
    +
    + + +

    The default set of percentiles to use in the Histogram.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + METHOD_LENGTH_SIZE: number +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + SERVICE_LENGTH_SIZE: number +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + TRACING_LENGTH_SIZE: number +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + VERSION: number +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + VERSION_SIZE: number +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Static Public

    + +
    +

    + public + + + + + + DEFAULT_PERCENTILES: number[] + + + + source + +

    + +
    import {DEFAULT_PERCENTILES} from './packages/metrics/src/Histogram.js'
    + + +

    The default set of percentiles to use in the Histogram.

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + METHOD_LENGTH_SIZE: number + + + + source + +

    + +
    import {METHOD_LENGTH_SIZE} from './packages/frames/src/Metadata.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + SERVICE_LENGTH_SIZE: number + + + + source + +

    + +
    import {SERVICE_LENGTH_SIZE} from './packages/frames/src/Metadata.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + TRACING_LENGTH_SIZE: number + + + + source + +

    + +
    import {TRACING_LENGTH_SIZE} from './packages/frames/src/Metadata.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + VERSION: number + + + + source + +

    + +
    import {VERSION} from './packages/frames/src/Metadata.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + VERSION_SIZE: number + + + + source + +

    + +
    import {VERSION_SIZE} from './packages/frames/src/Metadata.js'
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/rsocket-rpc-js/package-lock.json b/rsocket-rpc-js/package-lock.json new file mode 100644 index 0000000..e101a73 --- /dev/null +++ b/rsocket-rpc-js/package-lock.json @@ -0,0 +1,8001 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "@babel/code-frame": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.31.tgz", + "integrity": "sha512-yd7CkUughvHQoEahQqcMdrZw6o/6PwUxiRkfZuVDVHCDe77mysD/suoNyk5mK6phTnRW1kyIbPHyCJgxw++LXg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "@babel/helper-function-name": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.31.tgz", + "integrity": "sha512-c+DAyp8LMm2nzSs2uXEuxp4LYGSUYEyHtU3fU57avFChjsnTmmpWmXj2dv0yUxHTEydgVAv5fIzA+4KJwoqWDA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "7.0.0-beta.31", + "@babel/template": "7.0.0-beta.31", + "@babel/traverse": "7.0.0-beta.31", + "@babel/types": "7.0.0-beta.31" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.31.tgz", + "integrity": "sha512-m7rVVX/dMLbbB9NCzKYRrrFb0qZxgpmQ4Wv6y7zEsB6skoJHRuXVeb/hAFze79vXBbuD63ci7AVHXzAdZSk9KQ==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.31" + } + }, + "@babel/template": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.31.tgz", + "integrity": "sha512-97IRmLvoDhIDSQkqklVt3UCxJsv0LUEVb/0DzXWtc8Lgiyxj567qZkmTG9aR21CmcJVVIvq2Y/moZj4oEpl5AA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.31", + "@babel/types": "7.0.0-beta.31", + "babylon": "7.0.0-beta.31", + "lodash": "^4.2.0" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.31.tgz", + "integrity": "sha512-6lm2mV3S51yEnKmQQNnswoABL1U1H1KHoCCVwdwI3hvIv+W7ya4ki7Aw4o4KxtUHjNKkK5WpZb22rrMMOcJXJQ==", + "dev": true + } + } + }, + "@babel/traverse": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.31.tgz", + "integrity": "sha512-3N+VJW+KlezEjFBG7WSYeMyC5kIqVLPb/PGSzCDPFcJrnArluD1GIl7Y3xC7cjKiTq2/JohaLWHVPjJWHlo9Gg==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.31", + "@babel/helper-function-name": "7.0.0-beta.31", + "@babel/types": "7.0.0-beta.31", + "babylon": "7.0.0-beta.31", + "debug": "^3.0.1", + "globals": "^10.0.0", + "invariant": "^2.2.0", + "lodash": "^4.2.0" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.31.tgz", + "integrity": "sha512-6lm2mV3S51yEnKmQQNnswoABL1U1H1KHoCCVwdwI3hvIv+W7ya4ki7Aw4o4KxtUHjNKkK5WpZb22rrMMOcJXJQ==", + "dev": true + }, + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "globals": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-10.4.0.tgz", + "integrity": "sha512-uNUtxIZpGyuaq+5BqGGQHsL4wUlJAXRqOm6g3Y48/CWNGTLONgBibI0lh6lGxjR2HljFYUfszb+mk4WkgMntsA==", + "dev": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.31.tgz", + "integrity": "sha512-exAHB+NeFGxkfQ5dSUD03xl3zYGneeSk2Mw2ldTt/nTvYxuDiuSp3DlxgUBgzbdTFG4fbwPk0WtKWOoTXCmNGg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.2.0", + "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@types/node": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-11.11.0.tgz", + "integrity": "sha512-D5Rt+HXgEywr3RQJcGlZUCTCx1qVbCZpVk3/tOOA6spLNZdGm8BU+zRgdRYDoF1pO3RuXLxADzMrF903JlQXqg==" + }, + "JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } + }, + "abab": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", + "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=", + "optional": true + }, + "acorn": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz", + "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=", + "optional": true + }, + "acorn-globals": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz", + "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=", + "optional": true, + "requires": { + "acorn": "^2.1.0" + } + }, + "acorn-jsx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", + "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", + "dev": true, + "requires": { + "acorn": "^3.0.4" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + } + } + }, + "add-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", + "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", + "dev": true + }, + "ajv": { + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", + "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==", + "optional": true, + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz", + "integrity": "sha1-MU3QpLM2j609/NxU7eYXG4htrzw=", + "dev": true + }, + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "dev": true, + "optional": true, + "requires": { + "micromatch": "^2.1.5", + "normalize-path": "^2.0.0" + } + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "optional": true, + "requires": { + "arr-flatten": "^1.0.1" + } + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true, + "optional": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true, + "optional": true + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true, + "optional": true + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "optional": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "optional": true + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true, + "optional": true + }, + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true, + "optional": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "optional": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true, + "optional": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "optional": true + }, + "aws4": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "optional": true + }, + "babel-cli": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-cli/-/babel-cli-6.26.0.tgz", + "integrity": "sha1-UCq1SHTX24itALiHoGODzgPQAvE=", + "dev": true, + "requires": { + "babel-core": "^6.26.0", + "babel-polyfill": "^6.26.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "chokidar": "^1.6.1", + "commander": "^2.11.0", + "convert-source-map": "^1.5.0", + "fs-readdir-recursive": "^1.0.0", + "glob": "^7.1.2", + "lodash": "^4.17.4", + "output-file-sync": "^1.1.2", + "path-is-absolute": "^1.0.1", + "slash": "^1.0.0", + "source-map": "^0.5.6", + "v8flags": "^2.1.1" + }, + "dependencies": { + "babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" + } + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "babel-core": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.9.1.tgz", + "integrity": "sha1-SNRx7r9N5GngqUL+RW3MlLGL6A0=", + "requires": { + "babel-code-frame": "^6.8.0", + "babel-generator": "^6.9.0", + "babel-helpers": "^6.8.0", + "babel-messages": "^6.8.0", + "babel-register": "^6.9.0", + "babel-runtime": "^6.9.1", + "babel-template": "^6.9.0", + "babel-traverse": "^6.9.0", + "babel-types": "^6.9.1", + "babylon": "^6.7.0", + "convert-source-map": "^1.1.0", + "debug": "^2.1.1", + "json5": "^0.4.0", + "lodash": "^4.2.0", + "minimatch": "^2.0.3", + "path-exists": "^1.0.0", + "path-is-absolute": "^1.0.0", + "private": "^0.1.6", + "shebang-regex": "^1.0.0", + "slash": "^1.0.0", + "source-map": "^0.5.0" + } + }, + "babel-eslint": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.1.2.tgz", + "integrity": "sha512-IE+glF8t0lLoldylN7JyR8gT7e3jwyuNH2ds8g3UVUwGob/U4iT7Xpsiq2kQ8QGLb0eX4RcQXNqeW6mgPysu9A==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.31", + "@babel/traverse": "7.0.0-beta.31", + "@babel/types": "7.0.0-beta.31", + "babylon": "7.0.0-beta.31", + "eslint-scope": "~3.7.1", + "eslint-visitor-keys": "^1.0.0" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.31", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.31.tgz", + "integrity": "sha512-6lm2mV3S51yEnKmQQNnswoABL1U1H1KHoCCVwdwI3hvIv+W7ya4ki7Aw4o4KxtUHjNKkK5WpZb22rrMMOcJXJQ==", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "requires": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } + }, + "babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-define-map": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", + "dev": true, + "requires": { + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", + "dev": true, + "requires": { + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "requires": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "dev": true + }, + "babel-plugin-syntax-class-properties": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", + "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=", + "dev": true + }, + "babel-plugin-syntax-flow": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz", + "integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=" + }, + "babel-plugin-syntax-jsx": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.8.0.tgz", + "integrity": "sha1-HFQwpIilBGpHyNoa1jHxav6NERo=", + "requires": { + "babel-runtime": "^6.0.0" + } + }, + "babel-plugin-syntax-object-rest-spread": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", + "dev": true + }, + "babel-plugin-transform-class-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", + "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-plugin-syntax-class-properties": "^6.8.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "dev": true, + "requires": { + "babel-helper-define-map": "^6.24.1", + "babel-helper-function-name": "^6.24.1", + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-helper-replace-supers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz", + "integrity": "sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo=", + "dev": true, + "requires": { + "babel-plugin-transform-strict-mode": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-types": "^6.26.0" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "dev": true, + "requires": { + "babel-helper-replace-supers": "^6.24.1", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", + "dev": true, + "requires": { + "babel-helper-call-delegate": "^6.24.1", + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-flow-strip-types": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz", + "integrity": "sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=", + "dev": true, + "requires": { + "babel-plugin-syntax-flow": "^6.18.0", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-object-rest-spread": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", + "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", + "dev": true, + "requires": { + "babel-plugin-syntax-object-rest-spread": "^6.8.0", + "babel-runtime": "^6.26.0" + } + }, + "babel-plugin-transform-regenerator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.24.1.tgz", + "integrity": "sha1-uNowWtQ8PJm0hI5P5AN7dw0jxBg=", + "dev": true, + "requires": { + "regenerator-transform": "0.9.11" + } + }, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-polyfill": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", + "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "regenerator-runtime": "^0.10.5" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", + "dev": true + } + } + }, + "babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "requires": { + "babel-core": "^6.26.0", + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "home-or-tmp": "^2.0.0", + "lodash": "^4.17.4", + "mkdirp": "^0.5.1", + "source-map-support": "^0.4.15" + }, + "dependencies": { + "babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", + "requires": { + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" + } + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "requires": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "requires": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==" + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "optional": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "optional": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true, + "optional": true + } + } + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "optional": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "binary-extensions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.0.tgz", + "integrity": "sha512-EgmjVLMn22z7eGGv3kcnHwSnJXmFHjISTY9E/S5lIcTD3Oxw05QTcBLNkJFzcb3cNueUdF/IN4U+d78V0zO8Hw==", + "dev": true, + "optional": true + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "optional": true, + "requires": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + } + }, + "browser-stdout": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", + "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=", + "dev": true + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "byline": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", + "integrity": "sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "optional": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + } + } + }, + "caller-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", + "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", + "dev": true, + "requires": { + "callsites": "^0.2.0" + } + }, + "callsites": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", + "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", + "dev": true + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "camelcase-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", + "integrity": "sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=", + "dev": true, + "requires": { + "camelcase": "^4.1.0", + "map-obj": "^2.0.0", + "quick-lru": "^1.0.0" + } + }, + "capture-stack-trace": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz", + "integrity": "sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "optional": true + }, + "chai": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.1.2.tgz", + "integrity": "sha1-D2RYS6ZC8PKs4oBiefTwbKI61zw=", + "dev": true, + "requires": { + "assertion-error": "^1.0.1", + "check-error": "^1.0.1", + "deep-eql": "^3.0.0", + "get-func-name": "^2.0.0", + "pathval": "^1.0.0", + "type-detect": "^4.0.0" + } + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "chardet": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", + "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", + "dev": true + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true + }, + "cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash": "^4.15.0", + "parse5": "^3.0.1" + } + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "optional": true, + "requires": { + "anymatch": "^1.3.0", + "async-each": "^1.0.0", + "fsevents": "^1.0.0", + "glob-parent": "^2.0.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^2.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0" + } + }, + "ci-info": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", + "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==", + "dev": true + }, + "circular-json": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", + "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", + "dev": true + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "optional": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + } + } + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "^1.0.1" + } + }, + "cli-width": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "dev": true + }, + "cmd-shim": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.0.2.tgz", + "integrity": "sha1-b8vamUg6j9FdfTChlspp1oii79s=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "mkdirp": "~0.5.0" + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "optional": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-logger": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz", + "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs=" + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "columnify": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz", + "integrity": "sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs=", + "dev": true, + "requires": { + "strip-ansi": "^3.0.0", + "wcwidth": "^1.0.0" + } + }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "optional": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "command-join": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/command-join/-/command-join-2.0.0.tgz", + "integrity": "sha1-Uui5hPSHLZUv8b3IuYOX0nxxRM8=", + "dev": true + }, + "commander": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", + "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "compare-func": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz", + "integrity": "sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg=", + "dev": true, + "requires": { + "array-ify": "^1.0.0", + "dot-prop": "^3.0.0" + } + }, + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true, + "optional": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "conventional-changelog": { + "version": "1.1.24", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-1.1.24.tgz", + "integrity": "sha512-2WcSUst4Y3Z4hHvoMTWXMJr/DmgVdLiMOVY1Kak2LfFz+GIz2KDp5naqbFesYbfXPmaZ5p491dO0FWZIJoJw1Q==", + "dev": true, + "requires": { + "conventional-changelog-angular": "^1.6.6", + "conventional-changelog-atom": "^0.2.8", + "conventional-changelog-codemirror": "^0.3.8", + "conventional-changelog-core": "^2.0.11", + "conventional-changelog-ember": "^0.3.12", + "conventional-changelog-eslint": "^1.0.9", + "conventional-changelog-express": "^0.3.6", + "conventional-changelog-jquery": "^0.1.0", + "conventional-changelog-jscs": "^0.1.0", + "conventional-changelog-jshint": "^0.3.8", + "conventional-changelog-preset-loader": "^1.1.8" + } + }, + "conventional-changelog-angular": { + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz", + "integrity": "sha512-suQnFSqCxRwyBxY68pYTsFkG0taIdinHLNEAX5ivtw8bCRnIgnpvcHmlR/yjUyZIrNPYAoXlY1WiEKWgSE4BNg==", + "dev": true, + "requires": { + "compare-func": "^1.3.1", + "q": "^1.5.1" + } + }, + "conventional-changelog-atom": { + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-0.2.8.tgz", + "integrity": "sha512-8pPZqhMbrnltNBizjoDCb/Sz85KyUXNDQxuAEYAU5V/eHn0okMBVjqc8aHWYpHrytyZWvMGbayOlDv7i8kEf6g==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-cli": { + "version": "1.3.22", + "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-1.3.22.tgz", + "integrity": "sha512-pnjdIJbxjkZ5VdAX/H1wndr1G10CY8MuZgnXuJhIHglOXfIrXygb7KZC836GW9uo1u8PjEIvIw/bKX0lOmOzZg==", + "dev": true, + "requires": { + "add-stream": "^1.0.0", + "conventional-changelog": "^1.1.24", + "lodash": "^4.2.1", + "meow": "^4.0.0", + "tempfile": "^1.1.1" + } + }, + "conventional-changelog-codemirror": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.3.8.tgz", + "integrity": "sha512-3HFZKtBXTaUCHvz7ai6nk2+psRIkldDoNzCsom0egDtVmPsvvHZkzjynhdQyULfacRSsBTaiQ0ol6nBOL4dDiQ==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-core": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-2.0.11.tgz", + "integrity": "sha512-HvTE6RlqeEZ/NFPtQeFLsIDOLrGP3bXYr7lFLMhCVsbduF1MXIe8OODkwMFyo1i9ku9NWBwVnVn0jDmIFXjDRg==", + "dev": true, + "requires": { + "conventional-changelog-writer": "^3.0.9", + "conventional-commits-parser": "^2.1.7", + "dateformat": "^3.0.0", + "get-pkg-repo": "^1.0.0", + "git-raw-commits": "^1.3.6", + "git-remote-origin-url": "^2.0.0", + "git-semver-tags": "^1.3.6", + "lodash": "^4.2.1", + "normalize-package-data": "^2.3.5", + "q": "^1.5.1", + "read-pkg": "^1.1.0", + "read-pkg-up": "^1.0.1", + "through2": "^2.0.0" + }, + "dependencies": { + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + } + } + }, + "conventional-changelog-ember": { + "version": "0.3.12", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-0.3.12.tgz", + "integrity": "sha512-mmJzA7uzbrOqeF89dMMi6z17O07ORTXlTMArnLG9ZTX4oLaKNolUlxFUFlFm9JUoVWajVpaHQWjxH1EOQ+ARoQ==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-eslint": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-1.0.9.tgz", + "integrity": "sha512-h87nfVh2fdk9fJIvz26wCBsbDC/KxqCc5wSlNMZbXcARtbgNbNDIF7Y7ctokFdnxkzVdaHsbINkh548T9eBA7Q==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-express": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-0.3.6.tgz", + "integrity": "sha512-3iWVtBJZ9RnRnZveNDzOD8QRn6g6vUif0qVTWWyi5nUIAbuN1FfPVyKdAlJJfp5Im+dE8Kiy/d2SpaX/0X678Q==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-jquery": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz", + "integrity": "sha1-Agg5cWLjhGmG5xJztsecW1+A9RA=", + "dev": true, + "requires": { + "q": "^1.4.1" + } + }, + "conventional-changelog-jscs": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz", + "integrity": "sha1-BHnrRDzH1yxYvwvPDvHURKkvDlw=", + "dev": true, + "requires": { + "q": "^1.4.1" + } + }, + "conventional-changelog-jshint": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-0.3.8.tgz", + "integrity": "sha512-hn9QU4ZI/5V50wKPJNPGT4gEWgiBFpV6adieILW4MaUFynuDYOvQ71EMSj3EznJyKi/KzuXpc9dGmX8njZMjig==", + "dev": true, + "requires": { + "compare-func": "^1.3.1", + "q": "^1.5.1" + } + }, + "conventional-changelog-preset-loader": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-1.1.8.tgz", + "integrity": "sha512-MkksM4G4YdrMlT2MbTsV2F6LXu/hZR0Tc/yenRrDIKRwBl/SP7ER4ZDlglqJsCzLJi4UonBc52Bkm5hzrOVCcw==", + "dev": true + }, + "conventional-changelog-writer": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-3.0.9.tgz", + "integrity": "sha512-n9KbsxlJxRQsUnK6wIBRnARacvNnN4C/nxnxCkH+B/R1JS2Fa+DiP1dU4I59mEDEjgnFaN2+9wr1P1s7GYB5/Q==", + "dev": true, + "requires": { + "compare-func": "^1.3.1", + "conventional-commits-filter": "^1.1.6", + "dateformat": "^3.0.0", + "handlebars": "^4.0.2", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.2.1", + "meow": "^4.0.0", + "semver": "^5.5.0", + "split": "^1.0.0", + "through2": "^2.0.0" + } + }, + "conventional-commits-filter": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-1.1.6.tgz", + "integrity": "sha512-KcDgtCRKJCQhyk6VLT7zR+ZOyCnerfemE/CsR3iQpzRRFbLEs0Y6rwk3mpDvtOh04X223z+1xyJ582Stfct/0Q==", + "dev": true, + "requires": { + "is-subset": "^0.1.1", + "modify-values": "^1.0.0" + } + }, + "conventional-commits-parser": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-2.1.7.tgz", + "integrity": "sha512-BoMaddIEJ6B4QVMSDu9IkVImlGOSGA1I2BQyOZHeLQ6qVOJLcLKn97+fL6dGbzWEiqDzfH4OkcveULmeq2MHFQ==", + "dev": true, + "requires": { + "JSONStream": "^1.0.4", + "is-text-path": "^1.0.0", + "lodash": "^4.2.1", + "meow": "^4.0.0", + "split2": "^2.0.0", + "through2": "^2.0.0", + "trim-off-newlines": "^1.0.0" + } + }, + "conventional-recommended-bump": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-1.2.1.tgz", + "integrity": "sha512-oJjG6DkRgtnr/t/VrPdzmf4XZv8c4xKVJrVT4zrSHd92KEL+EYxSbYoKq8lQ7U5yLMw7130wrcQTLRjM/T+d4w==", + "dev": true, + "requires": { + "concat-stream": "^1.4.10", + "conventional-commits-filter": "^1.1.1", + "conventional-commits-parser": "^2.1.1", + "git-raw-commits": "^1.3.0", + "git-semver-tags": "^1.3.0", + "meow": "^3.3.0", + "object-assign": "^4.0.1" + }, + "dependencies": { + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + } + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + } + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + } + } + }, + "convert-source-map": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true, + "optional": true + }, + "core-js": { + "version": "2.6.5", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.5.tgz", + "integrity": "sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "create-error-class": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", + "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", + "dev": true, + "requires": { + "capture-stack-trace": "^1.0.0" + } + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "requires": { + "boolbase": "~1.0.0", + "css-what": "2.1", + "domutils": "1.5.1", + "nth-check": "~1.0.1" + } + }, + "css-what": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", + "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==" + }, + "cssom": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.6.tgz", + "integrity": "sha512-DtUeseGk9/GBW0hl0vVPpU22iHL6YB5BUX7ml1hB+GMpo0NX5G4voX3kdWiMSEguFtcW3Vh3djqNF4aIe6ne0A==", + "optional": true + }, + "cssstyle": { + "version": "0.2.37", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", + "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", + "optional": true, + "requires": { + "cssom": "0.3.x" + } + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "^1.0.1" + } + }, + "d": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", + "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", + "dev": true, + "requires": { + "es5-ext": "^0.10.9" + } + }, + "dargs": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", + "integrity": "sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "optional": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "dateformat": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decamelize-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", + "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", + "dev": true, + "requires": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "dependencies": { + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + } + } + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true, + "optional": true + }, + "dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "requires": { + "type-detect": "^4.0.0" + } + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" + }, + "defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "dev": true, + "requires": { + "clone": "^1.0.2" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "optional": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true, + "optional": true + } + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "optional": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "requires": { + "repeating": "^2.0.0" + } + }, + "diff": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.3.1.tgz", + "integrity": "sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==", + "dev": true + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "dom-serializer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", + "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", + "requires": { + "domelementtype": "^1.3.0", + "entities": "^1.1.1" + } + }, + "domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" + }, + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "requires": { + "domelementtype": "1" + } + }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "requires": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "dot-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz", + "integrity": "sha1-G3CK8JSknJoOfbyteQq6U52sEXc=", + "dev": true, + "requires": { + "is-obj": "^1.0.0" + } + }, + "duplexer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", + "dev": true + }, + "duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", + "dev": true + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "optional": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es5-ext": { + "version": "0.10.48", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.48.tgz", + "integrity": "sha512-CdRvPlX/24Mj5L4NVxTs4804sxiS2CjVprgCmrgoDkdmjdY4D+ySHa7K3jJf8R40dFg0tIm3z/dk326LrnuSGw==", + "dev": true, + "requires": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.1", + "next-tick": "1" + } + }, + "es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-set": "~0.1.5", + "es6-symbol": "~3.1.1", + "event-emitter": "~0.3.5" + } + }, + "es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-symbol": "3.1.1", + "event-emitter": "~0.3.5" + } + }, + "es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "es6-weak-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", + "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "^0.10.14", + "es6-iterator": "^2.0.1", + "es6-symbol": "^3.1.1" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "escodegen": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.1.tgz", + "integrity": "sha512-JwiqFD9KdGVVpeuRa68yU3zZnBEOcPs0nKW7wZzXky8Z7tffdYUHbe11bPCV5jYlK6DVdKLWLm0f5I/QlL0Kmw==", + "optional": true, + "requires": { + "esprima": "^3.1.3", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + } + } + }, + "escope": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", + "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", + "dev": true, + "requires": { + "es6-map": "^0.1.3", + "es6-weak-map": "^2.0.1", + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "esdoc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz", + "integrity": "sha512-vsUcp52XJkOWg9m1vDYplGZN2iDzvmjDL5M/Mp8qkoDG3p2s0yIQCIjKR5wfPBaM3eV14a6zhQNYiNTCVzPnxA==", + "requires": { + "babel-generator": "6.26.1", + "babel-traverse": "6.26.0", + "babylon": "6.18.0", + "cheerio": "1.0.0-rc.2", + "color-logger": "0.0.6", + "escape-html": "1.0.3", + "fs-extra": "5.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "minimist": "1.2.0", + "taffydb": "2.7.3" + } + }, + "esdoc-accessor-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-accessor-plugin/-/esdoc-accessor-plugin-1.0.0.tgz", + "integrity": "sha1-eRukhy5sQDUVznSbE0jW8Ck62es=" + }, + "esdoc-brand-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esdoc-brand-plugin/-/esdoc-brand-plugin-1.0.1.tgz", + "integrity": "sha512-Yv9j3M7qk5PSLmSeD6MbPsfIsEf8K43EdH8qZpE/GZwnJCRVmDPrZJ1cLDj/fPu6P35YqgcEaJK4E2NL/CKA7g==", + "requires": { + "cheerio": "0.22.0" + }, + "dependencies": { + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" + } + } + } + }, + "esdoc-coverage-plugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc-coverage-plugin/-/esdoc-coverage-plugin-1.1.0.tgz", + "integrity": "sha1-OGmGnNf4eJH5cmJXh2laKZrs5Fw=" + }, + "esdoc-ecmascript-proposal-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-ecmascript-proposal-plugin/-/esdoc-ecmascript-proposal-plugin-1.0.0.tgz", + "integrity": "sha1-OQ3FZWuoooMOOdujVw15E43y/9k=" + }, + "esdoc-external-ecmascript-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-external-ecmascript-plugin/-/esdoc-external-ecmascript-plugin-1.0.0.tgz", + "integrity": "sha1-ePVl1KDFGFrGMVJhTc4f4ahmiNs=", + "requires": { + "fs-extra": "1.0.0" + }, + "dependencies": { + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" + } + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "requires": { + "graceful-fs": "^4.1.6" + } + } + } + }, + "esdoc-flow-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-flow-plugin/-/esdoc-flow-plugin-1.0.0.tgz", + "integrity": "sha1-vaH0/K5MKQv3tXbz5Cq4yBo5ddM=", + "requires": { + "babel-core": "6.9.1", + "babel-plugin-syntax-jsx": "6.8.0", + "babel-plugin-transform-flow-strip-types": "6.8.0" + }, + "dependencies": { + "babel-plugin-transform-flow-strip-types": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.8.0.tgz", + "integrity": "sha1-I1HYXjpSFS4aVdPwiuY14h7OF6A=", + "requires": { + "babel-plugin-syntax-flow": "^6.8.0", + "babel-runtime": "^6.0.0" + } + } + } + }, + "esdoc-integrate-manual-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-manual-plugin/-/esdoc-integrate-manual-plugin-1.0.0.tgz", + "integrity": "sha1-GFSmqhwIEDXXyMUeO91PtlqkcRw=" + }, + "esdoc-integrate-test-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-test-plugin/-/esdoc-integrate-test-plugin-1.0.0.tgz", + "integrity": "sha1-4tDQAJD38MNeXS8sAzMnp55T5Ak=" + }, + "esdoc-lint-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-lint-plugin/-/esdoc-lint-plugin-1.0.2.tgz", + "integrity": "sha512-24AYqD2WbZI9We02I7/6dzAa7yUliRTFUaJCZAcYJMQicJT5gUrNFVaI8XmWEN/mhF3szIn1uZBNWeLul4CmNw==" + }, + "esdoc-publish-html-plugin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/esdoc-publish-html-plugin/-/esdoc-publish-html-plugin-1.1.2.tgz", + "integrity": "sha512-hG1fZmTcEp3P/Hv/qKiMdG1qSp8MjnVZMMkxL5P5ry7I2sX0HQ4P9lt2lms+90Lt0r340HHhSuVx107UL7dphg==", + "requires": { + "babel-generator": "6.11.4", + "cheerio": "0.22.0", + "escape-html": "1.0.3", + "fs-extra": "1.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "taffydb": "2.7.2" + }, + "dependencies": { + "babel-generator": { + "version": "6.11.4", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.11.4.tgz", + "integrity": "sha1-FPaTOrsgxiZm0n47e59bncBxKpo=", + "requires": { + "babel-messages": "^6.8.0", + "babel-runtime": "^6.9.0", + "babel-types": "^6.10.2", + "detect-indent": "^3.0.1", + "lodash": "^4.2.0", + "source-map": "^0.5.0" + } + }, + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" + } + }, + "detect-indent": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-3.0.1.tgz", + "integrity": "sha1-ncXl3bzu+DJXZLlFGwK8bVQIT3U=", + "requires": { + "get-stdin": "^4.0.1", + "minimist": "^1.1.0", + "repeating": "^1.1.0" + } + }, + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" + } + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "repeating": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-1.1.3.tgz", + "integrity": "sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw=", + "requires": { + "is-finite": "^1.0.0" + } + }, + "taffydb": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.2.tgz", + "integrity": "sha1-e/gQalwaSCUbPjvAoOFzJIn9Dcg=" + } + } + }, + "esdoc-standard-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-standard-plugin/-/esdoc-standard-plugin-1.0.0.tgz", + "integrity": "sha1-ZhIBysfvhokkkCRG/awVJyU8XU0=", + "requires": { + "esdoc-accessor-plugin": "^1.0.0", + "esdoc-brand-plugin": "^1.0.0", + "esdoc-coverage-plugin": "^1.0.0", + "esdoc-external-ecmascript-plugin": "^1.0.0", + "esdoc-integrate-manual-plugin": "^1.0.0", + "esdoc-integrate-test-plugin": "^1.0.0", + "esdoc-lint-plugin": "^1.0.0", + "esdoc-publish-html-plugin": "^1.0.0", + "esdoc-type-inference-plugin": "^1.0.0", + "esdoc-undocumented-identifier-plugin": "^1.0.0", + "esdoc-unexported-identifier-plugin": "^1.0.0" + } + }, + "esdoc-type-inference-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-type-inference-plugin/-/esdoc-type-inference-plugin-1.0.2.tgz", + "integrity": "sha512-tMIcEHNe1uhUGA7lT1UTWc9hs2dzthnTgmqXpmeUhurk7fL2tinvoH+IVvG/sLROzwOGZQS9zW/F9KWnpMzLIQ==" + }, + "esdoc-undocumented-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-undocumented-identifier-plugin/-/esdoc-undocumented-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-guBdNxwy0ShxFA8dXIHsmf2cwsg=" + }, + "esdoc-unexported-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-unexported-identifier-plugin/-/esdoc-unexported-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-H5h0xqfCvr+a05fDzrdcnGnaurE=" + }, + "eslint": { + "version": "3.17.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-3.17.1.tgz", + "integrity": "sha1-uArhLZxAbYWEBvzNpievzjPqEOo=", + "dev": true, + "requires": { + "babel-code-frame": "^6.16.0", + "chalk": "^1.1.3", + "concat-stream": "^1.4.6", + "debug": "^2.1.1", + "doctrine": "^1.2.2", + "escope": "^3.6.0", + "espree": "^3.4.0", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "file-entry-cache": "^2.0.0", + "glob": "^7.0.3", + "globals": "^9.14.0", + "ignore": "^3.2.0", + "imurmurhash": "^0.1.4", + "inquirer": "^0.12.0", + "is-my-json-valid": "^2.10.0", + "is-resolvable": "^1.0.0", + "js-yaml": "^3.5.1", + "json-stable-stringify": "^1.0.0", + "levn": "^0.3.0", + "lodash": "^4.0.0", + "mkdirp": "^0.5.0", + "natural-compare": "^1.4.0", + "optionator": "^0.8.2", + "path-is-inside": "^1.0.1", + "pluralize": "^1.2.1", + "progress": "^1.1.8", + "require-uncached": "^1.0.2", + "shelljs": "^0.7.5", + "strip-bom": "^3.0.0", + "strip-json-comments": "~2.0.1", + "table": "^3.7.8", + "text-table": "~0.2.0", + "user-home": "^2.0.0" + }, + "dependencies": { + "user-home": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz", + "integrity": "sha1-nHC/2Babwdy/SGBODwS4tJzenp8=", + "dev": true, + "requires": { + "os-homedir": "^1.0.0" + } + } + } + }, + "eslint-config-prettier": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-2.10.0.tgz", + "integrity": "sha512-Mhl90VLucfBuhmcWBgbUNtgBiK955iCDK1+aHAz7QfDQF6wuzWZ6JjihZ3ejJoGlJWIuko7xLqNm8BA5uenKhA==", + "dev": true, + "requires": { + "get-stdin": "^5.0.1" + }, + "dependencies": { + "get-stdin": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", + "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=", + "dev": true + } + } + }, + "eslint-plugin-babel": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-babel/-/eslint-plugin-babel-4.1.2.tgz", + "integrity": "sha1-eSAqDjV1fdkngJGbIzbx+i/lPB4=", + "dev": true + }, + "eslint-plugin-dependencies": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-dependencies/-/eslint-plugin-dependencies-2.4.0.tgz", + "integrity": "sha512-IaW2phNpktrok2eDziZLYxmNaGysXjNj6NVji7LEv/qagHG2oshsmV+mUSxAGG5Jv9seuRBdX1YXEIaNlhkFJg==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "resolve": "^1.1.6" + } + }, + "eslint-plugin-flowtype": { + "version": "2.40.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.40.1.tgz", + "integrity": "sha512-0EBDPR3/iguDQin7nb5WMT1ZWYB95eNllY+oiFZjvLa1oqE0BGO6ZSFnMdNE9HEkajB6Cw850PRIBbp+O+EzYQ==", + "dev": true, + "requires": { + "lodash": "^4.15.0" + } + }, + "eslint-plugin-prefer-object-spread": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prefer-object-spread/-/eslint-plugin-prefer-object-spread-1.2.1.tgz", + "integrity": "sha1-J/uRhTaQzOs65hAdnIrsxqZ6QCw=", + "dev": true + }, + "eslint-scope": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.3.tgz", + "integrity": "sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "eslint-visitor-keys": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", + "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", + "dev": true + }, + "espree": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", + "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", + "dev": true, + "requires": { + "acorn": "^5.5.0", + "acorn-jsx": "^3.0.0" + }, + "dependencies": { + "acorn": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", + "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", + "dev": true + } + } + }, + "esprima": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", + "optional": true + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "^4.1.0" + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=" + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" + }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "execa": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", + "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + }, + "exit-hook": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", + "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", + "dev": true + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "optional": true, + "requires": { + "is-posix-bracket": "^0.1.0" + } + }, + "expand-range": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", + "dev": true, + "optional": true, + "requires": { + "fill-range": "^2.1.0" + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "optional": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "optional": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "optional": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "external-editor": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", + "dev": true, + "requires": { + "chardet": "^0.4.0", + "iconv-lite": "^0.4.17", + "tmp": "^0.0.33" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "optional": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "optional": true + }, + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "optional": true + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "optional": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5", + "object-assign": "^4.1.0" + } + }, + "file-entry-cache": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", + "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", + "dev": true, + "requires": { + "flat-cache": "^1.2.1", + "object-assign": "^4.0.1" + } + }, + "filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "dev": true, + "optional": true + }, + "fill-range": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", + "dev": true, + "optional": true, + "requires": { + "is-number": "^2.1.0", + "isobject": "^2.0.0", + "randomatic": "^3.0.0", + "repeat-element": "^1.1.2", + "repeat-string": "^1.5.2" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "flat-cache": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz", + "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==", + "dev": true, + "requires": { + "circular-json": "^0.3.1", + "graceful-fs": "^4.1.2", + "rimraf": "~2.6.2", + "write": "^0.2.1" + } + }, + "flow-bin": { + "version": "0.74.0", + "resolved": "https://registry.npmjs.org/flow-bin/-/flow-bin-0.74.0.tgz", + "integrity": "sha512-tIN9J5qg71S4UbofCu80tve8a+p7Hj7ytwUtu79cLg9KJVVTNnVVJXKgCghVzaZT1Rvl9SMHVPlDs9uYhPHEGQ==", + "dev": true + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true, + "optional": true + }, + "for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "dev": true, + "optional": true, + "requires": { + "for-in": "^1.0.1" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "optional": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "optional": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "optional": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fs-extra": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", + "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs-readdir-recursive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", + "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", + "dev": true + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.7.tgz", + "integrity": "sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.9.2", + "node-pre-gyp": "^0.10.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.6.0", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "glob": { + "version": "7.1.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.24", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true, + "optional": true + }, + "minipass": { + "version": "2.3.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.2.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "^2.1.2", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "npm-bundled": { + "version": "1.0.5", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "wrappy": "1" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.8", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "rimraf": { + "version": "2.6.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "^7.1.3" + } + }, + "safe-buffer": { + "version": "5.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.6.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.8", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.3.4", + "minizlib": "^1.1.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "yallist": { + "version": "3.0.3", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "dev": true, + "requires": { + "is-property": "^1.0.2" + } + }, + "generate-object-property": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", + "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", + "dev": true, + "requires": { + "is-property": "^1.0.0" + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true + }, + "get-pkg-repo": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz", + "integrity": "sha1-xztInAbYDMVTbCyFP54FIyBWly0=", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "meow": "^3.3.0", + "normalize-package-data": "^2.3.0", + "parse-github-repo-url": "^1.3.0", + "through2": "^2.0.0" + }, + "dependencies": { + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + } + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + } + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + } + } + }, + "get-port": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", + "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=", + "dev": true + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=" + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true, + "optional": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "optional": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "git-raw-commits": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-1.3.6.tgz", + "integrity": "sha512-svsK26tQ8vEKnMshTDatSIQSMDdz8CxIIqKsvPqbtV23Etmw6VNaFAitu8zwZ0VrOne7FztwPyRLxK7/DIUTQg==", + "dev": true, + "requires": { + "dargs": "^4.0.1", + "lodash.template": "^4.0.2", + "meow": "^4.0.0", + "split2": "^2.0.0", + "through2": "^2.0.0" + } + }, + "git-remote-origin-url": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", + "integrity": "sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=", + "dev": true, + "requires": { + "gitconfiglocal": "^1.0.0", + "pify": "^2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "git-semver-tags": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-1.3.6.tgz", + "integrity": "sha512-2jHlJnln4D/ECk9FxGEBh3k44wgYdWjWDtMmJPaecjoRmxKo3Y1Lh8GMYuOPu04CHw86NTAODchYjC5pnpMQig==", + "dev": true, + "requires": { + "meow": "^4.0.0", + "semver": "^5.5.0" + } + }, + "gitconfiglocal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", + "integrity": "sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=", + "dev": true, + "requires": { + "ini": "^1.3.2" + } + }, + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "dependencies": { + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "optional": true, + "requires": { + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + } + }, + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "optional": true, + "requires": { + "is-glob": "^2.0.0" + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==" + }, + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "got": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz", + "integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=", + "dev": true, + "requires": { + "create-error-class": "^3.0.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-redirect": "^1.0.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "lowercase-keys": "^1.0.0", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "unzip-response": "^2.0.1", + "url-parse-lax": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" + }, + "growl": { + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz", + "integrity": "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==", + "dev": true + }, + "handlebars": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.0.tgz", + "integrity": "sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w==", + "dev": true, + "requires": { + "async": "^2.5.0", + "optimist": "^0.6.1", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4" + }, + "dependencies": { + "async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.2.tgz", + "integrity": "sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==", + "dev": true, + "requires": { + "lodash": "^4.17.11" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "optional": true + }, + "har-validator": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "optional": true, + "requires": { + "ajv": "^6.5.5", + "har-schema": "^2.0.0" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "optional": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + } + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "optional": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "dev": true + }, + "home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.1" + } + }, + "hosted-git-info": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "dev": true + }, + "htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "requires": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "optional": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "ice-cap": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/ice-cap/-/ice-cap-0.0.4.tgz", + "integrity": "sha1-im0xq0ysjUtW3k+pRt8zUlYbbhg=", + "requires": { + "cheerio": "0.20.0", + "color-logger": "0.0.3" + }, + "dependencies": { + "cheerio": { + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.20.0.tgz", + "integrity": "sha1-XHEPK6uVZTJyhCugHG6mGzVF7DU=", + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "~3.8.1", + "jsdom": "^7.0.2", + "lodash": "^4.1.0" + } + }, + "color-logger": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.3.tgz", + "integrity": "sha1-2bIt0dlz4Waxi/MT+fSBu6TfIBg=" + }, + "domhandler": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz", + "integrity": "sha1-LeWaCCLVAn+r/28DLCsloqir5zg=", + "requires": { + "domelementtype": "1" + } + }, + "htmlparser2": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", + "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=", + "requires": { + "domelementtype": "1", + "domhandler": "2.3", + "domutils": "1.5", + "entities": "1.0", + "readable-stream": "1.1" + }, + "dependencies": { + "entities": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz", + "integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY=" + } + } + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + } + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "dev": true + }, + "inquirer": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-0.12.0.tgz", + "integrity": "sha1-HvK/1jUE3wvHV4X/+MLEHfEvB34=", + "dev": true, + "requires": { + "ansi-escapes": "^1.1.0", + "ansi-regex": "^2.0.0", + "chalk": "^1.0.0", + "cli-cursor": "^1.0.1", + "cli-width": "^2.0.0", + "figures": "^1.3.5", + "lodash": "^4.3.0", + "readline2": "^1.0.1", + "run-async": "^0.1.0", + "rx-lite": "^3.1.2", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.0", + "through": "^2.3.6" + } + }, + "interpret": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz", + "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "requires": { + "loose-envify": "^1.0.0" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "optional": true, + "requires": { + "binary-extensions": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true, + "optional": true + }, + "is-ci": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", + "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", + "dev": true, + "requires": { + "ci-info": "^1.5.0" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "optional": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "optional": true + } + } + }, + "is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true, + "optional": true + }, + "is-equal-shallow": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "dev": true, + "optional": true, + "requires": { + "is-primitive": "^2.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "optional": true + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true, + "optional": true + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "optional": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "is-my-ip-valid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", + "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==", + "dev": true + }, + "is-my-json-valid": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.19.0.tgz", + "integrity": "sha512-mG0f/unGX1HZ5ep4uhRaPOS8EkAY8/j6mDRMJrutq4CqhoJWYp7qAlonIPy3TV7p3ju4TK9fo/PbnoksWmsp5Q==", + "dev": true, + "requires": { + "generate-function": "^2.0.0", + "generate-object-property": "^1.1.0", + "is-my-ip-valid": "^1.0.0", + "jsonpointer": "^4.0.0", + "xtend": "^4.0.0" + } + }, + "is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "optional": true, + "requires": { + "isobject": "^3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + } + } + }, + "is-posix-bracket": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", + "dev": true, + "optional": true + }, + "is-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "dev": true, + "optional": true + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "dev": true + }, + "is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=", + "dev": true + }, + "is-redirect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", + "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=", + "dev": true + }, + "is-resolvable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", + "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", + "dev": true + }, + "is-retry-allowed": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", + "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true + }, + "is-subset": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", + "integrity": "sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=", + "dev": true + }, + "is-text-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", + "integrity": "sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4=", + "dev": true, + "requires": { + "text-extensions": "^1.0.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "optional": true + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "optional": true + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "optional": true, + "requires": { + "isarray": "1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true, + "optional": true + } + } + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "optional": true + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" + }, + "js-yaml": { + "version": "3.12.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.2.tgz", + "integrity": "sha512-QHn/Lh/7HhZ/Twc7vJYQTkjuCa0kaCcDcjK5Zlk2rvnUpy7DxMJ23+Jc2dcyvltwQVg1nygAVlB2oRDFHoRS5Q==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + } + } + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "optional": true + }, + "jsdom": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-7.2.2.tgz", + "integrity": "sha1-QLQCdwwr2iNGkJa+6Rq2deOx/G4=", + "optional": true, + "requires": { + "abab": "^1.0.0", + "acorn": "^2.4.0", + "acorn-globals": "^1.0.4", + "cssom": ">= 0.3.0 < 0.4.0", + "cssstyle": ">= 0.2.29 < 0.3.0", + "escodegen": "^1.6.1", + "nwmatcher": ">= 1.3.7 < 2.0.0", + "parse5": "^1.5.1", + "request": "^2.55.0", + "sax": "^1.1.4", + "symbol-tree": ">= 3.1.0 < 4.0.0", + "tough-cookie": "^2.2.0", + "webidl-conversions": "^2.0.0", + "whatwg-url-compat": "~0.6.5", + "xml-name-validator": ">= 2.0.1 < 3.0.0" + }, + "dependencies": { + "parse5": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-1.5.1.tgz", + "integrity": "sha1-m387DeMr543CQBsXVzzK8Pb1nZQ=", + "optional": true + } + } + }, + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "optional": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "optional": true + }, + "json-stable-stringify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "dev": true, + "requires": { + "jsonify": "~0.0.0" + } + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "json5": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.4.0.tgz", + "integrity": "sha1-BUNS5MTIDIbAkjh31EneF2pzLI0=" + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", + "dev": true + }, + "jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", + "dev": true + }, + "jsonpointer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", + "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", + "dev": true + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "optional": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + }, + "klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", + "requires": { + "graceful-fs": "^4.1.9" + } + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "lerna": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-2.11.0.tgz", + "integrity": "sha512-kgM6zwe2P2tR30MYvgiLLW+9buFCm6E7o8HnRlhTgm70WVBvXVhydqv+q/MF2HrVZkCawfVtCfetyQmtd4oHhQ==", + "dev": true, + "requires": { + "async": "^1.5.0", + "chalk": "^2.1.0", + "cmd-shim": "^2.0.2", + "columnify": "^1.5.4", + "command-join": "^2.0.0", + "conventional-changelog-cli": "^1.3.13", + "conventional-recommended-bump": "^1.2.1", + "dedent": "^0.7.0", + "execa": "^0.8.0", + "find-up": "^2.1.0", + "fs-extra": "^4.0.1", + "get-port": "^3.2.0", + "glob": "^7.1.2", + "glob-parent": "^3.1.0", + "globby": "^6.1.0", + "graceful-fs": "^4.1.11", + "hosted-git-info": "^2.5.0", + "inquirer": "^3.2.2", + "is-ci": "^1.0.10", + "load-json-file": "^4.0.0", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "npmlog": "^4.1.2", + "p-finally": "^1.0.0", + "package-json": "^4.0.1", + "path-exists": "^3.0.0", + "read-cmd-shim": "^1.0.1", + "read-pkg": "^3.0.0", + "rimraf": "^2.6.1", + "safe-buffer": "^5.1.1", + "semver": "^5.4.1", + "signal-exit": "^3.0.2", + "slash": "^1.0.0", + "strong-log-transformer": "^1.0.6", + "temp-write": "^3.3.0", + "write-file-atomic": "^2.3.0", + "write-json-file": "^2.2.0", + "write-pkg": "^3.1.0", + "yargs": "^8.0.2" + }, + "dependencies": { + "ansi-escapes": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", + "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", + "dev": true + }, + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "dev": true, + "requires": { + "restore-cursor": "^2.0.0" + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "fs-extra": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", + "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "inquirer": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", + "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", + "dev": true, + "requires": { + "ansi-escapes": "^3.0.0", + "chalk": "^2.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^2.0.4", + "figures": "^2.0.0", + "lodash": "^4.3.0", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rx-lite": "^4.0.8", + "rx-lite-aggregates": "^4.0.8", + "string-width": "^2.1.0", + "strip-ansi": "^4.0.0", + "through": "^2.3.6" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "dev": true, + "requires": { + "is-promise": "^2.1.0" + } + }, + "rx-lite": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", + "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "dependencies": { + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + } + } + }, + "lodash": { + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" + }, + "lodash._reinterpolate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", + "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=", + "dev": true + }, + "lodash.assignin": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz", + "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=" + }, + "lodash.bind": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.bind/-/lodash.bind-4.2.1.tgz", + "integrity": "sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU=" + }, + "lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" + }, + "lodash.filter": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz", + "integrity": "sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4=" + }, + "lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" + }, + "lodash.foreach": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", + "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=" + }, + "lodash.map": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", + "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=" + }, + "lodash.merge": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.1.tgz", + "integrity": "sha512-AOYza4+Hf5z1/0Hztxpm2/xiPZgi/cjMqdnKTUWTBSKchJlxXXuUSxCCl8rJlf4g6yww/j6mA8nC8Hw/EZWxKQ==" + }, + "lodash.pick": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", + "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=" + }, + "lodash.reduce": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reduce/-/lodash.reduce-4.6.0.tgz", + "integrity": "sha1-8atrg5KZrUj3hKu/R2WW8DuRTTs=" + }, + "lodash.reject": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz", + "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=" + }, + "lodash.some": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", + "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=" + }, + "lodash.template": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.4.0.tgz", + "integrity": "sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A=", + "dev": true, + "requires": { + "lodash._reinterpolate": "~3.0.0", + "lodash.templatesettings": "^4.0.0" + } + }, + "lodash.templatesettings": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz", + "integrity": "sha1-K01OlbpEDZFf8IvImeRVNmZxMxY=", + "dev": true, + "requires": { + "lodash._reinterpolate": "~3.0.0" + } + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + } + }, + "lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "dev": true + }, + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "make-dir": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", + "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true, + "optional": true + }, + "map-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", + "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "optional": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "marked": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz", + "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg==" + }, + "math-random": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz", + "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==", + "dev": true, + "optional": true + }, + "mem": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "meow": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", + "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", + "dev": true, + "requires": { + "camelcase-keys": "^4.0.0", + "decamelize-keys": "^1.0.0", + "loud-rejection": "^1.0.0", + "minimist": "^1.1.3", + "minimist-options": "^3.0.1", + "normalize-package-data": "^2.3.4", + "read-pkg-up": "^3.0.0", + "redent": "^2.0.0", + "trim-newlines": "^2.0.0" + }, + "dependencies": { + "read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + } + } + } + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "optional": true, + "requires": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + } + }, + "mime-db": { + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz", + "integrity": "sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg==", + "optional": true + }, + "mime-types": { + "version": "2.1.22", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz", + "integrity": "sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==", + "optional": true, + "requires": { + "mime-db": "~1.38.0" + } + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, + "minimatch": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz", + "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=", + "requires": { + "brace-expansion": "^1.0.0" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + }, + "minimist-options": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", + "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", + "dev": true, + "requires": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0" + } + }, + "mixin-deep": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", + "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "dev": true, + "optional": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "optional": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "requires": { + "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" + } + } + }, + "mocha": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.1.0.tgz", + "integrity": "sha512-0RVnjg1HJsXY2YFDoTNzcc1NKhYuXKRrBAG2gDygmJJA136Cs2QlRliZG1mA0ap7cuaT30mw16luAeln+4RiNA==", + "dev": true, + "requires": { + "browser-stdout": "1.3.0", + "commander": "2.11.0", + "debug": "3.1.0", + "diff": "3.3.1", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.3", + "he": "1.1.1", + "mkdirp": "0.5.1", + "supports-color": "4.4.0" + }, + "dependencies": { + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "dev": true + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "supports-color": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", + "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", + "dev": true, + "requires": { + "has-flag": "^2.0.0" + } + } + } + }, + "modify-values": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", + "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", + "dev": true + }, + "moment": { + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz", + "integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "mute-stream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz", + "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=", + "dev": true + }, + "nan": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.12.1.tgz", + "integrity": "sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw==", + "dev": true, + "optional": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "optional": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true, + "optional": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true, + "optional": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true, + "optional": true + } + } + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "next-tick": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", + "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", + "dev": true + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "optional": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "^2.0.0" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "requires": { + "boolbase": "~1.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "nwmatcher": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz", + "integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ==", + "optional": true + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "optional": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "optional": true, + "requires": { + "isobject": "^3.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + } + } + }, + "object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "dev": true, + "optional": true, + "requires": { + "for-own": "^0.1.4", + "is-extendable": "^0.1.1" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "optional": true, + "requires": { + "isobject": "^3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + } + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "~0.0.1", + "wordwrap": "~0.0.2" + }, + "dependencies": { + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + }, + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "dev": true + } + } + }, + "optionator": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", + "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.4", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "wordwrap": "~1.0.0" + } + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "dev": true, + "requires": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + }, + "dependencies": { + "execa": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + } + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "output-file-sync": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz", + "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.4", + "mkdirp": "^0.5.1", + "object-assign": "^4.1.0" + } + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "package-json": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz", + "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=", + "dev": true, + "requires": { + "got": "^6.7.1", + "registry-auth-token": "^3.0.1", + "registry-url": "^3.0.3", + "semver": "^5.1.0" + } + }, + "parse-github-repo-url": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz", + "integrity": "sha1-nn2LslKmy2ukJZUGC3v23z28H1A=", + "dev": true + }, + "parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "optional": true, + "requires": { + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "parse5": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", + "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", + "requires": { + "@types/node": "*" + } + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true, + "optional": true + }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, + "path-exists": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-1.0.0.tgz", + "integrity": "sha1-1aiZjrce83p0w06w2eum6HjuoIE=" + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "pathval": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz", + "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=", + "dev": true + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "optional": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "pluralize": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-1.2.1.tgz", + "integrity": "sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU=", + "dev": true + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true, + "optional": true + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" + }, + "prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "dev": true + }, + "preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true, + "optional": true + }, + "prettier": { + "version": "1.16.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.16.4.tgz", + "integrity": "sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g==", + "dev": true + }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true + }, + "progress": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", + "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "psl": { + "version": "1.1.31", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz", + "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==", + "optional": true + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "optional": true + }, + "q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "optional": true + }, + "quick-lru": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", + "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=", + "dev": true + }, + "randomatic": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", + "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", + "dev": true, + "optional": true, + "requires": { + "is-number": "^4.0.0", + "kind-of": "^6.0.0", + "math-random": "^1.0.1" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true, + "optional": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true, + "optional": true + } + } + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + } + }, + "read-cmd-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz", + "integrity": "sha1-LV0Vd4ajfAVdIgd8MsU/gynpHHs=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2" + } + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + } + } + }, + "readable-stream": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.2.0.tgz", + "integrity": "sha512-RV20kLjdmpZuTF1INEb9IA3L68Nmi+Ri7ppZqo78wj//Pn62fCoJyV9zalccNzDD/OuJpMG4f+pfMl8+L6QdGw==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "optional": true, + "requires": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true, + "optional": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true, + "optional": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "optional": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "optional": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "optional": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "optional": true + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "optional": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "optional": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "optional": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true, + "optional": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true, + "optional": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "optional": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "optional": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "readline2": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz", + "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "mute-stream": "0.0.5" + } + }, + "rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "requires": { + "resolve": "^1.1.6" + } + }, + "redent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", + "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", + "dev": true, + "requires": { + "indent-string": "^3.0.0", + "strip-indent": "^2.0.0" + } + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" + }, + "regenerator-transform": { + "version": "0.9.11", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.9.11.tgz", + "integrity": "sha1-On0GdSDLe3F2dp61/4aGkb7+EoM=", + "dev": true, + "requires": { + "babel-runtime": "^6.18.0", + "babel-types": "^6.19.0", + "private": "^0.1.6" + } + }, + "regex-cache": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", + "dev": true, + "optional": true, + "requires": { + "is-equal-shallow": "^0.1.3" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "optional": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "registry-auth-token": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", + "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", + "dev": true, + "requires": { + "rc": "^1.1.6", + "safe-buffer": "^5.0.1" + } + }, + "registry-url": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", + "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", + "dev": true, + "requires": { + "rc": "^1.0.1" + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true, + "optional": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true, + "optional": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true, + "optional": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "requires": { + "is-finite": "^1.0.0" + } + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "optional": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "optional": true + }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "optional": true, + "requires": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + } + } + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "require-uncached": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", + "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", + "dev": true, + "requires": { + "caller-path": "^0.1.0", + "resolve-from": "^1.0.0" + } + }, + "resolve": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", + "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + }, + "resolve-from": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", + "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true, + "optional": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "^1.0.0", + "onetime": "^1.0.0" + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true, + "optional": true + }, + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "run-async": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", + "integrity": "sha1-yK1KXhEGYeQCp9IbUw4AnyX444k=", + "dev": true, + "requires": { + "once": "^1.3.0" + } + }, + "rx-lite": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz", + "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=", + "dev": true + }, + "rx-lite-aggregates": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", + "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "dev": true, + "requires": { + "rx-lite": "*" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "optional": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "optional": true + }, + "semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", + "dev": true + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-value": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "dev": true, + "optional": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" + }, + "shelljs": { + "version": "0.7.8", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.8.tgz", + "integrity": "sha1-3svPh0sNHl+3LhSxZKloMEjprLM=", + "dev": true, + "requires": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + } + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=" + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "optional": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "optional": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "optional": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true, + "optional": true + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.2.0" + } + }, + "sort-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", + "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=", + "dev": true, + "requires": { + "is-plain-obj": "^1.0.0" + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "optional": true, + "requires": { + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "requires": { + "source-map": "^0.5.6" + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true, + "optional": true + }, + "spdx-correct": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", + "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz", + "integrity": "sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g==", + "dev": true + }, + "split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "dev": true, + "requires": { + "through": "2" + } + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "optional": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "split2": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz", + "integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==", + "dev": true, + "requires": { + "through2": "^2.0.2" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "optional": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "optional": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.2.0.tgz", + "integrity": "sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-indent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", + "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", + "dev": true + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "strong-log-transformer": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-1.0.6.tgz", + "integrity": "sha1-9/uTdYpppXEUAYEnfuoMLrEwH6M=", + "dev": true, + "requires": { + "byline": "^5.0.0", + "duplexer": "^0.1.1", + "minimist": "^0.1.0", + "moment": "^2.6.0", + "through": "^2.3.4" + }, + "dependencies": { + "minimist": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz", + "integrity": "sha1-md9lelJXTCHJBXSX33QnkLK0wN4=", + "dev": true + } + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + }, + "symbol-tree": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.2.tgz", + "integrity": "sha1-rifbOPZgp64uHDt9G8KQgZuFGeY=", + "optional": true + }, + "table": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/table/-/table-3.8.3.tgz", + "integrity": "sha1-K7xULw/amGGnVdOUf+/Ys/UThV8=", + "dev": true, + "requires": { + "ajv": "^4.7.0", + "ajv-keywords": "^1.0.0", + "chalk": "^1.1.1", + "lodash": "^4.0.0", + "slice-ansi": "0.0.4", + "string-width": "^2.0.0" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "^4.6.0", + "json-stable-stringify": "^1.0.1" + } + }, + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "taffydb": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz", + "integrity": "sha1-KtNxaWKUmPylvIQkMJbTzeDsOjQ=" + }, + "temp-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", + "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", + "dev": true + }, + "temp-write": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/temp-write/-/temp-write-3.4.0.tgz", + "integrity": "sha1-jP9jD7fp2gXwR8dM5M5NaFRX1JI=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "is-stream": "^1.1.0", + "make-dir": "^1.0.0", + "pify": "^3.0.0", + "temp-dir": "^1.0.0", + "uuid": "^3.0.1" + } + }, + "tempfile": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-1.1.1.tgz", + "integrity": "sha1-W8xOrsxKsscH2LwR2ZzMmiyyh/I=", + "dev": true, + "requires": { + "os-tmpdir": "^1.0.0", + "uuid": "^2.0.1" + }, + "dependencies": { + "uuid": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", + "dev": true + } + } + }, + "text-extensions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", + "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", + "dev": true + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "timed-out": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", + "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", + "dev": true + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "optional": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "optional": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + } + } + } + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "optional": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "optional": true + }, + "trim-newlines": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", + "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", + "dev": true + }, + "trim-off-newlines": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz", + "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", + "dev": true + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "optional": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "optional": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "uglify-js": { + "version": "3.4.9", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz", + "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==", + "dev": true, + "optional": true, + "requires": { + "commander": "~2.17.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true, + "optional": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + } + } + }, + "union-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", + "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "dev": true, + "optional": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "set-value": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", + "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", + "dev": true, + "optional": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.1", + "to-object-path": "^0.3.0" + } + } + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "optional": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "optional": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "optional": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true, + "optional": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true, + "optional": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true + } + } + }, + "unzip-response": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz", + "integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=", + "dev": true + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "optional": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true, + "optional": true + }, + "url-parse-lax": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", + "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", + "dev": true, + "requires": { + "prepend-http": "^1.0.1" + } + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true, + "optional": true + }, + "user-home": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz", + "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=", + "dev": true + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + }, + "v8flags": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", + "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=", + "dev": true, + "requires": { + "user-home": "^1.1.1" + } + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "optional": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "dev": true, + "requires": { + "defaults": "^1.0.3" + } + }, + "webidl-conversions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-2.0.1.tgz", + "integrity": "sha1-O/glj30xjHRDw28uFpQCoaZwNQY=", + "optional": true + }, + "whatwg-url-compat": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/whatwg-url-compat/-/whatwg-url-compat-0.6.5.tgz", + "integrity": "sha1-AImBEa9om7CXVBzVpFymyHmERb8=", + "optional": true, + "requires": { + "tr46": "~0.0.1" + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "write": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", + "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", + "dev": true, + "requires": { + "mkdirp": "^0.5.1" + } + }, + "write-file-atomic": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.2.tgz", + "integrity": "sha512-s0b6vB3xIVRLWywa6X9TOMA7k9zio0TMOsl9ZnDkliA/cfJlpHXAscj0gbHVJiTdIuAYpIyqS5GW91fqm6gG5g==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, + "write-json-file": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-2.3.0.tgz", + "integrity": "sha1-K2TIozAE1UuGmMdtWFp3zrYdoy8=", + "dev": true, + "requires": { + "detect-indent": "^5.0.0", + "graceful-fs": "^4.1.2", + "make-dir": "^1.0.0", + "pify": "^3.0.0", + "sort-keys": "^2.0.0", + "write-file-atomic": "^2.0.0" + }, + "dependencies": { + "detect-indent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", + "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=", + "dev": true + } + } + }, + "write-pkg": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-3.2.0.tgz", + "integrity": "sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw==", + "dev": true, + "requires": { + "sort-keys": "^2.0.0", + "write-json-file": "^2.2.0" + } + }, + "xml-name-validator": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-2.0.1.tgz", + "integrity": "sha1-TYuPHszTQZqjYgYb7O9RXh5VljU=", + "optional": true + }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", + "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", + "dev": true, + "requires": { + "camelcase": "^4.1.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "read-pkg-up": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + } + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "yargs-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", + "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } + } + } +} diff --git a/rsocket-rpc-js/package.json b/rsocket-rpc-js/package.json index c296083..9c51c1b 100644 --- a/rsocket-rpc-js/package.json +++ b/rsocket-rpc-js/package.json @@ -11,13 +11,14 @@ "test": "npm run lint && npm run pretty-check && npm run testonly && npm run check", "testonly": "lerna run build && babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha", "t": "npm run testonly", - "lint": "eslint src packages/**/src || (printf '\\033[33mTry: \\033[7m npm run lint -- --fix \\033[0m\\n' && exit 1)", + "lint": "eslint packages/**/src || (printf '\\033[33mTry: \\033[7m npm run lint -- --fix \\033[0m\\n' && exit 1)", "lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check", "check": "flow check --show-all-errors", "prepublish": "node resources/prepublish.js", "pretty": "node resources/pretty.js", "pretty-check": "node resources/pretty.js --check", - "protoc": "lerna run protoc" + "protoc": "lerna run protoc", + "esdoc": "./node_modules/.bin/esdoc" }, "resolutions": { "eslint-scope": "3.7.1" @@ -51,12 +52,18 @@ "eslint": "3.17.1", "eslint-config-prettier": "^2.3.0", "eslint-plugin-babel": "4.1.2", - "eslint-plugin-dependencies": "2.4.0", + "eslint-plugin-dependencies": "^2.4.0", "eslint-plugin-flowtype": "2.40.1", "eslint-plugin-prefer-object-spread": "1.2.1", "flow-bin": "0.74.0", "lerna": "^2.11.0", "mocha": "4.1.0", "prettier": "^1.5.3" + }, + "dependencies": { + "esdoc": "^1.1.0", + "esdoc-ecmascript-proposal-plugin": "^1.0.0", + "esdoc-flow-plugin": "^1.0.0", + "esdoc-standard-plugin": "^1.0.0" } } diff --git a/rsocket-rpc-js/packages/core/src/QueuingFlowableProcessor.js b/rsocket-rpc-js/packages/core/src/QueuingFlowableProcessor.js index 62e917e..3522f11 100644 --- a/rsocket-rpc-js/packages/core/src/QueuingFlowableProcessor.js +++ b/rsocket-rpc-js/packages/core/src/QueuingFlowableProcessor.js @@ -1,3 +1,37 @@ +/** + * @name QueuingFlowableProcessor.js + * @fileoverview Defines the {@link QueuingFlowableProcessor} class. + * + * @requires NPM:rsocket-types + * @exports QueuingFlowableProcessor + */ + +/** + * An asynchronous, pull-based stream of values. Call the + * {@link IPublisher#subscribe} method to generate a call to the subscriber's + * {@link onSubscribe} method with a {@link Subscription} object that has two + * methods: {@link Subscription#cancel} and {@link Subscription#request}. + * + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js + * @interface IPublisher + */ +/** + * A version of the {@link ISubscriber} interface in which the methods are + * optional, so that you may elect to only implement a subset of them. + * + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js + * @interface IPartialSubscriber + */ +/** + * A handler for values provided by a Publisher. + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js + * @interface ISubscriber + */ +/** + * An underlying source of values for a Publisher. + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveStreamTypes.js + * @interface ISubscription + */ import type { IPublisher, ISubscriber, @@ -5,8 +39,28 @@ import type { ISubscription, } from 'rsocket-types'; +/** + * MAX_REQUEST_N (from QueuingFlowableProcessor.js). If no {@link capacity} is + * passed to the {@link QueuingFlowableProcessor#constructor}, this value will + * be used as the capacity (the maximum number of items in the backlog queue). + * This effectively signals that you want an unlimited number of items from the + * source Flowable. + * + * @constant + * @type {number} + */ const MAX_REQUEST_N = 0x7fffffff; // uint31 +/** + * A {@link QueuingFlowableProcessor} is an intermediary between a Flowable + * producer and a subscriber. To the producer, it behaves as a greedy subscriber + * (that is, one that {@link request}s a large number of emissions immediately). + * To the subscriber, it behaves as a {@link Flowable}. + * + * This allows the producer to generate and emit items at its own fast pace, while + * the end subscriber requests them at its own slow pace. In between, the + * {@link QueuingFlowableProcessor} queues up the backlog of items. + */ export default class QueuingFlowableProcessor implements IPublisher, ISubscriber, ISubscription { _once: boolean; @@ -19,19 +73,41 @@ export default class QueuingFlowableProcessor _done: boolean; _error: ?Error; + /** + * @param {?number} [capacity] - the maximum size of the backlog queue of + * items this {@link QueuingFlowableProcessor} will maintain (default = + * {@link MAX_REQUEST_N}). If this queue size is exceeded, the + * {@link QueuingFlowableProcessor} will begin to drop incoming items from the + * producer. + */ constructor(capacity?: number) { this._once = false; this._requested = 0; + /** @type {Subscriber} */ this._actual = null; + /** @type {?Error} */ this._error = null; this._done = false; this._wip = 0; this._cancelled = false; + /** @type {number} */ this._capacity = capacity; + /** @type {T[]} */ this._queue = []; + /** @type {function[]} */ this._transformers = []; } + /** + * The subscriber to this {@link QueuingFlowableProcessor} subscribes by calling + * this method. + * + * @param {Subscriber} s - an object that implements the Subscriber methods + * this {@link QueuingFlowableProcessor} will call to pass along messages + * from the Flowable producer. + * @throws {Error} if a Subscriber is already subscribed to this + * {@link QueuingFlowableProcessor} + */ subscribe(s: Subscriber) { if (!this._once) { this._once = true; @@ -42,6 +118,15 @@ export default class QueuingFlowableProcessor } } + /** + * When the {@link QueuingFlowableProcessor} gets an {@link onSubscribe} call + * from the {@link Flowable} producer, it requests that the {@link Flowable} + * begin sending it items: either {@link capacity} items, if the capacity was + * set during the call to {@link QueuingFlowableProcessor#constructor}, or + * {@link MAX_REQUEST_N} items (effectively unlimited). + * + * @param {ISubscription} s - the subscription from the source {@link Flowable} + */ onSubscribe(s: ISubscription) { if (this._done) { s.cancel(); @@ -50,6 +135,15 @@ export default class QueuingFlowableProcessor } } + /** + * The {@link Flowable} producer calls this method to add an item to the queue + * of this {@link QueuingFlowableProcessor} for later emission to its + * subscriber. + * + * @param {T} t - the item to add + * @throws {Error} if {@link t} is null. Flowables are not permitted to emit + * null values. + */ onNext(t: T) { if (t === null) { throw new Error('t is null'); @@ -60,6 +154,14 @@ export default class QueuingFlowableProcessor this.drain(); } + /** + * The {@link Flowable} producer calls this method to signal to this + * {@link QueuingFlowableProcessor} that the producer has encountered an error. + * The {@link QueuingFlowableProcessor} will pass this error on to its + * subscriber after it has finished sending the remaining items in its queue. + * + * @param {Error} t - the specific error + */ onError(t: Error) { if (t === null) { throw new Error('t is null'); @@ -69,11 +171,29 @@ export default class QueuingFlowableProcessor this.drain(); } + /** + * The {@link Flowable} producer calls this method to signal to this + * {@link QueuingFlowableProcessor} that the producer has finished emitting + * items. The {@link QueuingFlowableProcessor} will pass this message on to its + * subscriber after it has finished sending the remaining items in its queue. + */ onComplete() { this._done = true; this.drain(); } + /** + * The subscriber to this {@link QueuingFlowableProcessor} calls this method to + * request a certain number of additional items. + * + * @example Note that requests are additive: + * // this is equivalent to request(5): + * myQFP.request(2); + * myQFP.request(3); + * + * @param {number} n - the number of items to request + * @throws {Error} if {@link n} is zero or negative + */ request(n: number) { if (n > 0) { this._requested += n; @@ -83,6 +203,11 @@ export default class QueuingFlowableProcessor } } + /** + * The subscriber to this {@link QueuingFlowableProcessor} calls this method to + * indicate that it wants no more items and that the + * {@link QueuingFlowableProcessor} can stop work and empty its queue. + */ cancel() { this._cancelled = true; if (this._wip++ === 0) { @@ -91,11 +216,30 @@ export default class QueuingFlowableProcessor } } + /** + * Add a mapping function that modifies each emission from the {@link Flowable} + * producer before emitting it from the {@link QueuingFlowableProcessor}. Note + * that you can call this multiple times to add multiple mapping functions, + * each of which will operate on the outputs of its predecessor. + * + * @param {function} transformer - a transformation function that accepts an + * item emitted by the {@link Flowable} producer and returns an item + * expected by the subscriber or by the next transformer + * @return {QueuingFlowableProcessor} this same processor, modified with the + * transformation function + */ map(transformer) { this._transformers.push(transformer); return this; } + /** + * Drain the existing queue of items that are ready for emission by the + * {@link QueuingFlowableProcessor} by emitting them to its subscriber. This + * is typically called implicitly by other methods of the + * {@link QueuingFlowableProcessor}, not explicitly by the producer or + * subscriber. + */ drain() { if (this._actual == null) { return; diff --git a/rsocket-rpc-js/packages/core/src/RequestHandlingRSocket.js b/rsocket-rpc-js/packages/core/src/RequestHandlingRSocket.js index c2f1f88..1acc739 100644 --- a/rsocket-rpc-js/packages/core/src/RequestHandlingRSocket.js +++ b/rsocket-rpc-js/packages/core/src/RequestHandlingRSocket.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name RequestHandlingRSocket.js + * @fileoverview Defines the {@link RequestHandlingRSocket} class. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,12 @@ * limitations under the License. * * @flow + * + * @requires NPM:rsocket-types + * @requires NPM:rsocket-flowable + * @requires NPM:rsocket-rps-frames + * @requires SwitchTransformOperator + * @exports RequestHandlingRSocket */ import type {Responder, Payload} from 'rsocket-types'; @@ -23,6 +32,8 @@ import {Flowable, Single} from 'rsocket-flowable'; import {getService} from 'rsocket-rpc-frames'; import SwitchTransformOperator from './SwitchTransformOperator'; +/** + */ export default class RequestHandlingRSocket implements Responder { _registeredServices: Map>; @@ -31,10 +42,21 @@ export default class RequestHandlingRSocket this._registeredServices = new Map(); } + /** + * + * @param {string} service - + * @param {Responder} handler - + */ addService(service: string, handler: Responder) { this._registeredServices.set(service, handler); } + /** + * + * @param {Payload} payload the - request payload + * @throws {Error} if there is no registered service associated with the service type reflected in the request payload metadata + * @throws {Error} if the request payload metadata is null + */ fireAndForget(payload: Payload): void { if (payload.metadata == null) { throw new Error('metadata is empty'); @@ -50,6 +72,14 @@ export default class RequestHandlingRSocket handler.fireAndForget(payload); } + /** + * + * @param {Payload} payload - the request payload + * @returns {Single>} a {@link Single} that emits the + * response payload, or that signals an error if there is no registered + * service associated with the service type reflected in the request payload + * metadata or if the request payload metadata is null + */ requestResponse( payload: Payload, ): Single> { @@ -71,6 +101,14 @@ export default class RequestHandlingRSocket } } + /** + * + * @param {Payload} payload the request payload + * @returns {Flowable} a Flowable that emits the response + * payloads, or that signals an error if there is no registered service + * associated with the service type reflected in the request payload + * metadata or if the request payload metadata is null + */ requestStream( payload: Payload, ): Flowable> { @@ -92,6 +130,14 @@ export default class RequestHandlingRSocket } } + /** + * + * @param {Flowable>} payloads - the request payloads + * @returns {Flowable>} a {@link Flowable} that emits + * the response payloads, or that signals an error if there is no registered + * service associated with the service type reflected in the request payload + * metadata or if the request payload metadata is null + */ requestChannel( payloads: Flowable>, ): Flowable> { @@ -115,6 +161,11 @@ export default class RequestHandlingRSocket ); } + /** + * @abstract + * @param {Payload} payload - + * @returns {Single} a Single that signals an error and terminates + */ metadataPush(payload: Payload): Single { return Single.error(new Error('metadataPush() is not implemented')); } diff --git a/rsocket-rpc-js/packages/core/src/RpcClient.js b/rsocket-rpc-js/packages/core/src/RpcClient.js index c91a527..98bd003 100644 --- a/rsocket-rpc-js/packages/core/src/RpcClient.js +++ b/rsocket-rpc-js/packages/core/src/RpcClient.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name RpcClient.js + * @fileoverview Defines the {@link RpcClient} class and {@link ClientConfig} object. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,10 +17,78 @@ * limitations under the License. * * @flow + * + * @requires NPM:rsocket-core + * @requires NPM:rsocket-flowable + * @requires NPM:rsocket-types + * @exports ClientConfig + * @exports RpcClient */ 'use strict'; +/** + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js + * @typedef {(string|Buffer|Uint8Array)} Encodable + */ +/** + * @example The methods of the Responder interface: + * fireAndForget(payload: Payload): void + * requestResponse(payload: Payload): Single> + * requestStream(payload: Payload): Flowable> + * requestChannel(payloads: Flowable>): Flowable> + * metadataPush(payload: Payload): Single + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js + * @typedef {interface} Responder + * @property {function} fireAndForget + * @property {function} requestResponse + * @property {function} requestStream + * @property {function} requestChannel + * @property {function} metadataPush + */ +/** + * A contract that provides different interaction models according to the + * ReactiveSocket protocol. This interface extends the {@link Responder} + * interface by adding the {@link ReactiveSocket#close} and + * {@link ReactiveSocket#connectionStatus} methods. + * @extends {Responder} + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js + * @see https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md + * @typedef {interface} ReactiveSocket + * @property {function} fireAndForget + * @property {function} requestResponse + * @property {function} requestStream + * @property {function} requestChannel + * @property {function} metadataPush + * @property {function} close + * @property {function} connectionStatus + */ +/** + * Represents a network connection with input/output used by a + * {@link ReactiveSocket} to send/receive data. + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js + * @typedef {interface} DuplexConnection + * @property {function} sendOne + * @property {function} send + * @property {function} receive + * @property {function} close + * @property {function} connect + * @property {function} connectionStatus + */ +/** + * A single unit of data exchanged between the peers of a + * {@link ReactiveSocket}. A object of this type consists of two members: + * {@link Payload#data} and {@link Payload#metadata}. + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-types/src/ReactiveSocketTypes.js + * @typedef {Object} Payload + * @property {Serializer} data + * @property {Serializer} metadata + */ import type { ConnectionStatus, DuplexConnection, @@ -27,8 +98,47 @@ import type { SetupFrame, Responder, } from 'rsocket-types'; +/** + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js + * @typedef {Object} Serializer + * @desc A Serializer transforms data between the application encoding used in + * Payloads and the Encodable type accepted by the transport client. + * @property {function} deserialize a function that takes an {@link Encodable} and returns the expected data or metadata object + * @property {function} serialize a funciton that takes a data or metadata object and returns a corresponding {@link Encodable} + */ +/** + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-core/src/RSocketSerialization.js + * @typedef {Object} PayloadSerializers + * @property {Serializer} data + * @property {Serializer} metadata + */ import type {PayloadSerializers} from 'rsocket-core/build/RSocketSerialization'; +/** + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Flowable.js + * @typedef {Object} Flowable + * @property {function} just + * @property {function} error + * @property {function} never + * @property {function} subscribe + * @property {function} lift + * @property {function} map + * @property {function} take + */ +/** + * @external + * @see https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-flowable/src/Single.js + * @typedef {Object} Single + * @property {function} of + * @property {function} error + * @property {function} subscribe + * @property {function} flatMap + * @property {function} map + * @property {function} then + */ import {Flowable, Single, every} from 'rsocket-flowable'; import invariant from 'fbjs/lib/invariant'; @@ -36,6 +146,19 @@ import {CONNECTION_STREAM_ID, FLAGS, FRAME_TYPES} from 'rsocket-core'; import {MAJOR_VERSION, MINOR_VERSION} from 'rsocket-core/build/RSocketVersion'; import {createClientMachine} from 'rsocket-core/build/RSocketMachine'; +/** + * @typedef {Object} Setup + * @property {number} keepAlive The number of milliseconds between keepalive messages you will send to the service + * @property {number} lifetime The number of milliseconds to wait after the last keepalive message from the service before you consider the connection timed out. + * @property {?Encodable} [metadata] Data you would like to send to the service at connection-time (this can be any arbitrary data the service expects, for example, authentication credentials). + */ +/** + * @typedef {Object} ClientConfig + * @property {PayloadSerializers} [serializers] A serializer transforms data between the application encoding used in payloads and the encodable type accepted by the transport client. You typically will not need to implement your own serializer and deserializer, but if you do, you should pass your implementations to the RPC Client when you construct it. + * @property {Setup} setup Configure the keepalive process and any metadata you would like to accompany the connection. + * @property {DuplexConnection} transport Indicate which variety of duplex transport you are using, for example WebSocket or TCP. There are {@link RSocketWebsocketClient} and {@link RSocketTcpClient} classes that implement the required {@link DuplexConnection} interface for this component. + * @property {Responder} [responder] An object that implements the five methods of the {@link Responder} interface, corresponding to the various RSocket interaction models. If the client doesn't intend to receive traffic, there is no need to add a responder. ({@link Responder} is a type alias for the RSocket API.) + */ export type ClientConfig = {| serializers?: PayloadSerializers, setup: {| @@ -47,19 +170,53 @@ export type ClientConfig = {| responder?: Responder, |}; +/** + * The primary class/entry point for the core package is the {@link RpcClient}. + * The client encapsulates the RSocket methods of fireAndForget, + * requestResponse, requestStream, and requestChannel and merges them with a + * bidirectional connection, allowing seamless use of RSocket for RPC. + */ export default class RpcClient { _config: ClientConfig; _connection: ?Single>; + /** + * @param {ClientConfig} config - + */ constructor(config: ClientConfig) { this._config = config; this._connection = null; } + /** + * Close the RPC Client connection. + */ close(): void { this._config.transport.close(); } + /** + * Returns a {@link Single}, which, when you subscribe to it, initiates the + * connection and emits a {@link ReactiveSocket} object that defines the + * connection. + * @example Here is an example instantiation of an RpcClient: + * const local = 'ws://localhost:8088/'; + * const keepAlive = 60000; // 60s in ms + * const lifetime = 360000; // 360s in ms + * const transport = new RSocketWebsocketClient({url:local}, BufferEncoders); + * const client = new RpcClient({setup:{keepAlive, lifetime}, transport}); + * client.connect().subscribe({ + * onComplete: rsocket => { + * console.info("Success! We have a handle to an RSocket connection"); + * }, + * onError: error => { + * console.error("Failed to connect to local RSocket server.", error); + * } + * }); + * + * @returns {Single>} + * @throws {Error} if the RpcClient is already connected + */ connect(): Single> { invariant( !this._connection, diff --git a/rsocket-rpc-js/packages/core/src/SwitchTransformOperator.js b/rsocket-rpc-js/packages/core/src/SwitchTransformOperator.js index e5a85c7..98ac3db 100644 --- a/rsocket-rpc-js/packages/core/src/SwitchTransformOperator.js +++ b/rsocket-rpc-js/packages/core/src/SwitchTransformOperator.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name SwitchTransformOperator.js + * @fileoverview Defines the SwitchTransformOperator class. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,9 @@ * limitations under the License. * * @flow + * + * @requires NPM:rsocket-types + * @requires NPM:rsocket-flowable */ import type { @@ -24,8 +30,17 @@ import type { } from 'rsocket-types'; import {Flowable} from 'rsocket-flowable'; +/** + * MAX_REQUEST_N (from SwitchTransformOperator.js). The maximum number of items + * that may be requested. + * + * @constant + * @type {number} + */ const MAX_REQUEST_N = 0x7fffffff; // uint31 +/** + */ export default class SwitchTransformOperator implements ISubscription, ISubscriber, IPublisher { _done: boolean; @@ -37,6 +52,10 @@ export default class SwitchTransformOperator _subscription: ISubscription; _transformer: (first: T, stream: Flowable) => IPublisher; + /** + * @param {ISubscriber} initial - + * @param {function} transformer - + */ constructor( initial: ISubscriber, transformer: (first: T, stream: Flowable) => IPublisher, @@ -45,6 +64,8 @@ export default class SwitchTransformOperator this._outer = initial; } + /** + */ cancel() { if (this._canceled) { return; @@ -55,6 +76,9 @@ export default class SwitchTransformOperator this._subscription.cancel(); } + /** + * @param {?IPartialSubscriber} actual - + */ subscribe(actual?: IPartialSubscriber) { if (actual && !this._inner) { this._inner = ((actual: any): ISubscriber); @@ -76,6 +100,9 @@ export default class SwitchTransformOperator } } + /** + * @param {ISubscription} subscription + */ onSubscribe(subscription: ISubscription) { if (this._subscription) { subscription.cancel(); @@ -86,6 +113,9 @@ export default class SwitchTransformOperator this._subscription.request(1); } + /** + * @param {T} value + */ onNext(value: T) { if (this._canceled || this._done) { return; @@ -108,6 +138,9 @@ export default class SwitchTransformOperator this._inner.onNext(value); } + /** + * @param {Error} error + */ onError(error: Error) { if (this._canceled || this._done) { return; @@ -130,6 +163,8 @@ export default class SwitchTransformOperator } } + /** + */ onComplete() { if (this._done || this._canceled) { return; @@ -151,6 +186,9 @@ export default class SwitchTransformOperator } } + /** + * @param {number} n + */ request(n: number) { if (this._first) { const f = this._first; @@ -175,6 +213,10 @@ export default class SwitchTransformOperator } } + /** + * @param {function} fn + * @returns {IPublisher} + */ map(fn: (data: T) => R): IPublisher { return new Flowable(subscriber => this.subscribe(subscriber)).map(fn); } diff --git a/rsocket-rpc-js/packages/core/src/index.js b/rsocket-rpc-js/packages/core/src/index.js index 95686c2..bab69fb 100644 --- a/rsocket-rpc-js/packages/core/src/index.js +++ b/rsocket-rpc-js/packages/core/src/index.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name rsocket-rpc-js/packages/core + * @fileoverview The public API of the `core` package. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,16 @@ * limitations under the License. * * @flow + * + * @requires RequestHandlingRSocket + * @requires RpcClient + * @requires QueuingFlowableProcessor + * @requires SwitchTransformOperator + * @exports ClientConfig + * @exports RequestHandlingRSocket + * @exports RpcClient + * @exports QueuingFlowableProcessor + * @exports SwitchTransformOperator */ 'use strict'; @@ -23,9 +36,6 @@ import RpcClient from './RpcClient'; import QueuingFlowableProcessor from './QueuingFlowableProcessor'; import SwitchTransformOperator from './SwitchTransformOperator'; -/** - * The public API of the `core` package. - */ export type {ClientConfig} from './RpcClient'; export { diff --git a/rsocket-rpc-js/packages/frames/src/Metadata.js b/rsocket-rpc-js/packages/frames/src/Metadata.js index 4f80ecc..5d5dfc8 100644 --- a/rsocket-rpc-js/packages/frames/src/Metadata.js +++ b/rsocket-rpc-js/packages/frames/src/Metadata.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name Metadata.js + * @fileoverview Provides methods for encoding and reading payload metadata. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,9 @@ * limitations under the License. * * @flow + * + * @requires NPM:rsocket-types + * @requires NPM:rsocket-core */ 'use strict'; @@ -22,11 +28,23 @@ import type {Encodable} from 'rsocket-types'; -import {UTF8Encoder, BufferEncoder, createBuffer} from 'rsocket-core'; - /** - * Version + * @external + * @typedef {Object} Encoder + * @property {function} byteLength given an {@link Encodable} returns its length in bytes as a number + * @property {function} encode + * @property {function} decode + */ +/** + * @external + * @typedef {Encoder} UTF8Encoder + */ +/** + * @external + * @typedef {Encoder} BufferEncoder */ +import {UTF8Encoder, BufferEncoder, createBuffer} from 'rsocket-core'; + export const VERSION = 1; export const VERSION_SIZE = 2; @@ -34,6 +52,20 @@ export const SERVICE_LENGTH_SIZE = 2; export const METHOD_LENGTH_SIZE = 2; export const TRACING_LENGTH_SIZE = 2; +/** + * @external + * @typedef {Object} Buffer + * @see https://nodejs.org/api/buffer.html + */ +/** + * Use this method to send well-formed call routing metadata with your payloads. + * + * @param {string} service - the service name + * @param {string} method - the method name + * @param {Encodable} tracing - tracing information + * @param {Encodable} metadata - arbitrary metadata + * @return {Buffer} the above fields encoded in a proper fashion + */ export function encodeMetadata( service: string, method: string, @@ -82,10 +114,22 @@ export function encodeMetadata( return buffer; } +/** + * Get the version number from the metadata. + * + * @param {Buffer} buffer the metadata buffer that contains the version number + * @return {number} the version number + */ export function getVersion(buffer: Buffer): number { return buffer.readUInt16BE(0); } +/** + * Get the service name from the metadata. + * + * @param {Buffer} buffer the metadata buffer that contains the service name + * @return {string} the service name + */ export function getService(buffer: Buffer): string { let offset = VERSION_SIZE; @@ -95,6 +139,12 @@ export function getService(buffer: Buffer): string { return UTF8Encoder.decode(buffer, offset, offset + serviceLength); } +/** + * Get the method name from the metadata. + * + * @param {Buffer} buffer the metadata buffer that contains the method name + * @return {string} the method name + */ export function getMethod(buffer: Buffer): string { let offset = VERSION_SIZE; @@ -107,6 +157,12 @@ export function getMethod(buffer: Buffer): string { return UTF8Encoder.decode(buffer, offset, offset + methodLength); } +/** + * Get the tracing information from the metadata. + * + * @param {Buffer} buffer the metadata buffer that contains tracing information + * @return {Buffer} the tracing information + */ export function getTracing(buffer: Buffer): Buffer { let offset = VERSION_SIZE; @@ -122,6 +178,12 @@ export function getTracing(buffer: Buffer): Buffer { return BufferEncoder.decode(buffer, offset, offset + tracingLength); } +/** + * Get the metadata field from the metadata. + * + * @param {Buffer} buffer the metadata buffer + * @return {Buffer} the metadata field + */ export function getMetadata(buffer: Buffer): Buffer { let offset = VERSION_SIZE; diff --git a/rsocket-rpc-js/packages/frames/src/__tests__/Metadata-test.js b/rsocket-rpc-js/packages/frames/src/__tests__/Metadata-test.js index 7225539..ad7aff4 100644 --- a/rsocket-rpc-js/packages/frames/src/__tests__/Metadata-test.js +++ b/rsocket-rpc-js/packages/frames/src/__tests__/Metadata-test.js @@ -1,3 +1,6 @@ +/** + * @name Metadata-test.js + */ import {expect} from 'chai'; import {describe, it} from 'mocha'; @@ -9,6 +12,12 @@ import { getMetadata, } from '../Metadata'; +/** + * @param {number} min - the fewest number of bytes in the array + * @param {number} max - the array must be smaller than this number in size + * @return {number[]} an array of between {@link min} and {@link max}−1 + * numbers, each of which is in the range [0,256) + */ function randomBytes(min, max) { let size = Math.floor(Math.random() * (max - min)) + min; return new Array(size).map(() => { @@ -16,10 +25,16 @@ function randomBytes(min, max) { }); } +/** + * @return {number} a pseudo-random number between [0,256) + */ function randomByte() { return Math.floor(Math.random() * 256); } +/** + * @test + */ describe('METADATA', () => { it('serializes/deserializes metadata NO TRACING', () => { const service = 'service'; diff --git a/rsocket-rpc-js/packages/frames/src/index.js b/rsocket-rpc-js/packages/frames/src/index.js index b4d3112..b2b06f6 100644 --- a/rsocket-rpc-js/packages/frames/src/index.js +++ b/rsocket-rpc-js/packages/frames/src/index.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name rsocket-rpc-js/packages/frames + * @fileoverview The public API for the "frames" package. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,14 @@ * limitations under the License. * * @flow + * + * @requires Metadata + * @exports encodeMetadata + * @exports getVersion + * @exports getService + * @exports getMethod + * @exports getMetadata + * @exports getTracing */ export { diff --git a/rsocket-rpc-js/packages/metrics/src/BaseMeter.js b/rsocket-rpc-js/packages/metrics/src/BaseMeter.js index 1a09f73..74d1945 100644 --- a/rsocket-rpc-js/packages/metrics/src/BaseMeter.js +++ b/rsocket-rpc-js/packages/metrics/src/BaseMeter.js @@ -1,5 +1,14 @@ /** + * @name BaseMeter.js + * @fileoverview Defines the "BaseMeter" class. + * * @flow + * + * @requires IMeter + * @requires metrics_pb + * @requires RawMeterTag + * @requires stats + * @exports BaseMeter */ 'use strict'; @@ -9,11 +18,20 @@ import {Meter} from './proto/metrics_pb'; import RawMeterTag from './RawMeterTag'; import {EWMA} from './stats'; -/* JavaScript uses double-precision FP for all numeric types. +/** + * @name MAX_COUNTER_VALUE + * @summary 4294967296 + * + * @desc JavaScript uses double-precision FP for all numeric types. * Perhaps someday we'll have native 64-bit integers that can safely be - * transported via JSON without additional code, but not today. */ + * transported via JSON without additional code, but not today. + * + * @constant + */ const MAX_COUNTER_VALUE = Math.pow(2, 32); // 4294967296 +/** + */ export default class BaseMeter implements IMeter { m1Rate: EWMA; m5Rate: EWMA; @@ -27,36 +45,60 @@ export default class BaseMeter implements IMeter { statistic: string; units: string; + /** + * @param {string} name - + * @param {?string} description - + * @param {?RawMeterTag[]} tags - + */ constructor(name: string, description?: string, tags?: RawMeterTag[]) { + /** @type {EWMA} */ this.m1Rate = EWMA.createM1EWMA(); + /** @type {EWMA} */ this.m5Rate = EWMA.createM5EWMA(); + /** @type {EWMA} */ this.m15Rate = EWMA.createM15EWMA(); + /** @type {number} */ this.count = 0; + /** @type {?RawMeterTag[]} */ this.tags = tags || []; + /** @type {number} */ this.startTime = new Date().getTime(); + /** @type {string} */ this.type = 'meter'; + /** @type {string} */ this.name = name; + /** @type {?string} */ this.description = description; + /** @type {string} */ this.statistic = 'unknown'; } + /** + * @param {function} converter - + * @return {Meter[]} + */ convert(converter: IMeter => Meter[]): Meter[] { return converter(this); } - // Mark the occurence of n events + /** + * Mark the occurence of n events + * + * @param {?number} [n=1] - the number of events to mark the occurence of + * @return {number} the number of events marked + */ mark(n: ?number): number { if (!n) { n = 1; } this.count += n; - //Check for wrap around + // Check for wrap around if (this.count > MAX_COUNTER_VALUE) { this.count -= MAX_COUNTER_VALUE + 1; } - //Check for negative count (e.g. from a decrement) + // Check for negative count (e.g. from a decrement) if (this.count < 0) { this.count = 0; } @@ -68,6 +110,15 @@ export default class BaseMeter implements IMeter { return n; } + /** + * Return an object containing the rate values. + * + * @return {Object} + * @property {number} '1' the one-minute rate + * @property {number} '5' the five-minute rate + * @property {number} '15' the fifteen-minute rate + * @property {number} mean the over-all mean per-second rate + */ rates() { return { '1': this.oneMinuteRate(), @@ -77,29 +128,52 @@ export default class BaseMeter implements IMeter { }; } - // Rates are per second + /** + * Return the fifteen-minute per-second rate. + * @return {number} the rate + */ fifteenMinuteRate() { return this.m15Rate.rate(); } + /** + * Return the five-minute per-second rate. + * @return {number} the rate + */ fiveMinuteRate() { return this.m5Rate.rate(); } + /** + * Return the one-minute per-second rate. + * @return {number} the rate + */ oneMinuteRate() { return this.m1Rate.rate(); } + /** + * Return the per-second rate over the complete lifetime of the meter. + * @return {number} the rate + */ meanRate() { return (this.count / (new Date().getTime() - this.startTime)) * 1000; } + /** + * Tick the one-, five-, and fifteen-minute rates. + */ tick() { this.m1Rate.tick(); this.m5Rate.tick(); this.m15Rate.tick(); } + /** @return {Object} + * @property {string} type + * @property {number} count + * @property {RawMeterTag[]} tags + * @property {string} name */ toObject() { return { type: this.type, diff --git a/rsocket-rpc-js/packages/metrics/src/Counter.js b/rsocket-rpc-js/packages/metrics/src/Counter.js index 5fe369a..77a3f8b 100644 --- a/rsocket-rpc-js/packages/metrics/src/Counter.js +++ b/rsocket-rpc-js/packages/metrics/src/Counter.js @@ -1,7 +1,12 @@ /** - * A simple counter object + * @name Counter.js + * @fileoverview A simple counter object. * - * @flow + * @flow + * + * @requires BaseMeter + * @requires RawMeterTag + * @exports Counter */ 'use strict'; @@ -9,7 +14,16 @@ import BaseMeter from './BaseMeter'; import RawMeterTag from './RawMeterTag'; +/** + * @extends {BaseMeter} + */ export default class Counter extends BaseMeter { + /** + * @param {string} name + * @param {?string} [description] + * @param {string} units + * @param {?RawMeterTag[]} [tags] - + */ constructor( name: string, description?: string, @@ -19,13 +33,24 @@ export default class Counter extends BaseMeter { super(name, description, tags); this.type = 'counter'; this.statistic = 'count'; + /** @type {string} **/ this.units = units; } + /** + * Increment the count by a certain number of items. + * + * @param {?number} [val] the number of items to increment + */ inc(val: ?number): void { this.mark(val); } + /** + * Decrement the count by a certain number of items. + * + * @param {?number} [val=1] the number of items to decrement + */ dec(val: ?number): void { if (!val) { val = 1; @@ -33,6 +58,9 @@ export default class Counter extends BaseMeter { this.mark(-1 * val); } + /** + * Reset the number of items in the count to zero. + */ clear(): void { this.count = 0; } diff --git a/rsocket-rpc-js/packages/metrics/src/Histogram.js b/rsocket-rpc-js/packages/metrics/src/Histogram.js index 4b6e702..9e3034a 100644 --- a/rsocket-rpc-js/packages/metrics/src/Histogram.js +++ b/rsocket-rpc-js/packages/metrics/src/Histogram.js @@ -1,5 +1,10 @@ /** + * @name Histogram.js + * @fileoverview Defines the Histogram class. + * * @flow + * + * @requires stats */ 'use strict'; @@ -11,6 +16,9 @@ import { Sample, } from './stats'; +/** + * The default set of percentiles to use in the Histogram. + */ export const DEFAULT_PERCENTILES = [ 0.001, 0.01, @@ -26,9 +34,9 @@ export const DEFAULT_PERCENTILES = [ 0.999, ]; -/* -* A histogram tracks the distribution of items, given a sample type -*/ +/** + * A histogram tracks the distribution of items, given a sample type. + */ export class Histogram { sample: ISample; min: ?number; @@ -39,19 +47,37 @@ export class Histogram { count: ?number; type: string; + /** + * @param {ISample} sample - + */ constructor(sample: ISample) { + /** @type {ISample} */ this.sample = sample || new ExponentiallyDecayingSample(1028, 0.015); + /** @type {?number} */ this.min = null; + /** @type {?number} */ this.max = null; + /** @type {?number} */ this.sum = null; // These are for the Welford algorithm for calculating running variance // without floating-point doom. + /** @type {?number} */ this.varianceM = null; + /** @type {?number} */ this.varianceS = null; + /** @type {?number} */ this.count = 0; + /** @type {string} */ this.type = 'histogram'; } + /** + * Create an exponentially decaying histogram. + * + * @param {number} [size=1028] + * @param {number} [alpha=0.015] + * @return {Histogram} + */ static createExponentialDecayHistogram( size: number, alpha: number, @@ -60,10 +86,20 @@ export class Histogram { new ExponentiallyDecayingSample(size || 1028, alpha || 0.015), ); } + + /** + * Create a uniformly-sampled histogram. + * + * @param {number} [size=1028] + * @return {Histogram} + */ static createUniformHistogram(size: number): Histogram { return new Histogram(new UniformSample(size || 1028)); } + /** + * Return the histogram to its default values. + */ clear = function(): void { this.sample.clear(); this.min = null; @@ -74,7 +110,13 @@ export class Histogram { this.count = 0; }; - // timestamp param primarily used for testing + /** + * timestamp param primarily used for testing + * + * @function + * @param {number} val + * @param {?number} [timestamp] + */ update = function(val: number, timestamp?: number): void { this.count++; this.sample.update(val, timestamp); @@ -92,6 +134,12 @@ export class Histogram { this.updateVariance(val); }; + /** + * Set the value of the Welford algorithm variance. + * + * @function + * @param {number} val + */ updateVariance = function(val: number): void { var oldVM = this.varianceM, oldVS = this.varianceS; @@ -103,7 +151,13 @@ export class Histogram { } }; - // Pass an array of percentiles, e.g. [0.5, 0.75, 0.9, 0.99] + /** + * Get the values for a set of percentiles. + * + * @function + * @param {?number[]} [percentiles] An array of percentiles, expressed as decimals between zero and one. For example, [0.5, 0.75, 0.9, 0.99]. Default is {@link DEFAULT_PERCENTILES}. + * @return {number[]} the values for each percentile level + */ percentiles = function(percentiles?: number[]): Object { if (!percentiles) { percentiles = DEFAULT_PERCENTILES; @@ -137,22 +191,64 @@ export class Histogram { return scores; }; + /** + * Return the average variance using the Welford algorithm. + * + * @function + * @return {?number} the average variance, or null if this is undefined because the count is zero. + * @throws {Error} a divide by zero error if this.count==1 + */ variance = function(): ?number { return this.count < 1 ? null : this.varianceS / (this.count - 1); }; + /** + * Return the sum of squares of differences from the current mean. + * + * @function + * @return {?number} the sum of squares of differences from the current mean, or null if this is undefined because the count is zero. + */ mean = function(): ?number { return this.count == 0 ? null : this.varianceM; }; + /** + * Return the standard deviation, the square root of the average variance. + * + * @function + * @return {?number} the standard deviation, or null if this is undefined because the count is zero. + */ stdDev = function(): ?number { return this.count < 1 ? null : Math.sqrt(this.variance()); }; + /** + * Return the set of values in the sample. + * + * @function + * @return {any[]} an array of the values in the sample + */ values = function(): any[] { return this.sample.getValues(); }; + /** + * @function + * @return {Object} + * @property {string} type "histogram" + * @property {number} min + * @property {number} max + * @property {number} sum + * @property {number} variance + * @property {number} mean + * @property {number} stdDev + * @property {number} count + * @property {number} median + * @property {number} p75 + * @property {number} p95 + * @property {number} p99 + * @property {number} p999 + */ toObject = function(): Object { var percentiles = this.percentiles(); return { diff --git a/rsocket-rpc-js/packages/metrics/src/IMeter.js b/rsocket-rpc-js/packages/metrics/src/IMeter.js index c85fd1e..7cdb5cb 100644 --- a/rsocket-rpc-js/packages/metrics/src/IMeter.js +++ b/rsocket-rpc-js/packages/metrics/src/IMeter.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name IMeter.js + * @fileoverview Defines the IMeter interface. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,10 @@ * limitations under the License. * * @flow + * + * @requires RawMeterTag + * @requires metrics_pb + * @exports IMeter */ 'use strict'; @@ -21,6 +28,8 @@ import RawMeterTag from './RawMeterTag'; import {Meter} from './proto/metrics_pb'; +/** + */ export interface IMeter { name: string; description: ?string; @@ -28,6 +37,17 @@ export interface IMeter { type: string; tags: RawMeterTag[]; units?: string; + + /** + * @abstract + * @returns {Object} + */ rates(): Object; + + /** + * @abstract + * @param {function} converter + * @returns {Meter[]} + */ convert(converter: (IMeter) => Meter[]): Meter[]; } diff --git a/rsocket-rpc-js/packages/metrics/src/IMeterRegistry.js b/rsocket-rpc-js/packages/metrics/src/IMeterRegistry.js index b7b28fd..3156ff9 100644 --- a/rsocket-rpc-js/packages/metrics/src/IMeterRegistry.js +++ b/rsocket-rpc-js/packages/metrics/src/IMeterRegistry.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name IMeterRegistry.js + * @fileoverview Defines the "IMeterRegistry" interface. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,14 +17,34 @@ * limitations under the License. * * @flow + * + * @requires IMeter + * @exports IMeterRegistry */ 'use strict'; import type {IMeter} from './IMeter'; +/** + * This represents any container class that can store handles to Meters and + * deliver them as a collection. + * @interface + */ export interface IMeterRegistry { + /** + * @function + * @param {IMeter} meter + */ registerMeter(meter: IMeter): void; + /** + * @function + * @param {IMeter[]} meters + */ registerMeters(meters: IMeter[]): void; + /** + * @function + * @returns {IMeter[]} + */ meters(): IMeter[]; } diff --git a/rsocket-rpc-js/packages/metrics/src/Metrics.js b/rsocket-rpc-js/packages/metrics/src/Metrics.js index d8590df..98745e9 100644 --- a/rsocket-rpc-js/packages/metrics/src/Metrics.js +++ b/rsocket-rpc-js/packages/metrics/src/Metrics.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name Metrics.js + * @fileoverview Defines the "Metrics" class + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,15 @@ * limitations under the License. * * @flow + * + * @requires Counter + * @requires Timer + * @requires IMeterRegistry + * @requires RawMeterTag + * @requires MetricsSingleSubscriber + * @requires MetricsSubscriber + * @requires NPM:rsocket-flowable + * @exports Metrics */ 'use strict'; @@ -26,15 +38,27 @@ import embedMetricsSingleSubscriber from './MetricsSingleSubscriber'; import MetricsSubscriber from './MetricsSubscriber'; import {Flowable, Single} from 'rsocket-flowable'; +/** + */ export default class Metrics { constructor() {} + /** + * @param {?IMeterRegistry} [registry] - + * @param {string} name - + * @param {Object[]} tags - + * @returns {function} a wrapping function through which you weave your RSocket calls + * @example + * const metricsWrapper = timed(myMeterRegistry, "my.function.name", {tag1: "tag"}, {anotherTag: "again"}); + * const responseStream = rsocket.requestStream(requestPayload); + * metricsWrapper(responseStream).subscribe(...); + */ static timed( registry?: IMeterRegistry, name: string, ...tags: Object[] ): (Flowable) => Flowable { - //Registry is optional - if not provided, return identity function + // Registry is optional - if not provided, return identity function if (!registry) { return any => any; } @@ -90,12 +114,22 @@ export default class Metrics { ); } + /** + * @param {?IMeterRegistry} [registry] - + * @param {string} name - + * @param {Object[]} tags - + * @returns {function} a wrapping function through which you weave your RSocket calls + * @example + * const metricsWrapper = timedSingle(myMeterRegistry, "my.function.name", {tag1: "tag"}, {anotherTag: "again"}); + * const responseStream = rsocket.requestStream(requestPayload); + * metricsWrapper(responseStream).subscribe(...); + */ static timedSingle( registry?: IMeterRegistry, name: string, ...tags: Object[] ): (Single) => Single { - //Registry is optional - if not provided, return identity function + // Registry is optional - if not provided, return identity function if (!registry) { return any => any; } diff --git a/rsocket-rpc-js/packages/metrics/src/MetricsExporter.js b/rsocket-rpc-js/packages/metrics/src/MetricsExporter.js index d531de9..ef28772 100644 --- a/rsocket-rpc-js/packages/metrics/src/MetricsExporter.js +++ b/rsocket-rpc-js/packages/metrics/src/MetricsExporter.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name MetricsExporter.js + * @fileoverview Defines the MetricsExporter class + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,16 @@ * limitations under the License. * * @flow + * + * @requires NPM:rsocket-types + * @requires NPM:rsocket-flowable + * @requires metrics_pb + * @requires metrics_rsocket_pb + * @requires RawMeterTag + * @requires Timer + * @requires IMeterRegistry + * @requires IMeter + * @exports MetricsExporter */ 'use strict'; @@ -36,6 +49,15 @@ import Timer from './Timer'; import {IMeterRegistry} from './IMeterRegistry'; import type {IMeter} from './IMeter'; +/** + * An RSocket native metrics source. + * @example + * const meters = new SimpleMeterRegistry(); + * const snapshotClient = new MetricsSnapshotHandlerClient(rsocket); + * metricsExporter = new MetricsExporter(snapshotClient, meters, 60, 1024); + * metricsExporter.start(); + * @todo use {@link MetricsExporter#batchSize} to window the snapshots + */ export default class MetricsExporter { handler: MetricsSnapshotHandlerClient; registry: IMeterRegistry; @@ -45,20 +67,37 @@ export default class MetricsExporter { remoteSubscriber: ?ISubscriber; remoteCancel: () => void; + /** + * @param {MetricsSnapshotHandlerClient} handler - + * @param {IMeterRegistry} registry - + * @param {number} exportPeriodSeconds - + * @param {number} batchSize - metrics count + */ constructor( handler: MetricsSnapshotHandlerClient, registry: IMeterRegistry, exportPeriodSeconds: number, batchSize: number, ) { + /** @type {MetricsSnapshotHandlerClient} */ this.handler = handler; + /** @type {IMeterRegistry} */ this.registry = registry; + /** @type {number} */ this.exportPeriodSeconds = exportPeriodSeconds; + /** @type {number} */ this.batchSize = batchSize; // TODO: use this to window the snapshots } + /** + * Open the channel and begin to send metrics. + * This is not re-entrant since we rely on the periodic event of the + * interval timer. + * + * @throws {Error} if a metrics snapshot stream is already subscribed + */ start() { - //Not re-entrant since we rely on the periodic event of the interval timer + // Not re-entrant since we rely on the periodic event of the interval timer if (this.intervalHandle) { throw new Error('A metrics snapshot stream is already subscribed'); } @@ -73,12 +112,16 @@ export default class MetricsExporter { restart(this); }, onSubscribe: subscription => { + /** @type {function} */ this.remoteCancel = subscription.cancel; subscription.request(2147483647); // FaceBook thing - their Flowable only allows this }, }); } + /** + * Stop sending metrics + */ stop() { if (this.remoteCancel) { this.remoteCancel(); @@ -86,21 +129,32 @@ export default class MetricsExporter { if (this.remoteSubscriber) { this.remoteSubscriber.onComplete(); + /** @type {ISubscriber} */ this.remoteSubscriber = null; } if (this.intervalHandle) { clearInterval(this.intervalHandle); + /** @type {any} */ this.intervalHandle = null; } } } +/** + * Stops and then restarts the given {@link MetricsExporter}. + * + * @param {MetricsExporter} exporter + */ function restart(exporter: MetricsExporter) { exporter.stop(); exporter.start(); } +/** + * @param {MetricsExporter} exporter + * @return {Flowable} Subscribe to this Flowable to get periodic metrics updates. + */ function getMetricsSnapshotStream( exporter: MetricsExporter, ): Flowable { @@ -150,6 +204,11 @@ function getMetricsSnapshotStream( }); } +/** + * @param {IMeter} meter + * @return {Meter[]} + * @throws {Error} if {@link meter} is of an unknown {@link IMeter.type}. + */ function convert(meter: IMeter): Meter[] { const meterType = meterTypeLookup(meter.type); switch (meterType) { @@ -166,6 +225,13 @@ function convert(meter: IMeter): Meter[] { } } +/** + * Return a {@link MeterType} enum corresponding to the name of a meter type. + * + * @param {string} meterType - one of "gauge", "timer", "counter", "longTaskTimer", "distribtionSummary", or "other" + * @return a {@link MeterType} enum corresponding to the {@link meterType} string + * @throws {Error} if a string not among the above values is submitted as the {@link meterType} parameter + */ function meterTypeLookup(meterType: string): MeterType { switch (meterType) { case 'gauge': @@ -185,6 +251,13 @@ function meterTypeLookup(meterType: string): MeterType { } } +/** + * Return a {@link MeterStatistic} enum corresponding to the name of a meter statistic. + * + * @param {string} statistic - one of "max", "count", "total", "value", "unknown", "duration", "totalTime", or "activeTasks" + * @return a {@link MeterStatistic} enum corresponding to the {@link statistic} string + * @throws {Error} if a string not among the above values is submitted as the {@link statistic} parameter + */ function statisticTypeLookup(statistic: string): MeterStatistic { switch (statistic) { case 'max': @@ -208,6 +281,11 @@ function statisticTypeLookup(statistic: string): MeterStatistic { } } +/** + * @param {IMeter} imeter + * @return {Meter[]} + * @throws {Error} if {@link imeter} is not a {@link Timer} + */ function convertTimer(imeter: IMeter): Meter[] { if (!(imeter instanceof Timer)) { throw new Error('Meter is not an instance of Timer'); @@ -218,7 +296,7 @@ function convertTimer(imeter: IMeter): Meter[] { const name = timer.name; const tags = convertTags(timer.tags); - //Add meters for percentiles of interest + // Add meters for percentiles of interest const valuesSnapshot = timer.percentiles(); Object.keys(valuesSnapshot).forEach(percentile => { const value = toNanoseconds(valuesSnapshot[percentile]); @@ -250,7 +328,7 @@ function convertTimer(imeter: IMeter): Meter[] { } }); - //add a meter for total count and max time + // add a meter for total count and max time const histMeter = new Meter(); const meterId = new MeterId(); @@ -277,12 +355,16 @@ function convertTimer(imeter: IMeter): Meter[] { return meters; } +/** + * @param {IMeter} imeter + * @return {Meter[]} + */ function basicConverter(imeter: IMeter): Meter[] { const meters = []; const name = imeter.name; const tags = convertTags(imeter.tags); - //Add meters for different windowed EWMAs + // Add meters for different windowed EWMAs const valuesSnapshot = imeter.rates(); Object.keys(valuesSnapshot).forEach(rate => { const meter = new Meter(); @@ -314,6 +396,10 @@ function basicConverter(imeter: IMeter): Meter[] { return meters; } +/** + * @param {RawMeterTag[]} tags + * @return {MeterTag[]} + */ function convertTags(tags: RawMeterTag[]): MeterTag[] { return (tags || []).map(tag => { const finalTag = new MeterTag(); @@ -323,11 +409,23 @@ function convertTags(tags: RawMeterTag[]): MeterTag[] { }); } -//Not safe for timestamps, just time measurements +/** + * Convert milliseconds to nanoseconds. + * Note: this is not safe for timestamps, just time measurements. + * + * @param {number} milliseconds - a number of milliseconds to convert + * @return {number} the value of {@link milliseconds} converted to nanoseconds + */ function toNanoseconds(milliseconds: number) { return milliseconds * 1000 * 1000; } +/** + * Not currently functional. + * + * @todo Do something with this? + * @param {Skew} skew + */ function recordClockSkew(skew: Skew): void { // TODO: do something with this? return; diff --git a/rsocket-rpc-js/packages/metrics/src/MetricsSingleSubscriber.js b/rsocket-rpc-js/packages/metrics/src/MetricsSingleSubscriber.js index 005bbad..65d2165 100644 --- a/rsocket-rpc-js/packages/metrics/src/MetricsSingleSubscriber.js +++ b/rsocket-rpc-js/packages/metrics/src/MetricsSingleSubscriber.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name MetricsSingleSubscriber.js + * @fileoverview Defines the MetricsSingleSubscriber class. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,10 @@ * limitations under the License. * * @flow + * @requires Counter + * @requires Timer + * @requires NPM:rsocket-flowable + * @exports embedMetricsSingleSubscriber */ 'use strict'; @@ -23,6 +30,15 @@ import Timer from './Timer'; import {Single} from 'rsocket-flowable'; import type {IFutureSubscriber} from 'rsocket-flowable/build/Single'; +/** + * @param {Single} single - + * @param {Counter} next - + * @param {Counter} complete - + * @param {Counter} error - + * @param {Counter} cancelled - + * @param {Timer} timer - + * @return {Single} + */ export default function embedMetricsSingleSubscriber( single: Single, next: Counter, @@ -44,6 +60,8 @@ export default function embedMetricsSingleSubscriber( }); } +/** + */ class MetricsSingleSubscriber implements IFutureSubscriber { _source: IFutureSubscriber; _next: Counter; @@ -55,6 +73,14 @@ class MetricsSingleSubscriber implements IFutureSubscriber { _cancel: () => void; _start: number; + /** + * @param {IFutureSubscriber} actual - + * @param {Counter} next - + * @param {Counter} complete - + * @param {Counter} error - + * @param {Counter} cancelled - + * @param {Timer} timer - + */ constructor( actual: IFutureSubscriber, next: Counter, @@ -71,6 +97,10 @@ class MetricsSingleSubscriber implements IFutureSubscriber { this._timer = timer; } + /** + * @param {function} cancel + * @return {void} + */ onSubscribe(cancel: () => void): void { this._cancel = cancel; this._start = new Date().getTime(); @@ -78,6 +108,10 @@ class MetricsSingleSubscriber implements IFutureSubscriber { this._source.onSubscribe(() => this.cancel()); } + /** + * @param {Error} t + * @return {void} + */ onError(t: Error): void { this._error.inc(); this._timer.update(new Date().getTime() - this._start); @@ -85,6 +119,10 @@ class MetricsSingleSubscriber implements IFutureSubscriber { this._source.onError(t); } + /** + * @param {T} t + * @return {void} + */ onComplete(t: T): void { this._next.inc(); this._complete.inc(); @@ -92,6 +130,9 @@ class MetricsSingleSubscriber implements IFutureSubscriber { this._source.onComplete(t); } + /** + * @return {void} + */ cancel(): void { this._cancelled.inc(); this._timer.update(new Date().getTime() - this._start); diff --git a/rsocket-rpc-js/packages/metrics/src/MetricsSubscriber.js b/rsocket-rpc-js/packages/metrics/src/MetricsSubscriber.js index 49c0001..a7b2f59 100644 --- a/rsocket-rpc-js/packages/metrics/src/MetricsSubscriber.js +++ b/rsocket-rpc-js/packages/metrics/src/MetricsSubscriber.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name MetricsSubscriber.js + * @fileoverview Defines the "MetricsSubscriber" class. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,10 @@ * limitations under the License. * * @flow + * @requires NPM:rsocket-types + * @requires Counter + * @requires Timer + * @exports MetricsSubscriber */ 'use strict'; @@ -22,6 +29,8 @@ import {ISubscription, ISubscriber} from 'rsocket-types'; import Counter from './Counter'; import Timer from './Timer'; +/** + */ export default class MetricsSubscriber implements ISubscription, ISubscriber { _source: ISubscriber; @@ -34,6 +43,14 @@ export default class MetricsSubscriber _subscription: ISubscription; _start: number; + /** + * @param {ISubscriber} actual - + * @param {Counter} next - + * @param {Counter} complete - + * @param {Counter} error - + * @param {Counter} cancelled - + * @param {Timer} timer - + */ constructor( actual: ISubscriber, next: Counter, @@ -42,26 +59,42 @@ export default class MetricsSubscriber cancelled: Counter, timer: Timer, ) { + /** @type {ISubscriber} */ this._source = actual; + /** @type {Counter} */ this._next = next; + /** @type {Counter} */ this._complete = complete; + /** @type {Counter} */ this._error = error; + /** @type {Counter} */ this._cancelled = cancelled; + /** @type {Timer} */ this._timer = timer; } + /** + * @param {ISubscription} s - + */ onSubscribe(s: ISubscription) { + /** @type {ISubscription} */ this._subscription = s; + /** @type {number} */ this._start = new Date().getTime(); this._source.onSubscribe(this); } + /** + */ onNext(t: T) { this._next.inc(); this._source.onNext(t); } + /** + * @param {Error} t - + */ onError(t: Error) { this._error.inc(); this._timer.update(new Date().getTime() - this._start); @@ -69,16 +102,23 @@ export default class MetricsSubscriber this._source.onError(t); } + /** + */ onComplete() { this._complete.inc(); this._timer.update(new Date().getTime() - this._start); this._source.onComplete(); } + /** + * @param {number} n - + */ request(n: number) { this._subscription && this._subscription.request(n); } + /** + */ cancel() { this._cancelled.inc(); this._timer.update(new Date().getTime() - this._start); diff --git a/rsocket-rpc-js/packages/metrics/src/RawMeterTag.js b/rsocket-rpc-js/packages/metrics/src/RawMeterTag.js index 30bf074..0b835fb 100644 --- a/rsocket-rpc-js/packages/metrics/src/RawMeterTag.js +++ b/rsocket-rpc-js/packages/metrics/src/RawMeterTag.js @@ -1,17 +1,28 @@ /** - * A simple counter object + * @name RawMeterTag.js + * @fileoverview A simple counter object. * - * @flow + * @flow + * + * @exports RawMeterTag */ 'use strict'; +/** + */ export default class RawMeterTag { key: string; value: string; + /** + * @param {string} key - + * @param {string} value - + */ constructor(key: string, value: string) { + /** @type {string} */ this.key = key; + /** @type {string} */ this.value = value; } } diff --git a/rsocket-rpc-js/packages/metrics/src/SimpleMeterRegistry.js b/rsocket-rpc-js/packages/metrics/src/SimpleMeterRegistry.js index 26176a3..5ec3795 100644 --- a/rsocket-rpc-js/packages/metrics/src/SimpleMeterRegistry.js +++ b/rsocket-rpc-js/packages/metrics/src/SimpleMeterRegistry.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name SimpleMeterRegistry.js + * @fileoverview Defines the "SimpleMeterRegistry" class. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,10 @@ * limitations under the License. * * @flow + * + * @requires IMeter + * @requires IMeterRegistry + * @exports SimpleMeterRegistry */ 'use strict'; @@ -21,13 +28,20 @@ import type {IMeter} from './IMeter'; import {IMeterRegistry} from './IMeterRegistry'; +/** + * The default implementation of {@link IMeterRegistry}. + */ export default class SimpleMeterRegistry implements IMeterRegistry { meterMap: Object; constructor() { + /** @type {Object} */ this.meterMap = {}; } + /** + * @param {IMeter} meter + */ registerMeter(meter: IMeter): void { const id = { name: meter.name, @@ -42,10 +56,16 @@ export default class SimpleMeterRegistry implements IMeterRegistry { this.meterMap[id].push(meter); } + /** + * @param {IMeter[]} meters + */ registerMeters(meters: IMeter[]): void { (meters || []).forEach(meter => this.registerMeter(meter)); } + /** + * @return {IMeter[]} + */ meters(): IMeter[] { return Array.prototype.concat.apply( [], diff --git a/rsocket-rpc-js/packages/metrics/src/Timer.js b/rsocket-rpc-js/packages/metrics/src/Timer.js index 4983d92..8d0b0d6 100644 --- a/rsocket-rpc-js/packages/metrics/src/Timer.js +++ b/rsocket-rpc-js/packages/metrics/src/Timer.js @@ -1,5 +1,14 @@ /** + * @name Timer.js + * @fileoverview Defines the "Timer" class. + * * @flow + * + * @requires BaseMeter + * @requires RawMeterTag + * @requires Histogram + * @requires stats + * @exports Timer */ 'use strict'; @@ -9,14 +18,21 @@ import RawMeterTag from './RawMeterTag'; import {Histogram} from './Histogram'; import {ExponentiallyDecayingSample} from './stats'; -/* -* Basically a timer tracks the rate of events and histograms the durations -*/ +/** + * Basically a timer that tracks the rate of events and histograms the durations. + * @extends {BaseMeter} + */ export default class Timer extends BaseMeter { histogram: Histogram; + /** + * @param {string} name - + * @param {?string} [description] - (optional) + * @param {?RawMeterTag[]} [tags] - (optional) + */ constructor(name: string, description?: string, tags?: RawMeterTag[]) { super(name, description, tags); + /** @type {Histogram} */ this.histogram = new Histogram( new ExponentiallyDecayingSample(1028, 0.015), ); @@ -25,37 +41,64 @@ export default class Timer extends BaseMeter { this.statistic = 'duration'; } + /** + */ update(duration: number): void { this.histogram.update(duration); this.mark(); } // delegate these to histogram + /** delegated to {@link Histogram#clear} + * @return {void} */ clear(): void { return this.histogram.clear(); } + /** delegated to {@link Histogram#totalCount} + * @return {?number} */ totalCount(): ?number { return this.histogram.count; } + /** delegated to {@link Histogram#min} + * @return {?number} */ min(): ?number { return this.histogram.min; } + /** delegated to {@link Histogram#max} + * @return {?number} */ max(): ?number { return this.histogram.max; } + /** delegated to {@link Histogram#mean} + * @return {?number} */ mean(): ?number { return this.histogram.mean(); } + /** delegated to {@link Histogram#stdDev} + * @return {?number} */ stdDev(): ?number { return this.histogram.stdDev(); } + /** delegated to {@link Histogram#percentiles} + * @param {?number[]} percentiles + * @return {number[]} */ percentiles(percentiles?: number[]): Object { return this.histogram.percentiles(percentiles); } + /** delegated to {@link Histogram#values} + * @returnn {any[]} */ values() { return this.histogram.values(); } + /** + * @returns {Object} + * @property {string} type + * @property {Object} duration + * @property {number} count + * @property {RawMeterTag[]} tags + * @property {string} name + */ toObject() { return { type: this.type, diff --git a/rsocket-rpc-js/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js b/rsocket-rpc-js/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js index 3805dfd..6f040f5 100644 --- a/rsocket-rpc-js/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js +++ b/rsocket-rpc-js/packages/metrics/src/__tests__/exponentially_weighted_moving_average-test.js @@ -2,6 +2,9 @@ var ExponentiallyWeightedMovingAverage = require('../stats/ExponentiallyWeighted .default; var exponentially_weighted_moving_average = new ExponentiallyWeightedMovingAverage.createM1EWMA(); +/** + * @test {ExponentiallyWeightedMovingAverage} + */ var test = function(callback) { console.log('\nTesting ExponentiallyWeightedMovingAverage\n'); console.log('Sending updates every 100 milliseconds for 30 seconds.'); diff --git a/rsocket-rpc-js/packages/metrics/src/__tests__/histogram-test.js b/rsocket-rpc-js/packages/metrics/src/__tests__/histogram-test.js index e3066d7..9c8e55d 100644 --- a/rsocket-rpc-js/packages/metrics/src/__tests__/histogram-test.js +++ b/rsocket-rpc-js/packages/metrics/src/__tests__/histogram-test.js @@ -3,6 +3,9 @@ var expect = require('chai').expect, it = require('mocha').it, Histogram = require('../Histogram').Histogram; +/** + * @test {Histogram} + */ describe('Histogram', function() { it('should properly record percentiles from uniform distribution.', function() { var unifHist = Histogram.createUniformHistogram(5000); diff --git a/rsocket-rpc-js/packages/metrics/src/__tests__/meter-test.js b/rsocket-rpc-js/packages/metrics/src/__tests__/meter-test.js index ce95b2a..8499bf6 100644 --- a/rsocket-rpc-js/packages/metrics/src/__tests__/meter-test.js +++ b/rsocket-rpc-js/packages/metrics/src/__tests__/meter-test.js @@ -3,6 +3,9 @@ var expect = require('chai').expect, it = require('mocha').it, Meter = require('../BaseMeter').default; +/** + * @test {Meter} + */ describe('Meter', function() { this.timeout(10000); it('should properly record rate and count.', function(done) { diff --git a/rsocket-rpc-js/packages/metrics/src/__tests__/timer-test.js b/rsocket-rpc-js/packages/metrics/src/__tests__/timer-test.js index 631309b..06f7f76 100644 --- a/rsocket-rpc-js/packages/metrics/src/__tests__/timer-test.js +++ b/rsocket-rpc-js/packages/metrics/src/__tests__/timer-test.js @@ -3,6 +3,9 @@ var expect = require('chai').expect, it = require('mocha').it, Timer = require('../Timer').default; +/** + * @test {Timer} + */ describe('Timer', function() { it('should properly record durations.', function(done) { var timer = new Timer(); diff --git a/rsocket-rpc-js/packages/metrics/src/__tests__/uniform_sample-test.js b/rsocket-rpc-js/packages/metrics/src/__tests__/uniform_sample-test.js index 14eb478..790b160 100644 --- a/rsocket-rpc-js/packages/metrics/src/__tests__/uniform_sample-test.js +++ b/rsocket-rpc-js/packages/metrics/src/__tests__/uniform_sample-test.js @@ -4,6 +4,9 @@ var expect = require('chai').expect, it = require('mocha').it, UniformSample = require('../stats/UniformSample').default; +/** + * @test {UniformSample} + */ describe('UniformSample', function() { it('average of sampled values should fall within acceptable range of actual mean.', function() { debug('Creating a new UniformSample with a limit of 600.'); diff --git a/rsocket-rpc-js/packages/metrics/src/index.js b/rsocket-rpc-js/packages/metrics/src/index.js index d611000..e5f239d 100644 --- a/rsocket-rpc-js/packages/metrics/src/index.js +++ b/rsocket-rpc-js/packages/metrics/src/index.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name rsocket-rpc-js/packages/metrics + * @fileoverview The set of exports for the "Metrics" package. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,20 @@ * limitations under the License. * * @flow + * + * @requires metrics_pb + * @requires metrics_rsocket_pb + * @requires stats + * @requires BaseMeter + * @requires Histogram + * @requires Timer + * @requires Counter + * @requires IMeter + * @requires IMeterRegistry + * @requires SimpleMeterRegistry + * @requires MetricsExporter + * @requires Metrics + * @requires RawMeterTag */ 'use strict'; diff --git a/rsocket-rpc-js/packages/metrics/src/proto/metrics_pb.js b/rsocket-rpc-js/packages/metrics/src/proto/metrics_pb.js index 38ac05d..e9276dd 100644 --- a/rsocket-rpc-js/packages/metrics/src/proto/metrics_pb.js +++ b/rsocket-rpc-js/packages/metrics/src/proto/metrics_pb.js @@ -1,5 +1,6 @@ /** - * @fileoverview + * @name metrics_pb.js + * @fileoverview The generated proto.io.rsocket.rpc.metrics code. * @enhanceable * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. diff --git a/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyDecayingSample.js b/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyDecayingSample.js index b695144..1f364db 100644 --- a/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyDecayingSample.js +++ b/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyDecayingSample.js @@ -1,5 +1,12 @@ /** + * @name ExponentiallyDecayingSample.js + * @fileoverview Defines the "ExponentiallyDecayingSample" class. + * * @flow + * + * @requires Sample + * @requires binary_heap + * @exports ExponentiallyDecayingSample */ 'use strict'; @@ -8,11 +15,15 @@ import Sample from './Sample'; import BinaryHeap from './lib/binary_heap'; import type PrioritizedItem from './lib/binary_heap'; -/* - * Take an exponentially decaying sample of size size of all values +/** + * Take an exponentially decaying sample of size size of all values. + * This value represents one hour in milliseconds. + * @constant */ const RESCALE_THRESHOLD = 60 * 60 * 1000; // 1 hour in milliseconds +/** + */ export default class ExponentiallyDecayingSample extends Sample { count: number; limit: number; @@ -21,15 +32,25 @@ export default class ExponentiallyDecayingSample extends Sample { nextScaleTime: number; values: BinaryHeap; + /** + * @param {number} size - + * @param {number} alpha - + */ constructor(size: number, alpha: number) { super(); + /** @type {number} */ this.count = 0; + /** @type {number} */ this.limit = size; + /** @type {number} */ this.alpha = alpha; this.clear(); } - // This is a relatively expensive operation + /** + * This is a relatively expensive operation. + * @return {T[]} + */ getValues(): T[] { var values = ([]: T[]), elt, @@ -40,32 +61,51 @@ export default class ExponentiallyDecayingSample extends Sample { return values; } + /** + * @return {number} + */ size(): number { return this.values.size(); } + /** + * @return {BinaryHeap} + */ newHeap(): BinaryHeap { return new BinaryHeap(obj => obj.priority); } + /** + * @return {number} + */ now(): number { return new Date().getTime(); } + /** + * @return {number} + */ tick(): number { return this.now() / 1000; } + /** + * @return {void} + */ clear(): void { + /** @type {BinaryHeap} values */ this.values = this.newHeap(); this.count = 0; + /** @type {number} */ this.startTime = this.tick(); + /** @type {number} */ this.nextScaleTime = this.now() + RESCALE_THRESHOLD; } - /* - * timestamp in milliseconds - */ + /** + * @param {T} val - + * @param {?number} timestamp - (in milliseconds) + */ update(val: T, timestamp?: number): void { // Convert timestamp to seconds if (timestamp == undefined) { @@ -91,11 +131,18 @@ export default class ExponentiallyDecayingSample extends Sample { } } + /** + * @param {number} time + * @return {number} + */ weight(time: number): number { return Math.exp(this.alpha * time); } - // now: parameter primarily used for testing rescales + /** + * @param {number} now - parameter primarily used for testing rescales + * @return {void} + */ rescale(now: number): void { this.nextScaleTime = this.now() + RESCALE_THRESHOLD; var oldContent = this.values.content, diff --git a/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js b/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js index 22dd4f0..a859020 100644 --- a/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js +++ b/rsocket-rpc-js/packages/metrics/src/stats/ExponentiallyWeightedMovingAverage.js @@ -1,19 +1,28 @@ /** + * @name ExponentiallyWeightedMovingAverage.js + * @fileoverview Exponentially weighted moving average. * - * Exponentially weighted moving average. - * Args: - * - alpha: - * - interval: time in milliseconds - * - * @flow + * @flow + * @exports EWMA */ 'use strict'; +/** + * @constant + */ const M1_ALPHA = 1 - Math.exp(-5 / 60); +/** + * @constant + */ const M5_ALPHA = 1 - Math.exp(-5 / 60 / 5); +/** + * @constant + */ const M15_ALPHA = 1 - Math.exp(-5 / 60 / 15); +/** + */ export default class EWMA { alpha: number; interval: number; @@ -22,13 +31,23 @@ export default class EWMA { uncounted: number; tickInterval: any; + /** + * @param {number} alpha - + * @param {number} interval - time in milliseconds + */ constructor(alpha: number, interval: number) { + /** @type {number} */ this.alpha = alpha; + /** @type {number} */ this.interval = interval || 5000; + /** @type {boolean} */ this.initialized = false; + /** @type {number} */ this.currentRate = 0.0; + /** @type {number} */ this.uncounted = 0; if (interval) { + /** @type {any} */ this.tickInterval = setInterval(() => { this.tick(); }, interval); @@ -42,22 +61,36 @@ export default class EWMA { } } + /** + * @returns {EWMA} + */ static createM1EWMA(): EWMA { return new EWMA(M1_ALPHA, 5000); } + /** + * @returns {EWMA} + */ static createM5EWMA(): EWMA { return new EWMA(M5_ALPHA, 5000); } + /** + * @returns {EWMA} + */ static createM15EWMA(): EWMA { return new EWMA(M15_ALPHA, 5000); } + /** + * @param {number} n - + * @returns {void} + */ update(n: number): void { this.uncounted += n || 1; } - /* - * Update our rate measurements every interval + /** + * Update our rate measurements every interval. + * @returns {void} */ tick(): void { var instantRate = this.uncounted / this.interval; @@ -71,13 +104,17 @@ export default class EWMA { } } - /* - * Return the rate per second + /** + * Return the rate per second. + * @returns {number} */ rate(): number { return this.currentRate * 1000; } + /** + * @returns {void} + */ stop(): void { clearInterval(this.tickInterval); } diff --git a/rsocket-rpc-js/packages/metrics/src/stats/ISample.js b/rsocket-rpc-js/packages/metrics/src/stats/ISample.js index a88da71..3a541cf 100644 --- a/rsocket-rpc-js/packages/metrics/src/stats/ISample.js +++ b/rsocket-rpc-js/packages/metrics/src/stats/ISample.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name ISample.js + * @fileoverview The "ISample" interface. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,15 +17,39 @@ * limitations under the License. * * @flow + * @exports ISample */ 'use strict'; +/** + */ export interface ISample { + /** + * Initialize the sample. + */ init(): void; + /** + * Add a value (and optionally its timestamp) to the sample. + * @param {T} val the value to sample + * @param {?number} [timestamp] the timestamp at which this value was generated or sampled + */ update(val: T, timestamp?: number): void; + /** + * Clear the items from the sample and reset its size to zero. + */ clear(): void; + /** + * Get the number of items in the sample. + * @returns {number} the number of items inthe sample + */ size(): number; + /** + * Get the items in the sample as an array. + * @returns {T[]} the items in the sample + */ getValues(): T[]; + /** + */ print(): void; } diff --git a/rsocket-rpc-js/packages/metrics/src/stats/Sample.js b/rsocket-rpc-js/packages/metrics/src/stats/Sample.js index 17acff0..0bf2293 100644 --- a/rsocket-rpc-js/packages/metrics/src/stats/Sample.js +++ b/rsocket-rpc-js/packages/metrics/src/stats/Sample.js @@ -1,36 +1,68 @@ /** + * @name Sample.js + * @fileoverview Defines the "Sample" class. + * * @flow + * + * @requires ISample + * @exports Sample */ 'use strict'; import {ISample} from './ISample'; +/** + */ export default class Sample implements ISample { values: T[]; count: number; constructor() { + /** @type {T[]} */ this.values = []; + /** @type {number} */ this.count = 0; } + /** + * Initialize the sample, setting its count to zero and clearing out any previously-stored values. + */ init(): void { this.clear(); } + /** + * Add a value to the sample. Note: {@link timestamp} is currently unused. + * @param {T} val - the value to add + * @param {?number} [timestamp] - the time when the value was sampled + */ update(val: T, timestamp?: number): void { this.values.push(val); } + /** + * Reset the sample by removing all of its items and setting its count to zero. + */ clear(): void { this.values = []; this.count = 0; } + /** + * Get the number of items in the sample. + * @return {number} the number of values in the sample. + */ size(): number { return this.values.length; } + /** + * Get the items in the sample as an array. + * @return {Array} the set of values in the sample. + */ getValues(): T[] { return this.values; } + /** + * Output the values of this sample to the console. + */ print(): void { console.log(this.values); } diff --git a/rsocket-rpc-js/packages/metrics/src/stats/UniformSample.js b/rsocket-rpc-js/packages/metrics/src/stats/UniformSample.js index 385b7e3..9180e6e 100644 --- a/rsocket-rpc-js/packages/metrics/src/stats/UniformSample.js +++ b/rsocket-rpc-js/packages/metrics/src/stats/UniformSample.js @@ -1,29 +1,49 @@ /** + * @name UniformSample.js + * @fileoverview Defines the "UniformSample" class. + * * @flow + * + * @requires Sample + * @exports UniformSample */ 'use strict'; import Sample from './Sample'; -/* - * Take a uniform sample of size size for all values +/** + * Take a uniform sample of size "size" for all values. + * @extends {Sample} */ export default class UniformSample extends Sample { limit: number; count: number; + /** + * @param {number} size - the maximum number of items in this sample + */ constructor(size: number) { super(); + /** @type {number} */ this.limit = size; + /** @type {number} */ this.count = 0; this.init(); } + /** + * Add {@link val} to the set of values that make up the sample. Note, if + * the sample size is already equal to the maximum sample size, the new value + * may replace a randomly-chosen existing sample value. + * + * @param {T} val - the value to add to those sampled + * @param {?number} timestamp - the time when {@link val} was sampled (currently unused) + */ update(val: T, timestamp?: number): void { this.count++; if (this.size() < this.limit) { - //console.log("Adding "+val+" to values."); + // console.log("Adding "+val+" to values."); this.values.push(val); } else { var rand = parseInt(Math.random() * this.count); diff --git a/rsocket-rpc-js/packages/metrics/src/stats/index.js b/rsocket-rpc-js/packages/metrics/src/stats/index.js index 71855a2..e0e1781 100644 --- a/rsocket-rpc-js/packages/metrics/src/stats/index.js +++ b/rsocket-rpc-js/packages/metrics/src/stats/index.js @@ -1,3 +1,18 @@ +/** + * @name rsocket-rpc-js/packages/metrics/.../stats + * @fileoverview Stats package + * + * @requires ExponentiallyWeightedMovingAverage + * @requires ExponentiallyDecayingSample + * @requires Sample + * @requires ISample + * @requires UniformSample + * @exports EWMA + * @exports ExponentiallyDecayingSample + * @exports ISample + * @exports Sample + * @exports UniformSample + */ import EWMA from './ExponentiallyWeightedMovingAverage'; import ExponentiallyDecayingSample from './ExponentiallyDecayingSample'; import Sample from './Sample'; diff --git a/rsocket-rpc-js/packages/metrics/src/stats/lib/utils.js b/rsocket-rpc-js/packages/metrics/src/stats/lib/utils.js index 8e0f98e..ed33290 100644 --- a/rsocket-rpc-js/packages/metrics/src/stats/lib/utils.js +++ b/rsocket-rpc-js/packages/metrics/src/stats/lib/utils.js @@ -1,4 +1,3 @@ -/* /* * Mix in the properties on an object to another object * utils.mixin(target, source, [source,] [source, etc.] [merge-flag]); diff --git a/rsocket-rpc-js/packages/tracing/src/SpanSingle.js b/rsocket-rpc-js/packages/tracing/src/SpanSingle.js index 2ed6054..0932b7f 100644 --- a/rsocket-rpc-js/packages/tracing/src/SpanSingle.js +++ b/rsocket-rpc-js/packages/tracing/src/SpanSingle.js @@ -1,6 +1,22 @@ +/** + * @name SpanSingle.js + * @fileoverview Defines the "SpanSingleSubscriber" class. + * @requires NPM:rsocket-flowable + * @requires NPM:opentracing + * @exports createSpanSingle + */ import {Single, IFutureSubscriber} from 'rsocket-flowable/build/Single'; import {Tracer, Span, SpanContext, FORMAT_TEXT_MAP} from 'opentracing'; +/** + * @param {Single} single - + * @param {Tracer} tracer - + * @param {string} name - + * @param {?(SpanContext|Span)} context - + * @param {?Object} metadata - + * @param {Object} tags - + * @return {Single} + */ export function createSpanSingle( single: Single, tracer: Tracer, @@ -22,12 +38,22 @@ export function createSpanSingle( }); } +/** + */ class SpanSingleSubscriber implements IFutureSubscriber { _span: Span; _subscriber: IFutureSubscriber; _tracer: Tracer; _cancel: () => void; + /** + * @param {IFutureSubscriber} subscriber - + * @param {Tracer} tracer - + * @param {string} name - + * @param {SpanContext|Span} [context] - + * @param {Object} [metadata] - + * @param {Object} tags - + */ constructor( subscriber: IFutureSubscriber, tracer: Tracer, @@ -56,7 +82,7 @@ class SpanSingleSubscriber implements IFutureSubscriber { options.tags = finalTags; } - //Not supported at this time. + // Not supported at this time. // if (references) { // options.references = references; // } @@ -72,10 +98,14 @@ class SpanSingleSubscriber implements IFutureSubscriber { ); } + /** + */ cleanup() { this._span.finish(); } + /** + */ onSubscribe(cancel?: () => void) { this._cancel = cancel; this._span.log('onSubscribe', timeInMicros()); @@ -84,6 +114,8 @@ class SpanSingleSubscriber implements IFutureSubscriber { }); } + /** + */ cancel() { try { this._span.log('cancel', timeInMicros()); @@ -93,6 +125,8 @@ class SpanSingleSubscriber implements IFutureSubscriber { } } + /** + */ onError(error: Error) { try { this._span.log('onError', timeInMicros()); @@ -102,6 +136,8 @@ class SpanSingleSubscriber implements IFutureSubscriber { } } + /** + */ onComplete(value: T) { try { this._span.log('onComplete', timeInMicros()); @@ -112,6 +148,11 @@ class SpanSingleSubscriber implements IFutureSubscriber { } } +/** + * Return the current time in microseconds. + * + * @return {number} The return value of {@link Date#now} converted into microseconds + */ function timeInMicros() { - return Date.now() * 1000 /*microseconds*/; + return Date.now() * 1000 /* microseconds */; } diff --git a/rsocket-rpc-js/packages/tracing/src/SpanSubscriber.js b/rsocket-rpc-js/packages/tracing/src/SpanSubscriber.js index 381bf0f..524f536 100644 --- a/rsocket-rpc-js/packages/tracing/src/SpanSubscriber.js +++ b/rsocket-rpc-js/packages/tracing/src/SpanSubscriber.js @@ -1,6 +1,16 @@ +/** + * @name SpanSubscriber.js + * @fileoverview Defines the "SpanSubscriber" class. + * @requires NPM:rsocket-types + * @requires NPM:opentracing + * @exports SpanSubscriber + */ + import {ISubscriber, ISubscription} from 'rsocket-types'; import {Tracer, Span, SpanContext, FORMAT_TEXT_MAP} from 'opentracing'; +/** + */ export class SpanSubscriber implements ISubscriber, ISubscription { _span: Span; _rootSpan: Span; @@ -10,6 +20,14 @@ export class SpanSubscriber implements ISubscriber, ISubscription { _nextCount: number; _requestOnce: boolean; + /** + * @param {ISubscriber} subscriber - + * @param {Tracer} tracer - + * @param {string} name - + * @param {?(SpanContext|Span)} [context] - + * @param {?Object} [metadata] - + * @param {Object} ...tags - + */ constructor( subscriber: ISubscriber, tracer: Tracer, @@ -18,7 +36,9 @@ export class SpanSubscriber implements ISubscriber, ISubscription { metadata?: Object, ...tags: Object ) { + /** @type {Tracer} */ this._tracer = tracer; + /** @type {ISubscriber} */ this._subscriber = subscriber; this._nextCount = 0; this._requestOnce = false; @@ -40,7 +60,7 @@ export class SpanSubscriber implements ISubscriber, ISubscription { options.tags = finalTags; } - //Not currently supported + // Not currently supported // if (references) { // options.references = references; // } @@ -48,7 +68,9 @@ export class SpanSubscriber implements ISubscriber, ISubscription { options.startTime = Date.now() * 1000; + /** @type {Span} */ this._span = tracer.startSpan(name, options); + /** @type {Span} */ this._rootSpan = this._rootSpan || this._span; tracer.inject( @@ -58,16 +80,25 @@ export class SpanSubscriber implements ISubscriber, ISubscription { ); } + /** + */ cleanup() { this._span.finish(); } + /** + * @param {?Subscription} subscription + */ onSubscribe(subscription?: Subscription) { + /** @type {ISubscription} */ this._subscription = subscription; this._span.log('onSubscribe', timeInMicros()); this._subscriber.onSubscribe(this); } + /** + * @param {number} n + */ request(n: number) { if (!this._requestOnce) { this._requestOnce = true; @@ -78,6 +109,8 @@ export class SpanSubscriber implements ISubscriber, ISubscription { this._subscription && this._subscription.request(n); } + /** + */ cancel() { try { this._span.log('cancel', timeInMicros()); @@ -87,10 +120,16 @@ export class SpanSubscriber implements ISubscriber, ISubscription { } } + /** + * @param {T} value + */ onNext(value: T) { this._subscriber.onNext(value); } + /** + * @param {Error} error + */ onError(error: Error) { try { this._span.log('onError', timeInMicros()); @@ -100,6 +139,8 @@ export class SpanSubscriber implements ISubscriber, ISubscription { } } + /** + */ onComplete() { try { this._span.log('onComplete', timeInMicros()); @@ -110,6 +151,11 @@ export class SpanSubscriber implements ISubscriber, ISubscription { } } +/** + * Return the current time in microseconds + * + * @return {number} The return value of {@link Date#now} converted to microseconds. + */ function timeInMicros() { - return Date.now() * 1000 /*microseconds*/; + return Date.now() * 1000 /* microseconds */; } diff --git a/rsocket-rpc-js/packages/tracing/src/Tracing.js b/rsocket-rpc-js/packages/tracing/src/Tracing.js index d054680..2349e04 100644 --- a/rsocket-rpc-js/packages/tracing/src/Tracing.js +++ b/rsocket-rpc-js/packages/tracing/src/Tracing.js @@ -1,3 +1,22 @@ +/** + * @name Tracing.js + * @fileoverview Tracing functionality. + * @requires NPM:rsocket-core + * @requires NPM:rsocket-types + * @requires NPM:rsocket-flowable + * @requires NPM:opentracing + * @requires NPM:rsocket-rpc-frames + * @requires SpanSubscriber + * @requires SpanSingle + * @exports deserializeTraceData + * @exports mapToBuffer + * @exports bufferToMap + * @exports trace + * @exports traceAsChild + * @exports traceSingle + * @exports traceSingleAsChild + */ + import {UTF8Encoder, BufferEncoder, createBuffer} from 'rsocket-core'; import {ISubscriber} from 'rsocket-types'; import {Flowable, Single} from 'rsocket-flowable'; @@ -8,6 +27,13 @@ import {SpanContext, Tracer, FORMAT_TEXT_MAP} from 'opentracing'; import {getTracing} from 'rsocket-rpc-frames'; +/** + * @param {?Tracer} tracer - an OpenTracing {@link Tracer} + * @param {Buffer} metadata - + * @returns {?SpanContext} or null if the tracer is null or there is no tracing data + * @see https://opentracing.io/ + * @see https://opentracing-javascript.surge.sh/classes/tracer.html + */ export function deserializeTraceData(tracer, metadata) { if (!tracer) { return null; @@ -22,6 +48,10 @@ export function deserializeTraceData(tracer, metadata) { return tracer.extract(FORMAT_TEXT_MAP, bufferToMap(tracingData)); } +/** + * @param {?Object} map - + * @returns {Buffer} + */ export function mapToBuffer(map: Object): Buffer { if (!map || Object.keys(map).length <= 0) { return createBuffer(0); @@ -42,7 +72,7 @@ export function mapToBuffer(map: Object): Buffer { newEntries.push({keyLen, keyBuf, valLen, valBuf}); return { - //4 for the sizes plus the actual key and actual value + // 4 for the sizes plus the actual key and actual value totalSize: aggregate.totalSize + 4 + keyLen + valLen, entries: newEntries, }; @@ -54,7 +84,7 @@ export function mapToBuffer(map: Object): Buffer { const resultBuf = createBuffer(aggregatedTags.totalSize); aggregatedTags.entries.forEach(entry => { resultBuf.writeUInt16BE(entry.keyLen, offset); - offset += 2; //2 bytes for key length + offset += 2; // 2 bytes for key length BufferEncoder.encode( entry.keyBuf, @@ -79,6 +109,10 @@ export function mapToBuffer(map: Object): Buffer { return resultBuf; } +/** + * @param {!Buffer} buffer - + * @returns {Object} + */ export function bufferToMap(buffer: Buffer): Object { const result = {}; @@ -102,6 +136,27 @@ export function bufferToMap(buffer: Buffer): Object { return result; } +/** + * Allows propagation of a {@link SpanContext} map through a {@link Flowable}. + * + * @example Wraps default tags "tag1" and "tag2" and picks up "additionalTag1" and "additionalTag2": + * const traceCapture = trace(myTracer, "myOperation", {tag1: "value"}, {tag2: "another value"}); + * + * ... more code ... + * + * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: "two"}); + * + * subscriberTransformer(rsocket.requestStream(serviceRequest)) + * .subscribe({ ... }); + * + * @param {?Tracer} tracer - an OpenTracing {@link Tracer} + * @param {?String} name - an operation name + * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function. + * @returns {function} + * @see https://opentracing-javascript.surge.sh/classes/spancontext.html + * @see https://opentracing.io/ + * @see https://opentracing-javascript.surge.sh/classes/tracer.html + */ export function trace( tracer?: Tracer, name?: String, @@ -127,6 +182,21 @@ export function trace( } } +/** + * Similar to {@link trace}, except meant to be used on the server side where a + * {@link SpanContext} has been passed from a client. + * @example + * const traceCapture = traceAsChild(myTracer, "myServerOperation", {serverTag1: "value"}, {serverTag2: "another value"}); + * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata)); + * return subscriberTransformer(serviceImpl.requestStream(serviceRequest)); + * @param {?Tracer} tracer - an OpenTracing {@link Tracer} + * @param {?String} name - an operation name + * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Flowable=>Flowable function. + * @returns {function} + * @see https://opentracing-javascript.surge.sh/classes/spancontext.html + * @see https://opentracing.io/ + * @see https://opentracing-javascript.surge.sh/classes/tracer.html + */ export function traceAsChild( tracer?: Tracer, name?: String, @@ -152,6 +222,27 @@ export function traceAsChild( } } +/** + * Allows propagation of a {@link SpanContext} map through a Flowable. + * + * @example Wraps default tags "tag1" and "tag2" and picks up "additionalTag1" and "additionalTag2": + * const traceCapture = trace(myTracer, "myOperation", {tag1: "value"}, {tag2: "another value"}); + * + * ... more code ... + * + * const subscriberTransformer = traceCapture({additionalTag1: 1, additionalTag2: "two"}); + * + * subscriberTransformer(rsocket.requestStream(serviceRequest)) + * .subscribe({ ... }); + * + * @param {?Tracer} tracer - an OpenTracing {@link Tracer} + * @param {?String} name - an operation name + * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function. + * @returns {function} + * @see https://opentracing-javascript.surge.sh/classes/spancontext.html + * @see https://opentracing.io/ + * @see https://opentracing-javascript.surge.sh/classes/tracer.html + */ export function traceSingle( tracer?: Tracer, name?: String, @@ -168,6 +259,21 @@ export function traceSingle( } } +/** + * Similar to {@link traceSingle}, except meant to be used on the server side + * where a {@link SpanContext} has been passed from a client. + * @example + * const traceCapture = traceAsChild(myTracer, "myServerOperation", {serverTag1: "value"}, {serverTag2: "another value"}); + * const subscriberTransformer = traceCapture(deserializeTraceData(myTracer, requestMetadata)); + * return subscriberTransformer(serviceImpl.requestStream(serviceRequest)); + * @param {?Tracer} tracer - an OpenTracing {@link Tracer} + * @param {?String} name - an operation name + * @param {Object} tags - You can pass a collection of tags in the form of a map/Object and have it woven through a Single=>Single function. + * @returns {function} + * @see https://opentracing-javascript.surge.sh/classes/spancontext.html + * @see https://opentracing.io/ + * @see https://opentracing-javascript.surge.sh/classes/tracer.html + */ export function traceSingleAsChild( tracer?: Tracer, name?: String, diff --git a/rsocket-rpc-js/packages/tracing/src/__tests__/Tracing-test.js b/rsocket-rpc-js/packages/tracing/src/__tests__/Tracing-test.js index f3d74fa..c343c94 100644 --- a/rsocket-rpc-js/packages/tracing/src/__tests__/Tracing-test.js +++ b/rsocket-rpc-js/packages/tracing/src/__tests__/Tracing-test.js @@ -26,6 +26,9 @@ function generateString(min, max) { const chars = 'abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; const generateChar = () => chars[Math.floor(Math.random() * chars.length)]; +/** + * @test {Tracing} + */ describe('TRACING HELPERS', () => { it('serializes and deserializes an arbitrary map', () => { for (var i = 0; i < 1000; i++) { diff --git a/rsocket-rpc-js/packages/tracing/src/index.js b/rsocket-rpc-js/packages/tracing/src/index.js index b64af54..d8f0955 100644 --- a/rsocket-rpc-js/packages/tracing/src/index.js +++ b/rsocket-rpc-js/packages/tracing/src/index.js @@ -1,5 +1,8 @@ /** - * Copyright (c) 2017-present, Netifi Inc. + * @name rsocket-rpc-js/packages/tracing + * @fileoverview Exports the Tracing package. + * @copyright Copyright (c) 2017-present, Netifi Inc. + * @license Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +17,15 @@ * limitations under the License. * * @flow + * + * @requires Tracing + * @exports trace + * @exports traceAsChild + * @exports traceSingle + * @exports traceSingleAsChild + * @exports mapToBuffer + * @exports deserializeTraceData + * @exports bufferToMap */ 'use strict'; diff --git a/rsocket-rpc-js/yarn.lock b/rsocket-rpc-js/yarn.lock index 9a3c7ac..22294e7 100644 --- a/rsocket-rpc-js/yarn.lock +++ b/rsocket-rpc-js/yarn.lock @@ -1443,9 +1443,10 @@ eslint-plugin-babel@4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/eslint-plugin-babel/-/eslint-plugin-babel-4.1.2.tgz#79202a0e35757dd92780919b2336f1fa2fe53c1e" -eslint-plugin-dependencies@2.4.0: +eslint-plugin-dependencies@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/eslint-plugin-dependencies/-/eslint-plugin-dependencies-2.4.0.tgz#e0d3f32c097281a8afd6c6bef7bb025585e92d6f" + integrity sha512-IaW2phNpktrok2eDziZLYxmNaGysXjNj6NVji7LEv/qagHG2oshsmV+mUSxAGG5Jv9seuRBdX1YXEIaNlhkFJg== dependencies: commondir "^1.0.1" resolve "^1.1.6" @@ -1460,9 +1461,10 @@ eslint-plugin-prefer-object-spread@1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/eslint-plugin-prefer-object-spread/-/eslint-plugin-prefer-object-spread-1.2.1.tgz#27fb91853690cceb3ae6101d9c8aecc6a67a402c" -eslint-scope@~3.7.1: +eslint-scope@3.7.1, eslint-scope@~3.7.1: version "3.7.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" + integrity sha1-PWPD7f2gLgbgGkUq2IyqzHzctug= dependencies: esrecurse "^4.1.0" estraverse "^4.1.1" @@ -3519,6 +3521,14 @@ rsocket-flowable@^0.0.9: dependencies: fbjs "^0.8.12" +rsocket-rpc-core@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/rsocket-rpc-core/-/rsocket-rpc-core-0.0.3.tgz#b0e5f8e488634221b7011f5810e91fa3e92feff4" + integrity sha512-rl7SD9ZZZTxpe7M3LyJdvJImQj3M6zLe7N2QzMTuiO+SlGqdMtFbTY2RPHtyyAz/IrnuUKlce0Fp9r/rSXKFCw== + dependencies: + rsocket-rpc-frames "^0.0.3" + rsocket-types "^0.0.9" + rsocket-rpc-protobuf@^0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/rsocket-rpc-protobuf/-/rsocket-rpc-protobuf-0.0.5.tgz#a10e647d754f536629ad6ac77d8c9e98fa8d164c"